diff --git "a/datasets/java/test.jsonl" "b/datasets/java/test.jsonl" new file mode 100644--- /dev/null +++ "b/datasets/java/test.jsonl" @@ -0,0 +1,10955 @@ +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/internal/observers/QueueDrainObserver.java", "func_name": "QueueDrainObserver.fastPathOrderedEmit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Makes sure the fast-path emits in order.\n@param value the value to emit or queue up\n@param delayError if true, errors are delayed until the source has terminated\n@param disposable the resource to dispose if the drain terminates", "docstring_tokens": ["Makes", "sure", "the", "fast", "-", "path", "emits", "in", "order", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/internal/observers/QueueDrainObserver.java#L88-L108", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/Observable.java", "func_name": "Observable.wrap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Wraps an ObservableSource into an Observable if not already an Observable.\n\n
\n
Scheduler:
\n
{@code wrap} does not operate by default on a particular {@link Scheduler}.
\n
\n\n@param the value type\n@param source the source ObservableSource instance\n@return the new Observable instance or the same as the source\n@throws NullPointerException if source is null", "docstring_tokens": ["Wraps", "an", "ObservableSource", "into", "an", "Observable", "if", "not", "already", "an", "Observable", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/Observable.java#L4082-L4090", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/Observable.java", "func_name": "Observable.sorted", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an Observable that emits the events emitted by source ObservableSource, in a\nsorted order based on a specified comparison function.\n\n

Note that calling {@code sorted} with long, non-terminating or infinite sources\nmight cause {@link OutOfMemoryError}\n\n

\n
Scheduler:
\n
{@code sorted} does not operate by default on a particular {@link Scheduler}.
\n
\n\n@param sortFunction\na function that compares two items emitted by the source ObservableSource and returns an Integer\nthat indicates their sort order\n@return an Observable that emits the items emitted by the source ObservableSource in sorted order", "docstring_tokens": ["Returns", "an", "Observable", "that", "emits", "the", "events", "emitted", "by", "source", "ObservableSource", "in", "a", "sorted", "order", "based", "on", "a", "specified", "comparison", "function", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/Observable.java#L12008-L12013", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/internal/operators/observable/ObservableReplay.java", "func_name": "ObservableReplay.observeOn", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Child Observers will observe the events of the ConnectableObservable on the\nspecified scheduler.\n@param the value type\n@param co the connectable observable instance\n@param scheduler the target scheduler\n@return the new ConnectableObservable instance", "docstring_tokens": ["Child", "Observers", "will", "observe", "the", "events", "of", "the", "ConnectableObservable", "on", "the", "specified", "scheduler", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/internal/operators/observable/ObservableReplay.java#L74-L77", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/processors/UnicastProcessor.java", "func_name": "UnicastProcessor.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an UnicastProcessor with the given internal buffer capacity hint.\n@param the value type\n@param capacityHint the hint to size the internal unbounded buffer\n@return an UnicastProcessor instance", "docstring_tokens": ["Creates", "an", "UnicastProcessor", "with", "the", "given", "internal", "buffer", "capacity", "hint", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/processors/UnicastProcessor.java#L192-L196", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/processors/UnicastProcessor.java", "func_name": "UnicastProcessor.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an UnicastProcessor with the given internal buffer capacity hint and a callback for\nthe case when the single Subscriber cancels its subscription.\n\n

The callback, if not null, is called exactly once and\nnon-overlapped with any active replay.\n\n@param the value type\n@param capacityHint the hint to size the internal unbounded buffer\n@param onCancelled the non null callback\n@return an UnicastProcessor instance", "docstring_tokens": ["Creates", "an", "UnicastProcessor", "with", "the", "given", "internal", "buffer", "capacity", "hint", "and", "a", "callback", "for", "the", "case", "when", "the", "single", "Subscriber", "cancels", "its", "subscription", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/processors/UnicastProcessor.java#L224-L229", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/internal/operators/flowable/FlowableScalarXMap.java", "func_name": "FlowableScalarXMap.tryScalarXMapSubscribe", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Tries to subscribe to a possibly Callable source's mapped Publisher.\n@param the input value type\n@param the output value type\n@param source the source Publisher\n@param subscriber the subscriber\n@param mapper the function mapping a scalar value into a Publisher\n@return true if successful, false if the caller should continue with the regular path.", "docstring_tokens": ["Tries", "to", "subscribe", "to", "a", "possibly", "Callable", "source", "s", "mapped", "Publisher", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/internal/operators/flowable/FlowableScalarXMap.java#L46-L99", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/internal/operators/flowable/FlowableScalarXMap.java", "func_name": "FlowableScalarXMap.scalarXMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Maps a scalar value into a Publisher and emits its values.\n\n@param the scalar value type\n@param the output value type\n@param value the scalar value to map\n@param mapper the function that gets the scalar value and should return\na Publisher that gets streamed\n@return the new Flowable instance", "docstring_tokens": ["Maps", "a", "scalar", "value", "into", "a", "Publisher", "and", "emits", "its", "values", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/internal/operators/flowable/FlowableScalarXMap.java#L111-L113", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/plugins/RxJavaPlugins.java", "func_name": "RxJavaPlugins.reset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes all handlers and resets to default behavior.", "docstring_tokens": ["Removes", "all", "handlers", "and", "resets", "to", "default", "behavior", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/plugins/RxJavaPlugins.java#L493-L531", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/Maybe.java", "func_name": "Maybe.fromCompletable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Wraps a CompletableSource into a Maybe.\n\n

\n
Scheduler:
\n
{@code fromCompletable} does not operate by default on a particular {@link Scheduler}.
\n
\n@param the target type\n@param completableSource the CompletableSource to convert from\n@return the new Maybe instance\n@throws NullPointerException if completable is null", "docstring_tokens": ["Wraps", "a", "CompletableSource", "into", "a", "Maybe", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/Maybe.java#L705-L711", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/Maybe.java", "func_name": "Maybe.fromSingle", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Wraps a SingleSource into a Maybe.\n\n
\n
Scheduler:
\n
{@code fromSingle} does not operate by default on a particular {@link Scheduler}.
\n
\n@param the target type\n@param singleSource the SingleSource to convert from\n@return the new Maybe instance\n@throws NullPointerException if single is null", "docstring_tokens": ["Wraps", "a", "SingleSource", "into", "a", "Maybe", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/Maybe.java#L725-L731", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/Maybe.java", "func_name": "Maybe.retry", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retries at most times or until the predicate returns false, whichever happens first.\n\n
\n
Scheduler:
\n
{@code retry} does not operate by default on a particular {@link Scheduler}.
\n
\n@param times the number of times to resubscribe if the current Maybe fails\n@param predicate the predicate called with the failure Throwable and should return true to trigger a retry.\n@return the new Maybe instance", "docstring_tokens": ["Retries", "at", "most", "times", "or", "until", "the", "predicate", "returns", "false", "whichever", "happens", "first", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/Maybe.java#L4055-L4059", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/internal/functions/ObjectHelper.java", "func_name": "ObjectHelper.requireNonNull", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Verifies if the object is not null and returns it or throws a NullPointerException\nwith the given message.\n@param the value type\n@param object the object to verify\n@param message the message to use with the NullPointerException\n@return the object itself\n@throws NullPointerException if object is null", "docstring_tokens": ["Verifies", "if", "the", "object", "is", "not", "null", "and", "returns", "it", "or", "throws", "a", "NullPointerException", "with", "the", "given", "message", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/internal/functions/ObjectHelper.java#L37-L42", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/internal/functions/Functions.java", "func_name": "Functions.identity", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an identity function that simply returns its argument.\n@param the input and output value type\n@return the identity function", "docstring_tokens": ["Returns", "an", "identity", "function", "that", "simply", "returns", "its", "argument", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/internal/functions/Functions.java#L88-L91", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/internal/functions/Functions.java", "func_name": "Functions.justCallable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a Callable that returns the given value.\n@param the value type\n@param value the value to return\n@return the new Callable instance", "docstring_tokens": ["Returns", "a", "Callable", "that", "returns", "the", "given", "value", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/internal/functions/Functions.java#L198-L200", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/internal/functions/Functions.java", "func_name": "Functions.justFunction", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a Function that ignores its parameter and returns the given value.\n@param the function's input type\n@param the value and return type of the function\n@param value the value to return\n@return the new Function instance", "docstring_tokens": ["Returns", "a", "Function", "that", "ignores", "its", "parameter", "and", "returns", "the", "given", "value", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/internal/functions/Functions.java#L209-L211", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/internal/functions/Functions.java", "func_name": "Functions.castFunction", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a function that cast the incoming values via a Class object.\n@param the input value type\n@param the output and target type\n@param target the target class\n@return the new Function instance", "docstring_tokens": ["Returns", "a", "function", "that", "cast", "the", "incoming", "values", "via", "a", "Class", "object", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/internal/functions/Functions.java#L233-L235", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/subjects/UnicastSubject.java", "func_name": "UnicastSubject.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an UnicastSubject with an internal buffer capacity hint 16.\n@param the value type\n@return an UnicastSubject instance", "docstring_tokens": ["Creates", "an", "UnicastSubject", "with", "an", "internal", "buffer", "capacity", "hint", "16", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/subjects/UnicastSubject.java#L181-L185", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/subjects/UnicastSubject.java", "func_name": "UnicastSubject.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an UnicastSubject with the given internal buffer capacity hint.\n@param the value type\n@param capacityHint the hint to size the internal unbounded buffer\n@return an UnicastSubject instance", "docstring_tokens": ["Creates", "an", "UnicastSubject", "with", "the", "given", "internal", "buffer", "capacity", "hint", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/subjects/UnicastSubject.java#L193-L197", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/subjects/UnicastSubject.java", "func_name": "UnicastSubject.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an UnicastSubject with the given internal buffer capacity hint and a callback for\nthe case when the single Subscriber cancels its subscription.\n\n

The callback, if not null, is called exactly once and\nnon-overlapped with any active replay.\n\n@param the value type\n@param capacityHint the hint to size the internal unbounded buffer\n@param onTerminate the callback to run when the Subject is terminated or cancelled, null not allowed\n@return an UnicastSubject instance", "docstring_tokens": ["Creates", "an", "UnicastSubject", "with", "the", "given", "internal", "buffer", "capacity", "hint", "and", "a", "callback", "for", "the", "case", "when", "the", "single", "Subscriber", "cancels", "its", "subscription", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/subjects/UnicastSubject.java#L211-L215", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/subjects/UnicastSubject.java", "func_name": "UnicastSubject.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an UnicastSubject with an internal buffer capacity hint 16 and given delay error flag.\n\n

The callback, if not null, is called exactly once and\nnon-overlapped with any active replay.\n

History: 2.0.8 - experimental\n@param the value type\n@param delayError deliver pending onNext events before onError\n@return an UnicastSubject instance\n@since 2.2", "docstring_tokens": ["Creates", "an", "UnicastSubject", "with", "an", "internal", "buffer", "capacity", "hint", "16", "and", "given", "delay", "error", "flag", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/subjects/UnicastSubject.java#L248-L252", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/internal/observers/BlockingMultiObserver.java", "func_name": "BlockingMultiObserver.blockingGetError", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Block until the latch is counted down and return the error received or null if no\nerror happened.\n@return the error received or null", "docstring_tokens": ["Block", "until", "the", "latch", "is", "counted", "down", "and", "return", "the", "error", "received", "or", "null", "if", "no", "error", "happened", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/internal/observers/BlockingMultiObserver.java#L127-L138", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/internal/observers/BlockingMultiObserver.java", "func_name": "BlockingMultiObserver.blockingGetError", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Block until the latch is counted down and return the error received or\nwhen the wait is interrupted or times out, null otherwise.\n@param timeout the timeout value\n@param unit the time unit\n@return the error received or null", "docstring_tokens": ["Block", "until", "the", "latch", "is", "counted", "down", "and", "return", "the", "error", "received", "or", "when", "the", "wait", "is", "interrupted", "or", "times", "out", "null", "otherwise", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/internal/observers/BlockingMultiObserver.java#L147-L161", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/internal/observers/BlockingMultiObserver.java", "func_name": "BlockingMultiObserver.blockingAwait", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Block until the observer terminates and return true; return false if\nthe wait times out.\n@param timeout the timeout value\n@param unit the time unit\n@return true if the observer terminated in time, false otherwise", "docstring_tokens": ["Block", "until", "the", "observer", "terminates", "and", "return", "true", ";", "return", "false", "if", "the", "wait", "times", "out", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/internal/observers/BlockingMultiObserver.java#L170-L188", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/internal/util/QueueDrainHelper.java", "func_name": "QueueDrainHelper.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": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/internal/util/QueueDrainHelper.java#L46-L91", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/internal/util/QueueDrainHelper.java", "func_name": "QueueDrainHelper.request", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Requests Long.MAX_VALUE if prefetch is negative or the exact\namount if prefetch is positive.\n@param s the Subscription to request from\n@param prefetch the prefetch value", "docstring_tokens": ["Requests", "Long", ".", "MAX_VALUE", "if", "prefetch", "is", "negative", "or", "the", "exact", "amount", "if", "prefetch", "is", "positive", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/internal/util/QueueDrainHelper.java#L226-L228", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/internal/util/QueueDrainHelper.java", "func_name": "QueueDrainHelper.postComplete", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Signals the completion of the main sequence and switches to post-completion replay mode.\n\n

\nDon't modify the queue after calling this method!\n\n

\nPost-completion backpressure handles the case when a source produces values based on\nrequests when it is active but more values are available even after its completion.\nIn this case, the onComplete() can't just emit the contents of the queue but has to\ncoordinate with the requested amounts. This requires two distinct modes: active and\ncompleted. In active mode, requests flow through and the queue is not accessed but\nin completed mode, requests no-longer reach the upstream but help in draining the queue.\n

\nThe algorithm utilizes the most significant bit (bit 63) of a long value (AtomicLong) since\nrequest amount only goes up to Long.MAX_VALUE (bits 0-62) and negative values aren't\nallowed.\n\n@param the value type emitted\n@param actual the target Subscriber to send events to\n@param queue the queue to drain if in the post-complete state\n@param state holds the request amount and the post-completed flag\n@param isCancelled a supplier that returns true if the drain has been cancelled", "docstring_tokens": ["Signals", "the", "completion", "of", "the", "main", "sequence", "and", "switches", "to", "post", "-", "completion", "replay", "mode", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/internal/util/QueueDrainHelper.java#L395-L428", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/internal/subscribers/SinglePostCompleteSubscriber.java", "func_name": "SinglePostCompleteSubscriber.complete", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Signals the given value and an onComplete if the downstream is ready to receive the final value.\n@param n the value to emit", "docstring_tokens": ["Signals", "the", "given", "value", "and", "an", "onComplete", "if", "the", "downstream", "is", "ready", "to", "receive", "the", "final", "value", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/internal/subscribers/SinglePostCompleteSubscriber.java#L67-L91", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/Notification.java", "func_name": "Notification.getValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the contained value if this notification is an onNext\nsignal, null otherwise.\n@return the value contained or null\n@see #isOnNext()", "docstring_tokens": ["Returns", "the", "contained", "value", "if", "this", "notification", "is", "an", "onNext", "signal", "null", "otherwise", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/Notification.java#L69-L77", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/Notification.java", "func_name": "Notification.getError", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the container Throwable error if this notification is an onError\nsignal, null otherwise.\n@return the Throwable error contained or null\n@see #isOnError()", "docstring_tokens": ["Returns", "the", "container", "Throwable", "error", "if", "this", "notification", "is", "an", "onError", "signal", "null", "otherwise", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/Notification.java#L85-L92", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/internal/util/EndConsumerHelper.java", "func_name": "EndConsumerHelper.validate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Ensures that the upstream Disposable is null and returns true, otherwise\ndisposes the next Disposable and if the upstream is not the shared\ndisposed instance, reports a ProtocolViolationException due to\nmultiple subscribe attempts.\n@param upstream the upstream current value\n@param next the Disposable to check for nullness and dispose if necessary\n@param observer the class of the consumer to have a personalized\nerror message if the upstream already contains a non-cancelled Disposable.\n@return true if successful, false if the upstream was non null", "docstring_tokens": ["Ensures", "that", "the", "upstream", "Disposable", "is", "null", "and", "returns", "true", "otherwise", "disposes", "the", "next", "Disposable", "and", "if", "the", "upstream", "is", "not", "the", "shared", "disposed", "instance", "reports", "a", "ProtocolViolationException", "due", "to", "multiple", "subscribe", "attempts", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/internal/util/EndConsumerHelper.java#L52-L62", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/internal/util/EndConsumerHelper.java", "func_name": "EndConsumerHelper.setOnce", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Atomically updates the target upstream AtomicReference from null to the non-null\nnext Disposable, otherwise disposes next and reports a ProtocolViolationException\nif the AtomicReference doesn't contain the shared disposed indicator.\n@param upstream the target AtomicReference to update\n@param next the Disposable to set on it atomically\n@param observer the class of the consumer to have a personalized\nerror message if the upstream already contains a non-cancelled Disposable.\n@return true if successful, false if the content of the AtomicReference was non null", "docstring_tokens": ["Atomically", "updates", "the", "target", "upstream", "AtomicReference", "from", "null", "to", "the", "non", "-", "null", "next", "Disposable", "otherwise", "disposes", "next", "and", "reports", "a", "ProtocolViolationException", "if", "the", "AtomicReference", "doesn", "t", "contain", "the", "shared", "disposed", "indicator", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/internal/util/EndConsumerHelper.java#L74-L84", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/internal/util/EndConsumerHelper.java", "func_name": "EndConsumerHelper.validate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Ensures that the upstream Subscription is null and returns true, otherwise\ncancels the next Subscription and if the upstream is not the shared\ncancelled instance, reports a ProtocolViolationException due to\nmultiple subscribe attempts.\n@param upstream the upstream current value\n@param next the Subscription to check for nullness and cancel if necessary\n@param subscriber the class of the consumer to have a personalized\nerror message if the upstream already contains a non-cancelled Subscription.\n@return true if successful, false if the upstream was non null", "docstring_tokens": ["Ensures", "that", "the", "upstream", "Subscription", "is", "null", "and", "returns", "true", "otherwise", "cancels", "the", "next", "Subscription", "and", "if", "the", "upstream", "is", "not", "the", "shared", "cancelled", "instance", "reports", "a", "ProtocolViolationException", "due", "to", "multiple", "subscribe", "attempts", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/internal/util/EndConsumerHelper.java#L97-L107", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/internal/util/EndConsumerHelper.java", "func_name": "EndConsumerHelper.setOnce", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Atomically updates the target upstream AtomicReference from null to the non-null\nnext Subscription, otherwise cancels next and reports a ProtocolViolationException\nif the AtomicReference doesn't contain the shared cancelled indicator.\n@param upstream the target AtomicReference to update\n@param next the Subscription to set on it atomically\n@param subscriber the class of the consumer to have a personalized\nerror message if the upstream already contains a non-cancelled Subscription.\n@return true if successful, false if the content of the AtomicReference was non null", "docstring_tokens": ["Atomically", "updates", "the", "target", "upstream", "AtomicReference", "from", "null", "to", "the", "non", "-", "null", "next", "Subscription", "otherwise", "cancels", "next", "and", "reports", "a", "ProtocolViolationException", "if", "the", "AtomicReference", "doesn", "t", "contain", "the", "shared", "cancelled", "indicator", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/internal/util/EndConsumerHelper.java#L119-L129", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/internal/util/BackpressureHelper.java", "func_name": "BackpressureHelper.addCap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds two long values and caps the sum at Long.MAX_VALUE.\n@param a the first value\n@param b the second value\n@return the sum capped at Long.MAX_VALUE", "docstring_tokens": ["Adds", "two", "long", "values", "and", "caps", "the", "sum", "at", "Long", ".", "MAX_VALUE", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/internal/util/BackpressureHelper.java#L34-L40", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/internal/util/BackpressureHelper.java", "func_name": "BackpressureHelper.multiplyCap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Multiplies two long values and caps the product at Long.MAX_VALUE.\n@param a the first value\n@param b the second value\n@return the product capped at Long.MAX_VALUE", "docstring_tokens": ["Multiplies", "two", "long", "values", "and", "caps", "the", "product", "at", "Long", ".", "MAX_VALUE", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/internal/util/BackpressureHelper.java#L48-L56", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/internal/util/BackpressureHelper.java", "func_name": "BackpressureHelper.add", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Atomically adds the positive value n to the requested value in the AtomicLong and\ncaps the result at Long.MAX_VALUE and returns the previous value.\n@param requested the AtomicLong holding the current requested value\n@param n the value to add, must be positive (not verified)\n@return the original value before the add", "docstring_tokens": ["Atomically", "adds", "the", "positive", "value", "n", "to", "the", "requested", "value", "in", "the", "AtomicLong", "and", "caps", "the", "result", "at", "Long", ".", "MAX_VALUE", "and", "returns", "the", "previous", "value", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/internal/util/BackpressureHelper.java#L65-L76", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/Completable.java", "func_name": "Completable.toNpe", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a NullPointerException instance and sets the given Throwable as its initial cause.\n@param ex the Throwable instance to use as cause, not null (not verified)\n@return the created NullPointerException", "docstring_tokens": ["Creates", "a", "NullPointerException", "instance", "and", "sets", "the", "given", "Throwable", "as", "its", "initial", "cause", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/Completable.java#L949-L953", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/internal/util/LinkedArrayList.java", "func_name": "LinkedArrayList.add", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a new element to this list.\n@param o the object to add, nulls are accepted", "docstring_tokens": ["Adds", "a", "new", "element", "to", "this", "list", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/internal/util/LinkedArrayList.java#L52-L74", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/internal/schedulers/SchedulerPoolFactory.java", "func_name": "SchedulerPoolFactory.shutdown", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Stops the purge thread.", "docstring_tokens": ["Stops", "the", "purge", "thread", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/internal/schedulers/SchedulerPoolFactory.java#L84-L90", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/internal/schedulers/SchedulerPoolFactory.java", "func_name": "SchedulerPoolFactory.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a ScheduledExecutorService with the given factory.\n@param factory the thread factory\n@return the ScheduledExecutorService", "docstring_tokens": ["Creates", "a", "ScheduledExecutorService", "with", "the", "given", "factory", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/internal/schedulers/SchedulerPoolFactory.java#L134-L138", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/internal/subscriptions/SubscriptionArbiter.java", "func_name": "SubscriptionArbiter.setSubscription", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Atomically sets a new subscription.\n@param s the subscription to set, not null (verified)", "docstring_tokens": ["Atomically", "sets", "a", "new", "subscription", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/internal/subscriptions/SubscriptionArbiter.java#L75-L110", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/subjects/SerializedSubject.java", "func_name": "SerializedSubject.emitLoop", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Loops until all notifications in the queue has been processed.", "docstring_tokens": ["Loops", "until", "all", "notifications", "in", "the", "queue", "has", "been", "processed", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/subjects/SerializedSubject.java#L165-L178", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/internal/util/ExceptionHelper.java", "func_name": "ExceptionHelper.wrapOrThrow", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If the provided Throwable is an Error this method\nthrows it, otherwise returns a RuntimeException wrapping the error\nif that error is a checked exception.\n@param error the error to wrap or throw\n@return the (wrapped) error", "docstring_tokens": ["If", "the", "provided", "Throwable", "is", "an", "Error", "this", "method", "throws", "it", "otherwise", "returns", "a", "RuntimeException", "wrapping", "the", "error", "if", "that", "error", "is", "a", "checked", "exception", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/internal/util/ExceptionHelper.java#L39-L47", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/internal/util/ExceptionHelper.java", "func_name": "ExceptionHelper.flatten", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a flattened list of Throwables from tree-like CompositeException chain.\n@param t the starting throwable\n@return the list of Throwables flattened in a depth-first manner", "docstring_tokens": ["Returns", "a", "flattened", "list", "of", "Throwables", "from", "tree", "-", "like", "CompositeException", "chain", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/internal/util/ExceptionHelper.java#L89-L108", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/internal/util/ExceptionHelper.java", "func_name": "ExceptionHelper.throwIfThrowable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Workaround for Java 6 not supporting throwing a final Throwable from a catch block.\n@param the generic exception type\n@param e the Throwable error to return or throw\n@return the Throwable e if it is a subclass of Exception\n@throws E the generic exception thrown", "docstring_tokens": ["Workaround", "for", "Java", "6", "not", "supporting", "throwing", "a", "final", "Throwable", "from", "a", "catch", "block", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/internal/util/ExceptionHelper.java#L117-L123", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/disposables/CompositeDisposable.java", "func_name": "CompositeDisposable.clear", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Atomically clears the container, then disposes all the previously contained Disposables.", "docstring_tokens": ["Atomically", "clears", "the", "container", "then", "disposes", "all", "the", "previously", "contained", "Disposables", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/disposables/CompositeDisposable.java#L192-L207", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/disposables/CompositeDisposable.java", "func_name": "CompositeDisposable.size", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the number of currently held Disposables.\n@return the number of currently held Disposables", "docstring_tokens": ["Returns", "the", "number", "of", "currently", "held", "Disposables", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/disposables/CompositeDisposable.java#L213-L224", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/internal/operators/observable/ObservableScalarXMap.java", "func_name": "ObservableScalarXMap.tryScalarXMapSubscribe", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Tries to subscribe to a possibly Callable source's mapped ObservableSource.\n@param the input value type\n@param the output value type\n@param source the source ObservableSource\n@param observer the subscriber\n@param mapper the function mapping a scalar value into an ObservableSource\n@return true if successful, false if the caller should continue with the regular path.", "docstring_tokens": ["Tries", "to", "subscribe", "to", "a", "possibly", "Callable", "source", "s", "mapped", "ObservableSource", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/internal/operators/observable/ObservableScalarXMap.java#L47-L102", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/internal/operators/observable/ObservableScalarXMap.java", "func_name": "ObservableScalarXMap.scalarXMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Maps a scalar value into an Observable and emits its values.\n\n@param the scalar value type\n@param the output value type\n@param value the scalar value to map\n@param mapper the function that gets the scalar value and should return\nan ObservableSource that gets streamed\n@return the new Observable instance", "docstring_tokens": ["Maps", "a", "scalar", "value", "into", "an", "Observable", "and", "emits", "its", "values", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/internal/operators/observable/ObservableScalarXMap.java#L114-L117", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/internal/util/AppendOnlyLinkedArrayList.java", "func_name": "AppendOnlyLinkedArrayList.accept", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Interprets the contents as NotificationLite objects and calls\nthe appropriate Subscriber method.\n\n@param the target type\n@param subscriber the subscriber to emit the events to\n@return true if a terminal event has been reached", "docstring_tokens": ["Interprets", "the", "contents", "as", "NotificationLite", "objects", "and", "calls", "the", "appropriate", "Subscriber", "method", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/internal/util/AppendOnlyLinkedArrayList.java#L109-L126", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/internal/util/AppendOnlyLinkedArrayList.java", "func_name": "AppendOnlyLinkedArrayList.accept", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Interprets the contents as NotificationLite objects and calls\nthe appropriate Observer method.\n\n@param the target type\n@param observer the observer to emit the events to\n@return true if a terminal event has been reached", "docstring_tokens": ["Interprets", "the", "contents", "as", "NotificationLite", "objects", "and", "calls", "the", "appropriate", "Observer", "method", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/internal/util/AppendOnlyLinkedArrayList.java#L136-L153", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/processors/MulticastProcessor.java", "func_name": "MulticastProcessor.start", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Initializes this Processor by setting an upstream Subscription that\nignores request amounts, uses a fixed buffer\nand allows using the onXXX and offer methods\nafterwards.", "docstring_tokens": ["Initializes", "this", "Processor", "by", "setting", "an", "upstream", "Subscription", "that", "ignores", "request", "amounts", "uses", "a", "fixed", "buffer", "and", "allows", "using", "the", "onXXX", "and", "offer", "methods", "afterwards", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/processors/MulticastProcessor.java#L241-L245", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/processors/MulticastProcessor.java", "func_name": "MulticastProcessor.startUnbounded", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Initializes this Processor by setting an upstream Subscription that\nignores request amounts, uses an unbounded buffer\nand allows using the onXXX and offer methods\nafterwards.", "docstring_tokens": ["Initializes", "this", "Processor", "by", "setting", "an", "upstream", "Subscription", "that", "ignores", "request", "amounts", "uses", "an", "unbounded", "buffer", "and", "allows", "using", "the", "onXXX", "and", "offer", "methods", "afterwards", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/processors/MulticastProcessor.java#L253-L257", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/processors/MulticastProcessor.java", "func_name": "MulticastProcessor.offer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Tries to offer an item into the internal queue and returns false\nif the queue is full.\n@param t the item to offer, not null\n@return true if successful, false if the queue is full", "docstring_tokens": ["Tries", "to", "offer", "an", "item", "into", "the", "internal", "queue", "and", "returns", "false", "if", "the", "queue", "is", "full", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/processors/MulticastProcessor.java#L311-L323", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/disposables/SerialDisposable.java", "func_name": "SerialDisposable.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the currently contained Disposable or null if this container is empty.\n@return the current Disposable, may be null", "docstring_tokens": ["Returns", "the", "currently", "contained", "Disposable", "or", "null", "if", "this", "container", "is", "empty", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/disposables/SerialDisposable.java#L70-L77", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/internal/observers/DeferredScalarDisposable.java", "func_name": "DeferredScalarDisposable.complete", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Complete the target with a single value or indicate there is a value available in\nfusion mode.\n@param value the value to signal, not null (not verified)", "docstring_tokens": ["Complete", "the", "target", "with", "a", "single", "value", "or", "indicate", "there", "is", "a", "value", "available", "in", "fusion", "mode", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/internal/observers/DeferredScalarDisposable.java#L70-L87", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/internal/observers/DeferredScalarDisposable.java", "func_name": "DeferredScalarDisposable.error", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Complete the target with an error signal.\n@param t the Throwable to signal, not null (not verified)", "docstring_tokens": ["Complete", "the", "target", "with", "an", "error", "signal", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/internal/observers/DeferredScalarDisposable.java#L93-L101", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/internal/observers/DeferredScalarDisposable.java", "func_name": "DeferredScalarDisposable.complete", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Complete the target without any value.", "docstring_tokens": ["Complete", "the", "target", "without", "any", "value", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/internal/observers/DeferredScalarDisposable.java#L106-L113", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/Flowable.java", "func_name": "Flowable.concatMapDelayError", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Maps each of the items into a Publisher, subscribes to them one after the other,\none at a time and emits their values in order\nwhile delaying any error from either this or any of the inner Publishers\ntill all of them terminate.\n\n

\n
Backpressure:
\n
The operator honors backpressure from downstream. Both this and the inner {@code Publisher}s are\nexpected to honor backpressure as well. If the source {@code Publisher} violates the rule, the operator will\nsignal a {@code MissingBackpressureException}. If any of the inner {@code Publisher}s doesn't honor\nbackpressure, that may throw an {@code IllegalStateException} when that\n{@code Publisher} completes.
\n
Scheduler:
\n
{@code concatMapDelayError} does not operate by default on a particular {@link Scheduler}.
\n
\n\n@param the result value type\n@param mapper the function that maps the items of this Publisher into the inner Publishers.\n@return the new Publisher instance with the concatenation behavior", "docstring_tokens": ["Maps", "each", "of", "the", "items", "into", "a", "Publisher", "subscribes", "to", "them", "one", "after", "the", "other", "one", "at", "a", "time", "and", "emits", "their", "values", "in", "order", "while", "delaying", "any", "error", "from", "either", "this", "or", "any", "of", "the", "inner", "Publishers", "till", "all", "of", "them", "terminate", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/Flowable.java#L7421-L7426", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/Flowable.java", "func_name": "Flowable.concatMapIterable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a Flowable that concatenate each item emitted by the source Publisher with the values in an\nIterable corresponding to that item that is generated by a selector.\n\n
\n
Backpressure:
\n
The operator honors backpressure from downstream. The source {@code Publisher}s is\nexpected to honor backpressure as well. If the source {@code Publisher} violates the rule, the operator will\nsignal a {@code MissingBackpressureException}.
\n
Scheduler:
\n
{@code concatMapIterable} does not operate by default on a particular {@link Scheduler}.
\n
\n\n@param \nthe type of item emitted by the resulting Publisher\n@param mapper\na function that returns an Iterable sequence of values for when given an item emitted by the\nsource Publisher\n@return a Flowable that emits the results of concatenating the items emitted by the source Publisher with\nthe values in the Iterables corresponding to those items, as generated by {@code collectionSelector}\n@see ReactiveX operators documentation: FlatMap", "docstring_tokens": ["Returns", "a", "Flowable", "that", "concatenate", "each", "item", "emitted", "by", "the", "source", "Publisher", "with", "the", "values", "in", "an", "Iterable", "corresponding", "to", "that", "item", "that", "is", "generated", "by", "a", "selector", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/Flowable.java#L7626-L7631", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/Flowable.java", "func_name": "Flowable.sorted", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a Flowable that emits the events emitted by source Publisher, in a\nsorted order based on a specified comparison function.\n\n

Note that calling {@code sorted} with long, non-terminating or infinite sources\nmight cause {@link OutOfMemoryError}\n\n

\n
Backpressure:
\n
The operator honors backpressure from downstream and consumes the source {@code Publisher} in an\nunbounded manner (i.e., without applying backpressure to it).
\n
Scheduler:
\n
{@code sorted} does not operate by default on a particular {@link Scheduler}.
\n
\n\n@param sortFunction\na function that compares two items emitted by the source Publisher and returns an Integer\nthat indicates their sort order\n@return a Flowable that emits the items emitted by the source Publisher in sorted order", "docstring_tokens": ["Returns", "a", "Flowable", "that", "emits", "the", "events", "emitted", "by", "source", "Publisher", "in", "a", "sorted", "order", "based", "on", "a", "specified", "comparison", "function", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/Flowable.java#L14471-L14478", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/jmh/java/io/reactivex/PerfAsyncConsumer.java", "func_name": "PerfAsyncConsumer.await", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Wait for the terminal signal.\n@param count if less than 1001, a spin-wait is used\n@return this", "docstring_tokens": ["Wait", "for", "the", "terminal", "signal", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/jmh/java/io/reactivex/PerfAsyncConsumer.java#L73-L84", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/subscribers/DefaultSubscriber.java", "func_name": "DefaultSubscriber.request", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Requests from the upstream Subscription.\n@param n the request amount, positive", "docstring_tokens": ["Requests", "from", "the", "upstream", "Subscription", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/subscribers/DefaultSubscriber.java#L91-L96", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/subjects/PublishSubject.java", "func_name": "PublishSubject.add", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Tries to add the given subscriber to the subscribers array atomically\nor returns false if the subject has terminated.\n@param ps the subscriber to add\n@return true if successful, false if the subject has terminated", "docstring_tokens": ["Tries", "to", "add", "the", "given", "subscriber", "to", "the", "subscribers", "array", "atomically", "or", "returns", "false", "if", "the", "subject", "has", "terminated", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/subjects/PublishSubject.java#L158-L175", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/subjects/PublishSubject.java", "func_name": "PublishSubject.remove", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Atomically removes the given subscriber if it is subscribed to the subject.\n@param ps the subject to remove", "docstring_tokens": ["Atomically", "removes", "the", "given", "subscriber", "if", "it", "is", "subscribed", "to", "the", "subject", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/subjects/PublishSubject.java#L181-L215", "partition": "test"} +{"repo": "ReactiveX/RxJava", "path": "src/main/java/io/reactivex/internal/operators/flowable/FlowableReplay.java", "func_name": "FlowableReplay.observeOn", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Child Subscribers will observe the events of the ConnectableObservable on the\nspecified scheduler.\n@param the value type\n@param cf the ConnectableFlowable to wrap\n@param scheduler the target scheduler\n@return the new ConnectableObservable instance", "docstring_tokens": ["Child", "Subscribers", "will", "observe", "the", "events", "of", "the", "ConnectableObservable", "on", "the", "specified", "scheduler", "."], "sha": "ac84182aa2bd866b53e01c8e3fe99683b882c60e", "url": "https://github.com/ReactiveX/RxJava/blob/ac84182aa2bd866b53e01c8e3fe99683b882c60e/src/main/java/io/reactivex/internal/operators/flowable/FlowableReplay.java#L72-L75", "partition": "test"} +{"repo": "square/retrofit", "path": "retrofit/src/main/java/retrofit2/HttpServiceMethod.java", "func_name": "HttpServiceMethod.parseAnnotations", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Inspects the annotations on an interface method to construct a reusable service method that\nspeaks HTTP. This requires potentially-expensive reflection so it is best to build each service\nmethod only once and reuse it.", "docstring_tokens": ["Inspects", "the", "annotations", "on", "an", "interface", "method", "to", "construct", "a", "reusable", "service", "method", "that", "speaks", "HTTP", ".", "This", "requires", "potentially", "-", "expensive", "reflection", "so", "it", "is", "best", "to", "build", "each", "service", "method", "only", "once", "and", "reuse", "it", "."], "sha": "81a6193a7b3f2b1bf25e78adc2638681b0514fe8", "url": "https://github.com/square/retrofit/blob/81a6193a7b3f2b1bf25e78adc2638681b0514fe8/retrofit/src/main/java/retrofit2/HttpServiceMethod.java#L36-L97", "partition": "test"} +{"repo": "square/retrofit", "path": "retrofit-mock/src/main/java/retrofit2/mock/NetworkBehavior.java", "func_name": "NetworkBehavior.setDelay", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the network round trip delay.", "docstring_tokens": ["Set", "the", "network", "round", "trip", "delay", "."], "sha": "81a6193a7b3f2b1bf25e78adc2638681b0514fe8", "url": "https://github.com/square/retrofit/blob/81a6193a7b3f2b1bf25e78adc2638681b0514fe8/retrofit-mock/src/main/java/retrofit2/mock/NetworkBehavior.java#L84-L89", "partition": "test"} +{"repo": "square/retrofit", "path": "retrofit-mock/src/main/java/retrofit2/mock/NetworkBehavior.java", "func_name": "NetworkBehavior.createErrorResponse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The HTTP error to be used when an error is triggered.", "docstring_tokens": ["The", "HTTP", "error", "to", "be", "used", "when", "an", "error", "is", "triggered", "."], "sha": "81a6193a7b3f2b1bf25e78adc2638681b0514fe8", "url": "https://github.com/square/retrofit/blob/81a6193a7b3f2b1bf25e78adc2638681b0514fe8/retrofit-mock/src/main/java/retrofit2/mock/NetworkBehavior.java#L161-L175", "partition": "test"} +{"repo": "square/retrofit", "path": "retrofit-mock/src/main/java/retrofit2/mock/NetworkBehavior.java", "func_name": "NetworkBehavior.calculateDelay", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the delay that should be used for delaying a response in accordance with configured\nbehavior.", "docstring_tokens": ["Get", "the", "delay", "that", "should", "be", "used", "for", "delaying", "a", "response", "in", "accordance", "with", "configured", "behavior", "."], "sha": "81a6193a7b3f2b1bf25e78adc2638681b0514fe8", "url": "https://github.com/square/retrofit/blob/81a6193a7b3f2b1bf25e78adc2638681b0514fe8/retrofit-mock/src/main/java/retrofit2/mock/NetworkBehavior.java#L197-L205", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "samples/xml/dms/src/main/java/sample/dms/DataSourcePopulator.java", "func_name": "DataSourcePopulator.createSampleData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a directory for the user, and a series of sub-directories. The root\ndirectory is the parent for the user directory. The sub-directories are\n\"confidential\" and \"shared\". The ROLE_USER will be given read and write access to\n\"shared\".", "docstring_tokens": ["Creates", "a", "directory", "for", "the", "user", "and", "a", "series", "of", "sub", "-", "directories", ".", "The", "root", "directory", "is", "the", "parent", "for", "the", "user", "directory", ".", "The", "sub", "-", "directories", "are", "confidential", "and", "shared", ".", "The", "ROLE_USER", "will", "be", "given", "read", "and", "write", "access", "to", "shared", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/samples/xml/dms/src/main/java/sample/dms/DataSourcePopulator.java#L102-L138", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/util/matcher/RegexRequestMatcher.java", "func_name": "RegexRequestMatcher.valueOf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Provides a save way of obtaining the HttpMethod from a String. If the method is\ninvalid, returns null.\n\n@param method the HTTP method to use.\n\n@return the HttpMethod or null if method is invalid.", "docstring_tokens": ["Provides", "a", "save", "way", "of", "obtaining", "the", "HttpMethod", "from", "a", "String", ".", "If", "the", "method", "is", "invalid", "returns", "null", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/util/matcher/RegexRequestMatcher.java#L124-L132", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "ldap/src/main/java/org/springframework/security/ldap/search/FilterBasedLdapUserSearch.java", "func_name": "FilterBasedLdapUserSearch.searchForUser", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the LdapUserDetails containing the user's information\n\n@param username the username to search for.\n\n@return An LdapUserDetails object containing the details of the located user's\ndirectory entry\n\n@throws UsernameNotFoundException if no matching entry is found.", "docstring_tokens": ["Return", "the", "LdapUserDetails", "containing", "the", "user", "s", "information"], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/ldap/src/main/java/org/springframework/security/ldap/search/FilterBasedLdapUserSearch.java#L114-L141", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "crypto/src/main/java/org/springframework/security/crypto/password/MessageDigestPasswordEncoder.java", "func_name": "MessageDigestPasswordEncoder.encode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Encodes the rawPass using a MessageDigest. If a salt is specified it will be merged\nwith the password before encoding.\n\n@param rawPassword The plain text password\n@return Hex string of password digest (or base64 encoded string if\nencodeHashAsBase64 is enabled.", "docstring_tokens": ["Encodes", "the", "rawPass", "using", "a", "MessageDigest", ".", "If", "a", "salt", "is", "specified", "it", "will", "be", "merged", "with", "the", "password", "before", "encoding", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/crypto/src/main/java/org/springframework/security/crypto/password/MessageDigestPasswordEncoder.java#L114-L117", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "crypto/src/main/java/org/springframework/security/crypto/password/MessageDigestPasswordEncoder.java", "func_name": "MessageDigestPasswordEncoder.matches", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Takes a previously encoded password and compares it with a rawpassword after mixing\nin the salt and encoding that value\n\n@param rawPassword plain text password\n@param encodedPassword previously encoded password\n@return true or false", "docstring_tokens": ["Takes", "a", "previously", "encoded", "password", "and", "compares", "it", "with", "a", "rawpassword", "after", "mixing", "in", "the", "salt", "and", "encoding", "that", "value"], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/crypto/src/main/java/org/springframework/security/crypto/password/MessageDigestPasswordEncoder.java#L144-L148", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "core/src/main/java/org/springframework/security/core/SpringSecurityCoreVersion.java", "func_name": "SpringSecurityCoreVersion.performVersionChecks", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Perform version checks with specific min Spring Version\n\n@param minSpringVersion", "docstring_tokens": ["Perform", "version", "checks", "with", "specific", "min", "Spring", "Version"], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/core/src/main/java/org/springframework/security/core/SpringSecurityCoreVersion.java#L69-L87", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "core/src/main/java/org/springframework/security/core/SpringSecurityCoreVersion.java", "func_name": "SpringSecurityCoreVersion.disableChecks", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Disable if springVersion and springSecurityVersion are the same to allow working\nwith Uber Jars.\n\n@param springVersion\n@param springSecurityVersion\n@return", "docstring_tokens": ["Disable", "if", "springVersion", "and", "springSecurityVersion", "are", "the", "same", "to", "allow", "working", "with", "Uber", "Jars", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/core/src/main/java/org/springframework/security/core/SpringSecurityCoreVersion.java#L97-L103", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "core/src/main/java/org/springframework/security/core/SpringSecurityCoreVersion.java", "func_name": "SpringSecurityCoreVersion.getSpringVersion", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Loads the spring version or null if it cannot be found.\n@return", "docstring_tokens": ["Loads", "the", "spring", "version", "or", "null", "if", "it", "cannot", "be", "found", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/core/src/main/java/org/springframework/security/core/SpringSecurityCoreVersion.java#L109-L117", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "config/src/main/java/org/springframework/security/config/annotation/web/configurers/openid/OpenIDLoginConfigurer.java", "func_name": "OpenIDLoginConfigurer.attributeExchange", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets up OpenID attribute exchange for OpenID's matching the specified pattern.\n\n@param identifierPattern the regular expression for matching on OpenID's (i.e.\n\"https://www.google.com/.*\", \".*yahoo.com.*\", etc)\n@return a {@link AttributeExchangeConfigurer} for further customizations of the\nattribute exchange", "docstring_tokens": ["Sets", "up", "OpenID", "attribute", "exchange", "for", "OpenID", "s", "matching", "the", "specified", "pattern", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/config/src/main/java/org/springframework/security/config/annotation/web/configurers/openid/OpenIDLoginConfigurer.java#L144-L149", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "config/src/main/java/org/springframework/security/config/annotation/web/builders/HttpSecurity.java", "func_name": "HttpSecurity.oauth2Client", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Configures OAuth 2.0 Client support.\n\n@since 5.1\n@see OAuth 2.0 Authorization Framework\n@return the {@link OAuth2ClientConfigurer} for further customizations\n@throws Exception", "docstring_tokens": ["Configures", "OAuth", "2", ".", "0", "Client", "support", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/config/src/main/java/org/springframework/security/config/annotation/web/builders/HttpSecurity.java#L1003-L1007", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "config/src/main/java/org/springframework/security/config/annotation/web/builders/HttpSecurity.java", "func_name": "HttpSecurity.oauth2ResourceServer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Configures OAuth 2.0 Resource Server support.\n\n@since 5.1\n@see OAuth 2.0 Authorization Framework\n@return the {@link OAuth2ResourceServerConfigurer} for further customizations\n@throws Exception", "docstring_tokens": ["Configures", "OAuth", "2", ".", "0", "Resource", "Server", "support", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/config/src/main/java/org/springframework/security/config/annotation/web/builders/HttpSecurity.java#L1017-L1021", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "config/src/main/java/org/springframework/security/config/annotation/web/builders/HttpSecurity.java", "func_name": "HttpSecurity.requiresChannel", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Configures channel security. In order for this configuration to be useful at least\none mapping to a required channel must be provided.\n\n

Example Configuration

\n\nThe example below demonstrates how to require HTTPs for every request. Only\nrequiring HTTPS for some requests is supported, but not recommended since an\napplication that allows for HTTP introduces many security vulnerabilities. For one\nsuch example, read about Firesheep.\n\n
\n@Configuration\n@EnableWebSecurity\npublic class ChannelSecurityConfig extends WebSecurityConfigurerAdapter {\n\n@Override\nprotected void configure(HttpSecurity http) throws Exception {\nhttp.authorizeRequests().antMatchers("/**").hasRole("USER").and().formLogin()\n.and().requiresChannel().anyRequest().requiresSecure();\n}\n\n@Override\nprotected void configure(AuthenticationManagerBuilder auth) throws Exception {\nauth.inMemoryAuthentication().withUser("user").password("password").roles("USER");\n}\n}\n
\n\n\n@return the {@link ChannelSecurityConfigurer} for further customizations\n@throws Exception", "docstring_tokens": ["Configures", "channel", "security", ".", "In", "order", "for", "this", "configuration", "to", "be", "useful", "at", "least", "one", "mapping", "to", "a", "required", "channel", "must", "be", "provided", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/config/src/main/java/org/springframework/security/config/annotation/web/builders/HttpSecurity.java#L1057-L1062", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "ldap/src/main/java/org/springframework/security/ldap/SpringSecurityLdapTemplate.java", "func_name": "SpringSecurityLdapTemplate.compare", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Performs an LDAP compare operation of the value of an attribute for a particular\ndirectory entry.\n\n@param dn the entry who's attribute is to be used\n@param attributeName the attribute who's value we want to compare\n@param value the value to be checked against the directory value\n\n@return true if the supplied value matches that in the directory", "docstring_tokens": ["Performs", "an", "LDAP", "compare", "operation", "of", "the", "value", "of", "an", "attribute", "for", "a", "particular", "directory", "entry", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/ldap/src/main/java/org/springframework/security/ldap/SpringSecurityLdapTemplate.java#L100-L123", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "ldap/src/main/java/org/springframework/security/ldap/SpringSecurityLdapTemplate.java", "func_name": "SpringSecurityLdapTemplate.retrieveEntry", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Composes an object from the attributes of the given DN.\n\n@param dn the directory entry which will be read\n@param attributesToRetrieve the named attributes which will be retrieved from the\ndirectory entry.\n\n@return the object created by the mapper", "docstring_tokens": ["Composes", "an", "object", "from", "the", "attributes", "of", "the", "given", "DN", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/ldap/src/main/java/org/springframework/security/ldap/SpringSecurityLdapTemplate.java#L134-L147", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "ldap/src/main/java/org/springframework/security/ldap/SpringSecurityLdapTemplate.java", "func_name": "SpringSecurityLdapTemplate.searchForSingleAttributeValues", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Performs a search using the supplied filter and returns the union of the values of\nthe named attribute found in all entries matched by the search. Note that one\ndirectory entry may have several values for the attribute. Intended for role\nsearches and similar scenarios.\n\n@param base the DN to search in\n@param filter search filter to use\n@param params the parameters to substitute in the search filter\n@param attributeName the attribute who's values are to be retrieved.\n\n@return the set of String values for the attribute as a union of the values found\nin all the matching entries.", "docstring_tokens": ["Performs", "a", "search", "using", "the", "supplied", "filter", "and", "returns", "the", "union", "of", "the", "values", "of", "the", "named", "attribute", "found", "in", "all", "entries", "matched", "by", "the", "search", ".", "Note", "that", "one", "directory", "entry", "may", "have", "several", "values", "for", "the", "attribute", ".", "Intended", "for", "role", "searches", "and", "similar", "scenarios", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/ldap/src/main/java/org/springframework/security/ldap/SpringSecurityLdapTemplate.java#L163-L176", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "ldap/src/main/java/org/springframework/security/ldap/SpringSecurityLdapTemplate.java", "func_name": "SpringSecurityLdapTemplate.searchForMultipleAttributeValues", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Performs a search using the supplied filter and returns the values of each named\nattribute found in all entries matched by the search. Note that one directory entry\nmay have several values for the attribute. Intended for role searches and similar\nscenarios.\n\n@param base the DN to search in\n@param filter search filter to use\n@param params the parameters to substitute in the search filter\n@param attributeNames the attributes' values that are to be retrieved.\n\n@return the set of String values for each attribute found in all the matching\nentries. The attribute name is the key for each set of values. In addition each map\ncontains the DN as a String with the key predefined key {@link #DN_KEY}.", "docstring_tokens": ["Performs", "a", "search", "using", "the", "supplied", "filter", "and", "returns", "the", "values", "of", "each", "named", "attribute", "found", "in", "all", "entries", "matched", "by", "the", "search", ".", "Note", "that", "one", "directory", "entry", "may", "have", "several", "values", "for", "the", "attribute", ".", "Intended", "for", "role", "searches", "and", "similar", "scenarios", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/ldap/src/main/java/org/springframework/security/ldap/SpringSecurityLdapTemplate.java#L193-L244", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "ldap/src/main/java/org/springframework/security/ldap/SpringSecurityLdapTemplate.java", "func_name": "SpringSecurityLdapTemplate.searchForSingleEntryInternal", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Internal method extracted to avoid code duplication in AD search.", "docstring_tokens": ["Internal", "method", "extracted", "to", "avoid", "code", "duplication", "in", "AD", "search", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/ldap/src/main/java/org/springframework/security/ldap/SpringSecurityLdapTemplate.java#L327-L369", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "ldap/src/main/java/org/springframework/security/ldap/SpringSecurityLdapTemplate.java", "func_name": "SpringSecurityLdapTemplate.buildControls", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "We need to make sure the search controls has the return object flag set to true, in\norder for the search to return DirContextAdapter instances.\n@param originalControls\n@return", "docstring_tokens": ["We", "need", "to", "make", "sure", "the", "search", "controls", "has", "the", "return", "object", "flag", "set", "to", "true", "in", "order", "for", "the", "search", "to", "return", "DirContextAdapter", "instances", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/ldap/src/main/java/org/springframework/security/ldap/SpringSecurityLdapTemplate.java#L377-L382", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "acl/src/main/java/org/springframework/security/acls/jdbc/BasicLookupStrategy.java", "func_name": "BasicLookupStrategy.lookupPrimaryKeys", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Locates the primary key IDs specified in \"findNow\", adding AclImpl instances with\nStubAclParents to the \"acls\" Map.\n\n@param acls the AclImpls (with StubAclParents)\n@param findNow Long-based primary keys to retrieve\n@param sids", "docstring_tokens": ["Locates", "the", "primary", "key", "IDs", "specified", "in", "findNow", "adding", "AclImpl", "instances", "with", "StubAclParents", "to", "the", "acls", "Map", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/acl/src/main/java/org/springframework/security/acls/jdbc/BasicLookupStrategy.java#L243-L267", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/authentication/preauth/j2ee/J2eeBasedPreAuthenticatedWebAuthenticationDetailsSource.java", "func_name": "J2eeBasedPreAuthenticatedWebAuthenticationDetailsSource.buildDetails", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds the authentication details object.\n\n@see org.springframework.security.authentication.AuthenticationDetailsSource#buildDetails(Object)", "docstring_tokens": ["Builds", "the", "authentication", "details", "object", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/authentication/preauth/j2ee/J2eeBasedPreAuthenticatedWebAuthenticationDetailsSource.java#L86-L102", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "config/src/main/java/org/springframework/security/config/ldap/LdapServerBeanDefinitionParser.java", "func_name": "LdapServerBeanDefinitionParser.createEmbeddedServer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Will be called if no url attribute is supplied.\n\nRegisters beans to create an embedded apache directory server.\n\n@return the BeanDefinition for the ContextSource for the embedded server.\n\n@see ApacheDSContainer", "docstring_tokens": ["Will", "be", "called", "if", "no", "url", "attribute", "is", "supplied", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/config/src/main/java/org/springframework/security/config/ldap/LdapServerBeanDefinitionParser.java#L118-L171", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "config/src/main/java/org/springframework/security/config/http/HttpConfigurationBuilder.java", "func_name": "HttpConfigurationBuilder.createServletApiFilter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds the servlet-api integration filter if required", "docstring_tokens": ["Adds", "the", "servlet", "-", "api", "integration", "filter", "if", "required"], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/config/src/main/java/org/springframework/security/config/http/HttpConfigurationBuilder.java#L548-L562", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "config/src/main/java/org/springframework/security/config/http/HttpConfigurationBuilder.java", "func_name": "HttpConfigurationBuilder.createJaasApiFilter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds the jaas-api integration filter if required", "docstring_tokens": ["Adds", "the", "jaas", "-", "api", "integration", "filter", "if", "required"], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/config/src/main/java/org/springframework/security/config/http/HttpConfigurationBuilder.java#L565-L577", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "core/src/main/java/org/springframework/security/jackson2/SecurityJackson2Modules.java", "func_name": "SecurityJackson2Modules.createWhitelistedDefaultTyping", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a TypeResolverBuilder that performs whitelisting.\n@return a TypeResolverBuilder that performs whitelisting.", "docstring_tokens": ["Creates", "a", "TypeResolverBuilder", "that", "performs", "whitelisting", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/core/src/main/java/org/springframework/security/jackson2/SecurityJackson2Modules.java#L141-L146", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/context/AbstractSecurityWebApplicationInitializer.java", "func_name": "AbstractSecurityWebApplicationInitializer.insertSpringSecurityFilterChain", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers the springSecurityFilterChain\n@param servletContext the {@link ServletContext}", "docstring_tokens": ["Registers", "the", "springSecurityFilterChain"], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/context/AbstractSecurityWebApplicationInitializer.java#L143-L152", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/authentication/rememberme/JdbcTokenRepositoryImpl.java", "func_name": "JdbcTokenRepositoryImpl.getTokenForSeries", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Loads the token data for the supplied series identifier.\n\nIf an error occurs, it will be reported and null will be returned (since the result\nshould just be a failed persistent login).\n\n@param seriesId\n@return the token matching the series, or null if no match found or an exception\noccurred.", "docstring_tokens": ["Loads", "the", "token", "data", "for", "the", "supplied", "series", "identifier", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/authentication/rememberme/JdbcTokenRepositoryImpl.java#L85-L111", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "core/src/main/java/org/springframework/security/core/authority/mapping/SimpleAttributes2GrantedAuthoritiesMapper.java", "func_name": "SimpleAttributes2GrantedAuthoritiesMapper.getGrantedAuthorities", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Map the given list of string attributes one-to-one to Spring Security\nGrantedAuthorities.", "docstring_tokens": ["Map", "the", "given", "list", "of", "string", "attributes", "one", "-", "to", "-", "one", "to", "Spring", "Security", "GrantedAuthorities", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/core/src/main/java/org/springframework/security/core/authority/mapping/SimpleAttributes2GrantedAuthoritiesMapper.java#L64-L70", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "crypto/src/main/java/org/springframework/security/crypto/encrypt/CipherUtils.java", "func_name": "CipherUtils.newCipher", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a new Cipher.", "docstring_tokens": ["Constructs", "a", "new", "Cipher", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/crypto/src/main/java/org/springframework/security/crypto/encrypt/CipherUtils.java#L66-L76", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/authentication/preauth/AbstractPreAuthenticatedProcessingFilter.java", "func_name": "AbstractPreAuthenticatedProcessingFilter.afterPropertiesSet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check whether all required properties have been set.", "docstring_tokens": ["Check", "whether", "all", "required", "properties", "have", "been", "set", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/authentication/preauth/AbstractPreAuthenticatedProcessingFilter.java#L93-L103", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/authentication/preauth/AbstractPreAuthenticatedProcessingFilter.java", "func_name": "AbstractPreAuthenticatedProcessingFilter.doFilter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Try to authenticate a pre-authenticated user with Spring Security if the user has\nnot yet been authenticated.", "docstring_tokens": ["Try", "to", "authenticate", "a", "pre", "-", "authenticated", "user", "with", "Spring", "Security", "if", "the", "user", "has", "not", "yet", "been", "authenticated", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/authentication/preauth/AbstractPreAuthenticatedProcessingFilter.java#L109-L122", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/authentication/preauth/AbstractPreAuthenticatedProcessingFilter.java", "func_name": "AbstractPreAuthenticatedProcessingFilter.principalChanged", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determines if the current principal has changed. The default implementation tries\n\n
    \n
  • If the {@link #getPreAuthenticatedPrincipal(HttpServletRequest)} is a String, the {@link Authentication#getName()} is compared against the pre authenticated principal
  • \n
  • Otherwise, the {@link #getPreAuthenticatedPrincipal(HttpServletRequest)} is compared against the {@link Authentication#getPrincipal()}\n
\n\n

\nSubclasses can override this method to determine when a principal has changed.\n

\n\n@param request\n@param currentAuthentication\n@return true if the principal has changed, else false", "docstring_tokens": ["Determines", "if", "the", "current", "principal", "has", "changed", ".", "The", "default", "implementation", "tries"], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/authentication/preauth/AbstractPreAuthenticatedProcessingFilter.java#L140-L156", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/authentication/preauth/AbstractPreAuthenticatedProcessingFilter.java", "func_name": "AbstractPreAuthenticatedProcessingFilter.doAuthenticate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Do the actual authentication for a pre-authenticated user.", "docstring_tokens": ["Do", "the", "actual", "authentication", "for", "a", "pre", "-", "authenticated", "user", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/authentication/preauth/AbstractPreAuthenticatedProcessingFilter.java#L161-L194", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/util/OnCommittedResponseWrapper.java", "func_name": "OnCommittedResponseWrapper.checkContentLength", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds the contentLengthToWrite to the total contentWritten size and checks to see if\nthe response should be written.\n\n@param contentLengthToWrite the size of the content that is about to be written.", "docstring_tokens": ["Adds", "the", "contentLengthToWrite", "to", "the", "total", "contentWritten", "size", "and", "checks", "to", "see", "if", "the", "response", "should", "be", "written", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/util/OnCommittedResponseWrapper.java#L229-L238", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "core/src/main/java/org/springframework/security/core/authority/mapping/SimpleAuthorityMapper.java", "func_name": "SimpleAuthorityMapper.mapAuthorities", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a mapping of the supplied authorities based on the case-conversion and\nprefix settings. The mapping will be one-to-one unless duplicates are produced\nduring the conversion. If a default authority has been set, this will also be\nassigned to each mapping.\n\n@param authorities the original authorities\n\n@return the converted set of authorities", "docstring_tokens": ["Creates", "a", "mapping", "of", "the", "supplied", "authorities", "based", "on", "the", "case", "-", "conversion", "and", "prefix", "settings", ".", "The", "mapping", "will", "be", "one", "-", "to", "-", "one", "unless", "duplicates", "are", "produced", "during", "the", "conversion", ".", "If", "a", "default", "authority", "has", "been", "set", "this", "will", "also", "be", "assigned", "to", "each", "mapping", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/core/src/main/java/org/springframework/security/core/authority/mapping/SimpleAuthorityMapper.java#L55-L68", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "config/src/main/java/org/springframework/security/config/annotation/web/configurers/AbstractAuthenticationFilterConfigurer.java", "func_name": "AbstractAuthenticationFilterConfigurer.loginProcessingUrl", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Specifies the URL to validate the credentials.\n\n@param loginProcessingUrl the URL to validate username and password\n@return the {@link FormLoginConfigurer} for additional customization", "docstring_tokens": ["Specifies", "the", "URL", "to", "validate", "the", "credentials", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/config/src/main/java/org/springframework/security/config/annotation/web/configurers/AbstractAuthenticationFilterConfigurer.java#L143-L148", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "config/src/main/java/org/springframework/security/config/annotation/web/configurers/AbstractAuthenticationFilterConfigurer.java", "func_name": "AbstractAuthenticationFilterConfigurer.updateAuthenticationDefaults", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Updates the default values for authentication.\n\n@throws Exception", "docstring_tokens": ["Updates", "the", "default", "values", "for", "authentication", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/config/src/main/java/org/springframework/security/config/annotation/web/configurers/AbstractAuthenticationFilterConfigurer.java#L399-L412", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "config/src/main/java/org/springframework/security/config/annotation/web/configurers/AbstractAuthenticationFilterConfigurer.java", "func_name": "AbstractAuthenticationFilterConfigurer.updateAccessDefaults", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Updates the default values for access.", "docstring_tokens": ["Updates", "the", "default", "values", "for", "access", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/config/src/main/java/org/springframework/security/config/annotation/web/configurers/AbstractAuthenticationFilterConfigurer.java#L417-L421", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "ldap/src/main/java/org/springframework/security/ldap/userdetails/LdapUserDetailsMapper.java", "func_name": "LdapUserDetailsMapper.mapPassword", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extension point to allow customized creation of the user's password from the\nattribute stored in the directory.\n\n@param passwordValue the value of the password attribute\n@return a String representation of the password.", "docstring_tokens": ["Extension", "point", "to", "allow", "customized", "creation", "of", "the", "user", "s", "password", "from", "the", "attribute", "stored", "in", "the", "directory", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/ldap/src/main/java/org/springframework/security/ldap/userdetails/LdapUserDetailsMapper.java#L125-L134", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/authentication/rememberme/AbstractRememberMeServices.java", "func_name": "AbstractRememberMeServices.extractRememberMeCookie", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Locates the Spring Security remember me cookie in the request and returns its\nvalue. The cookie is searched for by name and also by matching the context path to\nthe cookie path.\n\n@param request the submitted request which is to be authenticated\n@return the cookie value (if present), null otherwise.", "docstring_tokens": ["Locates", "the", "Spring", "Security", "remember", "me", "cookie", "in", "the", "request", "and", "returns", "its", "value", ".", "The", "cookie", "is", "searched", "for", "by", "name", "and", "also", "by", "matching", "the", "context", "path", "to", "the", "cookie", "path", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/authentication/rememberme/AbstractRememberMeServices.java#L168-L182", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/authentication/rememberme/AbstractRememberMeServices.java", "func_name": "AbstractRememberMeServices.encodeCookie", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Inverse operation of decodeCookie.\n\n@param cookieTokens the tokens to be encoded.\n@return base64 encoding of the tokens concatenated with the \":\" delimiter.", "docstring_tokens": ["Inverse", "operation", "of", "decodeCookie", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/authentication/rememberme/AbstractRememberMeServices.java#L254-L280", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/authentication/rememberme/AbstractRememberMeServices.java", "func_name": "AbstractRememberMeServices.setCookie", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the cookie on the response.\n\nBy default a secure cookie will be used if the connection is secure. You can set\nthe {@code useSecureCookie} property to {@code false} to override this. If you set\nit to {@code true}, the cookie will always be flagged as secure. By default the cookie\nwill be marked as HttpOnly.\n\n@param tokens the tokens which will be encoded to make the cookie value.\n@param maxAge the value passed to {@link Cookie#setMaxAge(int)}\n@param request the request\n@param response the response to add the cookie to.", "docstring_tokens": ["Sets", "the", "cookie", "on", "the", "response", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/authentication/rememberme/AbstractRememberMeServices.java#L402-L425", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/reactive/result/method/annotation/CurrentSecurityContextArgumentResolver.java", "func_name": "CurrentSecurityContextArgumentResolver.resolveArgument", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "resolve the argument to inject into the controller parameter.\n@param parameter the method parameter.\n@param bindingContext the binding context.\n@param exchange the server web exchange.\n@return the reactive mono object result.", "docstring_tokens": ["resolve", "the", "argument", "to", "inject", "into", "the", "controller", "parameter", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/reactive/result/method/annotation/CurrentSecurityContextArgumentResolver.java#L86-L100", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "cas/src/main/java/org/springframework/security/cas/web/authentication/DefaultServiceAuthenticationDetails.java", "func_name": "DefaultServiceAuthenticationDetails.getQueryString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If present, removes the artifactParameterName and the corresponding value from the\nquery String.\n@param request\n@return the query String minus the artifactParameterName and the corresponding\nvalue.", "docstring_tokens": ["If", "present", "removes", "the", "artifactParameterName", "and", "the", "corresponding", "value", "from", "the", "query", "String", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/cas/src/main/java/org/springframework/security/cas/web/authentication/DefaultServiceAuthenticationDetails.java#L112-L124", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "cas/src/main/java/org/springframework/security/cas/web/authentication/DefaultServiceAuthenticationDetails.java", "func_name": "DefaultServiceAuthenticationDetails.getServicePort", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the port from the casServiceURL ensuring to return the proper value if the\ndefault port is being used.\n@param casServiceUrl the casServerUrl to be used (i.e.\n\"https://example.com/context/login/cas\")\n@return the port that is configured for the casServerUrl", "docstring_tokens": ["Gets", "the", "port", "from", "the", "casServiceURL", "ensuring", "to", "return", "the", "proper", "value", "if", "the", "default", "port", "is", "being", "used", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/cas/src/main/java/org/springframework/security/cas/web/authentication/DefaultServiceAuthenticationDetails.java#L146-L152", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "ldap/src/main/java/org/springframework/security/ldap/authentication/SpringSecurityAuthenticationSource.java", "func_name": "SpringSecurityAuthenticationSource.getPrincipal", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the principals of the logged in user, in this case the distinguished name.\n\n@return the distinguished name of the logged in user.", "docstring_tokens": ["Get", "the", "principals", "of", "the", "logged", "in", "user", "in", "this", "case", "the", "distinguished", "name", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/ldap/src/main/java/org/springframework/security/ldap/authentication/SpringSecurityAuthenticationSource.java#L47-L73", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/authentication/logout/SecurityContextLogoutHandler.java", "func_name": "SecurityContextLogoutHandler.logout", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Requires the request to be passed in.\n\n@param request from which to obtain a HTTP session (cannot be null)\n@param response not used (can be null)\n@param authentication not used (can be null)", "docstring_tokens": ["Requires", "the", "request", "to", "be", "passed", "in", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/authentication/logout/SecurityContextLogoutHandler.java#L59-L76", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "core/src/main/java/org/springframework/security/authentication/jaas/AbstractJaasAuthenticationProvider.java", "func_name": "AbstractJaasAuthenticationProvider.authenticate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Attempts to login the user given the Authentication objects principal and\ncredential\n\n@param auth The Authentication object to be authenticated.\n\n@return The authenticated Authentication object, with it's grantedAuthorities set.\n\n@throws AuthenticationException This implementation does not handle 'locked' or\n'disabled' accounts. This method only throws a AuthenticationServiceException, with\nthe message of the LoginException that will be thrown, should the\nloginContext.login() method fail.", "docstring_tokens": ["Attempts", "to", "login", "the", "user", "given", "the", "Authentication", "objects", "principal", "and", "credential"], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/core/src/main/java/org/springframework/security/authentication/jaas/AbstractJaasAuthenticationProvider.java#L164-L222", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "ldap/src/main/java/org/springframework/security/ldap/DefaultSpringSecurityContextSource.java", "func_name": "DefaultSpringSecurityContextSource.buildProviderUrl", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds a Spring LDAP-compliant Provider URL string, i.e. a space-separated list of\nLDAP servers with their base DNs. As the base DN must be identical for all servers,\nit needs to be supplied only once.\n\n@param urls A list of string values which are LDAP server URLs. An example would be\n\n
\nldap://ldap.company.com:389\n
\n\n. LDAPS URLs may be used as well, given that Spring Security is able to connect to\nthe server.\n@param baseDn The common Base DN for all provided servers, e.g.\n\n
\ndc=company,dc=com\n
\n\n.\n@return A Spring Security/Spring LDAP-compliant Provider URL string.", "docstring_tokens": ["Builds", "a", "Spring", "LDAP", "-", "compliant", "Provider", "URL", "string", "i", ".", "e", ".", "a", "space", "-", "separated", "list", "of", "LDAP", "servers", "with", "their", "base", "DNs", ".", "As", "the", "base", "DN", "must", "be", "identical", "for", "all", "servers", "it", "needs", "to", "be", "supplied", "only", "once", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/ldap/src/main/java/org/springframework/security/ldap/DefaultSpringSecurityContextSource.java#L149-L172", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "ldap/src/main/java/org/springframework/security/ldap/authentication/ad/ActiveDirectoryLdapAuthenticationProvider.java", "func_name": "ActiveDirectoryLdapAuthenticationProvider.setContextEnvironmentProperties", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Allows a custom environment properties to be used to create initial LDAP context.\n\n@param environment the additional environment parameters to use when creating the LDAP Context", "docstring_tokens": ["Allows", "a", "custom", "environment", "properties", "to", "be", "used", "to", "create", "initial", "LDAP", "context", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/ldap/src/main/java/org/springframework/security/ldap/authentication/ad/ActiveDirectoryLdapAuthenticationProvider.java#L419-L422", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/savedrequest/DefaultSavedRequest.java", "func_name": "DefaultSavedRequest.getRedirectUrl", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Indicates the URL that the user agent used for this request.\n\n@return the full URL of this request", "docstring_tokens": ["Indicates", "the", "URL", "that", "the", "user", "agent", "used", "for", "this", "request", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/savedrequest/DefaultSavedRequest.java#L283-L287", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "taglibs/src/main/java/org/springframework/security/taglibs/authz/JspAuthorizeTag.java", "func_name": "JspAuthorizeTag.doEndTag", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Default processing of the end tag returning EVAL_PAGE.\n\n@return EVAL_PAGE\n@see Tag#doEndTag()", "docstring_tokens": ["Default", "processing", "of", "the", "end", "tag", "returning", "EVAL_PAGE", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/taglibs/src/main/java/org/springframework/security/taglibs/authz/JspAuthorizeTag.java#L100-L111", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "config/src/main/java/org/springframework/security/config/annotation/authentication/configurers/provisioning/UserDetailsManagerConfigurer.java", "func_name": "UserDetailsManagerConfigurer.initUserDetailsService", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Populates the users that have been added.\n\n@throws Exception", "docstring_tokens": ["Populates", "the", "users", "that", "have", "been", "added", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/config/src/main/java/org/springframework/security/config/annotation/authentication/configurers/provisioning/UserDetailsManagerConfigurer.java#L57-L65", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "config/src/main/java/org/springframework/security/config/http/UserDetailsServiceFactoryBean.java", "func_name": "UserDetailsServiceFactoryBean.getUserDetailsService", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Obtains a user details service for use in RememberMeServices etc. Will return a\ncaching version if available so should not be used for beans which need to separate\nthe two.", "docstring_tokens": ["Obtains", "a", "user", "details", "service", "for", "use", "in", "RememberMeServices", "etc", ".", "Will", "return", "a", "caching", "version", "if", "available", "so", "should", "not", "be", "used", "for", "beans", "which", "need", "to", "separate", "the", "two", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/config/src/main/java/org/springframework/security/config/http/UserDetailsServiceFactoryBean.java#L113-L131", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "oauth2/oauth2-client/src/main/java/org/springframework/security/oauth2/client/web/server/DefaultServerOAuth2AuthorizationRequestResolver.java", "func_name": "DefaultServerOAuth2AuthorizationRequestResolver.addPkceParameters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates and adds additional PKCE parameters for use in the OAuth 2.0 Authorization and Access Token Requests\n\n@param attributes where {@link PkceParameterNames#CODE_VERIFIER} is stored for the token request\n@param additionalParameters where {@link PkceParameterNames#CODE_CHALLENGE} and, usually,\n{@link PkceParameterNames#CODE_CHALLENGE_METHOD} are added to be used in the authorization request.\n\n@since 5.2\n@see 1.1. Protocol Flow\n@see 4.1. Client Creates a Code Verifier\n@see 4.2. Client Creates the Code Challenge", "docstring_tokens": ["Creates", "and", "adds", "additional", "PKCE", "parameters", "for", "use", "in", "the", "OAuth", "2", ".", "0", "Authorization", "and", "Access", "Token", "Requests"], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/oauth2/oauth2-client/src/main/java/org/springframework/security/oauth2/client/web/server/DefaultServerOAuth2AuthorizationRequestResolver.java#L192-L202", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "cas/src/main/java/org/springframework/security/cas/web/CasAuthenticationFilter.java", "func_name": "CasAuthenticationFilter.requiresAuthentication", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Overridden to provide proxying capabilities.", "docstring_tokens": ["Overridden", "to", "provide", "proxying", "capabilities", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/cas/src/main/java/org/springframework/security/cas/web/CasAuthenticationFilter.java#L285-L294", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "cas/src/main/java/org/springframework/security/cas/web/CasAuthenticationFilter.java", "func_name": "CasAuthenticationFilter.serviceTicketRequest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Indicates if the request is elgible to process a service ticket. This method exists\nfor readability.\n@param request\n@param response\n@return", "docstring_tokens": ["Indicates", "if", "the", "request", "is", "elgible", "to", "process", "a", "service", "ticket", ".", "This", "method", "exists", "for", "readability", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/cas/src/main/java/org/springframework/security/cas/web/CasAuthenticationFilter.java#L338-L345", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "cas/src/main/java/org/springframework/security/cas/web/CasAuthenticationFilter.java", "func_name": "CasAuthenticationFilter.proxyTicketRequest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Indicates if the request is elgible to process a proxy ticket.\n@param request\n@return", "docstring_tokens": ["Indicates", "if", "the", "request", "is", "elgible", "to", "process", "a", "proxy", "ticket", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/cas/src/main/java/org/springframework/security/cas/web/CasAuthenticationFilter.java#L352-L363", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "cas/src/main/java/org/springframework/security/cas/web/CasAuthenticationFilter.java", "func_name": "CasAuthenticationFilter.authenticated", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determines if a user is already authenticated.\n@return", "docstring_tokens": ["Determines", "if", "a", "user", "is", "already", "authenticated", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/cas/src/main/java/org/springframework/security/cas/web/CasAuthenticationFilter.java#L369-L374", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "cas/src/main/java/org/springframework/security/cas/web/CasAuthenticationFilter.java", "func_name": "CasAuthenticationFilter.proxyReceptorRequest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Indicates if the request is elgible to be processed as the proxy receptor.\n@param request\n@return", "docstring_tokens": ["Indicates", "if", "the", "request", "is", "elgible", "to", "be", "processed", "as", "the", "proxy", "receptor", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/cas/src/main/java/org/springframework/security/cas/web/CasAuthenticationFilter.java#L381-L388", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "core/src/main/java/org/springframework/security/access/expression/method/DefaultMethodSecurityExpressionHandler.java", "func_name": "DefaultMethodSecurityExpressionHandler.createSecurityExpressionRoot", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates the root object for expression evaluation.", "docstring_tokens": ["Creates", "the", "root", "object", "for", "expression", "evaluation", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/core/src/main/java/org/springframework/security/access/expression/method/DefaultMethodSecurityExpressionHandler.java#L76-L87", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "oauth2/oauth2-jose/src/main/java/org/springframework/security/oauth2/jwt/ReactiveRemoteJWKSource.java", "func_name": "ReactiveRemoteJWKSource.getJWKSet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Updates the cached JWK set from the configured URL.\n\n@return The updated JWK set.\n\n@throws RemoteKeySourceException If JWK retrieval failed.", "docstring_tokens": ["Updates", "the", "cached", "JWK", "set", "from", "the", "configured", "URL", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/oauth2/oauth2-jose/src/main/java/org/springframework/security/oauth2/jwt/ReactiveRemoteJWKSource.java#L98-L106", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "openid/src/main/java/org/springframework/security/openid/OpenIDAuthenticationFilter.java", "func_name": "OpenIDAuthenticationFilter.utf8UrlEncode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Performs URL encoding with UTF-8\n\n@param value the value to URL encode\n@return the encoded value", "docstring_tokens": ["Performs", "URL", "encoding", "with", "UTF", "-", "8"], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/openid/src/main/java/org/springframework/security/openid/OpenIDAuthenticationFilter.java#L300-L310", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/authentication/preauth/websphere/WebSpherePreAuthenticatedWebAuthenticationDetailsSource.java", "func_name": "WebSpherePreAuthenticatedWebAuthenticationDetailsSource.getWebSphereGroupsBasedGrantedAuthorities", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a list of Granted Authorities based on the current user's WebSphere groups.\n\n@return authorities mapped from the user's WebSphere groups.", "docstring_tokens": ["Get", "a", "list", "of", "Granted", "Authorities", "based", "on", "the", "current", "user", "s", "WebSphere", "groups", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/authentication/preauth/websphere/WebSpherePreAuthenticatedWebAuthenticationDetailsSource.java#L65-L74", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "cas/src/main/java/org/springframework/security/cas/authentication/CasAuthenticationProvider.java", "func_name": "CasAuthenticationProvider.loadUserByAssertion", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Template method for retrieving the UserDetails based on the assertion. Default is\nto call configured userDetailsService and pass the username. Deployers can override\nthis method and retrieve the user based on any criteria they desire.\n\n@param assertion The CAS Assertion.\n@return the UserDetails.", "docstring_tokens": ["Template", "method", "for", "retrieving", "the", "UserDetails", "based", "on", "the", "assertion", ".", "Default", "is", "to", "call", "configured", "userDetailsService", "and", "pass", "the", "username", ".", "Deployers", "can", "override", "this", "method", "and", "retrieve", "the", "user", "based", "on", "any", "criteria", "they", "desire", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/cas/src/main/java/org/springframework/security/cas/authentication/CasAuthenticationProvider.java#L212-L216", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/authentication/preauth/websphere/WebSpherePreAuthenticatedProcessingFilter.java", "func_name": "WebSpherePreAuthenticatedProcessingFilter.getPreAuthenticatedPrincipal", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the WebSphere user name.", "docstring_tokens": ["Return", "the", "WebSphere", "user", "name", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/authentication/preauth/websphere/WebSpherePreAuthenticatedProcessingFilter.java#L50-L56", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "crypto/src/main/java/org/springframework/security/crypto/util/EncodingUtils.java", "func_name": "EncodingUtils.concatenate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Combine the individual byte arrays into one array.", "docstring_tokens": ["Combine", "the", "individual", "byte", "arrays", "into", "one", "array", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/crypto/src/main/java/org/springframework/security/crypto/util/EncodingUtils.java#L30-L42", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "crypto/src/main/java/org/springframework/security/crypto/util/EncodingUtils.java", "func_name": "EncodingUtils.subArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extract a sub array of bytes out of the byte array.\n@param array the byte array to extract from\n@param beginIndex the beginning index of the sub array, inclusive\n@param endIndex the ending index of the sub array, exclusive", "docstring_tokens": ["Extract", "a", "sub", "array", "of", "bytes", "out", "of", "the", "byte", "array", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/crypto/src/main/java/org/springframework/security/crypto/util/EncodingUtils.java#L50-L55", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "core/src/main/java/org/springframework/security/core/authority/mapping/MapBasedAttributes2GrantedAuthoritiesMapper.java", "func_name": "MapBasedAttributes2GrantedAuthoritiesMapper.getGrantedAuthorities", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Map the given array of attributes to Spring Security GrantedAuthorities.", "docstring_tokens": ["Map", "the", "given", "array", "of", "attributes", "to", "Spring", "Security", "GrantedAuthorities", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/core/src/main/java/org/springframework/security/core/authority/mapping/MapBasedAttributes2GrantedAuthoritiesMapper.java#L49-L61", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "core/src/main/java/org/springframework/security/core/authority/mapping/MapBasedAttributes2GrantedAuthoritiesMapper.java", "func_name": "MapBasedAttributes2GrantedAuthoritiesMapper.preProcessMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Preprocess the given map to convert all the values to GrantedAuthority collections\n\n@param orgMap The map to process\n@return the processed Map", "docstring_tokens": ["Preprocess", "the", "given", "map", "to", "convert", "all", "the", "values", "to", "GrantedAuthority", "collections"], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/core/src/main/java/org/springframework/security/core/authority/mapping/MapBasedAttributes2GrantedAuthoritiesMapper.java#L90-L101", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "core/src/main/java/org/springframework/security/core/authority/mapping/MapBasedAttributes2GrantedAuthoritiesMapper.java", "func_name": "MapBasedAttributes2GrantedAuthoritiesMapper.getGrantedAuthorityCollection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert the given value to a collection of Granted Authorities\n\n@param value The value to convert to a GrantedAuthority Collection\n@return Collection containing the GrantedAuthority Collection", "docstring_tokens": ["Convert", "the", "given", "value", "to", "a", "collection", "of", "Granted", "Authorities"], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/core/src/main/java/org/springframework/security/core/authority/mapping/MapBasedAttributes2GrantedAuthoritiesMapper.java#L109-L113", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "core/src/main/java/org/springframework/security/core/authority/mapping/MapBasedAttributes2GrantedAuthoritiesMapper.java", "func_name": "MapBasedAttributes2GrantedAuthoritiesMapper.addGrantedAuthorityCollection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert the given value to a collection of Granted Authorities, adding the result\nto the given result collection.\n\n@param value The value to convert to a GrantedAuthority Collection\n@return Collection containing the GrantedAuthority Collection", "docstring_tokens": ["Convert", "the", "given", "value", "to", "a", "collection", "of", "Granted", "Authorities", "adding", "the", "result", "to", "the", "given", "result", "collection", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/core/src/main/java/org/springframework/security/core/authority/mapping/MapBasedAttributes2GrantedAuthoritiesMapper.java#L122-L143", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/authentication/preauth/j2ee/J2eePreAuthenticatedProcessingFilter.java", "func_name": "J2eePreAuthenticatedProcessingFilter.getPreAuthenticatedPrincipal", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the J2EE user name.", "docstring_tokens": ["Return", "the", "J2EE", "user", "name", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/authentication/preauth/j2ee/J2eePreAuthenticatedProcessingFilter.java#L36-L43", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "config/src/main/java/org/springframework/security/config/annotation/AbstractConfiguredSecurityBuilder.java", "func_name": "AbstractConfiguredSecurityBuilder.getSharedObject", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets a shared Object. Note that object heirarchies are not considered.\n\n@param sharedType the type of the shared Object\n@return the shared Object or null if it is not found", "docstring_tokens": ["Gets", "a", "shared", "Object", ".", "Note", "that", "object", "heirarchies", "are", "not", "considered", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/config/src/main/java/org/springframework/security/config/annotation/AbstractConfiguredSecurityBuilder.java#L168-L171", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/authentication/LoginUrlAuthenticationEntryPoint.java", "func_name": "LoginUrlAuthenticationEntryPoint.buildHttpsRedirectUrlForRequest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds a URL to redirect the supplied request to HTTPS. Used to redirect the\ncurrent request to HTTPS, before doing a forward to the login page.", "docstring_tokens": ["Builds", "a", "URL", "to", "redirect", "the", "supplied", "request", "to", "HTTPS", ".", "Used", "to", "redirect", "the", "current", "request", "to", "HTTPS", "before", "doing", "a", "forward", "to", "the", "login", "page", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/authentication/LoginUrlAuthenticationEntryPoint.java#L214-L238", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "core/src/main/java/org/springframework/security/access/intercept/aspectj/AspectJMethodSecurityInterceptor.java", "func_name": "AspectJMethodSecurityInterceptor.invoke", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Method that is suitable for user with traditional AspectJ-code aspects.\n\n@param jp The AspectJ joint point being invoked which requires a security decision\n@param advisorProceed the advice-defined anonymous class that implements\n{@code AspectJCallback} containing a simple {@code return proceed();} statement\n\n@return The returned value from the method invocation", "docstring_tokens": ["Method", "that", "is", "suitable", "for", "user", "with", "traditional", "AspectJ", "-", "code", "aspects", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/core/src/main/java/org/springframework/security/access/intercept/aspectj/AspectJMethodSecurityInterceptor.java#L57-L70", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "config/src/main/java/org/springframework/security/config/annotation/web/configurers/UrlAuthorizationConfigurer.java", "func_name": "UrlAuthorizationConfigurer.hasRole", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a String for specifying a user requires a role.\n\n@param role the role that should be required which is prepended with ROLE_\nautomatically (i.e. USER, ADMIN, etc). It should not start with ROLE_\n@return the {@link ConfigAttribute} expressed as a String", "docstring_tokens": ["Creates", "a", "String", "for", "specifying", "a", "user", "requires", "a", "role", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/config/src/main/java/org/springframework/security/config/annotation/web/configurers/UrlAuthorizationConfigurer.java#L220-L226", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "config/src/main/java/org/springframework/security/config/annotation/web/configurers/UrlAuthorizationConfigurer.java", "func_name": "UrlAuthorizationConfigurer.hasAnyRole", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a String for specifying that a user requires one of many roles.\n\n@param roles the roles that the user should have at least one of (i.e. ADMIN, USER,\netc). Each role should not start with ROLE_ since it is automatically prepended\nalready.\n@return the {@link ConfigAttribute} expressed as a String", "docstring_tokens": ["Creates", "a", "String", "for", "specifying", "that", "a", "user", "requires", "one", "of", "many", "roles", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/config/src/main/java/org/springframework/security/config/annotation/web/configurers/UrlAuthorizationConfigurer.java#L236-L241", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/authentication/rememberme/PersistentTokenBasedRememberMeServices.java", "func_name": "PersistentTokenBasedRememberMeServices.processAutoLoginCookie", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Locates the presented cookie data in the token repository, using the series id. If\nthe data compares successfully with that in the persistent store, a new token is\ngenerated and stored with the same series. The corresponding cookie value is set on\nthe response.\n\n@param cookieTokens the series and token values\n\n@throws RememberMeAuthenticationException if there is no stored token corresponding\nto the submitted cookie, or if the token in the persistent store has expired.\n@throws InvalidCookieException if the cookie doesn't have two tokens as expected.\n@throws CookieTheftException if a presented series value is found, but the stored\ntoken is different from the one presented.", "docstring_tokens": ["Locates", "the", "presented", "cookie", "data", "in", "the", "token", "repository", "using", "the", "series", "id", ".", "If", "the", "data", "compares", "successfully", "with", "that", "in", "the", "persistent", "store", "a", "new", "token", "is", "generated", "and", "stored", "with", "the", "same", "series", ".", "The", "corresponding", "cookie", "value", "is", "set", "on", "the", "response", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/authentication/rememberme/PersistentTokenBasedRememberMeServices.java#L92-L151", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/authentication/rememberme/PersistentTokenBasedRememberMeServices.java", "func_name": "PersistentTokenBasedRememberMeServices.onLoginSuccess", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new persistent login token with a new series number, stores the data in\nthe persistent token repository and adds the corresponding cookie to the response.", "docstring_tokens": ["Creates", "a", "new", "persistent", "login", "token", "with", "a", "new", "series", "number", "stores", "the", "data", "in", "the", "persistent", "token", "repository", "and", "adds", "the", "corresponding", "cookie", "to", "the", "response", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/authentication/rememberme/PersistentTokenBasedRememberMeServices.java#L158-L173", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/authentication/switchuser/SwitchUserFilter.java", "func_name": "SwitchUserFilter.attemptSwitchUser", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Attempt to switch to another user. If the user does not exist or is not active,\nreturn null.\n\n@return The new Authentication request if successfully switched to\nanother user, null otherwise.\n\n@throws UsernameNotFoundException If the target user is not found.\n@throws LockedException if the account is locked.\n@throws DisabledException If the target user is disabled.\n@throws AccountExpiredException If the target user account is expired.\n@throws CredentialsExpiredException If the target user credentials are expired.", "docstring_tokens": ["Attempt", "to", "switch", "to", "another", "user", ".", "If", "the", "user", "does", "not", "exist", "or", "is", "not", "active", "return", "null", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/authentication/switchuser/SwitchUserFilter.java#L216-L247", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/authentication/switchuser/SwitchUserFilter.java", "func_name": "SwitchUserFilter.attemptExitUser", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Attempt to exit from an already switched user.\n\n@param request The http servlet request\n\n@return The original Authentication object or null\notherwise.\n\n@throws AuthenticationCredentialsNotFoundException If no\nAuthentication associated with this request.", "docstring_tokens": ["Attempt", "to", "exit", "from", "an", "already", "switched", "user", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/authentication/switchuser/SwitchUserFilter.java#L260-L297", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/authentication/switchuser/SwitchUserFilter.java", "func_name": "SwitchUserFilter.setExitUserUrl", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the URL to respond to exit user processing.\n\n@param exitUserUrl The exit user URL.", "docstring_tokens": ["Set", "the", "URL", "to", "respond", "to", "exit", "user", "processing", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/authentication/switchuser/SwitchUserFilter.java#L444-L448", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "samples/xml/contacts/src/main/java/sample/contact/IndexController.java", "func_name": "IndexController.displayPublicIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The public index page, used for unauthenticated users.", "docstring_tokens": ["The", "public", "index", "page", "used", "for", "unauthenticated", "users", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/samples/xml/contacts/src/main/java/sample/contact/IndexController.java#L61-L66", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "config/src/main/java/org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.java", "func_name": "WebSecurityConfiguration.springSecurityFilterChain", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates the Spring Security Filter Chain\n@return the {@link Filter} that represents the security filter chain\n@throws Exception", "docstring_tokens": ["Creates", "the", "Spring", "Security", "Filter", "Chain"], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/config/src/main/java/org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.java#L95-L106", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "oauth2/oauth2-jose/src/main/java/org/springframework/security/oauth2/jwt/NimbusJwtDecoder.java", "func_name": "NimbusJwtDecoder.decode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Decode and validate the JWT from its compact claims representation format\n\n@param token the JWT value\n@return a validated {@link Jwt}\n@throws JwtException", "docstring_tokens": ["Decode", "and", "validate", "the", "JWT", "from", "its", "compact", "claims", "representation", "format"], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/oauth2/oauth2-jose/src/main/java/org/springframework/security/oauth2/jwt/NimbusJwtDecoder.java#L119-L127", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "taglibs/src/main/java/org/springframework/security/taglibs/authz/AbstractAuthorizeTag.java", "func_name": "AbstractAuthorizeTag.authorizeUsingAccessExpression", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make an authorization decision based on a Spring EL expression. See the\n\"Expression-Based Access Control\" chapter in Spring Security for details on what\nexpressions can be used.\n\n@return the result of the authorization decision\n@throws IOException", "docstring_tokens": ["Make", "an", "authorization", "decision", "based", "on", "a", "Spring", "EL", "expression", ".", "See", "the", "Expression", "-", "Based", "Access", "Control", "chapter", "in", "Spring", "Security", "for", "details", "on", "what", "expressions", "can", "be", "used", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/taglibs/src/main/java/org/springframework/security/taglibs/authz/AbstractAuthorizeTag.java#L121-L141", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "taglibs/src/main/java/org/springframework/security/taglibs/authz/AbstractAuthorizeTag.java", "func_name": "AbstractAuthorizeTag.authorizeUsingUrlCheck", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make an authorization decision based on the URL and HTTP method attributes. True is\nreturned if the user is allowed to access the given URL as defined.\n\n@return the result of the authorization decision\n@throws IOException", "docstring_tokens": ["Make", "an", "authorization", "decision", "based", "on", "the", "URL", "and", "HTTP", "method", "attributes", ".", "True", "is", "returned", "if", "the", "user", "is", "allowed", "to", "access", "the", "given", "URL", "as", "defined", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/taglibs/src/main/java/org/springframework/security/taglibs/authz/AbstractAuthorizeTag.java#L167-L173", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "oauth2/oauth2-resource-server/src/main/java/org/springframework/security/oauth2/server/resource/authentication/JwtGrantedAuthoritiesConverter.java", "func_name": "JwtGrantedAuthoritiesConverter.convert", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extracts the authorities\n@param jwt The {@link Jwt} token\n@return The {@link GrantedAuthority authorities} read from the token scopes", "docstring_tokens": ["Extracts", "the", "authorities"], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/oauth2/oauth2-resource-server/src/main/java/org/springframework/security/oauth2/server/resource/authentication/JwtGrantedAuthoritiesConverter.java#L48-L55", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/csrf/LazyCsrfTokenRepository.java", "func_name": "LazyCsrfTokenRepository.generateToken", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates a new token\n@param request the {@link HttpServletRequest} to use. The\n{@link HttpServletRequest} must have the {@link HttpServletResponse} as an\nattribute with the name of HttpServletResponse.class.getName()", "docstring_tokens": ["Generates", "a", "new", "token"], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/csrf/LazyCsrfTokenRepository.java#L56-L59", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "samples/xml/contacts/src/main/java/sample/contact/AdminPermissionController.java", "func_name": "AdminPermissionController.displayAdminPage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Displays the permission admin page for a particular contact.", "docstring_tokens": ["Displays", "the", "permission", "admin", "page", "for", "a", "particular", "contact", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/samples/xml/contacts/src/main/java/sample/contact/AdminPermissionController.java#L69-L79", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "samples/xml/contacts/src/main/java/sample/contact/AdminPermissionController.java", "func_name": "AdminPermissionController.displayAddPermissionPageForContact", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Displays the \"add permission\" page for a contact.", "docstring_tokens": ["Displays", "the", "add", "permission", "page", "for", "a", "contact", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/samples/xml/contacts/src/main/java/sample/contact/AdminPermissionController.java#L84-L98", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "samples/xml/contacts/src/main/java/sample/contact/AdminPermissionController.java", "func_name": "AdminPermissionController.addPermission", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Handles submission of the \"add permission\" form.", "docstring_tokens": ["Handles", "submission", "of", "the", "add", "permission", "form", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/samples/xml/contacts/src/main/java/sample/contact/AdminPermissionController.java#L108-L138", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "samples/xml/contacts/src/main/java/sample/contact/AdminPermissionController.java", "func_name": "AdminPermissionController.deletePermission", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Deletes a permission", "docstring_tokens": ["Deletes", "a", "permission"], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/samples/xml/contacts/src/main/java/sample/contact/AdminPermissionController.java#L143-L160", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "core/src/main/java/org/springframework/security/access/expression/SecurityExpressionRoot.java", "func_name": "SecurityExpressionRoot.getRoleWithDefaultPrefix", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Prefixes role with defaultRolePrefix if defaultRolePrefix is non-null and if role\ndoes not already start with defaultRolePrefix.\n\n@param defaultRolePrefix\n@param role\n@return", "docstring_tokens": ["Prefixes", "role", "with", "defaultRolePrefix", "if", "defaultRolePrefix", "is", "non", "-", "null", "and", "if", "role", "does", "not", "already", "start", "with", "defaultRolePrefix", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/core/src/main/java/org/springframework/security/access/expression/SecurityExpressionRoot.java#L197-L208", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "config/src/main/java/org/springframework/security/config/core/userdetails/UserDetailsResourceFactoryBean.java", "func_name": "UserDetailsResourceFactoryBean.fromString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a UserDetailsResourceFactoryBean with a resource from the provided String\n\n@param users the string representing the users\n@return the UserDetailsResourceFactoryBean", "docstring_tokens": ["Creates", "a", "UserDetailsResourceFactoryBean", "with", "a", "resource", "from", "the", "provided", "String"], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/config/src/main/java/org/springframework/security/config/core/userdetails/UserDetailsResourceFactoryBean.java#L138-L141", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "ldap/src/main/java/org/springframework/security/ldap/userdetails/LdapAuthority.java", "func_name": "LdapAuthority.getAttributeValues", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the values for a specific attribute\n\n@param name the attribute name\n@return a String array, never null but may be zero length", "docstring_tokens": ["Returns", "the", "values", "for", "a", "specific", "attribute"], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/ldap/src/main/java/org/springframework/security/ldap/userdetails/LdapAuthority.java#L87-L96", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "ldap/src/main/java/org/springframework/security/ldap/userdetails/LdapAuthority.java", "func_name": "LdapAuthority.getFirstAttributeValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the first attribute value for a specified attribute\n\n@param name\n@return the first attribute value for a specified attribute, may be null", "docstring_tokens": ["Returns", "the", "first", "attribute", "value", "for", "a", "specified", "attribute"], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/ldap/src/main/java/org/springframework/security/ldap/userdetails/LdapAuthority.java#L104-L112", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "crypto/src/main/java/org/springframework/security/crypto/codec/Utf8.java", "func_name": "Utf8.encode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the bytes of the String in UTF-8 encoded form.", "docstring_tokens": ["Get", "the", "bytes", "of", "the", "String", "in", "UTF", "-", "8", "encoded", "form", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/crypto/src/main/java/org/springframework/security/crypto/codec/Utf8.java#L36-L47", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "crypto/src/main/java/org/springframework/security/crypto/codec/Utf8.java", "func_name": "Utf8.decode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Decode the bytes in UTF-8 form into a String.", "docstring_tokens": ["Decode", "the", "bytes", "in", "UTF", "-", "8", "form", "into", "a", "String", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/crypto/src/main/java/org/springframework/security/crypto/codec/Utf8.java#L52-L59", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "core/src/main/java/org/springframework/security/core/parameters/AnnotationParameterNameDiscoverer.java", "func_name": "AnnotationParameterNameDiscoverer.lookupParameterNames", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the parameter names or null if not found.\n\n@param parameterNameFactory the {@link ParameterNameFactory} to use\n@param t the {@link AccessibleObject} to find the parameter names on (i.e. Method\nor Constructor)\n@return the parameter names or null", "docstring_tokens": ["Gets", "the", "parameter", "names", "or", "null", "if", "not", "found", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/core/src/main/java/org/springframework/security/core/parameters/AnnotationParameterNameDiscoverer.java#L146-L161", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "samples/xml/contacts/src/main/java/sample/contact/AddDeleteContactController.java", "func_name": "AddDeleteContactController.addContact", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Handles the submission of the contact form, creating a new instance if the username\nand email are valid.", "docstring_tokens": ["Handles", "the", "submission", "of", "the", "contact", "form", "creating", "a", "new", "instance", "if", "the", "username", "and", "email", "are", "valid", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/samples/xml/contacts/src/main/java/sample/contact/AddDeleteContactController.java#L57-L69", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "core/src/main/java/org/springframework/security/access/method/MapBasedMethodSecurityMetadataSource.java", "func_name": "MapBasedMethodSecurityMetadataSource.findAttributes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Will walk the method inheritance tree to find the most specific declaration\napplicable.", "docstring_tokens": ["Will", "walk", "the", "method", "inheritance", "tree", "to", "find", "the", "most", "specific", "declaration", "applicable", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/core/src/main/java/org/springframework/security/access/method/MapBasedMethodSecurityMetadataSource.java#L87-L95", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "core/src/main/java/org/springframework/security/access/method/MapBasedMethodSecurityMetadataSource.java", "func_name": "MapBasedMethodSecurityMetadataSource.addSecureMethod", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add configuration attributes for a secure method.\n\n@param method the method to be secured\n@param attr required authorities associated with the method", "docstring_tokens": ["Add", "configuration", "attributes", "for", "a", "secure", "method", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/core/src/main/java/org/springframework/security/access/method/MapBasedMethodSecurityMetadataSource.java#L222-L230", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "core/src/main/java/org/springframework/security/access/method/MapBasedMethodSecurityMetadataSource.java", "func_name": "MapBasedMethodSecurityMetadataSource.getAllConfigAttributes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Obtains the configuration attributes explicitly defined against this bean.\n\n@return the attributes explicitly defined against this bean", "docstring_tokens": ["Obtains", "the", "configuration", "attributes", "explicitly", "defined", "against", "this", "bean", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/core/src/main/java/org/springframework/security/access/method/MapBasedMethodSecurityMetadataSource.java#L237-L246", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "core/src/main/java/org/springframework/security/access/method/MapBasedMethodSecurityMetadataSource.java", "func_name": "MapBasedMethodSecurityMetadataSource.isMatch", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return if the given method name matches the mapped name. The default implementation\nchecks for \"xxx\" and \"xxx\" matches.\n\n@param methodName the method name of the class\n@param mappedName the name in the descriptor\n\n@return if the names match", "docstring_tokens": ["Return", "if", "the", "given", "method", "name", "matches", "the", "mapped", "name", ".", "The", "default", "implementation", "checks", "for", "xxx", "and", "xxx", "matches", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/core/src/main/java/org/springframework/security/access/method/MapBasedMethodSecurityMetadataSource.java#L257-L262", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "config/src/main/java/org/springframework/security/config/annotation/web/AbstractRequestMatcherRegistry.java", "func_name": "AbstractRequestMatcherRegistry.anyRequest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Maps any request.\n\n@return the object that is chained after creating the {@link RequestMatcher}", "docstring_tokens": ["Maps", "any", "request", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/config/src/main/java/org/springframework/security/config/annotation/web/AbstractRequestMatcherRegistry.java#L73-L78", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "ldap/src/main/java/org/springframework/security/ldap/authentication/BindAuthenticator.java", "func_name": "BindAuthenticator.handleBindException", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Allows subclasses to inspect the exception thrown by an attempt to bind with a\nparticular DN. The default implementation just reports the failure to the debug\nlogger.", "docstring_tokens": ["Allows", "subclasses", "to", "inspect", "the", "exception", "thrown", "by", "an", "attempt", "to", "bind", "with", "a", "particular", "DN", ".", "The", "default", "implementation", "just", "reports", "the", "failure", "to", "the", "debug", "logger", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/ldap/src/main/java/org/springframework/security/ldap/authentication/BindAuthenticator.java#L170-L174", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "samples/xml/contacts/src/main/java/sample/contact/ContactManagerBackend.java", "func_name": "ContactManagerBackend.getRandomContact", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This is a public method.", "docstring_tokens": ["This", "is", "a", "public", "method", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/samples/xml/contacts/src/main/java/sample/contact/ContactManagerBackend.java#L161-L170", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/authentication/SimpleUrlAuthenticationSuccessHandler.java", "func_name": "SimpleUrlAuthenticationSuccessHandler.clearAuthenticationAttributes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes temporary authentication-related data which may have been stored in the\nsession during the authentication process.", "docstring_tokens": ["Removes", "temporary", "authentication", "-", "related", "data", "which", "may", "have", "been", "stored", "in", "the", "session", "during", "the", "authentication", "process", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/authentication/SimpleUrlAuthenticationSuccessHandler.java#L71-L79", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "core/src/main/java/org/springframework/security/util/FieldUtils.java", "func_name": "FieldUtils.getField", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Attempts to locate the specified field on the class.\n\n@param clazz the class definition containing the field\n@param fieldName the name of the field to locate\n\n@return the Field (never null)\n\n@throws IllegalStateException if field could not be found", "docstring_tokens": ["Attempts", "to", "locate", "the", "specified", "field", "on", "the", "class", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/core/src/main/java/org/springframework/security/util/FieldUtils.java#L44-L61", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "cas/src/main/java/org/springframework/security/cas/web/CasAuthenticationEntryPoint.java", "func_name": "CasAuthenticationEntryPoint.createServiceUrl", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a new Service Url. The default implementation relies on the CAS client\nto do the bulk of the work.\n@param request the HttpServletRequest\n@param response the HttpServlet Response\n@return the constructed service url. CANNOT be NULL.", "docstring_tokens": ["Constructs", "a", "new", "Service", "Url", ".", "The", "default", "implementation", "relies", "on", "the", "CAS", "client", "to", "do", "the", "bulk", "of", "the", "work", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/cas/src/main/java/org/springframework/security/cas/web/CasAuthenticationEntryPoint.java#L95-L101", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "cas/src/main/java/org/springframework/security/cas/web/CasAuthenticationEntryPoint.java", "func_name": "CasAuthenticationEntryPoint.createRedirectUrl", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs the Url for Redirection to the CAS server. Default implementation relies\non the CAS client to do the bulk of the work.\n\n@param serviceUrl the service url that should be included.\n@return the redirect url. CANNOT be NULL.", "docstring_tokens": ["Constructs", "the", "Url", "for", "Redirection", "to", "the", "CAS", "server", ".", "Default", "implementation", "relies", "on", "the", "CAS", "client", "to", "do", "the", "bulk", "of", "the", "work", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/cas/src/main/java/org/springframework/security/cas/web/CasAuthenticationEntryPoint.java#L110-L114", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "crypto/src/main/java/org/springframework/security/crypto/password/LdapShaPasswordEncoder.java", "func_name": "LdapShaPasswordEncoder.extractPrefix", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the hash prefix or null if there isn't one.", "docstring_tokens": ["Returns", "the", "hash", "prefix", "or", "null", "if", "there", "isn", "t", "one", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/crypto/src/main/java/org/springframework/security/crypto/password/LdapShaPasswordEncoder.java#L192-L205", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/authentication/Http403ForbiddenEntryPoint.java", "func_name": "Http403ForbiddenEntryPoint.commence", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Always returns a 403 error code to the client.", "docstring_tokens": ["Always", "returns", "a", "403", "error", "code", "to", "the", "client", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/authentication/Http403ForbiddenEntryPoint.java#L54-L60", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "config/src/main/java/org/springframework/security/config/http/DefaultFilterChainValidator.java", "func_name": "DefaultFilterChainValidator.checkFilterStack", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks the filter list for possible errors and logs them", "docstring_tokens": ["Checks", "the", "filter", "list", "for", "possible", "errors", "and", "logs", "them"], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/config/src/main/java/org/springframework/security/config/http/DefaultFilterChainValidator.java#L110-L119", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/util/ThrowableAnalyzer.java", "func_name": "ThrowableAnalyzer.getRegisteredTypes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an array containing the classes for which extractors are registered. The\norder of the classes is the order in which comparisons will occur for resolving a\nmatching extractor.\n\n@return the types for which extractors are registered", "docstring_tokens": ["Returns", "an", "array", "containing", "the", "classes", "for", "which", "extractors", "are", "registered", ".", "The", "order", "of", "the", "classes", "is", "the", "order", "in", "which", "comparisons", "will", "occur", "for", "resolving", "a", "matching", "extractor", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/util/ThrowableAnalyzer.java#L149-L153", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/util/ThrowableAnalyzer.java", "func_name": "ThrowableAnalyzer.extractCause", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extracts the cause of the given throwable using an appropriate extractor.\n\n@param throwable the Throwable (not null\n@return the cause, may be null if none could be resolved", "docstring_tokens": ["Extracts", "the", "cause", "of", "the", "given", "throwable", "using", "an", "appropriate", "extractor", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/util/ThrowableAnalyzer.java#L194-L205", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "config/src/main/java/org/springframework/security/config/method/GlobalMethodSecurityBeanDefinitionParser.java", "func_name": "GlobalMethodSecurityBeanDefinitionParser.registerAccessManager", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Register the default AccessDecisionManager. Adds the special JSR 250 voter jsr-250\nis enabled and an expression voter if expression-based access control is enabled.\n@return", "docstring_tokens": ["Register", "the", "default", "AccessDecisionManager", ".", "Adds", "the", "special", "JSR", "250", "voter", "jsr", "-", "250", "is", "enabled", "and", "an", "expression", "voter", "if", "expression", "-", "based", "access", "control", "is", "enabled", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/config/src/main/java/org/springframework/security/config/method/GlobalMethodSecurityBeanDefinitionParser.java#L325-L350", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "core/src/main/java/org/springframework/security/core/authority/AuthorityUtils.java", "func_name": "AuthorityUtils.authorityListToSet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts an array of GrantedAuthority objects to a Set.\n@return a Set of the Strings obtained from each call to\nGrantedAuthority.getAuthority()", "docstring_tokens": ["Converts", "an", "array", "of", "GrantedAuthority", "objects", "to", "a", "Set", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/core/src/main/java/org/springframework/security/core/authority/AuthorityUtils.java#L57-L67", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "crypto/src/main/java/org/springframework/security/crypto/password/StandardPasswordEncoder.java", "func_name": "StandardPasswordEncoder.matches", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constant time comparison to prevent against timing attacks.", "docstring_tokens": ["Constant", "time", "comparison", "to", "prevent", "against", "timing", "attacks", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/crypto/src/main/java/org/springframework/security/crypto/password/StandardPasswordEncoder.java#L111-L121", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/authentication/SimpleUrlAuthenticationFailureHandler.java", "func_name": "SimpleUrlAuthenticationFailureHandler.setDefaultFailureUrl", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The URL which will be used as the failure destination.\n\n@param defaultFailureUrl the failure URL, for example \"/loginFailed.jsp\".", "docstring_tokens": ["The", "URL", "which", "will", "be", "used", "as", "the", "failure", "destination", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/authentication/SimpleUrlAuthenticationFailureHandler.java#L125-L129", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/authentication/ui/DefaultLogoutPageGeneratingFilter.java", "func_name": "DefaultLogoutPageGeneratingFilter.setResolveHiddenInputs", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets a Function used to resolve a Map of the hidden inputs where the key is the\nname of the input and the value is the value of the input. Typically this is used\nto resolve the CSRF token.\n@param resolveHiddenInputs the function to resolve the inputs", "docstring_tokens": ["Sets", "a", "Function", "used", "to", "resolve", "a", "Map", "of", "the", "hidden", "inputs", "where", "the", "key", "is", "the", "name", "of", "the", "input", "and", "the", "value", "is", "the", "value", "of", "the", "input", ".", "Typically", "this", "is", "used", "to", "resolve", "the", "CSRF", "token", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/authentication/ui/DefaultLogoutPageGeneratingFilter.java#L90-L94", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/util/UrlUtils.java", "func_name": "UrlUtils.buildRequestUrl", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Obtains the web application-specific fragment of the URL.", "docstring_tokens": ["Obtains", "the", "web", "application", "-", "specific", "fragment", "of", "the", "URL", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/util/UrlUtils.java#L106-L126", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/util/UrlUtils.java", "func_name": "UrlUtils.isAbsoluteUrl", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Decides if a URL is absolute based on whether it contains a valid scheme name, as\ndefined in RFC 1738.", "docstring_tokens": ["Decides", "if", "a", "URL", "is", "absolute", "based", "on", "whether", "it", "contains", "a", "valid", "scheme", "name", "as", "defined", "in", "RFC", "1738", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/util/UrlUtils.java#L139-L147", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "openid/src/main/java/org/springframework/security/openid/RegexBasedAxFetchListFactory.java", "func_name": "RegexBasedAxFetchListFactory.createAttributeList", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Iterates through the patterns stored in the map and returns the list of attributes\ndefined for the first match. If no match is found, returns an empty list.", "docstring_tokens": ["Iterates", "through", "the", "patterns", "stored", "in", "the", "map", "and", "returns", "the", "list", "of", "attributes", "defined", "for", "the", "first", "match", ".", "If", "no", "match", "is", "found", "returns", "an", "empty", "list", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/openid/src/main/java/org/springframework/security/openid/RegexBasedAxFetchListFactory.java#L47-L55", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "acl/src/main/java/org/springframework/security/acls/jdbc/AclClassIdUtils.java", "func_name": "AclClassIdUtils.identifierFrom", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts the raw type from the database into the right Java type. For most applications the 'raw type' will be Long, for some applications\nit could be String.\n@param identifier The identifier from the database\n@param resultSet Result set of the query\n@return The identifier in the appropriate target Java type. Typically Long or UUID.\n@throws SQLException", "docstring_tokens": ["Converts", "the", "raw", "type", "from", "the", "database", "into", "the", "right", "Java", "type", ".", "For", "most", "applications", "the", "raw", "type", "will", "be", "Long", "for", "some", "applications", "it", "could", "be", "String", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/acl/src/main/java/org/springframework/security/acls/jdbc/AclClassIdUtils.java#L64-L75", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "acl/src/main/java/org/springframework/security/acls/jdbc/JdbcMutableAclService.java", "func_name": "JdbcMutableAclService.createEntries", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new row in acl_entry for every ACE defined in the passed MutableAcl\nobject.\n\n@param acl containing the ACEs to insert", "docstring_tokens": ["Creates", "a", "new", "row", "in", "acl_entry", "for", "every", "ACE", "defined", "in", "the", "passed", "MutableAcl", "object", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/acl/src/main/java/org/springframework/security/acls/jdbc/JdbcMutableAclService.java#L134-L159", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "acl/src/main/java/org/springframework/security/acls/jdbc/JdbcMutableAclService.java", "func_name": "JdbcMutableAclService.createObjectIdentity", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an entry in the acl_object_identity table for the passed ObjectIdentity.\nThe Sid is also necessary, as acl_object_identity has defined the sid column as\nnon-null.\n\n@param object to represent an acl_object_identity for\n@param owner for the SID column (will be created if there is no acl_sid entry for\nthis particular Sid already)", "docstring_tokens": ["Creates", "an", "entry", "in", "the", "acl_object_identity", "table", "for", "the", "passed", "ObjectIdentity", ".", "The", "Sid", "is", "also", "necessary", "as", "acl_object_identity", "has", "defined", "the", "sid", "column", "as", "non", "-", "null", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/acl/src/main/java/org/springframework/security/acls/jdbc/JdbcMutableAclService.java#L170-L175", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "acl/src/main/java/org/springframework/security/acls/jdbc/JdbcMutableAclService.java", "func_name": "JdbcMutableAclService.updateObjectIdentity", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Updates an existing acl_object_identity row, with new information presented in the\npassed MutableAcl object. Also will create an acl_sid entry if needed for the Sid\nthat owns the MutableAcl.\n\n@param acl to modify (a row must already exist in acl_object_identity)\n\n@throws NotFoundException if the ACL could not be found to update.", "docstring_tokens": ["Updates", "an", "existing", "acl_object_identity", "row", "with", "new", "information", "presented", "in", "the", "passed", "MutableAcl", "object", ".", "Also", "will", "create", "an", "acl_sid", "entry", "if", "needed", "for", "the", "Sid", "that", "owns", "the", "MutableAcl", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/acl/src/main/java/org/springframework/security/acls/jdbc/JdbcMutableAclService.java#L396-L418", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/savedrequest/HttpSessionRequestCache.java", "func_name": "HttpSessionRequestCache.saveRequest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Stores the current request, provided the configuration properties allow it.", "docstring_tokens": ["Stores", "the", "current", "request", "provided", "the", "configuration", "properties", "allow", "it", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/savedrequest/HttpSessionRequestCache.java#L51-L67", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/server/util/matcher/ServerWebExchangeMatchers.java", "func_name": "ServerWebExchangeMatchers.pathMatchers", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a matcher that matches on the specific method and any of the provided patterns.\n@param method the method to match on. If null, any method will be matched\n@param patterns the patterns to match on\n@return the matcher to use", "docstring_tokens": ["Creates", "a", "matcher", "that", "matches", "on", "the", "specific", "method", "and", "any", "of", "the", "provided", "patterns", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/server/util/matcher/ServerWebExchangeMatchers.java#L38-L44", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/server/util/matcher/ServerWebExchangeMatchers.java", "func_name": "ServerWebExchangeMatchers.anyExchange", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Matches any exchange\n@return the matcher to use", "docstring_tokens": ["Matches", "any", "exchange"], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/server/util/matcher/ServerWebExchangeMatchers.java#L68-L77", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "crypto/src/main/java/org/springframework/security/crypto/encrypt/Encryptors.java", "func_name": "Encryptors.delux", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a text encryptor that uses \"stronger\" password-based encryption. Encrypted\ntext is hex-encoded.\n\n@param password the password used to generate the encryptor's secret key; should\nnot be shared\n@see Encryptors#stronger(CharSequence, CharSequence)", "docstring_tokens": ["Creates", "a", "text", "encryptor", "that", "uses", "stronger", "password", "-", "based", "encryption", ".", "Encrypted", "text", "is", "hex", "-", "encoded", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/crypto/src/main/java/org/springframework/security/crypto/encrypt/Encryptors.java#L77-L79", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "crypto/src/main/java/org/springframework/security/crypto/encrypt/Encryptors.java", "func_name": "Encryptors.text", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a text encryptor that uses \"standard\" password-based encryption. Encrypted\ntext is hex-encoded.\n\n@param password the password used to generate the encryptor's secret key; should\nnot be shared\n@see Encryptors#standard(CharSequence, CharSequence)", "docstring_tokens": ["Creates", "a", "text", "encryptor", "that", "uses", "standard", "password", "-", "based", "encryption", ".", "Encrypted", "text", "is", "hex", "-", "encoded", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/crypto/src/main/java/org/springframework/security/crypto/encrypt/Encryptors.java#L89-L91", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "crypto/src/main/java/org/springframework/security/crypto/encrypt/Encryptors.java", "func_name": "Encryptors.queryableText", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an encryptor for queryable text strings that uses standard password-based\nencryption. Uses a 16-byte all-zero initialization vector so encrypting the same\ndata results in the same encryption result. This is done to allow encrypted data to\nbe queried against. Encrypted text is hex-encoded.\n\n@param password the password used to generate the encryptor's secret key; should\nnot be shared\n@param salt a hex-encoded, random, site-global salt value to use to generate the\nsecret key", "docstring_tokens": ["Creates", "an", "encryptor", "for", "queryable", "text", "strings", "that", "uses", "standard", "password", "-", "based", "encryption", ".", "Uses", "a", "16", "-", "byte", "all", "-", "zero", "initialization", "vector", "so", "encrypting", "the", "same", "data", "results", "in", "the", "same", "encryption", "result", ".", "This", "is", "done", "to", "allow", "encrypted", "data", "to", "be", "queried", "against", ".", "Encrypted", "text", "is", "hex", "-", "encoded", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/crypto/src/main/java/org/springframework/security/crypto/encrypt/Encryptors.java#L104-L107", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/header/writers/frameoptions/XFrameOptionsHeaderWriter.java", "func_name": "XFrameOptionsHeaderWriter.writeHeaders", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes the X-Frame-Options header value, overwritting any previous value.\n\n@param request the servlet request\n@param response the servlet response", "docstring_tokens": ["Writes", "the", "X", "-", "Frame", "-", "Options", "header", "value", "overwritting", "any", "previous", "value", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/header/writers/frameoptions/XFrameOptionsHeaderWriter.java#L84-L101", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/authentication/AbstractAuthenticationTargetUrlRequestHandler.java", "func_name": "AbstractAuthenticationTargetUrlRequestHandler.determineTargetUrl", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds the target URL according to the logic defined in the main class Javadoc\n\n@since 5.2", "docstring_tokens": ["Builds", "the", "target", "URL", "according", "to", "the", "logic", "defined", "in", "the", "main", "class", "Javadoc"], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/authentication/AbstractAuthenticationTargetUrlRequestHandler.java#L99-L102", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/authentication/AbstractAuthenticationTargetUrlRequestHandler.java", "func_name": "AbstractAuthenticationTargetUrlRequestHandler.determineTargetUrl", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds the target URL according to the logic defined in the main class Javadoc.", "docstring_tokens": ["Builds", "the", "target", "URL", "according", "to", "the", "logic", "defined", "in", "the", "main", "class", "Javadoc", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/authentication/AbstractAuthenticationTargetUrlRequestHandler.java#L107-L137", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/authentication/AbstractAuthenticationTargetUrlRequestHandler.java", "func_name": "AbstractAuthenticationTargetUrlRequestHandler.setTargetUrlParameter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If this property is set, the current request will be checked for this a parameter\nwith this name and the value used as the target URL if present.\n\n@param targetUrlParameter the name of the parameter containing the encoded target\nURL. Defaults to null.", "docstring_tokens": ["If", "this", "property", "is", "set", "the", "current", "request", "will", "be", "checked", "for", "this", "a", "parameter", "with", "this", "name", "and", "the", "value", "used", "as", "the", "target", "URL", "if", "present", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/authentication/AbstractAuthenticationTargetUrlRequestHandler.java#L185-L190", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "samples/xml/dms/src/main/java/sample/dms/DocumentDaoImpl.java", "func_name": "DocumentDaoImpl.getDirectoryWithImmediateParentPopulated", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Executes recursive SQL as needed to build a full Directory hierarchy of objects", "docstring_tokens": ["Executes", "recursive", "SQL", "as", "needed", "to", "build", "a", "full", "Directory", "hierarchy", "of", "objects"], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/samples/xml/dms/src/main/java/sample/dms/DocumentDaoImpl.java#L81-L101", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "ldap/src/main/java/org/springframework/security/ldap/DefaultLdapUsernameToDnMapper.java", "func_name": "DefaultLdapUsernameToDnMapper.buildDn", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Assembles the Distinguished Name that should be used the given username.", "docstring_tokens": ["Assembles", "the", "Distinguished", "Name", "that", "should", "be", "used", "the", "given", "username", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/ldap/src/main/java/org/springframework/security/ldap/DefaultLdapUsernameToDnMapper.java#L44-L50", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "config/src/main/java/org/springframework/security/config/annotation/web/configuration/WebSecurityConfigurerAdapter.java", "func_name": "WebSecurityConfigurerAdapter.createSharedObjects", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates the shared objects\n\n@return the shared Objects", "docstring_tokens": ["Creates", "the", "shared", "objects"], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/config/src/main/java/org/springframework/security/config/annotation/web/configuration/WebSecurityConfigurerAdapter.java#L417-L425", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "core/src/main/java/org/springframework/security/authentication/jaas/JaasAuthenticationProvider.java", "func_name": "JaasAuthenticationProvider.configureJaasUsingLoop", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Loops through the login.config.url.1,login.config.url.2 properties looking for the\nlogin configuration. If it is not set, it will be set to the last available\nlogin.config.url.X property.", "docstring_tokens": ["Loops", "through", "the", "login", ".", "config", ".", "url", ".", "1", "login", ".", "config", ".", "url", ".", "2", "properties", "looking", "for", "the", "login", "configuration", ".", "If", "it", "is", "not", "set", "it", "will", "be", "set", "to", "the", "last", "available", "login", ".", "config", ".", "url", ".", "X", "property", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/core/src/main/java/org/springframework/security/authentication/jaas/JaasAuthenticationProvider.java#L201-L224", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/savedrequest/FastHttpDateFormat.java", "func_name": "FastHttpDateFormat.getCurrentDate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the current date in HTTP format.\n\n@return Current date in HTTP format", "docstring_tokens": ["Gets", "the", "current", "date", "in", "HTTP", "format", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/savedrequest/FastHttpDateFormat.java#L125-L138", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/savedrequest/FastHttpDateFormat.java", "func_name": "FastHttpDateFormat.internalParseDate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses date with given formatters.\n\n@param value The string to parse\n@param formats Array of formats to use\n\n@return Parsed date (or null if no formatter mached)", "docstring_tokens": ["Parses", "date", "with", "given", "formatters", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/savedrequest/FastHttpDateFormat.java#L148-L164", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/savedrequest/FastHttpDateFormat.java", "func_name": "FastHttpDateFormat.updateCache", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Updates cache.\n\n@param cache Cache to be updated\n@param key Key to be updated\n@param value New value", "docstring_tokens": ["Updates", "cache", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/savedrequest/FastHttpDateFormat.java#L220-L231", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/authentication/UsernamePasswordAuthenticationFilter.java", "func_name": "UsernamePasswordAuthenticationFilter.setDetails", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Provided so that subclasses may configure what is put into the authentication\nrequest's details property.\n\n@param request that an authentication request is being created for\n@param authRequest the authentication request object that should have its details\nset", "docstring_tokens": ["Provided", "so", "that", "subclasses", "may", "configure", "what", "is", "put", "into", "the", "authentication", "request", "s", "details", "property", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/authentication/UsernamePasswordAuthenticationFilter.java#L137-L140", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/authentication/preauth/websphere/DefaultWASUsernameAndGroupsExtractor.java", "func_name": "DefaultWASUsernameAndGroupsExtractor.getSecurityName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the security name for the given subject.\n\n@param subject The subject for which to retrieve the security name\n@return String the security name for the given subject", "docstring_tokens": ["Get", "the", "security", "name", "for", "the", "given", "subject", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/authentication/preauth/websphere/DefaultWASUsernameAndGroupsExtractor.java#L75-L94", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/authentication/preauth/websphere/DefaultWASUsernameAndGroupsExtractor.java", "func_name": "DefaultWASUsernameAndGroupsExtractor.getWebSphereGroups", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the WebSphere group names for the given security name.\n\n@param securityName The security name for which to retrieve the WebSphere group\nnames\n@return the WebSphere group names for the given security name", "docstring_tokens": ["Get", "the", "WebSphere", "group", "names", "for", "the", "given", "security", "name", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/authentication/preauth/websphere/DefaultWASUsernameAndGroupsExtractor.java#L124-L159", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "ldap/src/main/java/org/springframework/security/ldap/userdetails/LdapUserDetailsManager.java", "func_name": "LdapUserDetailsManager.changePassword", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Changes the password for the current user. The username is obtained from the\nsecurity context.\n\nThere are two supported strategies for modifying the user's password depending on\nthe capabilities of the corresponding LDAP server.\n\n

\nConfigured one way, this method will modify the user's password via the\n\nLDAP Password Modify Extended Operation\n.\n\nSee {@link LdapUserDetailsManager#setUsePasswordModifyExtensionOperation(boolean)} for details.\n

\n\n

\nBy default, though, if the old password is supplied, the update will be made by rebinding as the user,\nthus modifying the password using the user's permissions. If\noldPassword is null, the update will be attempted using a standard\nread/write context supplied by the context source.\n

\n\n@param oldPassword the old password\n@param newPassword the new value of the password.", "docstring_tokens": ["Changes", "the", "password", "for", "the", "current", "user", ".", "The", "username", "is", "obtained", "from", "the", "security", "context", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/ldap/src/main/java/org/springframework/security/ldap/userdetails/LdapUserDetailsManager.java#L190-L208", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "ldap/src/main/java/org/springframework/security/ldap/userdetails/LdapUserDetailsManager.java", "func_name": "LdapUserDetailsManager.buildGroupDn", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a DN from a group name.\n\n@param group the name of the group\n@return the DN of the corresponding group, including the groupSearchBase", "docstring_tokens": ["Creates", "a", "DN", "from", "a", "group", "name", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/ldap/src/main/java/org/springframework/security/ldap/userdetails/LdapUserDetailsManager.java#L319-L324", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/authentication/session/ConcurrentSessionControlAuthenticationStrategy.java", "func_name": "ConcurrentSessionControlAuthenticationStrategy.allowableSessionsExceeded", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Allows subclasses to customise behaviour when too many sessions are detected.\n\n@param sessions either null or all unexpired sessions associated with\nthe principal\n@param allowableSessions the number of concurrent sessions the user is allowed to\nhave\n@param registry an instance of the SessionRegistry for subclass use", "docstring_tokens": ["Allows", "subclasses", "to", "customise", "behaviour", "when", "too", "many", "sessions", "are", "detected", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/authentication/session/ConcurrentSessionControlAuthenticationStrategy.java#L149-L171", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "core/src/main/java/org/springframework/security/authentication/ProviderManager.java", "func_name": "ProviderManager.copyDetails", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copies the authentication details from a source Authentication object to a\ndestination one, provided the latter does not already have one set.\n\n@param source source authentication\n@param dest the destination authentication object", "docstring_tokens": ["Copies", "the", "authentication", "details", "from", "a", "source", "Authentication", "object", "to", "a", "destination", "one", "provided", "the", "latter", "does", "not", "already", "have", "one", "set", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/core/src/main/java/org/springframework/security/authentication/ProviderManager.java#L259-L265", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/FilterChainProxy.java", "func_name": "FilterChainProxy.getFilters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the first filter chain matching the supplied URL.\n\n@param request the request to match\n@return an ordered array of Filters defining the filter chain", "docstring_tokens": ["Returns", "the", "first", "filter", "chain", "matching", "the", "supplied", "URL", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/FilterChainProxy.java#L224-L232", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "web/src/main/java/org/springframework/security/web/FilterChainProxy.java", "func_name": "FilterChainProxy.getFilters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convenience method, mainly for testing.\n\n@param url the URL\n@return matching filter list", "docstring_tokens": ["Convenience", "method", "mainly", "for", "testing", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/web/src/main/java/org/springframework/security/web/FilterChainProxy.java#L240-L243", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "taglibs/src/main/java/org/springframework/security/taglibs/authz/AccessControlListTag.java", "func_name": "AccessControlListTag.getContext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Allows test cases to override where application context obtained from.\n\n@param pageContext so the ServletContext can be accessed as required\nby Spring's WebApplicationContextUtils\n\n@return the Spring application context (never null)", "docstring_tokens": ["Allows", "test", "cases", "to", "override", "where", "application", "context", "obtained", "from", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/taglibs/src/main/java/org/springframework/security/taglibs/authz/AccessControlListTag.java#L147-L151", "partition": "test"} +{"repo": "spring-projects/spring-security", "path": "ldap/src/main/java/org/springframework/security/ldap/LdapUtils.java", "func_name": "LdapUtils.getFullDn", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the full dn of a name by prepending the name of the context it is relative to.\nIf the name already contains the base name, it is returned unaltered.", "docstring_tokens": ["Gets", "the", "full", "dn", "of", "a", "name", "by", "prepending", "the", "name", "of", "the", "context", "it", "is", "relative", "to", ".", "If", "the", "name", "already", "contains", "the", "base", "name", "it", "is", "returned", "unaltered", "."], "sha": "98a8467e4c2ae05b3e09c67ece856944fa48ed23", "url": "https://github.com/spring-projects/spring-security/blob/98a8467e4c2ae05b3e09c67ece856944fa48ed23/ldap/src/main/java/org/springframework/security/ldap/LdapUtils.java#L120-L131", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "modules/spring-mock-mvc/src/main/java/io/restassured/module/mockmvc/internal/MockMvcRequestSpecificationImpl.java", "func_name": "MockMvcRequestSpecificationImpl.sessionAttrs", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set session attributes.\n\n@param sessionAttributes the session attributes", "docstring_tokens": ["Set", "session", "attributes", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/modules/spring-mock-mvc/src/main/java/io/restassured/module/mockmvc/internal/MockMvcRequestSpecificationImpl.java#L536-L540", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/authentication/PreemptiveAuthProvider.java", "func_name": "PreemptiveAuthProvider.basic", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Use preemptive http basic authentication. This means that the authentication details are sent in the request\nheader regardless if the server has challenged for authentication or not.\n\n@param userName The user name.\n@param password The password.\n\n@return The Request specification", "docstring_tokens": ["Use", "preemptive", "http", "basic", "authentication", ".", "This", "means", "that", "the", "authentication", "details", "are", "sent", "in", "the", "request", "header", "regardless", "if", "the", "server", "has", "challenged", "for", "authentication", "or", "not", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/authentication/PreemptiveAuthProvider.java#L29-L34", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/RestAssured.java", "func_name": "RestAssured.filters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add default filters that will be applied to each request.\n\n@param filters The filter list", "docstring_tokens": ["Add", "default", "filters", "that", "will", "be", "applied", "to", "each", "request", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/RestAssured.java#L504-L507", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/RestAssured.java", "func_name": "RestAssured.filters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add default filters to apply to each request.\n\n@param filter The filter to add\n@param additionalFilters An optional array of additional filters to add", "docstring_tokens": ["Add", "default", "filters", "to", "apply", "to", "each", "request", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/RestAssured.java#L515-L521", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/RestAssured.java", "func_name": "RestAssured.basic", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a http basic authentication scheme.\n\n@param userName The user name.\n@param password The password.\n@return The authentication scheme", "docstring_tokens": ["Create", "a", "http", "basic", "authentication", "scheme", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/RestAssured.java#L1177-L1182", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/RestAssured.java", "func_name": "RestAssured.ntlm", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a NTLM authentication scheme.\n\n@param userName The user name.\n@param password The password.\n@param workstation The NTLM workstation.\n@param domain The NTLM workstation.\n@return The authentication scheme", "docstring_tokens": ["Create", "a", "NTLM", "authentication", "scheme", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/RestAssured.java#L1193-L1200", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/RestAssured.java", "func_name": "RestAssured.form", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Use form authentication with the supplied configuration.\n\n@param userName The user name.\n@param password The password.\n@param config The form authentication config\n@return The authentication scheme", "docstring_tokens": ["Use", "form", "authentication", "with", "the", "supplied", "configuration", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/RestAssured.java#L1227-L1239", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/RestAssured.java", "func_name": "RestAssured.proxy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Instruct REST Assured to connect to a proxy using a URI.\n\n@param uri The URI of the proxy", "docstring_tokens": ["Instruct", "REST", "Assured", "to", "connect", "to", "a", "proxy", "using", "a", "URI", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/RestAssured.java#L1759-L1764", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/internal/print/ResponsePrinter.java", "func_name": "ResponsePrinter.print", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Prints the response to the print stream\n\n@return A string of representing the response", "docstring_tokens": ["Prints", "the", "response", "to", "the", "print", "stream"], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/internal/print/ResponsePrinter.java#L44-L76", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/config/RestAssuredConfig.java", "func_name": "RestAssuredConfig.redirect", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the redirect config.\n\n@param redirectConfig The {@link RedirectConfig} to set\n@return An updated RestAssuredConfiguration", "docstring_tokens": ["Set", "the", "redirect", "config", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/config/RestAssuredConfig.java#L111-L117", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/config/EncoderConfig.java", "func_name": "EncoderConfig.defaultQueryParameterCharset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Specify the default charset for query parameters\n\n@param charset The charset to use.\n@return A new instance of {@link EncoderConfig}", "docstring_tokens": ["Specify", "the", "default", "charset", "for", "query", "parameters"], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/config/EncoderConfig.java#L201-L203", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/config/ObjectMapperConfig.java", "func_name": "ObjectMapperConfig.defaultObjectMapperType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an object mapper configuration that uses the specified object mapper as default.\n\n@param defaultObjectMapperType The object mapper to use. If null then classpath scanning will be used.", "docstring_tokens": ["Creates", "an", "object", "mapper", "configuration", "that", "uses", "the", "specified", "object", "mapper", "as", "default", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/config/ObjectMapperConfig.java#L110-L114", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/config/ObjectMapperConfig.java", "func_name": "ObjectMapperConfig.jaxbObjectMapperFactory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Specify a custom JAXB object mapper factory.\n\n@param jaxbObjectMapperFactory The object mapper factory", "docstring_tokens": ["Specify", "a", "custom", "JAXB", "object", "mapper", "factory", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/config/ObjectMapperConfig.java#L191-L195", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "modules/spring-mock-mvc/src/main/java/io/restassured/module/mockmvc/config/RestAssuredMockMvcConfig.java", "func_name": "RestAssuredMockMvcConfig.logConfig", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the Log config.\n\n@param logConfig The {@link LogConfig} to set\n@return An updated RestAssuredMockMvcConfig", "docstring_tokens": ["Set", "the", "Log", "config", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/modules/spring-mock-mvc/src/main/java/io/restassured/module/mockmvc/config/RestAssuredMockMvcConfig.java#L110-L113", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "modules/spring-mock-mvc/src/main/java/io/restassured/module/mockmvc/config/RestAssuredMockMvcConfig.java", "func_name": "RestAssuredMockMvcConfig.sessionConfig", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the session config.\n\n@param sessionConfig The {@link SessionConfig} to set\n@return An updated RestAssuredMockMvcConfig", "docstring_tokens": ["Set", "the", "session", "config", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/modules/spring-mock-mvc/src/main/java/io/restassured/module/mockmvc/config/RestAssuredMockMvcConfig.java#L121-L124", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "modules/spring-mock-mvc/src/main/java/io/restassured/module/mockmvc/config/RestAssuredMockMvcConfig.java", "func_name": "RestAssuredMockMvcConfig.objectMapperConfig", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the object mapper config.\n\n@param objectMapperConfig The {@link ObjectMapperConfig} to set\n@return An updated RestAssuredMockMvcConfig", "docstring_tokens": ["Set", "the", "object", "mapper", "config", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/modules/spring-mock-mvc/src/main/java/io/restassured/module/mockmvc/config/RestAssuredMockMvcConfig.java#L132-L135", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "modules/spring-mock-mvc/src/main/java/io/restassured/module/mockmvc/config/RestAssuredMockMvcConfig.java", "func_name": "RestAssuredMockMvcConfig.jsonConfig", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the Json config.\n\n@param jsonConfig The {@link JsonConfig} to set\n@return An updated RestAssuredMockMvcConfig", "docstring_tokens": ["Set", "the", "Json", "config", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/modules/spring-mock-mvc/src/main/java/io/restassured/module/mockmvc/config/RestAssuredMockMvcConfig.java#L143-L147", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "modules/spring-mock-mvc/src/main/java/io/restassured/module/mockmvc/config/RestAssuredMockMvcConfig.java", "func_name": "RestAssuredMockMvcConfig.xmlConfig", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the Xml config.\n\n@param xmlConfig The {@link XmlConfig} to set\n@return An updated RestAssuredMockMvcConfig", "docstring_tokens": ["Set", "the", "Xml", "config", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/modules/spring-mock-mvc/src/main/java/io/restassured/module/mockmvc/config/RestAssuredMockMvcConfig.java#L155-L159", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "modules/spring-mock-mvc/src/main/java/io/restassured/module/mockmvc/config/RestAssuredMockMvcConfig.java", "func_name": "RestAssuredMockMvcConfig.encoderConfig", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the encoder config\n\n@param encoderConfig The {@link EncoderConfig} to set\n@return An updated RestAssuredMockMvcConfig", "docstring_tokens": ["Set", "the", "encoder", "config"], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/modules/spring-mock-mvc/src/main/java/io/restassured/module/mockmvc/config/RestAssuredMockMvcConfig.java#L167-L171", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "modules/spring-mock-mvc/src/main/java/io/restassured/module/mockmvc/config/RestAssuredMockMvcConfig.java", "func_name": "RestAssuredMockMvcConfig.headerConfig", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the header config\n\n@param headerConfig The {@link HeaderConfig} to set\n@return An updated RestAssuredMockMvcConfig", "docstring_tokens": ["Set", "the", "header", "config"], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/modules/spring-mock-mvc/src/main/java/io/restassured/module/mockmvc/config/RestAssuredMockMvcConfig.java#L191-L195", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "modules/spring-mock-mvc/src/main/java/io/restassured/module/mockmvc/config/RestAssuredMockMvcConfig.java", "func_name": "RestAssuredMockMvcConfig.asyncConfig", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the async config\n\n@param asyncConfig The {@link AsyncConfig} to set\n@return An updated RestAssuredMockMvcConfig", "docstring_tokens": ["Set", "the", "async", "config"], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/modules/spring-mock-mvc/src/main/java/io/restassured/module/mockmvc/config/RestAssuredMockMvcConfig.java#L203-L207", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "modules/spring-mock-mvc/src/main/java/io/restassured/module/mockmvc/config/RestAssuredMockMvcConfig.java", "func_name": "RestAssuredMockMvcConfig.mockMvcConfig", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the MockMVC config\n\n@param mockMvcConfig The {@link MockMvcConfig} to set\n@return An updated RestAssuredMockMvcConfig", "docstring_tokens": ["Set", "the", "MockMVC", "config"], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/modules/spring-mock-mvc/src/main/java/io/restassured/module/mockmvc/config/RestAssuredMockMvcConfig.java#L215-L219", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "modules/spring-mock-mvc/src/main/java/io/restassured/module/mockmvc/config/RestAssuredMockMvcConfig.java", "func_name": "RestAssuredMockMvcConfig.multiPartConfig", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the multi-part config\n\n@param multiPartConfig The {@link MultiPartConfig} to set\n@return An updated RestAssuredMockMvcConfig", "docstring_tokens": ["Set", "the", "multi", "-", "part", "config"], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/modules/spring-mock-mvc/src/main/java/io/restassured/module/mockmvc/config/RestAssuredMockMvcConfig.java#L227-L231", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "modules/spring-mock-mvc/src/main/java/io/restassured/module/mockmvc/config/RestAssuredMockMvcConfig.java", "func_name": "RestAssuredMockMvcConfig.paramConfig", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the parameter config\n\n@param paramConfig The {@link MockMvcParamConfig} to set\n@return An updated RestAssuredMockMvcConfig", "docstring_tokens": ["Set", "the", "parameter", "config"], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/modules/spring-mock-mvc/src/main/java/io/restassured/module/mockmvc/config/RestAssuredMockMvcConfig.java#L250-L254", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "modules/spring-mock-mvc/src/main/java/io/restassured/module/mockmvc/config/RestAssuredMockMvcConfig.java", "func_name": "RestAssuredMockMvcConfig.matcherConfig", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the matcher config\n\n@param matcherConfig The {@link MockMvcParamConfig} to set\n@return An updated RestAssuredMockMvcConfig", "docstring_tokens": ["Set", "the", "matcher", "config"], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/modules/spring-mock-mvc/src/main/java/io/restassured/module/mockmvc/config/RestAssuredMockMvcConfig.java#L262-L266", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/authentication/CertificateAuthSettings.java", "func_name": "CertificateAuthSettings.allowAllHostnames", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Configure the CertificateAuthSettings to allow all host names.\n\n@return A new CertificateAuthSettings instance\n@see org.apache.http.conn.ssl.SSLSocketFactory#ALLOW_ALL_HOSTNAME_VERIFIER", "docstring_tokens": ["Configure", "the", "CertificateAuthSettings", "to", "allow", "all", "host", "names", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/authentication/CertificateAuthSettings.java#L123-L125", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "xml-path/src/main/java/io/restassured/path/xml/config/XmlPathConfig.java", "func_name": "XmlPathConfig.declareNamespaces", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Specify declared namespaces that will be used when parsing XML.\n\n@param namespacesToDeclare A map containing features that will be used by the underlying {@link groovy.util.XmlSlurper}.\n@return A new instance of XmlPathConfig\n@see org.xml.sax.XMLReader#setFeature(java.lang.String, boolean)", "docstring_tokens": ["Specify", "declared", "namespaces", "that", "will", "be", "used", "when", "parsing", "XML", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/xml-path/src/main/java/io/restassured/path/xml/config/XmlPathConfig.java#L332-L335", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "xml-path/src/main/java/io/restassured/path/xml/config/XmlPathConfig.java", "func_name": "XmlPathConfig.declaredNamespace", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Declares a namespace.\n\n@param prefix The feature name, which is a fully-qualified URI.\n@param namespaceURI The requested value of the feature (true or false).\n@return A new XmlPathConfig instance\n@see org.xml.sax.XMLReader#setFeature(java.lang.String, boolean)", "docstring_tokens": ["Declares", "a", "namespace", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/xml-path/src/main/java/io/restassured/path/xml/config/XmlPathConfig.java#L345-L352", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/internal/http/HTTPBuilder.java", "func_name": "HTTPBuilder.request", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make an HTTP request to the default URI, and parse using the default\ncontent-type.\n\n@param method {@link HttpRequestFactory HTTP method}\n@param configClosure request configuration options\n@return whatever value was returned by the executed response handler.\n@throws ClientProtocolException\n@throws IOException\n@see #request(Object, HttpRequestFactory, Object, Closure)", "docstring_tokens": ["Make", "an", "HTTP", "request", "to", "the", "default", "URI", "and", "parse", "using", "the", "default", "content", "-", "type", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/internal/http/HTTPBuilder.java#L433-L435", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/internal/http/HTTPBuilder.java", "func_name": "HTTPBuilder.setHeaders", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the default headers to add to all requests made by this builder\ninstance. These values will replace any previously set default headers.\n\n@param headers map of header names & values.", "docstring_tokens": ["Set", "the", "default", "headers", "to", "add", "to", "all", "requests", "made", "by", "this", "builder", "instance", ".", "These", "values", "will", "replace", "any", "previously", "set", "default", "headers", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/internal/http/HTTPBuilder.java#L747-L755", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/internal/http/HTTPBuilder.java", "func_name": "HTTPBuilder.setProxy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the default HTTP proxy to be used for all requests.\n\n@param host host name or IP\n@param port port, or -1 for the default port\n@param scheme usually \"http\" or \"https,\" or null for the default\n@see HttpHost#HttpHost(String, int, String)", "docstring_tokens": ["Set", "the", "default", "HTTP", "proxy", "to", "be", "used", "for", "all", "requests", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/internal/http/HTTPBuilder.java#L795-L799", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/builder/MultiPartSpecBuilder.java", "func_name": "MultiPartSpecBuilder.controlName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Specify the control name of this multi-part.\n\n@param controlName The control name to use. Default is file.\n@return An instance of MultiPartSpecBuilder", "docstring_tokens": ["Specify", "the", "control", "name", "of", "this", "multi", "-", "part", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/builder/MultiPartSpecBuilder.java#L150-L155", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/builder/MultiPartSpecBuilder.java", "func_name": "MultiPartSpecBuilder.header", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a header to this multipart specification.\n\n@param name The name of the header\n@param value The value of the header\n@return An instance of MultiPartSpecBuilder", "docstring_tokens": ["Add", "a", "header", "to", "this", "multipart", "specification", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/builder/MultiPartSpecBuilder.java#L177-L192", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/internal/http/AuthConfig.java", "func_name": "AuthConfig.basic", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set authentication credentials to be used for the given host and port.\n\n@param host\n@param port\n@param user\n@param pass", "docstring_tokens": ["Set", "authentication", "credentials", "to", "be", "used", "for", "the", "given", "host", "and", "port", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/internal/http/AuthConfig.java#L86-L91", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/internal/http/AuthConfig.java", "func_name": "AuthConfig.ntlm", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set NTLM authentication credentials to be used for the given host and port.\n\n@param host\n@param port\n@param user\n@param pass\n@param workstation\n@param domain", "docstring_tokens": ["Set", "NTLM", "authentication", "credentials", "to", "be", "used", "for", "the", "given", "host", "and", "port", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/internal/http/AuthConfig.java#L115-L120", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/http/Headers.java", "func_name": "Headers.headers", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "An alternative way to create a Headers object from the constructor.\n\n@param header The header to be included\n@param additionalHeaders Additional headers to be included (optional)\n@return A new headers object containing the specified headers", "docstring_tokens": ["An", "alternative", "way", "to", "create", "a", "Headers", "object", "from", "the", "constructor", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/http/Headers.java#L138-L146", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "modules/spring-mock-mvc/src/main/java/io/restassured/module/mockmvc/RestAssuredMockMvc.java", "func_name": "RestAssuredMockMvc.reset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reset all static configurations to their default values.", "docstring_tokens": ["Reset", "all", "static", "configurations", "to", "their", "default", "values", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/modules/spring-mock-mvc/src/main/java/io/restassured/module/mockmvc/RestAssuredMockMvc.java#L297-L306", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/builder/ResponseBuilder.java", "func_name": "ResponseBuilder.setHeader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set a specific header\n\n@return The builder", "docstring_tokens": ["Set", "a", "specific", "header"], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/builder/ResponseBuilder.java#L169-L181", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/builder/ResponseBuilder.java", "func_name": "ResponseBuilder.build", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Build the actual response\n\n@return The response object", "docstring_tokens": ["Build", "the", "actual", "response"], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/builder/ResponseBuilder.java#L209-L222", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/matcher/DetailedCookieMatcher.java", "func_name": "DetailedCookieMatcher.value", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Verifies whether value of cookie satisfies specified matcher.\n@param valueMatcher value assertion\n@return A {@link DetailedCookieMatcher} instance with and-composed value property assertion", "docstring_tokens": ["Verifies", "whether", "value", "of", "cookie", "satisfies", "specified", "matcher", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/matcher/DetailedCookieMatcher.java#L56-L58", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/matcher/DetailedCookieMatcher.java", "func_name": "DetailedCookieMatcher.comment", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Verifies whether comment of cookie satisfies specified matcher.\n@param commentMatcher comment assertion\n@return A {@link DetailedCookieMatcher} instance with and-composed comment property assertion", "docstring_tokens": ["Verifies", "whether", "comment", "of", "cookie", "satisfies", "specified", "matcher", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/matcher/DetailedCookieMatcher.java#L73-L75", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/matcher/DetailedCookieMatcher.java", "func_name": "DetailedCookieMatcher.expiryDate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Verifies whether expiry date of cookie satisfies specified matcher.\n@param expiryDateMatcher expiry date assertion\n@return A {@link DetailedCookieMatcher} instance with and-composed expiry date property assertion", "docstring_tokens": ["Verifies", "whether", "expiry", "date", "of", "cookie", "satisfies", "specified", "matcher", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/matcher/DetailedCookieMatcher.java#L91-L93", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/matcher/DetailedCookieMatcher.java", "func_name": "DetailedCookieMatcher.domain", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Verifies whether domain of cookie satisfies specified matcher.\n@param domainMatcher assertion for domain property\n@return A {@link DetailedCookieMatcher} instance with and-composed domain property assertion", "docstring_tokens": ["Verifies", "whether", "domain", "of", "cookie", "satisfies", "specified", "matcher", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/matcher/DetailedCookieMatcher.java#L109-L111", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/matcher/DetailedCookieMatcher.java", "func_name": "DetailedCookieMatcher.path", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Verifies whether path of cookie satisfies specified matcher.\n@param pathMatcher assertion for path property\n@return A {@link DetailedCookieMatcher} instance with and-composed path property assertion", "docstring_tokens": ["Verifies", "whether", "path", "of", "cookie", "satisfies", "specified", "matcher", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/matcher/DetailedCookieMatcher.java#L127-L129", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/matcher/DetailedCookieMatcher.java", "func_name": "DetailedCookieMatcher.secured", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Verifies whether secured property of cookie satisfies specified matcher.\n@param securedMatcher assertion for secured property\n@return A {@link DetailedCookieMatcher} instance with and-composed secured property assertion", "docstring_tokens": ["Verifies", "whether", "secured", "property", "of", "cookie", "satisfies", "specified", "matcher", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/matcher/DetailedCookieMatcher.java#L145-L147", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/matcher/DetailedCookieMatcher.java", "func_name": "DetailedCookieMatcher.httpOnly", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Verifies whether http-only property of cookie satisfies specified matcher.\n@param httpOnlyMatcher assertion for domain property\n@return A {@link DetailedCookieMatcher} instance with and-composed http-only property assertion", "docstring_tokens": ["Verifies", "whether", "http", "-", "only", "property", "of", "cookie", "satisfies", "specified", "matcher", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/matcher/DetailedCookieMatcher.java#L163-L165", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/matcher/DetailedCookieMatcher.java", "func_name": "DetailedCookieMatcher.version", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Verifies whether version of cookie satisfies specified matcher.\n@param versionMatcher assertion for version property\n@return A {@link DetailedCookieMatcher} instance with and-composed version property assertion", "docstring_tokens": ["Verifies", "whether", "version", "of", "cookie", "satisfies", "specified", "matcher", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/matcher/DetailedCookieMatcher.java#L181-L183", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/matcher/DetailedCookieMatcher.java", "func_name": "DetailedCookieMatcher.maxAge", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Verifies whether max age of cookie satisfies specified matcher.\n@param maxAgeMatcher assertion for max age property\n@return A {@link DetailedCookieMatcher} instance with and-composed max age property assertion", "docstring_tokens": ["Verifies", "whether", "max", "age", "of", "cookie", "satisfies", "specified", "matcher", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/matcher/DetailedCookieMatcher.java#L199-L201", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/builder/ResponseSpecBuilder.java", "func_name": "ResponseSpecBuilder.expectHeader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Expect that a response header matches the supplied header name and hamcrest matcher.\n\n@param headerName The name of the expected header\n@param expectedValueMatcher The Hamcrest matcher that must conform to the value\n@return The builder", "docstring_tokens": ["Expect", "that", "a", "response", "header", "matches", "the", "supplied", "header", "name", "and", "hamcrest", "matcher", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/builder/ResponseSpecBuilder.java#L149-L152", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/builder/ResponseSpecBuilder.java", "func_name": "ResponseSpecBuilder.expectHeader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Expect that a response header matches the supplied name and value.\n\n@param headerName The name of the expected header\n@param expectedValue The value of the expected header\n@return The builder", "docstring_tokens": ["Expect", "that", "a", "response", "header", "matches", "the", "supplied", "name", "and", "value", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/builder/ResponseSpecBuilder.java#L161-L164", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/builder/ResponseSpecBuilder.java", "func_name": "ResponseSpecBuilder.expectCookie", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Expect that a response cookie matches the supplied name and value.\n\n@param cookieName The name of the expected cookie\n@param expectedValue The value of the expected cookie\n@return The builder", "docstring_tokens": ["Expect", "that", "a", "response", "cookie", "matches", "the", "supplied", "name", "and", "value", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/builder/ResponseSpecBuilder.java#L241-L244", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/specification/ProxySpecification.java", "func_name": "ProxySpecification.withHost", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Specify the hostname of the proxy.\n\n@param host The hostname of the proxy.\n@return A new ProxySpecification instance", "docstring_tokens": ["Specify", "the", "hostname", "of", "the", "proxy", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/specification/ProxySpecification.java#L123-L125", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "json-path/src/main/java/io/restassured/path/json/config/JsonPathConfig.java", "func_name": "JsonPathConfig.numberReturnType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Specifies if JsonPath should use floats and doubles or BigDecimals to represent Json numbers.\n\n@param numberReturnType The choice.\n@return A new instance of JsonPathConfig with the given configuration", "docstring_tokens": ["Specifies", "if", "JsonPath", "should", "use", "floats", "and", "doubles", "or", "BigDecimals", "to", "represent", "Json", "numbers", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/json-path/src/main/java/io/restassured/path/json/config/JsonPathConfig.java#L130-L134", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "json-path/src/main/java/io/restassured/path/json/config/JsonPathConfig.java", "func_name": "JsonPathConfig.defaultParserType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an json path configuration that uses the specified parser type as default.\n\n@param defaultParserType The parser type to use. If null then classpath scanning will be used.", "docstring_tokens": ["Creates", "an", "json", "path", "configuration", "that", "uses", "the", "specified", "parser", "type", "as", "default", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/json-path/src/main/java/io/restassured/path/json/config/JsonPathConfig.java#L169-L173", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/config/LogConfig.java", "func_name": "LogConfig.defaultStream", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Specify a new default stream to the print to.\n\n@param printStream The stream\n@return A new LogConfig instance", "docstring_tokens": ["Specify", "a", "new", "default", "stream", "to", "the", "print", "to", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/config/LogConfig.java#L106-L108", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/config/LogConfig.java", "func_name": "LogConfig.enableLoggingOfRequestAndResponseIfValidationFails", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Enable logging of both the request and the response if REST Assureds test validation fails with the specified log detail\n\n@param logDetail The log detail to show in the log\n@return A new LogConfig instance", "docstring_tokens": ["Enable", "logging", "of", "both", "the", "request", "and", "the", "response", "if", "REST", "Assureds", "test", "validation", "fails", "with", "the", "specified", "log", "detail"], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/config/LogConfig.java#L156-L158", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/internal/http/HttpRequestFactory.java", "func_name": "HttpRequestFactory.createHttpRequest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the HttpRequest class that represents this request type.\n\n@return a non-abstract class that implements {@link HttpRequest}", "docstring_tokens": ["Get", "the", "HttpRequest", "class", "that", "represents", "this", "request", "type", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/internal/http/HttpRequestFactory.java#L56-L75", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/config/MultiPartConfig.java", "func_name": "MultiPartConfig.defaultBoundary", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Specify an explicit default multipart boundary to use when sending multi-part data.\n\n@param defaultBoundary The boundary to set\n@return An updated MultiPartConfig", "docstring_tokens": ["Specify", "an", "explicit", "default", "multipart", "boundary", "to", "use", "when", "sending", "multi", "-", "part", "data", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/config/MultiPartConfig.java#L147-L149", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "modules/spring-mock-mvc/src/main/java/io/restassured/module/mockmvc/specification/MockMvcRequestSpecBuilder.java", "func_name": "MockMvcRequestSpecBuilder.addAttribute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add request attribute\n\n@param attributeName The attribute name\n@param attributeValue The attribute value\n@return The request specification builder", "docstring_tokens": ["Add", "request", "attribute"], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/modules/spring-mock-mvc/src/main/java/io/restassured/module/mockmvc/specification/MockMvcRequestSpecBuilder.java#L335-L338", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "modules/spring-mock-mvc/src/main/java/io/restassured/module/mockmvc/specification/MockMvcRequestSpecBuilder.java", "func_name": "MockMvcRequestSpecBuilder.addHeader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a header to be sent with the request\n\n@param headerName The header name\n@param headerValue The header value\n@return The request specification builder", "docstring_tokens": ["Add", "a", "header", "to", "be", "sent", "with", "the", "request"], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/modules/spring-mock-mvc/src/main/java/io/restassured/module/mockmvc/specification/MockMvcRequestSpecBuilder.java#L369-L372", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "modules/spring-mock-mvc/src/main/java/io/restassured/module/mockmvc/specification/MockMvcRequestSpecBuilder.java", "func_name": "MockMvcRequestSpecBuilder.addMultiPart", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Specify a string to send to the server using multi-part form data with a specific mime-type.\n\n@param controlName Defines the control name of the body part. In HTML this is the attribute name of the input tag.\n@param contentBody The string to send\n@param mimeType The mime-type\n@return The request specification", "docstring_tokens": ["Specify", "a", "string", "to", "send", "to", "the", "server", "using", "multi", "-", "part", "form", "data", "with", "a", "specific", "mime", "-", "type", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/modules/spring-mock-mvc/src/main/java/io/restassured/module/mockmvc/specification/MockMvcRequestSpecBuilder.java#L526-L529", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "modules/spring-mock-mvc/src/main/java/io/restassured/module/mockmvc/specification/MockMvcRequestSpecBuilder.java", "func_name": "MockMvcRequestSpecBuilder.addResultHandlers", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a result handler\n\n@param resultHandler The result handler\n@return MockMvcRequestSpecBuilder", "docstring_tokens": ["Add", "a", "result", "handler"], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/modules/spring-mock-mvc/src/main/java/io/restassured/module/mockmvc/specification/MockMvcRequestSpecBuilder.java#L699-L702", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/config/HttpClientConfig.java", "func_name": "HttpClientConfig.setParam", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set a http client parameter.\n\n@param parameterName The name of the parameter\n@param parameterValue The value of the parameter (may be null)\n@param The parameter type\n@return An updated HttpClientConfig", "docstring_tokens": ["Set", "a", "http", "client", "parameter", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/config/HttpClientConfig.java#L176-L181", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/config/HttpClientConfig.java", "func_name": "HttpClientConfig.addParams", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add the given parameters to an already configured number of parameters.\n\n@param httpClientParams The parameters.\n@return An updated HttpClientConfig", "docstring_tokens": ["Add", "the", "given", "parameters", "to", "an", "already", "configured", "number", "of", "parameters", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/config/HttpClientConfig.java#L209-L214", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/config/HttpClientConfig.java", "func_name": "HttpClientConfig.httpClientFactory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the http client factory that Rest Assured should use when making request. For each request REST Assured will invoke the factory to get the a the HttpClient instance.\n\n@param httpClientFactory The http client factory to use.\n@return An updated HttpClientConfig", "docstring_tokens": ["Set", "the", "http", "client", "factory", "that", "Rest", "Assured", "should", "use", "when", "making", "request", ".", "For", "each", "request", "REST", "Assured", "will", "invoke", "the", "factory", "to", "get", "the", "a", "the", "HttpClient", "instance", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/config/HttpClientConfig.java#L222-L224", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/config/HttpClientConfig.java", "func_name": "HttpClientConfig.httpMultipartMode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Specify the HTTP Multipart mode when sending multi-part data.\n\n@param httpMultipartMode The multi-part mode to set.\n@return An updated HttpClientConfig", "docstring_tokens": ["Specify", "the", "HTTP", "Multipart", "mode", "when", "sending", "multi", "-", "part", "data", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/config/HttpClientConfig.java#L245-L247", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "json-path/src/main/java/io/restassured/path/json/JsonPath.java", "func_name": "JsonPath.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the result of an Object path expression as a boolean.\n\n@param path The Object path.\n@return The object matching the Object path. This may be any primitive type, a List or a Map. A {@link java.lang.ClassCastException} will be thrown if the object\ncannot be casted to the expected type.", "docstring_tokens": ["Get", "the", "result", "of", "an", "Object", "path", "expression", "as", "a", "boolean", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/json-path/src/main/java/io/restassured/path/json/JsonPath.java#L200-L204", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "json-path/src/main/java/io/restassured/path/json/JsonPath.java", "func_name": "JsonPath.getInt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the result of an Object path expression as an int.\n\n@param path The Object path.\n@return The int matching the Object path. A {@link java.lang.ClassCastException} will be thrown if the object\ncannot be casted to the expected type.", "docstring_tokens": ["Get", "the", "result", "of", "an", "Object", "path", "expression", "as", "an", "int", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/json-path/src/main/java/io/restassured/path/json/JsonPath.java#L235-L247", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "json-path/src/main/java/io/restassured/path/json/JsonPath.java", "func_name": "JsonPath.getByte", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the result of an Object path expression as a byte.\n\n@param path The Object path.\n@return The object matching the Object path. A {@link java.lang.ClassCastException} will be thrown if the object\ncannot be casted to the expected type.", "docstring_tokens": ["Get", "the", "result", "of", "an", "Object", "path", "expression", "as", "a", "byte", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/json-path/src/main/java/io/restassured/path/json/JsonPath.java#L256-L268", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "json-path/src/main/java/io/restassured/path/json/JsonPath.java", "func_name": "JsonPath.getShort", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the result of an Object path expression as a short.\n\n@param path The Object path.\n@return The object matching the Object path. A {@link java.lang.ClassCastException} will be thrown if the object\ncannot be casted to the expected type.", "docstring_tokens": ["Get", "the", "result", "of", "an", "Object", "path", "expression", "as", "a", "short", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/json-path/src/main/java/io/restassured/path/json/JsonPath.java#L277-L289", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "json-path/src/main/java/io/restassured/path/json/JsonPath.java", "func_name": "JsonPath.getFloat", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the result of an Object path expression as a float.\n\n@param path The Object path.\n@return The object matching the Object path. A {@link java.lang.ClassCastException} will be thrown if the object\ncannot be casted to the expected type.", "docstring_tokens": ["Get", "the", "result", "of", "an", "Object", "path", "expression", "as", "a", "float", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/json-path/src/main/java/io/restassured/path/json/JsonPath.java#L298-L306", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "json-path/src/main/java/io/restassured/path/json/JsonPath.java", "func_name": "JsonPath.getDouble", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the result of an Object path expression as a double.\n\n@param path The Object path.\n@return The object matching the Object path. A {@link java.lang.ClassCastException} will be thrown if the object\ncannot be casted to the expected type.", "docstring_tokens": ["Get", "the", "result", "of", "an", "Object", "path", "expression", "as", "a", "double", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/json-path/src/main/java/io/restassured/path/json/JsonPath.java#L315-L321", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "json-path/src/main/java/io/restassured/path/json/JsonPath.java", "func_name": "JsonPath.getLong", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the result of an Object path expression as a long.\n\n@param path The Object path.\n@return The object matching the Object path. A {@link java.lang.ClassCastException} will be thrown if the object\ncannot be casted to the expected type.", "docstring_tokens": ["Get", "the", "result", "of", "an", "Object", "path", "expression", "as", "a", "long", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/json-path/src/main/java/io/restassured/path/json/JsonPath.java#L330-L342", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "json-path/src/main/java/io/restassured/path/json/JsonPath.java", "func_name": "JsonPath.getList", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the result of an Object path expression as a list.\n\n@param path The Object path.\n@param genericType The generic list type\n@param The type\n@return The object matching the Object path. A {@link java.lang.ClassCastException} will be thrown if the object\ncannot be casted to the expected type.", "docstring_tokens": ["Get", "the", "result", "of", "an", "Object", "path", "expression", "as", "a", "list", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/json-path/src/main/java/io/restassured/path/json/JsonPath.java#L387-L408", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "json-path/src/main/java/io/restassured/path/json/JsonPath.java", "func_name": "JsonPath.getMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the result of an Object path expression as a map.\n\n@param path The Object path.\n@param The type of the expected key\n@param The type of the expected value\n@return The map matching the Object path. A {@link java.lang.ClassCastException} will be thrown if the object\ncannot be casted to the expected type.", "docstring_tokens": ["Get", "the", "result", "of", "an", "Object", "path", "expression", "as", "a", "map", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/json-path/src/main/java/io/restassured/path/json/JsonPath.java#L419-L421", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "xml-path/src/main/java/io/restassured/path/xml/XmlPath.java", "func_name": "XmlPath.getObject", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get an XML document as a Java Object.\n\n@param objectType The type of the java object.\n@param The type of the java object\n@return A Java object representation of the XML document", "docstring_tokens": ["Get", "an", "XML", "document", "as", "a", "Java", "Object", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/xml-path/src/main/java/io/restassured/path/xml/XmlPath.java#L391-L394", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/builder/RequestSpecBuilder.java", "func_name": "RequestSpecBuilder.setBody", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Specify an Object request content that will automatically be serialized to JSON or XML and sent with the request using a specific object mapper.\nThis works for the POST, PATCH and PUT methods only. Trying to do this for the other http methods will cause an exception to be thrown.\n\n@param object The object to serialize and send with the request\n@param mapper The object mapper\n@return The request specification", "docstring_tokens": ["Specify", "an", "Object", "request", "content", "that", "will", "automatically", "be", "serialized", "to", "JSON", "or", "XML", "and", "sent", "with", "the", "request", "using", "a", "specific", "object", "mapper", ".", "This", "works", "for", "the", "POST", "PATCH", "and", "PUT", "methods", "only", ".", "Trying", "to", "do", "this", "for", "the", "other", "http", "methods", "will", "cause", "an", "exception", "to", "be", "thrown", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/builder/RequestSpecBuilder.java#L130-L133", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/builder/RequestSpecBuilder.java", "func_name": "RequestSpecBuilder.addCookie", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a cookie to be sent with the request.\n\n@param key The cookie key\n@param value The cookie value\n@param cookieNameValuePairs Additional cookies values. This will actually create two cookies with the same name but with different values.\n@return The request specification builder", "docstring_tokens": ["Add", "a", "cookie", "to", "be", "sent", "with", "the", "request", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/builder/RequestSpecBuilder.java#L192-L195", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/builder/RequestSpecBuilder.java", "func_name": "RequestSpecBuilder.addParam", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a parameter to be sent with the request.\n\n@param parameterName The parameter name\n@param parameterValues Zero to many parameter values for this parameter name.\n@return The request specification builder", "docstring_tokens": ["Add", "a", "parameter", "to", "be", "sent", "with", "the", "request", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/builder/RequestSpecBuilder.java#L261-L264", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/builder/RequestSpecBuilder.java", "func_name": "RequestSpecBuilder.addParam", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a multi-value parameter to be sent with the request.\n\n@param parameterName The parameter key\n@param parameterValues The parameter values\n@return The request specification builder", "docstring_tokens": ["Add", "a", "multi", "-", "value", "parameter", "to", "be", "sent", "with", "the", "request", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/builder/RequestSpecBuilder.java#L273-L276", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "modules/spring-mock-mvc/src/main/java/io/restassured/module/mockmvc/config/MockMvcParamConfig.java", "func_name": "MockMvcParamConfig.formParamsUpdateStrategy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set form parameter update strategy to the given value.\n\n@param updateStrategy The update strategy to use for form parameters\n@return A new instance of {@link MockMvcParamConfig}", "docstring_tokens": ["Set", "form", "parameter", "update", "strategy", "to", "the", "given", "value", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/modules/spring-mock-mvc/src/main/java/io/restassured/module/mockmvc/config/MockMvcParamConfig.java#L102-L104", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/filter/log/ResponseLoggingFilter.java", "func_name": "ResponseLoggingFilter.logResponseToIfMatches", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a new logging filter without using the \"new\" operator.\nWill make the DSL look nicer.\n\n@param stream The print stream to log to\n@param matcher The matcher that must be fulfilled in order for logging to occur\n@return a new instance of the filter", "docstring_tokens": ["Create", "a", "new", "logging", "filter", "without", "using", "the", "new", "operator", ".", "Will", "make", "the", "DSL", "look", "nicer", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/filter/log/ResponseLoggingFilter.java#L228-L230", "partition": "test"} +{"repo": "rest-assured/rest-assured", "path": "rest-assured/src/main/java/io/restassured/http/Cookies.java", "func_name": "Cookies.cookies", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "An alternative way to create a Cookies object from the constructor.\n\n@param cookie The cookie to be included\n@param additionalCookies Additional cookies to be included (optional)\n@return A new cookies object containing the specified cookies", "docstring_tokens": ["An", "alternative", "way", "to", "create", "a", "Cookies", "object", "from", "the", "constructor", "."], "sha": "165a85b65070f5a07fe0045175613fb2c2811642", "url": "https://github.com/rest-assured/rest-assured/blob/165a85b65070f5a07fe0045175613fb2c2811642/rest-assured/src/main/java/io/restassured/http/Cookies.java#L138-L144", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/WeakKeySet.java", "func_name": "WeakKeySet.cleanUpForCollectedState", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "There may be multiple child injectors blacklisting a certain key so only remove the source\nthat's relevant.", "docstring_tokens": ["There", "may", "be", "multiple", "child", "injectors", "blacklisting", "a", "certain", "key", "so", "only", "remove", "the", "source", "that", "s", "relevant", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/WeakKeySet.java#L68-L80", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/InjectorImpl.java", "func_name": "InjectorImpl.index", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Indexes bindings by type.", "docstring_tokens": ["Indexes", "bindings", "by", "type", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/InjectorImpl.java#L152-L156", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/InjectorImpl.java", "func_name": "InjectorImpl.getBindingOrThrow", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets a binding implementation. First, it check to see if the parent has a binding. If the\nparent has a binding and the binding is scoped, it will use that binding. Otherwise, this\nchecks for an explicit binding. If no explicit binding is found, it looks for a just-in-time\nbinding.", "docstring_tokens": ["Gets", "a", "binding", "implementation", ".", "First", "it", "check", "to", "see", "if", "the", "parent", "has", "a", "binding", ".", "If", "the", "parent", "has", "a", "binding", "and", "the", "binding", "is", "scoped", "it", "will", "use", "that", "binding", ".", "Otherwise", "this", "checks", "for", "an", "explicit", "binding", ".", "If", "no", "explicit", "binding", "is", "found", "it", "looks", "for", "a", "just", "-", "in", "-", "time", "binding", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/InjectorImpl.java#L222-L232", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/InjectorImpl.java", "func_name": "InjectorImpl.convertConstantStringBinding", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts a constant string binding to the required type.\n\n@return the binding if it could be resolved, or null if the binding doesn't exist\n@throws com.google.inject.internal.ErrorsException if there was an error resolving the binding", "docstring_tokens": ["Converts", "a", "constant", "string", "binding", "to", "the", "required", "type", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/InjectorImpl.java#L447-L499", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/InjectorImpl.java", "func_name": "InjectorImpl.cleanup", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Iterates through the binding's dependencies to clean up any stray bindings that were leftover\nfrom a failed JIT binding. This is required because the bindings are eagerly & optimistically\nadded to allow circular dependency support, so dependencies may pass where they should have\nfailed.", "docstring_tokens": ["Iterates", "through", "the", "binding", "s", "dependencies", "to", "clean", "up", "any", "stray", "bindings", "that", "were", "leftover", "from", "a", "failed", "JIT", "binding", ".", "This", "is", "required", "because", "the", "bindings", "are", "eagerly", "&", "optimistically", "added", "to", "allow", "circular", "dependency", "support", "so", "dependencies", "may", "pass", "where", "they", "should", "have", "failed", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/InjectorImpl.java#L624-L653", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/InjectorImpl.java", "func_name": "InjectorImpl.removeFailedJitBinding", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Cleans up any state that may have been cached when constructing the JIT binding.", "docstring_tokens": ["Cleans", "up", "any", "state", "that", "may", "have", "been", "cached", "when", "constructing", "the", "JIT", "binding", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/InjectorImpl.java#L656-L664", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/InjectorImpl.java", "func_name": "InjectorImpl.getInternalDependencies", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Safely gets the dependencies of possibly not initialized bindings.", "docstring_tokens": ["Safely", "gets", "the", "dependencies", "of", "possibly", "not", "initialized", "bindings", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/InjectorImpl.java#L667-L676", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/InjectorImpl.java", "func_name": "InjectorImpl.createUninitializedBinding", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a binding for an injectable type with the given scope. Looks for a scope on the type if\nnone is specified.", "docstring_tokens": ["Creates", "a", "binding", "for", "an", "injectable", "type", "with", "the", "given", "scope", ".", "Looks", "for", "a", "scope", "on", "the", "type", "if", "none", "is", "specified", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/InjectorImpl.java#L682-L724", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/SingleParameterInjector.java", "func_name": "SingleParameterInjector.getAll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an array of parameter values.", "docstring_tokens": ["Returns", "an", "array", "of", "parameter", "values", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/SingleParameterInjector.java#L54-L68", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/InjectorShell.java", "func_name": "InjectorShell.bindInjector", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The Injector is a special case because we allow both parent and child injectors to both have a\nbinding for that key.", "docstring_tokens": ["The", "Injector", "is", "a", "special", "case", "because", "we", "allow", "both", "parent", "and", "child", "injectors", "to", "both", "have", "a", "binding", "for", "that", "key", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/InjectorShell.java#L218-L231", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/InjectorShell.java", "func_name": "InjectorShell.bindLogger", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The Logger is a special case because it knows the injection point of the injected member. It's\nthe only binding that does this.", "docstring_tokens": ["The", "Logger", "is", "a", "special", "case", "because", "it", "knows", "the", "injection", "point", "of", "the", "injected", "member", ".", "It", "s", "the", "only", "binding", "that", "does", "this", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/InjectorShell.java#L260-L273", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/spi/InjectionPoint.java", "func_name": "InjectionPoint.checkForMisplacedBindingAnnotations", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if the binding annotation is in the wrong place.", "docstring_tokens": ["Returns", "true", "if", "the", "binding", "annotation", "is", "in", "the", "wrong", "place", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/spi/InjectionPoint.java#L399-L420", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/spi/InjectionPoint.java", "func_name": "InjectionPoint.overrides", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if a overrides b. Assumes signatures of a and b are the same and a's declaring\nclass is a subclass of b's declaring class.", "docstring_tokens": ["Returns", "true", "if", "a", "overrides", "b", ".", "Assumes", "signatures", "of", "a", "and", "b", "are", "the", "same", "and", "a", "s", "declaring", "class", "is", "a", "subclass", "of", "b", "s", "declaring", "class", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/spi/InjectionPoint.java#L816-L827", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/spi/MembersInjectorLookup.java", "func_name": "MembersInjectorLookup.initializeDelegate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the actual members injector.\n\n@throws IllegalStateException if the delegate is already set", "docstring_tokens": ["Sets", "the", "actual", "members", "injector", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/spi/MembersInjectorLookup.java#L71-L74", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/TypeLiteral.java", "func_name": "TypeLiteral.providerType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the type of this type's provider.", "docstring_tokens": ["Gets", "the", "type", "of", "this", "type", "s", "provider", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/TypeLiteral.java#L121-L126", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/TypeLiteral.java", "func_name": "TypeLiteral.resolveAll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an immutable list of the resolved types.", "docstring_tokens": ["Returns", "an", "immutable", "list", "of", "the", "resolved", "types", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/TypeLiteral.java#L154-L160", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/MoreTypes.java", "func_name": "MoreTypes.canonicalizeForKey", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an type that's appropriate for use in a key.\n\n

If the raw type of {@code typeLiteral} is a {@code javax.inject.Provider}, this returns a\n{@code com.google.inject.Provider} with the same type parameters.\n\n

If the type is a primitive, the corresponding wrapper type will be returned.\n\n@throws ConfigurationException if {@code type} contains a type variable", "docstring_tokens": ["Returns", "an", "type", "that", "s", "appropriate", "for", "use", "in", "a", "key", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/MoreTypes.java#L91-L126", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/TypeConverterBindingProcessor.java", "func_name": "TypeConverterBindingProcessor.prepareBuiltInConverters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Installs default converters for primitives, enums, and class literals.", "docstring_tokens": ["Installs", "default", "converters", "for", "primitives", "enums", "and", "class", "literals", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/TypeConverterBindingProcessor.java#L43-L117", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/BytecodeGen.java", "func_name": "BytecodeGen.canonicalize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Attempts to canonicalize null references to the system class loader. May return null if for\nsome reason the system loader is unavailable.", "docstring_tokens": ["Attempts", "to", "canonicalize", "null", "references", "to", "the", "system", "class", "loader", ".", "May", "return", "null", "if", "for", "some", "reason", "the", "system", "loader", "is", "unavailable", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/BytecodeGen.java#L157-L159", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/BytecodeGen.java", "func_name": "BytecodeGen.hasSameVersionOfCglib", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if the types classloader has the same version of cglib that BytecodeGen has. This\nonly returns false in strange OSGI situations, but it prevents us from using FastClass for non\npublic members.", "docstring_tokens": ["Returns", "true", "if", "the", "types", "classloader", "has", "the", "same", "version", "of", "cglib", "that", "BytecodeGen", "has", ".", "This", "only", "returns", "false", "in", "strange", "OSGI", "situations", "but", "it", "prevents", "us", "from", "using", "FastClass", "for", "non", "public", "members", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/BytecodeGen.java#L266-L273", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/BytecodeGen.java", "func_name": "BytecodeGen.isPubliclyCallable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if the member can be called by a fast class generated in a different classloader.", "docstring_tokens": ["Returns", "true", "if", "the", "member", "can", "be", "called", "by", "a", "fast", "class", "generated", "in", "a", "different", "classloader", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/BytecodeGen.java#L278-L299", "partition": "test"} +{"repo": "google/guice", "path": "extensions/assistedinject/src/com/google/inject/assistedinject/Parameter.java", "func_name": "Parameter.fixAnnotations", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Replace annotation instances with annotation types, this is only appropriate for testing if a\nkey is bound and not for injecting.\n\n

See Guice bug 125, https://github.com/google/guice/issues/125", "docstring_tokens": ["Replace", "annotation", "instances", "with", "annotation", "types", "this", "is", "only", "appropriate", "for", "testing", "if", "a", "key", "is", "bound", "and", "not", "for", "injecting", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/extensions/assistedinject/src/com/google/inject/assistedinject/Parameter.java#L118-L122", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/Initializer.java", "func_name": "Initializer.requestInjection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers an instance for member injection when that step is performed.\n\n@param instance an instance that optionally has members to be injected (each annotated\nwith @Inject).\n@param binding the binding that caused this initializable to be created, if it exists.\n@param source the source location that this injection was requested", "docstring_tokens": ["Registers", "an", "instance", "for", "member", "injection", "when", "that", "step", "is", "performed", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/Initializer.java#L76-L113", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/Initializer.java", "func_name": "Initializer.validateOustandingInjections", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Prepares member injectors for all injected instances. This prompts Guice to do static analysis\non the injected instances.", "docstring_tokens": ["Prepares", "member", "injectors", "for", "all", "injected", "instances", ".", "This", "prompts", "Guice", "to", "do", "static", "analysis", "on", "the", "injected", "instances", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/Initializer.java#L119-L129", "partition": "test"} +{"repo": "google/guice", "path": "extensions/assistedinject/src/com/google/inject/assistedinject/AssistedConstructor.java", "func_name": "AssistedConstructor.newInstance", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an instance of T, constructed using this constructor, with the supplied arguments.", "docstring_tokens": ["Returns", "an", "instance", "of", "T", "constructed", "using", "this", "constructor", "with", "the", "supplied", "arguments", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/extensions/assistedinject/src/com/google/inject/assistedinject/AssistedConstructor.java#L89-L96", "partition": "test"} +{"repo": "google/guice", "path": "extensions/servlet/src/com/google/inject/servlet/ManagedFilterPipeline.java", "func_name": "ManagedFilterPipeline.withDispatcher", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Used to create an proxy that dispatches either to the guice-servlet pipeline or the regular\npipeline based on uri-path match. This proxy also provides minimal forwarding support.\n\n

We cannot forward from a web.xml Servlet/JSP to a guice-servlet (because the filter pipeline\nis not called again). However, we can wrap requests with our own dispatcher to forward the\n*other* way. web.xml Servlets/JSPs can forward to themselves as per normal.\n\n

This is not a problem cuz we intend for people to migrate from web.xml to guice-servlet,\nincrementally, but not the other way around (which, we should actively discourage).", "docstring_tokens": ["Used", "to", "create", "an", "proxy", "that", "dispatches", "either", "to", "the", "guice", "-", "servlet", "pipeline", "or", "the", "regular", "pipeline", "based", "on", "uri", "-", "path", "match", ".", "This", "proxy", "also", "provides", "minimal", "forwarding", "support", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/extensions/servlet/src/com/google/inject/servlet/ManagedFilterPipeline.java#L135-L157", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/Scoping.java", "func_name": "Scoping.scope", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Scopes an internal factory.", "docstring_tokens": ["Scopes", "an", "internal", "factory", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/Scoping.java#L282-L301", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/Scoping.java", "func_name": "Scoping.makeInjectable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Replaces annotation scopes with instance scopes using the Injector's annotation-to-instance\nmap. If the scope annotation has no corresponding instance, an error will be added and unscoped\nwill be retuned.", "docstring_tokens": ["Replaces", "annotation", "scopes", "with", "instance", "scopes", "using", "the", "Injector", "s", "annotation", "-", "to", "-", "instance", "map", ".", "If", "the", "scope", "annotation", "has", "no", "corresponding", "instance", "an", "error", "will", "be", "added", "and", "unscoped", "will", "be", "retuned", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/Scoping.java#L308-L321", "partition": "test"} +{"repo": "google/guice", "path": "extensions/servlet/src/com/google/inject/servlet/ServletUtils.java", "func_name": "ServletUtils.normalizePath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Normalizes a path by unescaping all safe, percent encoded characters.", "docstring_tokens": ["Normalizes", "a", "path", "by", "unescaping", "all", "safe", "percent", "encoded", "characters", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/extensions/servlet/src/com/google/inject/servlet/ServletUtils.java#L68-L101", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/Annotations.java", "func_name": "Annotations.generateAnnotation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates an Annotation for the annotation class. Requires that the annotation is all\noptionals.", "docstring_tokens": ["Generates", "an", "Annotation", "for", "the", "annotation", "class", ".", "Requires", "that", "the", "annotation", "is", "all", "optionals", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/Annotations.java#L86-L90", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/Annotations.java", "func_name": "Annotations.isRetainedAtRuntime", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if the given annotation is retained at runtime.", "docstring_tokens": ["Returns", "true", "if", "the", "given", "annotation", "is", "retained", "at", "runtime", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/Annotations.java#L173-L176", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/Annotations.java", "func_name": "Annotations.findScopeAnnotation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the scoping annotation, or null if there isn't one.", "docstring_tokens": ["Returns", "the", "scoping", "annotation", "or", "null", "if", "there", "isn", "t", "one", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/Annotations.java#L185-L201", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/Annotations.java", "func_name": "Annotations.getKey", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets a key for the given type, member and annotations.", "docstring_tokens": ["Gets", "a", "key", "for", "the", "given", "type", "member", "and", "annotations", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/Annotations.java#L304-L311", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/Annotations.java", "func_name": "Annotations.nameOf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the name the binding should use. This is based on the annotation. If the annotation has\nan instance and is not a marker annotation, we ask the annotation for its toString. If it was a\nmarker annotation or just an annotation type, we use the annotation's name. Otherwise, the name\nis the empty string.", "docstring_tokens": ["Returns", "the", "name", "the", "binding", "should", "use", ".", "This", "is", "based", "on", "the", "annotation", ".", "If", "the", "annotation", "has", "an", "instance", "and", "is", "not", "a", "marker", "annotation", "we", "ask", "the", "annotation", "for", "its", "toString", ".", "If", "it", "was", "a", "marker", "annotation", "or", "just", "an", "annotation", "type", "we", "use", "the", "annotation", "s", "name", ".", "Otherwise", "the", "name", "is", "the", "empty", "string", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/Annotations.java#L371-L381", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/spi/ProviderLookup.java", "func_name": "ProviderLookup.initializeDelegate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the actual provider.\n\n@throws IllegalStateException if the delegate is already set", "docstring_tokens": ["Sets", "the", "actual", "provider", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/spi/ProviderLookup.java#L82-L85", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/RealOptionalBinder.java", "func_name": "RealOptionalBinder.addDirectTypeBinding", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a binding for T. Multiple calls to this are safe, and will be collapsed as duplicate\nbindings.", "docstring_tokens": ["Adds", "a", "binding", "for", "T", ".", "Multiple", "calls", "to", "this", "are", "safe", "and", "will", "be", "collapsed", "as", "duplicate", "bindings", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/RealOptionalBinder.java#L146-L150", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/ConstructorInjectorStore.java", "func_name": "ConstructorInjectorStore.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a new complete constructor injector with injection listeners registered.", "docstring_tokens": ["Returns", "a", "new", "complete", "constructor", "injector", "with", "injection", "listeners", "registered", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/ConstructorInjectorStore.java#L47-L50", "partition": "test"} +{"repo": "google/guice", "path": "extensions/struts2/src/com/google/inject/struts2/Struts2Factory.java", "func_name": "Struts2Factory.hasScope", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if the given class has a scope annotation.", "docstring_tokens": ["Returns", "true", "if", "the", "given", "class", "has", "a", "scope", "annotation", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/extensions/struts2/src/com/google/inject/struts2/Struts2Factory.java#L241-L248", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/RealMapBinder.java", "func_name": "RealMapBinder.newRealMapBinder", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "since it's an easy way to group a type and an optional annotation type or instance.", "docstring_tokens": ["since", "it", "s", "an", "easy", "way", "to", "group", "a", "type", "and", "an", "optional", "annotation", "type", "or", "instance", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/RealMapBinder.java#L218-L229", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/RealMapBinder.java", "func_name": "RealMapBinder.getKeyForNewValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a binding to the map for the given key.", "docstring_tokens": ["Adds", "a", "binding", "to", "the", "map", "for", "the", "given", "key", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/RealMapBinder.java#L271-L284", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/ConstructorInjector.java", "func_name": "ConstructorInjector.provision", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Provisions a new T.", "docstring_tokens": ["Provisions", "a", "new", "T", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/ConstructorInjector.java#L108-L135", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/spi/Message.java", "func_name": "Message.writeReplace", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "When serialized, we eagerly convert sources to strings. This hurts our formatting, but it\nguarantees that the receiving end will be able to read the message.", "docstring_tokens": ["When", "serialized", "we", "eagerly", "convert", "sources", "to", "strings", ".", "This", "hurts", "our", "formatting", "but", "it", "guarantees", "that", "the", "receiving", "end", "will", "be", "able", "to", "read", "the", "message", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/spi/Message.java#L131-L137", "partition": "test"} +{"repo": "google/guice", "path": "extensions/throwingproviders/src/com/google/inject/throwingproviders/CheckedProviderMethodsModule.java", "func_name": "CheckedProviderMethodsModule.forModule", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a module which creates bindings for provider methods from the given module.", "docstring_tokens": ["Returns", "a", "module", "which", "creates", "bindings", "for", "provider", "methods", "from", "the", "given", "module", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/extensions/throwingproviders/src/com/google/inject/throwingproviders/CheckedProviderMethodsModule.java#L58-L65", "partition": "test"} +{"repo": "google/guice", "path": "extensions/assistedinject/src/com/google/inject/assistedinject/FactoryProvider2.java", "func_name": "FactoryProvider2.getAssistedMethods", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "the collection is immutable.", "docstring_tokens": ["the", "collection", "is", "immutable", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/extensions/assistedinject/src/com/google/inject/assistedinject/FactoryProvider2.java#L454-L458", "partition": "test"} +{"repo": "google/guice", "path": "extensions/assistedinject/src/com/google/inject/assistedinject/FactoryProvider2.java", "func_name": "FactoryProvider2.isTypeNotSpecified", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if the ConfigurationException is due to an error of TypeLiteral not being fully\nspecified.", "docstring_tokens": ["Returns", "true", "if", "the", "ConfigurationException", "is", "due", "to", "an", "error", "of", "TypeLiteral", "not", "being", "fully", "specified", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/extensions/assistedinject/src/com/google/inject/assistedinject/FactoryProvider2.java#L485-L494", "partition": "test"} +{"repo": "google/guice", "path": "extensions/assistedinject/src/com/google/inject/assistedinject/FactoryProvider2.java", "func_name": "FactoryProvider2.constructorHasMatchingParams", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Matching logic for constructors annotated with AssistedInject. This returns true if and only if\nall @Assisted parameters in the constructor exactly match (in any order) all @Assisted\nparameters the method's parameter.", "docstring_tokens": ["Matching", "logic", "for", "constructors", "annotated", "with", "AssistedInject", ".", "This", "returns", "true", "if", "and", "only", "if", "all"], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/extensions/assistedinject/src/com/google/inject/assistedinject/FactoryProvider2.java#L582-L608", "partition": "test"} +{"repo": "google/guice", "path": "extensions/assistedinject/src/com/google/inject/assistedinject/FactoryProvider2.java", "func_name": "FactoryProvider2.getDependencies", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculates all dependencies required by the implementation and constructor.", "docstring_tokens": ["Calculates", "all", "dependencies", "required", "by", "the", "implementation", "and", "constructor", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/extensions/assistedinject/src/com/google/inject/assistedinject/FactoryProvider2.java#L611-L621", "partition": "test"} +{"repo": "google/guice", "path": "extensions/assistedinject/src/com/google/inject/assistedinject/FactoryProvider2.java", "func_name": "FactoryProvider2.removeAssistedDeps", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return all non-assisted dependencies.", "docstring_tokens": ["Return", "all", "non", "-", "assisted", "dependencies", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/extensions/assistedinject/src/com/google/inject/assistedinject/FactoryProvider2.java#L624-L633", "partition": "test"} +{"repo": "google/guice", "path": "extensions/assistedinject/src/com/google/inject/assistedinject/FactoryProvider2.java", "func_name": "FactoryProvider2.isValidForOptimizedAssistedInject", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if all dependencies are suitable for the optimized version of AssistedInject. The\noptimized version caches the binding & uses a ThreadLocal Provider, so can only be applied if\nthe assisted bindings are immediately provided. This looks for hints that the values may be\nlazily retrieved, by looking for injections of Injector or a Provider for the assisted values.", "docstring_tokens": ["Returns", "true", "if", "all", "dependencies", "are", "suitable", "for", "the", "optimized", "version", "of", "AssistedInject", ".", "The", "optimized", "version", "caches", "the", "binding", "&", "uses", "a", "ThreadLocal", "Provider", "so", "can", "only", "be", "applied", "if", "the", "assisted", "bindings", "are", "immediately", "provided", ".", "This", "looks", "for", "hints", "that", "the", "values", "may", "be", "lazily", "retrieved", "by", "looking", "for", "injections", "of", "Injector", "or", "a", "Provider", "for", "the", "assisted", "values", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/extensions/assistedinject/src/com/google/inject/assistedinject/FactoryProvider2.java#L641-L664", "partition": "test"} +{"repo": "google/guice", "path": "extensions/assistedinject/src/com/google/inject/assistedinject/FactoryProvider2.java", "func_name": "FactoryProvider2.getBindingFromNewInjector", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a child injector that binds the args, and returns the binding for the method's result.", "docstring_tokens": ["Creates", "a", "child", "injector", "that", "binds", "the", "args", "and", "returns", "the", "binding", "for", "the", "method", "s", "result", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/extensions/assistedinject/src/com/google/inject/assistedinject/FactoryProvider2.java#L745-L800", "partition": "test"} +{"repo": "google/guice", "path": "extensions/assistedinject/src/com/google/inject/assistedinject/FactoryProvider2.java", "func_name": "FactoryProvider2.invoke", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "When a factory method is invoked, we create a child injector that binds all parameters, then\nuse that to get an instance of the return type.", "docstring_tokens": ["When", "a", "factory", "method", "is", "invoked", "we", "create", "a", "child", "injector", "that", "binds", "all", "parameters", "then", "use", "that", "to", "get", "an", "instance", "of", "the", "return", "type", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/extensions/assistedinject/src/com/google/inject/assistedinject/FactoryProvider2.java#L806-L854", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/Errors.java", "func_name": "Errors.missingImplementationWithHint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Within guice's core, allow for better missing binding messages", "docstring_tokens": ["Within", "guice", "s", "core", "allow", "for", "better", "missing", "binding", "messages"], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/Errors.java#L170-L239", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/RealMultibinder.java", "func_name": "RealMultibinder.newRealSetBinder", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Implementation of newSetBinder.", "docstring_tokens": ["Implementation", "of", "newSetBinder", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/RealMultibinder.java#L54-L59", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/RealMultibinder.java", "func_name": "RealMultibinder.getKeyForNewItem", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a new entry to the set and returns the key for it.", "docstring_tokens": ["Adds", "a", "new", "entry", "to", "the", "set", "and", "returns", "the", "key", "for", "it", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/RealMultibinder.java#L118-L123", "partition": "test"} +{"repo": "google/guice", "path": "extensions/servlet/src/com/google/inject/servlet/FilterChainInvocation.java", "func_name": "FilterChainInvocation.findNextFilter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Iterates over the remaining filter definitions. Returns the first applicable filter, or null if\nnone apply.", "docstring_tokens": ["Iterates", "over", "the", "remaining", "filter", "definitions", ".", "Returns", "the", "first", "applicable", "filter", "or", "null", "if", "none", "apply", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/extensions/servlet/src/com/google/inject/servlet/FilterChainInvocation.java#L112-L120", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/ConstructorBindingImpl.java", "func_name": "ConstructorBindingImpl.hasAtInject", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if the inject annotation is on the constructor.", "docstring_tokens": ["Returns", "true", "if", "the", "inject", "annotation", "is", "on", "the", "constructor", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/ConstructorBindingImpl.java#L146-L149", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/ConstructorBindingImpl.java", "func_name": "ConstructorBindingImpl.getInternalConstructor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an injection point that can be used to clean up the constructor store.", "docstring_tokens": ["Returns", "an", "injection", "point", "that", "can", "be", "used", "to", "clean", "up", "the", "constructor", "store", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/ConstructorBindingImpl.java#L165-L171", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/ConstructorBindingImpl.java", "func_name": "ConstructorBindingImpl.getInternalDependencies", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a set of dependencies that can be iterated over to clean up stray JIT bindings.", "docstring_tokens": ["Returns", "a", "set", "of", "dependencies", "that", "can", "be", "iterated", "over", "to", "clean", "up", "stray", "JIT", "bindings", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/ConstructorBindingImpl.java#L174-L191", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/ProviderMethodsModule.java", "func_name": "ProviderMethodsModule.forModule", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a module which creates bindings methods in the module that match the scanner.", "docstring_tokens": ["Returns", "a", "module", "which", "creates", "bindings", "methods", "in", "the", "module", "that", "match", "the", "scanner", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/ProviderMethodsModule.java#L69-L71", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/ProviderMethodsModule.java", "func_name": "ProviderMethodsModule.getAnnotation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the annotation that is claimed by the scanner, or null if there is none.", "docstring_tokens": ["Returns", "the", "annotation", "that", "is", "claimed", "by", "the", "scanner", "or", "null", "if", "there", "is", "none", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/ProviderMethodsModule.java#L181-L200", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/util/LineNumbers.java", "func_name": "LineNumbers.getLineNumber", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the line number associated with the given member.\n\n@param member a field, constructor, or method belonging to the class used during construction\n@return the wrapped line number, or null if not available\n@throws IllegalArgumentException if the member does not belong to the class used during\nconstruction", "docstring_tokens": ["Get", "the", "line", "number", "associated", "with", "the", "given", "member", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/util/LineNumbers.java#L101-L109", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/DeferredLookups.java", "func_name": "DeferredLookups.initialize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Initialize the specified lookups, either immediately or when the injector is created.", "docstring_tokens": ["Initialize", "the", "specified", "lookups", "either", "immediately", "or", "when", "the", "injector", "is", "created", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/DeferredLookups.java#L44-L47", "partition": "test"} +{"repo": "google/guice", "path": "extensions/servlet/src/com/google/inject/servlet/ServletScopes.java", "func_name": "ServletScopes.continueRequest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Wraps the given callable in a contextual callable that \"continues\" the HTTP request in another\nthread. This acts as a way of transporting request context data from the request processing\nthread to to worker threads.\n\n

There are some limitations:\n\n

    \n
  • Derived objects (i.e. anything marked @RequestScoped will not be transported.\n
  • State changes to the HttpServletRequest after this method is called will not be seen in the\ncontinued thread.\n
  • Only the HttpServletRequest, ServletContext and request parameter map are available in the\ncontinued thread. The response and session are not available.\n
\n\n

The returned callable will throw a {@link ScopingException} when called if the HTTP request\nscope is still active on the current thread.\n\n@param callable code to be executed in another thread, which depends on the request scope.\n@param seedMap the initial set of scoped instances for Guice to seed the request scope with. To\nseed a key with null, use {@code null} as the value.\n@return a callable that will invoke the given callable, making the request context available to\nit.\n@throws OutOfScopeException if this method is called from a non-request thread, or if the\nrequest has completed.\n@since 3.0\n@deprecated You probably want to use {@code transferRequest} instead", "docstring_tokens": ["Wraps", "the", "given", "callable", "in", "a", "contextual", "callable", "that", "continues", "the", "HTTP", "request", "in", "another", "thread", ".", "This", "acts", "as", "a", "way", "of", "transporting", "request", "context", "data", "from", "the", "request", "processing", "thread", "to", "to", "worker", "threads", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/extensions/servlet/src/com/google/inject/servlet/ServletScopes.java#L216-L219", "partition": "test"} +{"repo": "google/guice", "path": "extensions/servlet/src/com/google/inject/servlet/ServletScopes.java", "func_name": "ServletScopes.transferRequest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Wraps the given callable in a contextual callable that \"transfers\" the request to another\nthread. This acts as a way of transporting request context data from the current thread to a\nfuture thread.\n\n

As opposed to {@link #continueRequest}, this method propagates all existing scoped objects.\nThe primary use case is in server implementations where you can detach the request processing\nthread while waiting for data, and reattach to a different thread to finish processing at a\nlater time.\n\n

Because request-scoped objects are not typically thread-safe, the callable returned by this\nmethod must not be run on a different thread until the current request scope has terminated.\nThe returned callable will block until the current thread has released the request scope.\n\n@param callable code to be executed in another thread, which depends on the request scope.\n@return a callable that will invoke the given callable, making the request context available to\nit.\n@throws OutOfScopeException if this method is called from a non-request thread, or if the\nrequest has completed.\n@since 4.0", "docstring_tokens": ["Wraps", "the", "given", "callable", "in", "a", "contextual", "callable", "that", "transfers", "the", "request", "to", "another", "thread", ".", "This", "acts", "as", "a", "way", "of", "transporting", "request", "context", "data", "from", "the", "current", "thread", "to", "a", "future", "thread", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/extensions/servlet/src/com/google/inject/servlet/ServletScopes.java#L265-L267", "partition": "test"} +{"repo": "google/guice", "path": "extensions/servlet/src/com/google/inject/servlet/ServletScopes.java", "func_name": "ServletScopes.validateAndCanonicalizeValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Validates the key and object, ensuring the value matches the key type, and canonicalizing null\nobjects to the null sentinel.", "docstring_tokens": ["Validates", "the", "key", "and", "object", "ensuring", "the", "value", "matches", "the", "key", "type", "and", "canonicalizing", "null", "objects", "to", "the", "null", "sentinel", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/extensions/servlet/src/com/google/inject/servlet/ServletScopes.java#L385-L402", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/MembersInjectorStore.java", "func_name": "MembersInjectorStore.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a new complete members injector with injection listeners registered.", "docstring_tokens": ["Returns", "a", "new", "complete", "members", "injector", "with", "injection", "listeners", "registered", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/MembersInjectorStore.java#L67-L70", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/MembersInjectorStore.java", "func_name": "MembersInjectorStore.createWithListeners", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new members injector and attaches both injection listeners and method aspects.", "docstring_tokens": ["Creates", "a", "new", "members", "injector", "and", "attaches", "both", "injection", "listeners", "and", "method", "aspects", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/MembersInjectorStore.java#L86-L117", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/MembersInjectorStore.java", "func_name": "MembersInjectorStore.getInjectors", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the injectors for the specified injection points.", "docstring_tokens": ["Returns", "the", "injectors", "for", "the", "specified", "injection", "points", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/MembersInjectorStore.java#L120-L139", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/Key.java", "func_name": "Key.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets a key for an injection type and an annotation strategy.", "docstring_tokens": ["Gets", "a", "key", "for", "an", "injection", "type", "and", "an", "annotation", "strategy", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/Key.java#L208-L210", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/Key.java", "func_name": "Key.strategyFor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the strategy for an annotation.", "docstring_tokens": ["Gets", "the", "strategy", "for", "an", "annotation", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/Key.java#L314-L325", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/Key.java", "func_name": "Key.strategyFor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the strategy for an annotation type.", "docstring_tokens": ["Gets", "the", "strategy", "for", "an", "annotation", "type", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/Key.java#L328-L338", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/InterceptorStackCallback.java", "func_name": "InterceptorStackCallback.pruneStacktrace", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes stacktrace elements related to AOP internal mechanics from the throwable's stack trace\nand any causes it may have.", "docstring_tokens": ["Removes", "stacktrace", "elements", "related", "to", "AOP", "internal", "mechanics", "from", "the", "throwable", "s", "stack", "trace", "and", "any", "causes", "it", "may", "have", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/InterceptorStackCallback.java#L110-L122", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/spi/DependencyAndSource.java", "func_name": "DependencyAndSource.getBindingSource", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a string describing where this dependency was bound. If the binding was just-in-time,\nthere is no valid binding source, so this describes the class in question.", "docstring_tokens": ["Returns", "a", "string", "describing", "where", "this", "dependency", "was", "bound", ".", "If", "the", "binding", "was", "just", "-", "in", "-", "time", "there", "is", "no", "valid", "binding", "source", "so", "this", "describes", "the", "class", "in", "question", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/spi/DependencyAndSource.java#L60-L68", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/Messages.java", "func_name": "Messages.formatMessages", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the formatted message for an exception with the specified messages.", "docstring_tokens": ["Returns", "the", "formatted", "message", "for", "an", "exception", "with", "the", "specified", "messages", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/Messages.java#L77-L117", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/Messages.java", "func_name": "Messages.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new Message without a cause.\n\n@param messageFormat Format string\n@param arguments format string arguments", "docstring_tokens": ["Creates", "a", "new", "Message", "without", "a", "cause", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/Messages.java#L125-L127", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/Messages.java", "func_name": "Messages.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new Message with the given cause.\n\n@param cause The exception that caused the error\n@param messageFormat Format string\n@param arguments format string arguments", "docstring_tokens": ["Creates", "a", "new", "Message", "with", "the", "given", "cause", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/Messages.java#L136-L138", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/Messages.java", "func_name": "Messages.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new Message with the given cause and a binding source stack.\n\n@param cause The exception that caused the error\n@param sources The binding sources for the source stack\n@param messageFormat Format string\n@param arguments format string arguments", "docstring_tokens": ["Creates", "a", "new", "Message", "with", "the", "given", "cause", "and", "a", "binding", "source", "stack", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/Messages.java#L148-L152", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/Messages.java", "func_name": "Messages.convert", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Formats an object in a user friendly way.", "docstring_tokens": ["Formats", "an", "object", "in", "a", "user", "friendly", "way", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/Messages.java#L155-L162", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/util/SourceProvider.java", "func_name": "SourceProvider.shouldBeSkipped", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if the className should be skipped.", "docstring_tokens": ["Returns", "true", "if", "the", "className", "should", "be", "skipped", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/util/SourceProvider.java#L62-L65", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/util/SourceProvider.java", "func_name": "SourceProvider.getFromClassNames", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the non-skipped module class name.", "docstring_tokens": ["Returns", "the", "non", "-", "skipped", "module", "class", "name", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/util/SourceProvider.java#L93-L101", "partition": "test"} +{"repo": "google/guice", "path": "extensions/jmx/src/com/google/inject/tools/jmx/Manager.java", "func_name": "Manager.main", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Run with no arguments for usage instructions.", "docstring_tokens": ["Run", "with", "no", "arguments", "for", "usage", "instructions", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/extensions/jmx/src/com/google/inject/tools/jmx/Manager.java#L84-L103", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/InternalContext.java", "func_name": "InternalContext.pushDependency", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the new current dependency & adds it to the state.", "docstring_tokens": ["Sets", "the", "new", "current", "dependency", "&", "adds", "it", "to", "the", "state", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/InternalContext.java#L107-L112", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/InternalContext.java", "func_name": "InternalContext.pushState", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds to the state without setting the dependency.", "docstring_tokens": ["Adds", "to", "the", "state", "without", "setting", "the", "dependency", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/InternalContext.java#L123-L125", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/Initializables.java", "func_name": "Initializables.of", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an initializable for an instance that requires no initialization.", "docstring_tokens": ["Returns", "an", "initializable", "for", "an", "instance", "that", "requires", "no", "initialization", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/Initializables.java#L23-L35", "partition": "test"} +{"repo": "google/guice", "path": "core/src/com/google/inject/internal/ProviderInternalFactory.java", "func_name": "ProviderInternalFactory.provision", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Provisions a new instance. Subclasses should override this to catch exceptions & rethrow as\nErrorsExceptions.", "docstring_tokens": ["Provisions", "a", "new", "instance", ".", "Subclasses", "should", "override", "this", "to", "catch", "exceptions", "&", "rethrow", "as", "ErrorsExceptions", "."], "sha": "a0552a16d813ead98fe73737fb001db336650251", "url": "https://github.com/google/guice/blob/a0552a16d813ead98fe73737fb001db336650251/core/src/com/google/inject/internal/ProviderInternalFactory.java#L80-L91", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/ConnectionEventListener.java", "func_name": "ConnectionEventListener.onEvent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Dispatch events.\n\n@param type\n@param remoteAddr\n@param conn", "docstring_tokens": ["Dispatch", "events", "."], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/ConnectionEventListener.java#L40-L47", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/ConnectionEventListener.java", "func_name": "ConnectionEventListener.addConnectionEventProcessor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add event processor.\n\n@param type\n@param processor", "docstring_tokens": ["Add", "event", "processor", "."], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/ConnectionEventListener.java#L55-L63", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/util/FutureTaskUtil.java", "func_name": "FutureTaskUtil.getFutureTaskResult", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "get the result of a future task\n\nNotice: the run method of this task should have been called at first.\n\n@param task\n@param \n@return", "docstring_tokens": ["get", "the", "result", "of", "a", "future", "task"], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/util/FutureTaskUtil.java#L39-L55", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/util/FutureTaskUtil.java", "func_name": "FutureTaskUtil.launderThrowable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "launder the throwable\n\n@param t", "docstring_tokens": ["launder", "the", "throwable"], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/util/FutureTaskUtil.java#L62-L70", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/ProcessorManager.java", "func_name": "ProcessorManager.registerProcessor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Register processor to process command that has the command code of cmdCode.\n\n@param cmdCode\n@param processor", "docstring_tokens": ["Register", "processor", "to", "process", "command", "that", "has", "the", "command", "code", "of", "cmdCode", "."], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/ProcessorManager.java#L72-L81", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/ProcessorManager.java", "func_name": "ProcessorManager.registerDefaultProcessor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Register the default processor to process command with no specific processor registered.\n\n@param processor", "docstring_tokens": ["Register", "the", "default", "processor", "to", "process", "command", "with", "no", "specific", "processor", "registered", "."], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/ProcessorManager.java#L88-L95", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/ProcessorManager.java", "func_name": "ProcessorManager.getProcessor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the specific processor with command code of cmdCode if registered, otherwise the default processor is returned.\n\n@param cmdCode\n@return", "docstring_tokens": ["Get", "the", "specific", "processor", "with", "command", "code", "of", "cmdCode", "if", "registered", "otherwise", "the", "default", "processor", "is", "returned", "."], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/ProcessorManager.java#L103-L109", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/rpc/RpcAddressParser.java", "func_name": "RpcAddressParser.tryGet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "try get from cache\n\n@param url\n@return", "docstring_tokens": ["try", "get", "from", "cache"], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/rpc/RpcAddressParser.java#L274-L277", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/codec/ProtocolCodeBasedDecoder.java", "func_name": "ProtocolCodeBasedDecoder.decodeProtocolCode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "decode the protocol code\n\n@param in input byte buf\n@return an instance of ProtocolCode", "docstring_tokens": ["decode", "the", "protocol", "code"], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/codec/ProtocolCodeBasedDecoder.java#L57-L64", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/DefaultConnectionManager.java", "func_name": "DefaultConnectionManager.getAll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get all connections of all poolKey.\n\n@return a map with poolKey as key and a list of connections in ConnectionPool as value", "docstring_tokens": ["Get", "all", "connections", "of", "all", "poolKey", "."], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/DefaultConnectionManager.java#L292-L305", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/DefaultConnectionManager.java", "func_name": "DefaultConnectionManager.scan", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "in case of cache pollution and connection leak, to do schedule scan\n\n@see com.alipay.remoting.Scannable#scan()", "docstring_tokens": ["in", "case", "of", "cache", "pollution", "and", "connection", "leak", "to", "do", "schedule", "scan"], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/DefaultConnectionManager.java#L436-L455", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/DefaultConnectionManager.java", "func_name": "DefaultConnectionManager.getAndCreateIfAbsent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If no task cached, create one and initialize the connections.\n\n@see ConnectionManager#getAndCreateIfAbsent(Url)", "docstring_tokens": ["If", "no", "task", "cached", "create", "one", "and", "initialize", "the", "connections", "."], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/DefaultConnectionManager.java#L462-L473", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/DefaultConnectionManager.java", "func_name": "DefaultConnectionManager.createConnectionAndHealIfNeed", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If no task cached, create one and initialize the connections.\nIf task cached, check whether the number of connections adequate, if not then heal it.\n\n@param url\n@return\n@throws InterruptedException\n@throws RemotingException", "docstring_tokens": ["If", "no", "task", "cached", "create", "one", "and", "initialize", "the", "connections", ".", "If", "task", "cached", "check", "whether", "the", "number", "of", "connections", "adequate", "if", "not", "then", "heal", "it", "."], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/DefaultConnectionManager.java#L484-L495", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/DefaultConnectionManager.java", "func_name": "DefaultConnectionManager.removeTask", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "remove task and remove all connections\n\n@param poolKey", "docstring_tokens": ["remove", "task", "and", "remove", "all", "connections"], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/DefaultConnectionManager.java#L646-L654", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/DefaultConnectionManager.java", "func_name": "DefaultConnectionManager.healIfNeed", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "execute heal connection tasks if the actual number of connections in pool is less than expected\n\n@param pool\n@param url", "docstring_tokens": ["execute", "heal", "connection", "tasks", "if", "the", "actual", "number", "of", "connections", "in", "pool", "is", "less", "than", "expected"], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/DefaultConnectionManager.java#L662-L698", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/DefaultConnectionManager.java", "func_name": "DefaultConnectionManager.doCreate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "do create connections\n\n@param url\n@param pool\n@param taskName\n@param syncCreateNumWhenNotWarmup you can specify this param to ensure at least desired number of connections available in sync way\n@throws RemotingException", "docstring_tokens": ["do", "create", "connections"], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/DefaultConnectionManager.java#L779-L839", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/rpc/RpcClient.java", "func_name": "RpcClient.closeConnection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Close all connections of a address\n\n@param addr", "docstring_tokens": ["Close", "all", "connections", "of", "a", "address"], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/rpc/RpcClient.java#L810-L813", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/Connection.java", "func_name": "Connection.onClose", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Do something when closing.", "docstring_tokens": ["Do", "something", "when", "closing", "."], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/Connection.java#L282-L294", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/Connection.java", "func_name": "Connection.close", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Close the connection.", "docstring_tokens": ["Close", "the", "connection", "."], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/Connection.java#L299-L323", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/Connection.java", "func_name": "Connection.setAttributeIfAbsent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "set attribute if key absent.\n\n@param key\n@param value\n@return", "docstring_tokens": ["set", "attribute", "if", "key", "absent", "."], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/Connection.java#L404-L406", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/rpc/protocol/UserProcessorRegisterHelper.java", "func_name": "UserProcessorRegisterHelper.registerUserProcessor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Help register single-interest user processor.\n\n@param processor the processor need to be registered\n@param userProcessors the map of user processors", "docstring_tokens": ["Help", "register", "single", "-", "interest", "user", "processor", "."], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/rpc/protocol/UserProcessorRegisterHelper.java#L34-L55", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/rpc/protocol/UserProcessorRegisterHelper.java", "func_name": "UserProcessorRegisterHelper.registerUserProcessor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Help register multi-interest user processor.\n\n@param processor the processor with multi-interest need to be registered\n@param userProcessors the map of user processors", "docstring_tokens": ["Help", "register", "multi", "-", "interest", "user", "processor", "."], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/rpc/protocol/UserProcessorRegisterHelper.java#L63-L78", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/rpc/protocol/RpcRequestProcessor.java", "func_name": "RpcRequestProcessor.dispatchToUserProcessor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "dispatch request command to user processor\n@param ctx remoting context\n@param cmd rpc request command", "docstring_tokens": ["dispatch", "request", "command", "to", "user", "processor"], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/rpc/protocol/RpcRequestProcessor.java#L217-L257", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/rpc/protocol/RpcRequestProcessor.java", "func_name": "RpcRequestProcessor.deserializeRequestCommand", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "deserialize request command\n\n@return true if deserialize success; false if exception catched", "docstring_tokens": ["deserialize", "request", "command"], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/rpc/protocol/RpcRequestProcessor.java#L264-L286", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/rpc/protocol/RpcRequestProcessor.java", "func_name": "RpcRequestProcessor.preProcessRemotingContext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "pre process remoting context, initial some useful infos and pass to biz\n\n@param ctx remoting context\n@param cmd rpc request command\n@param currentTimestamp current timestamp", "docstring_tokens": ["pre", "process", "remoting", "context", "initial", "some", "useful", "infos", "and", "pass", "to", "biz"], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/rpc/protocol/RpcRequestProcessor.java#L295-L302", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/rpc/protocol/RpcRequestProcessor.java", "func_name": "RpcRequestProcessor.timeoutLog", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "print some log when request timeout and discarded in io thread.", "docstring_tokens": ["print", "some", "log", "when", "request", "timeout", "and", "discarded", "in", "io", "thread", "."], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/rpc/protocol/RpcRequestProcessor.java#L307-L328", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/rpc/protocol/RpcRequestProcessor.java", "func_name": "RpcRequestProcessor.debugLog", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "print some debug log when receive request", "docstring_tokens": ["print", "some", "debug", "log", "when", "receive", "request"], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/rpc/protocol/RpcRequestProcessor.java#L333-L342", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/AbstractRemotingProcessor.java", "func_name": "AbstractRemotingProcessor.process", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Process the remoting command with its own executor or with the defaultExecutor if its own if null.\n\n@param ctx\n@param msg\n@param defaultExecutor\n@throws Exception", "docstring_tokens": ["Process", "the", "remoting", "command", "with", "its", "own", "executor", "or", "with", "the", "defaultExecutor", "if", "its", "own", "if", "null", "."], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/AbstractRemotingProcessor.java#L87-L96", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/BaseRemoting.java", "func_name": "BaseRemoting.invokeWithCallback", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Invocation with callback.\n\n@param conn\n@param request\n@param invokeCallback\n@param timeoutMillis\n@throws InterruptedException", "docstring_tokens": ["Invocation", "with", "callback", "."], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/BaseRemoting.java#L103-L151", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/BaseRemoting.java", "func_name": "BaseRemoting.oneway", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Oneway invocation.\n\n@param conn\n@param request\n@throws InterruptedException", "docstring_tokens": ["Oneway", "invocation", "."], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/BaseRemoting.java#L217-L238", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/config/switches/ProtocolSwitch.java", "func_name": "ProtocolSwitch.toByte", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "from bit set to byte\n@param bs\n@return byte represent the bit set", "docstring_tokens": ["from", "bit", "set", "to", "byte"], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/config/switches/ProtocolSwitch.java#L106-L120", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/config/switches/ProtocolSwitch.java", "func_name": "ProtocolSwitch.toBitSet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "from byte to bit set\n@param value\n@return bit set represent the byte", "docstring_tokens": ["from", "byte", "to", "bit", "set"], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/config/switches/ProtocolSwitch.java#L127-L143", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/ReconnectManager.java", "func_name": "ReconnectManager.addReconnectTask", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "add reconnect task\n\n@param url", "docstring_tokens": ["add", "reconnect", "task"], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/ReconnectManager.java#L80-L84", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/ReconnectManager.java", "func_name": "ReconnectManager.stop", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "stop reconnect thread", "docstring_tokens": ["stop", "reconnect", "thread"], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/ReconnectManager.java#L99-L107", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/rpc/RpcRemoting.java", "func_name": "RpcRemoting.toRemotingCommand", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert application request object to remoting request command.\n\n@param request\n@param conn\n@param timeoutMillis\n@return\n@throws CodecException", "docstring_tokens": ["Convert", "application", "request", "object", "to", "remoting", "request", "command", "."], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/rpc/RpcRemoting.java#L320-L357", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/ScheduledDisconnectStrategy.java", "func_name": "ScheduledDisconnectStrategy.filter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Filter connections to monitor\n\n@param connections", "docstring_tokens": ["Filter", "connections", "to", "monitor"], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/ScheduledDisconnectStrategy.java#L66-L87", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/ScheduledDisconnectStrategy.java", "func_name": "ScheduledDisconnectStrategy.monitor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Monitor connections and close connections with status is off\n\n@param connPools", "docstring_tokens": ["Monitor", "connections", "and", "close", "connections", "with", "status", "is", "off"], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/ScheduledDisconnectStrategy.java#L94-L148", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/ScheduledDisconnectStrategy.java", "func_name": "ScheduledDisconnectStrategy.closeFreshSelectConnections", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "close the connection of the fresh select connections\n\n@param lastSelectConnect\n@param serviceOffConnections\n@throws InterruptedException", "docstring_tokens": ["close", "the", "connection", "of", "the", "fresh", "select", "connections"], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/ScheduledDisconnectStrategy.java#L157-L175", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/config/ConfigManager.java", "func_name": "ConfigManager.getBool", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "~~~ public helper methods to retrieve system property", "docstring_tokens": ["~~~", "public", "helper", "methods", "to", "retrieve", "system", "property"], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/config/ConfigManager.java#L156-L158", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/ConnectionEventHandler.java", "func_name": "ConnectionEventHandler.infoLog", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "print info log\n@param format\n@param addr", "docstring_tokens": ["print", "info", "log"], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/ConnectionEventHandler.java#L288-L296", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/RemotingContext.java", "func_name": "RemotingContext.isRequestTimeout", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "whether this request already timeout\n\n@return", "docstring_tokens": ["whether", "this", "request", "already", "timeout"], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/RemotingContext.java#L120-L126", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/RemotingContext.java", "func_name": "RemotingContext.getUserProcessor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get user processor for class name.\n\n@param className\n@return", "docstring_tokens": ["Get", "user", "processor", "for", "class", "name", "."], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/RemotingContext.java#L143-L145", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/RandomSelectStrategy.java", "func_name": "RandomSelectStrategy.randomGet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "get one connection randomly\n\n@param conns\n@return", "docstring_tokens": ["get", "one", "connection", "randomly"], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/RandomSelectStrategy.java#L100-L116", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/InvokeContext.java", "func_name": "InvokeContext.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "get and use default if not found\n\n@param key\n@param defaultIfNotFound\n@param \n@return", "docstring_tokens": ["get", "and", "use", "default", "if", "not", "found"], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/InvokeContext.java#L101-L104", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/Url.java", "func_name": "Url.getProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get property value according to property key\n\n@param key\n@return property value", "docstring_tokens": ["Get", "property", "value", "according", "to", "property", "key"], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/Url.java#L157-L162", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/rpc/RpcResponseResolver.java", "func_name": "RpcResponseResolver.resolveResponseObject", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Analyze the response command and generate the response object.\n\n@param responseCommand response command\n@param addr response address\n@return response object", "docstring_tokens": ["Analyze", "the", "response", "command", "and", "generate", "the", "response", "object", "."], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/rpc/RpcResponseResolver.java#L52-L68", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/rpc/RpcResponseResolver.java", "func_name": "RpcResponseResolver.toResponseObject", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert remoting response command to application response object.", "docstring_tokens": ["Convert", "remoting", "response", "command", "to", "application", "response", "object", "."], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/rpc/RpcResponseResolver.java#L141-L145", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/rpc/RpcResponseResolver.java", "func_name": "RpcResponseResolver.toThrowable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert remoting response command to throwable if it is a throwable, otherwise return null.", "docstring_tokens": ["Convert", "remoting", "response", "command", "to", "throwable", "if", "it", "is", "a", "throwable", "otherwise", "return", "null", "."], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/rpc/RpcResponseResolver.java#L150-L158", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/rpc/RpcResponseResolver.java", "func_name": "RpcResponseResolver.detailErrMsg", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Detail your error msg with the error msg returned from response command", "docstring_tokens": ["Detail", "your", "error", "msg", "with", "the", "error", "msg", "returned", "from", "response", "command"], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/rpc/RpcResponseResolver.java#L163-L170", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/rpc/RpcCommandFactory.java", "func_name": "RpcCommandFactory.createServerException", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "create server exception using error msg and fill the stack trace using the stack trace of throwable.\n\n@param t the origin throwable to fill the stack trace of rpc server exception\n@param errMsg additional error msg, null is allowed\n@return an instance of RpcServerException", "docstring_tokens": ["create", "server", "exception", "using", "error", "msg", "and", "fill", "the", "stack", "trace", "using", "the", "stack", "trace", "of", "throwable", "."], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/rpc/RpcCommandFactory.java#L134-L141", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/util/TraceLogUtil.java", "func_name": "TraceLogUtil.printConnectionTraceLog", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "print trace log\n@param traceId\n@param invokeContext", "docstring_tokens": ["print", "trace", "log"], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/util/TraceLogUtil.java#L35-L50", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/util/NettyEventLoopUtil.java", "func_name": "NettyEventLoopUtil.newEventLoopGroup", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create the right event loop according to current platform and system property, fallback to NIO when epoll not enabled.\n\n@param nThreads\n@param threadFactory\n@return an EventLoopGroup suitable for the current platform", "docstring_tokens": ["Create", "the", "right", "event", "loop", "according", "to", "current", "platform", "and", "system", "property", "fallback", "to", "NIO", "when", "epoll", "not", "enabled", "."], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/util/NettyEventLoopUtil.java#L55-L58", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/util/RemotingUtil.java", "func_name": "RemotingUtil.parseRemoteAddress", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse the remote address of the channel.\n\n@param channel\n@return", "docstring_tokens": ["Parse", "the", "remote", "address", "of", "the", "channel", "."], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/util/RemotingUtil.java#L39-L45", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/util/RemotingUtil.java", "func_name": "RemotingUtil.parseLocalAddress", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse the local address of the channel.\n\n@param channel\n@return", "docstring_tokens": ["Parse", "the", "local", "address", "of", "the", "channel", "."], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/util/RemotingUtil.java#L53-L59", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/util/RemotingUtil.java", "func_name": "RemotingUtil.parseRemoteIP", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse the remote host ip of the channel.\n\n@param channel\n@return", "docstring_tokens": ["Parse", "the", "remote", "host", "ip", "of", "the", "channel", "."], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/util/RemotingUtil.java#L67-L76", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/util/RemotingUtil.java", "func_name": "RemotingUtil.parseRemoteHostName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse the remote hostname of the channel.\n\nNote: take care to use this method, for a reverse name lookup takes uncertain time in {@link InetAddress#getHostName}.\n\n@param channel\n@return", "docstring_tokens": ["Parse", "the", "remote", "hostname", "of", "the", "channel", "."], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/util/RemotingUtil.java#L86-L95", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/util/RemotingUtil.java", "func_name": "RemotingUtil.parseLocalIP", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse the local host ip of the channel.\n\n@param channel\n@return", "docstring_tokens": ["Parse", "the", "local", "host", "ip", "of", "the", "channel", "."], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/util/RemotingUtil.java#L103-L112", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/util/RemotingUtil.java", "func_name": "RemotingUtil.parseRemotePort", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse the remote host port of the channel.\n\n@param channel\n@return int", "docstring_tokens": ["Parse", "the", "remote", "host", "port", "of", "the", "channel", "."], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/util/RemotingUtil.java#L120-L129", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/util/RemotingUtil.java", "func_name": "RemotingUtil.parseLocalPort", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse the local host port of the channel.\n\n@param channel\n@return int", "docstring_tokens": ["Parse", "the", "local", "host", "port", "of", "the", "channel", "."], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/util/RemotingUtil.java#L137-L146", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/util/RemotingUtil.java", "func_name": "RemotingUtil.parseSocketAddressToHostIp", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse the host ip of socket address.\n\ne.g. /127.0.0.1:1234 -> 127.0.0.1\n\n@param socketAddress\n@return String", "docstring_tokens": ["Parse", "the", "host", "ip", "of", "socket", "address", "."], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/util/RemotingUtil.java#L172-L181", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/ConnectionPool.java", "func_name": "ConnectionPool.add", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "add a connection\n\n@param connection", "docstring_tokens": ["add", "a", "connection"], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/ConnectionPool.java#L67-L76", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/ConnectionPool.java", "func_name": "ConnectionPool.removeAndTryClose", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "removeAndTryClose a connection\n\n@param connection", "docstring_tokens": ["removeAndTryClose", "a", "connection"], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/ConnectionPool.java#L93-L104", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/ConnectionPool.java", "func_name": "ConnectionPool.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "get a connection\n\n@return", "docstring_tokens": ["get", "a", "connection"], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/ConnectionPool.java#L121-L133", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/CustomSerializerManager.java", "func_name": "CustomSerializerManager.registerCustomSerializer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Register custom serializer for class name.\n\n@param className\n@param serializer\n@return", "docstring_tokens": ["Register", "custom", "serializer", "for", "class", "name", "."], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/CustomSerializerManager.java#L42-L49", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/CustomSerializerManager.java", "func_name": "CustomSerializerManager.getCustomSerializer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the custom serializer for class name.\n\n@param className\n@return", "docstring_tokens": ["Get", "the", "custom", "serializer", "for", "class", "name", "."], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/CustomSerializerManager.java#L57-L62", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/CustomSerializerManager.java", "func_name": "CustomSerializerManager.registerCustomSerializer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Register custom serializer for command code.\n\n@param code\n@param serializer\n@return", "docstring_tokens": ["Register", "custom", "serializer", "for", "command", "code", "."], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/CustomSerializerManager.java#L71-L78", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/CustomSerializerManager.java", "func_name": "CustomSerializerManager.getCustomSerializer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the custom serializer for command code.\n\n@param code\n@return", "docstring_tokens": ["Get", "the", "custom", "serializer", "for", "command", "code", "."], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/CustomSerializerManager.java#L86-L91", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/DefaultConnectionMonitor.java", "func_name": "DefaultConnectionMonitor.start", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Start schedule task", "docstring_tokens": ["Start", "schedule", "task"], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/DefaultConnectionMonitor.java#L58-L69", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/rpc/RpcServer.java", "func_name": "RpcServer.isConnected", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "check whether a client address connected\n\n@param remoteAddr\n@return", "docstring_tokens": ["check", "whether", "a", "client", "address", "connected"], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/rpc/RpcServer.java#L858-L861", "partition": "test"} +{"repo": "alipay/sofa-bolt", "path": "src/main/java/com/alipay/remoting/rpc/RpcServer.java", "func_name": "RpcServer.initWriteBufferWaterMark", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "init netty write buffer water mark", "docstring_tokens": ["init", "netty", "write", "buffer", "water", "mark"], "sha": "0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046", "url": "https://github.com/alipay/sofa-bolt/blob/0ad7b46b2649bfc4e2ecc1f5e1c1f935d179c046/src/main/java/com/alipay/remoting/rpc/RpcServer.java#L890-L906", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/framing/FramedataImpl1.java", "func_name": "FramedataImpl1.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a frame with a specific opcode\n\n@param opcode the opcode representing the frame\n@return the frame with a specific opcode", "docstring_tokens": ["Get", "a", "frame", "with", "a", "specific", "opcode"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/framing/FramedataImpl1.java#L225-L245", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/SocketChannelIOHelper.java", "func_name": "SocketChannelIOHelper.batch", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns whether the whole outQueue has been flushed\n@param ws The WebSocketImpl associated with the channels\n@param sockchannel The channel to write to\n@throws IOException May be thrown by {@link WrappedByteChannel#writeMore()}\n@return returns Whether there is more data to write", "docstring_tokens": ["Returns", "whether", "the", "whole", "outQueue", "has", "been", "flushed"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/SocketChannelIOHelper.java#L78-L108", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/framing/CloseFrame.java", "func_name": "CloseFrame.setCode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the close code for this close frame\n@param code the close code", "docstring_tokens": ["Set", "the", "close", "code", "for", "this", "close", "frame"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/framing/CloseFrame.java#L191-L199", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/framing/CloseFrame.java", "func_name": "CloseFrame.validateUtf8", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Validate the payload to valid utf8\n@param mark the current mark\n@param payload the current payload\n@throws InvalidDataException the current payload is not a valid utf8", "docstring_tokens": ["Validate", "the", "payload", "to", "valid", "utf8"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/framing/CloseFrame.java#L287-L296", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/framing/CloseFrame.java", "func_name": "CloseFrame.updatePayload", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Update the payload to represent the close code and the reason", "docstring_tokens": ["Update", "the", "payload", "to", "represent", "the", "close", "code", "and", "the", "reason"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/framing/CloseFrame.java#L301-L311", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/drafts/Draft_6455.java", "func_name": "Draft_6455.containsRequestedProtocol", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if the requested protocol is part of this draft\n@param requestedProtocol the requested protocol\n@return MATCHED if it is matched, otherwise NOT_MATCHED", "docstring_tokens": ["Check", "if", "the", "requested", "protocol", "is", "part", "of", "this", "draft"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/drafts/Draft_6455.java#L251-L260", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/drafts/Draft_6455.java", "func_name": "Draft_6455.translateSingleFrameCheckLengthLimit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if the frame size exceeds the allowed limit\n@param length the current payload length\n@throws LimitExceededException if the payload length is to big", "docstring_tokens": ["Check", "if", "the", "frame", "size", "exceeds", "the", "allowed", "limit"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/drafts/Draft_6455.java#L560-L573", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/drafts/Draft_6455.java", "func_name": "Draft_6455.translateSingleFrameCheckPacketSize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if the max packet size is smaller than the real packet size\n@param maxpacketsize the max packet size\n@param realpacketsize the real packet size\n@throws IncompleteException if the maxpacketsize is smaller than the realpackagesize", "docstring_tokens": ["Check", "if", "the", "max", "packet", "size", "is", "smaller", "than", "the", "real", "packet", "size"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/drafts/Draft_6455.java#L581-L586", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/drafts/Draft_6455.java", "func_name": "Draft_6455.generateFinalKey", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generate a final key from a input string\n@param in the input string\n@return a final key", "docstring_tokens": ["Generate", "a", "final", "key", "from", "a", "input", "string"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/drafts/Draft_6455.java#L717-L727", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/drafts/Draft_6455.java", "func_name": "Draft_6455.processFrameContinuousAndNonFin", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Process the frame if it is a continuous frame or the fin bit is not set\n@param webSocketImpl the websocket implementation to use\n@param frame the current frame\n@param curop the current Opcode\n@throws InvalidDataException if there is a protocol error", "docstring_tokens": ["Process", "the", "frame", "if", "it", "is", "a", "continuous", "frame", "or", "the", "fin", "bit", "is", "not", "set"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/drafts/Draft_6455.java#L808-L826", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/drafts/Draft_6455.java", "func_name": "Draft_6455.processFrameBinary", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Process the frame if it is a binary frame\n@param webSocketImpl the websocket impl\n@param frame the frame", "docstring_tokens": ["Process", "the", "frame", "if", "it", "is", "a", "binary", "frame"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/drafts/Draft_6455.java#L833-L839", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/drafts/Draft_6455.java", "func_name": "Draft_6455.logRuntimeException", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Log the runtime exception to the specific WebSocketImpl\n@param webSocketImpl the implementation of the websocket\n@param e the runtime exception", "docstring_tokens": ["Log", "the", "runtime", "exception", "to", "the", "specific", "WebSocketImpl"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/drafts/Draft_6455.java#L846-L849", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/drafts/Draft_6455.java", "func_name": "Draft_6455.processFrameText", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Process the frame if it is a text frame\n@param webSocketImpl the websocket impl\n@param frame the frame", "docstring_tokens": ["Process", "the", "frame", "if", "it", "is", "a", "text", "frame"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/drafts/Draft_6455.java#L856-L862", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/drafts/Draft_6455.java", "func_name": "Draft_6455.processFrameIsFin", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Process the frame if it is the last frame\n@param webSocketImpl the websocket impl\n@param frame the frame\n@throws InvalidDataException if there is a protocol error", "docstring_tokens": ["Process", "the", "frame", "if", "it", "is", "the", "last", "frame"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/drafts/Draft_6455.java#L870-L896", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/drafts/Draft_6455.java", "func_name": "Draft_6455.processFrameIsNotFin", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Process the frame if it is not the last frame\n@param frame the frame\n@throws InvalidDataException if there is a protocol error", "docstring_tokens": ["Process", "the", "frame", "if", "it", "is", "not", "the", "last", "frame"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/drafts/Draft_6455.java#L903-L911", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/drafts/Draft_6455.java", "func_name": "Draft_6455.processFrameClosing", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Process the frame if it is a closing frame\n@param webSocketImpl the websocket impl\n@param frame the frame", "docstring_tokens": ["Process", "the", "frame", "if", "it", "is", "a", "closing", "frame"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/drafts/Draft_6455.java#L918-L936", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/drafts/Draft_6455.java", "func_name": "Draft_6455.checkBufferLimit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check the current size of the buffer and throw an exception if the size is bigger than the max allowed frame size\n@throws LimitExceededException if the current size is bigger than the allowed size", "docstring_tokens": ["Check", "the", "current", "size", "of", "the", "buffer", "and", "throw", "an", "exception", "if", "the", "size", "is", "bigger", "than", "the", "max", "allowed", "frame", "size"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/drafts/Draft_6455.java#L961-L968", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/drafts/Draft_6455.java", "func_name": "Draft_6455.getPayloadFromByteBufferList", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Method to generate a full bytebuffer out of all the fragmented frame payload\n@return a bytebuffer containing all the data\n@throws LimitExceededException will be thrown when the totalSize is bigger then Integer.MAX_VALUE due to not being able to allocate more", "docstring_tokens": ["Method", "to", "generate", "a", "full", "bytebuffer", "out", "of", "all", "the", "fragmented", "frame", "payload"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/drafts/Draft_6455.java#L1011-L1026", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/drafts/Draft_6455.java", "func_name": "Draft_6455.getByteBufferListSize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the current size of the resulting bytebuffer in the bytebuffer list\n@return the size as long (to not get an integer overflow)", "docstring_tokens": ["Get", "the", "current", "size", "of", "the", "resulting", "bytebuffer", "in", "the", "bytebuffer", "list"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/drafts/Draft_6455.java#L1032-L1040", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/drafts/Draft.java", "func_name": "Draft.translateHandshakeHttpServer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checking the handshake for the role as server\n@return a handshake\n@param firstLineTokens the token of the first line split as as an string array\n@param line the whole line", "docstring_tokens": ["Checking", "the", "handshake", "for", "the", "role", "as", "server"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/drafts/Draft.java#L128-L139", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/drafts/Draft.java", "func_name": "Draft.translateHandshakeHttpClient", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checking the handshake for the role as client\n@return a handshake\n@param firstLineTokens the token of the first line split as as an string array\n@param line the whole line", "docstring_tokens": ["Checking", "the", "handshake", "for", "the", "role", "as", "client"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/drafts/Draft.java#L147-L160", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/WebSocketImpl.java", "func_name": "WebSocketImpl.decode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Method to decode the provided ByteBuffer\n\n@param socketBuffer the ByteBuffer to decode", "docstring_tokens": ["Method", "to", "decode", "the", "provided", "ByteBuffer"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/WebSocketImpl.java#L212-L230", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/WebSocketImpl.java", "func_name": "WebSocketImpl.closeConnectionDueToWrongHandshake", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Close the connection if the received handshake was not correct\n\n@param exception the InvalidDataException causing this problem", "docstring_tokens": ["Close", "the", "connection", "if", "the", "received", "handshake", "was", "not", "correct"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/WebSocketImpl.java#L401-L404", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/WebSocketImpl.java", "func_name": "WebSocketImpl.closeConnectionDueToInternalServerError", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Close the connection if there was a server error by a RuntimeException\n\n@param exception the RuntimeException causing this problem", "docstring_tokens": ["Close", "the", "connection", "if", "there", "was", "a", "server", "error", "by", "a", "RuntimeException"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/WebSocketImpl.java#L411-L414", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/WebSocketImpl.java", "func_name": "WebSocketImpl.generateHttpResponseDueToError", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generate a simple response for the corresponding endpoint to indicate some error\n\n@param errorCode the http error code\n@return the complete response as ByteBuffer", "docstring_tokens": ["Generate", "a", "simple", "response", "for", "the", "corresponding", "endpoint", "to", "indicate", "some", "error"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/WebSocketImpl.java#L422-L433", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/WebSocketImpl.java", "func_name": "WebSocketImpl.send", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Send Text data to the other end.\n\n@throws WebsocketNotConnectedException websocket is not yet connected", "docstring_tokens": ["Send", "Text", "data", "to", "the", "other", "end", "."], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/WebSocketImpl.java#L603-L608", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/client/WebSocketClient.java", "func_name": "WebSocketClient.reset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reset everything relevant to allow a reconnect\n@since 1.3.8", "docstring_tokens": ["Reset", "everything", "relevant", "to", "allow", "a", "reconnect"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/client/WebSocketClient.java#L293-L321", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/client/WebSocketClient.java", "func_name": "WebSocketClient.connect", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Initiates the websocket connection. This method does not block.", "docstring_tokens": ["Initiates", "the", "websocket", "connection", ".", "This", "method", "does", "not", "block", "."], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/client/WebSocketClient.java#L326-L332", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/client/WebSocketClient.java", "func_name": "WebSocketClient.getPort", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extract the specified port\n@return the specified port or the default port for the specific scheme", "docstring_tokens": ["Extract", "the", "specified", "port"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/client/WebSocketClient.java#L482-L495", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/client/WebSocketClient.java", "func_name": "WebSocketClient.sendHandshake", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create and send the handshake to the other endpoint\n@throws InvalidHandshakeException a invalid handshake was created", "docstring_tokens": ["Create", "and", "send", "the", "handshake", "to", "the", "other", "endpoint"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/client/WebSocketClient.java#L501-L526", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/AbstractWebSocket.java", "func_name": "AbstractWebSocket.setConnectionLostTimeout", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Setter for the interval checking for lost connections\nA value lower or equal 0 results in the check to be deactivated\n\n@param connectionLostTimeout the interval in seconds\n@since 1.3.4", "docstring_tokens": ["Setter", "for", "the", "interval", "checking", "for", "lost", "connections", "A", "value", "lower", "or", "equal", "0", "results", "in", "the", "check", "to", "be", "deactivated"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/AbstractWebSocket.java#L111-L137", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/AbstractWebSocket.java", "func_name": "AbstractWebSocket.stopConnectionLostTimer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Stop the connection lost timer\n@since 1.3.4", "docstring_tokens": ["Stop", "the", "connection", "lost", "timer"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/AbstractWebSocket.java#L143-L151", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/AbstractWebSocket.java", "func_name": "AbstractWebSocket.startConnectionLostTimer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Start the connection lost timer\n@since 1.3.4", "docstring_tokens": ["Start", "the", "connection", "lost", "timer"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/AbstractWebSocket.java#L156-L166", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/AbstractWebSocket.java", "func_name": "AbstractWebSocket.restartConnectionLostTimer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This methods allows the reset of the connection lost timer in case of a changed parameter\n@since 1.3.4", "docstring_tokens": ["This", "methods", "allows", "the", "reset", "of", "the", "connection", "lost", "timer", "in", "case", "of", "a", "changed", "parameter"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/AbstractWebSocket.java#L172-L198", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/AbstractWebSocket.java", "func_name": "AbstractWebSocket.executeConnectionLostDetection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Send a ping to the endpoint or close the connection since the other endpoint did not respond with a ping\n@param webSocket the websocket instance\n@param minimumPongTime the lowest/oldest allowable last pong time (in nanoTime) before we consider the connection to be lost", "docstring_tokens": ["Send", "a", "ping", "to", "the", "endpoint", "or", "close", "the", "connection", "since", "the", "other", "endpoint", "did", "not", "respond", "with", "a", "ping"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/AbstractWebSocket.java#L205-L220", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/AbstractWebSocket.java", "func_name": "AbstractWebSocket.cancelConnectionLostTimer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Cancel any running timer for the connection lost detection\n@since 1.3.4", "docstring_tokens": ["Cancel", "any", "running", "timer", "for", "the", "connection", "lost", "detection"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/AbstractWebSocket.java#L233-L242", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/WebSocketAdapter.java", "func_name": "WebSocketAdapter.onWebsocketHandshakeReceivedAsServer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This default implementation does not do anything. Go ahead and overwrite it.\n\n@see org.java_websocket.WebSocketListener#onWebsocketHandshakeReceivedAsServer(WebSocket, Draft, ClientHandshake)", "docstring_tokens": ["This", "default", "implementation", "does", "not", "do", "anything", ".", "Go", "ahead", "and", "overwrite", "it", "."], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/WebSocketAdapter.java#L48-L51", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/WebSocketAdapter.java", "func_name": "WebSocketAdapter.onWebsocketPing", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This default implementation will send a pong in response to the received ping.\nThe pong frame will have the same payload as the ping frame.\n\n@see org.java_websocket.WebSocketListener#onWebsocketPing(WebSocket, Framedata)", "docstring_tokens": ["This", "default", "implementation", "will", "send", "a", "pong", "in", "response", "to", "the", "received", "ping", ".", "The", "pong", "frame", "will", "have", "the", "same", "payload", "as", "the", "ping", "frame", "."], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/WebSocketAdapter.java#L74-L77", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/server/WebSocketServer.java", "func_name": "WebSocketServer.stop", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Closes all connected clients sockets, then closes the underlying\nServerSocketChannel, effectively killing the server socket selectorthread,\nfreeing the port the server was bound to and stops all internal workerthreads.\n\nIf this method is called before the server is started it will never start.\n\n@param timeout\nSpecifies how many milliseconds the overall close handshaking may take altogether before the connections are closed without proper close handshaking.
\n\n@throws InterruptedException Interrupt", "docstring_tokens": ["Closes", "all", "connected", "clients", "sockets", "then", "closes", "the", "underlying", "ServerSocketChannel", "effectively", "killing", "the", "server", "socket", "selectorthread", "freeing", "the", "port", "the", "server", "was", "bound", "to", "and", "stops", "all", "internal", "workerthreads", "."], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/server/WebSocketServer.java#L245-L269", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/server/WebSocketServer.java", "func_name": "WebSocketServer.getPort", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the port number that this server listens on.\n\n@return The port number.", "docstring_tokens": ["Gets", "the", "port", "number", "that", "this", "server", "listens", "on", "."], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/server/WebSocketServer.java#L294-L300", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/server/WebSocketServer.java", "func_name": "WebSocketServer.doAdditionalRead", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Do an additional read\n@throws InterruptedException thrown by taking a buffer\n@throws IOException if an error happened during read", "docstring_tokens": ["Do", "an", "additional", "read"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/server/WebSocketServer.java#L383-L403", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/server/WebSocketServer.java", "func_name": "WebSocketServer.doAccept", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Execute a accept operation\n@param key the selectionkey to read off\n@param i the iterator for the selection keys\n@throws InterruptedException thrown by taking a buffer\n@throws IOException if an error happened during accept", "docstring_tokens": ["Execute", "a", "accept", "operation"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/server/WebSocketServer.java#L412-L438", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/server/WebSocketServer.java", "func_name": "WebSocketServer.doRead", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Execute a read operation\n@param key the selectionkey to read off\n@param i the iterator for the selection keys\n@return true, if the read was successful, or false if there was an error\n@throws InterruptedException thrown by taking a buffer\n@throws IOException if an error happened during read", "docstring_tokens": ["Execute", "a", "read", "operation"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/server/WebSocketServer.java#L448-L477", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/server/WebSocketServer.java", "func_name": "WebSocketServer.doWrite", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Execute a write operation\n@param key the selectionkey to write on\n@throws IOException if an error happened during batch", "docstring_tokens": ["Execute", "a", "write", "operation"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/server/WebSocketServer.java#L484-L491", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/server/WebSocketServer.java", "func_name": "WebSocketServer.doSetupSelectorAndServerThread", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Setup the selector thread as well as basic server settings\n@return true, if everything was successful, false if some error happened", "docstring_tokens": ["Setup", "the", "selector", "thread", "as", "well", "as", "basic", "server", "settings"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/server/WebSocketServer.java#L497-L518", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/server/WebSocketServer.java", "func_name": "WebSocketServer.doEnsureSingleThread", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The websocket server can only be started once\n@return true, if the server can be started, false if already a thread is running", "docstring_tokens": ["The", "websocket", "server", "can", "only", "be", "started", "once"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/server/WebSocketServer.java#L524-L534", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/server/WebSocketServer.java", "func_name": "WebSocketServer.doServerShutdown", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Clean up everything after a shutdown", "docstring_tokens": ["Clean", "up", "everything", "after", "a", "shutdown"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/server/WebSocketServer.java#L539-L562", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/server/WebSocketServer.java", "func_name": "WebSocketServer.getSocket", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Getter to return the socket used by this specific connection\n@param conn The specific connection\n@return The socket used by this connection", "docstring_tokens": ["Getter", "to", "return", "the", "socket", "used", "by", "this", "specific", "connection"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/server/WebSocketServer.java#L779-L782", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/server/WebSocketServer.java", "func_name": "WebSocketServer.broadcast", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Send a byte array to a specific collection of websocket connections\n@param data the data to send to the endpoints\n@param clients a collection of endpoints to whom the text has to be send", "docstring_tokens": ["Send", "a", "byte", "array", "to", "a", "specific", "collection", "of", "websocket", "connections"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/server/WebSocketServer.java#L878-L883", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/server/WebSocketServer.java", "func_name": "WebSocketServer.broadcast", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Send a text to a specific collection of websocket connections\n@param text the text to send to the endpoints\n@param clients a collection of endpoints to whom the text has to be send", "docstring_tokens": ["Send", "a", "text", "to", "a", "specific", "collection", "of", "websocket", "connections"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/server/WebSocketServer.java#L902-L907", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/server/WebSocketServer.java", "func_name": "WebSocketServer.doBroadcast", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Private method to cache all the frames to improve memory footprint and conversion time\n@param data the data to broadcast\n@param clients the clients to send the message to", "docstring_tokens": ["Private", "method", "to", "cache", "all", "the", "frames", "to", "improve", "memory", "footprint", "and", "conversion", "time"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/server/WebSocketServer.java#L914-L938", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/server/WebSocketServer.java", "func_name": "WebSocketServer.fillFrames", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Fills the draftFrames with new data for the broadcast\n@param draft The draft to use\n@param draftFrames The list of frames per draft to fill\n@param sData the string data, can be null\n@param bData the bytebuffer data, can be null", "docstring_tokens": ["Fills", "the", "draftFrames", "with", "new", "data", "for", "the", "broadcast"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/server/WebSocketServer.java#L947-L960", "partition": "test"} +{"repo": "TooTallNate/Java-WebSocket", "path": "src/main/java/org/java_websocket/util/ByteBufferUtils.java", "func_name": "ByteBufferUtils.transferByteBuffer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Transfer from one ByteBuffer to another ByteBuffer\n\n@param source the ByteBuffer to copy from\n@param dest the ByteBuffer to copy to\n@return the number of transferred bytes", "docstring_tokens": ["Transfer", "from", "one", "ByteBuffer", "to", "another", "ByteBuffer"], "sha": "73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9", "url": "https://github.com/TooTallNate/Java-WebSocket/blob/73c6805ca2c7801b2828ffd3ec12e5cb0daefcf9/src/main/java/org/java_websocket/util/ByteBufferUtils.java#L48-L63", "partition": "test"} +{"repo": "playframework/playframework", "path": "persistence/play-java-jpa/src/main/java/play/db/jpa/DefaultJPAApi.java", "func_name": "DefaultJPAApi.start", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Initialise JPA entity manager factories.", "docstring_tokens": ["Initialise", "JPA", "entity", "manager", "factories", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/persistence/play-java-jpa/src/main/java/play/db/jpa/DefaultJPAApi.java#L87-L96", "partition": "test"} +{"repo": "playframework/playframework", "path": "persistence/play-java-jpa/src/main/java/play/db/jpa/DefaultJPAApi.java", "func_name": "DefaultJPAApi.em", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a newly created EntityManager for the specified persistence unit name.\n\n@param name The persistence unit name", "docstring_tokens": ["Get", "a", "newly", "created", "EntityManager", "for", "the", "specified", "persistence", "unit", "name", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/persistence/play-java-jpa/src/main/java/play/db/jpa/DefaultJPAApi.java#L103-L109", "partition": "test"} +{"repo": "playframework/playframework", "path": "persistence/play-java-jpa/src/main/java/play/db/jpa/DefaultJPAApi.java", "func_name": "DefaultJPAApi.withTransaction", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Run a block of code with a newly created EntityManager for the default Persistence Unit.\n\n@param block Block of code to execute", "docstring_tokens": ["Run", "a", "block", "of", "code", "with", "a", "newly", "created", "EntityManager", "for", "the", "default", "Persistence", "Unit", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/persistence/play-java-jpa/src/main/java/play/db/jpa/DefaultJPAApi.java#L143-L149", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/i18n/MessagesApi.java", "func_name": "MessagesApi.convertArgsToScalaBuffer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts the varargs to a scala buffer, takes care of wrapping varargs into a intermediate list\nif necessary\n\n@param args the message arguments\n@return scala type for message processing", "docstring_tokens": ["Converts", "the", "varargs", "to", "a", "scala", "buffer", "takes", "care", "of", "wrapping", "varargs", "into", "a", "intermediate", "list", "if", "necessary"], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/i18n/MessagesApi.java#L44-L48", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/i18n/MessagesApi.java", "func_name": "MessagesApi.wrapArgsToListIfNeeded", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Wraps arguments passed into a list if necessary.\n\n

Returns the first value as is if it is the only argument and a subtype of `java.util.List`\nOtherwise, it calls Arrays.asList on args\n\n@param args arguments as a List", "docstring_tokens": ["Wraps", "arguments", "passed", "into", "a", "list", "if", "necessary", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/i18n/MessagesApi.java#L58-L67", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/i18n/MessagesApi.java", "func_name": "MessagesApi.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Translates a message.\n\n

Uses `java.text.MessageFormat` internally to format the message.\n\n@param lang the message lang\n@param key the message key\n@param args the message arguments\n@return the formatted message or a default rendering if the key wasn't defined", "docstring_tokens": ["Translates", "a", "message", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/i18n/MessagesApi.java#L79-L82", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/i18n/MessagesApi.java", "func_name": "MessagesApi.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Translates the first defined message.\n\n

Uses `java.text.MessageFormat` internally to format the message.\n\n@param lang the message lang\n@param keys the messages keys\n@param args the message arguments\n@return the formatted message or a default rendering if the key wasn't defined", "docstring_tokens": ["Translates", "the", "first", "defined", "message", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/i18n/MessagesApi.java#L94-L98", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/i18n/MessagesApi.java", "func_name": "MessagesApi.isDefinedAt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if a message key is defined.\n\n@param lang the message lang\n@param key the message key\n@return a Boolean", "docstring_tokens": ["Check", "if", "a", "message", "key", "is", "defined", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/i18n/MessagesApi.java#L107-L109", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/i18n/MessagesApi.java", "func_name": "MessagesApi.preferred", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a messages context appropriate for the given candidates.\n\n

Will select a language from the candidates, based on the languages available, and fallback\nto the default language if none of the candidates are available.\n\n@param candidates the candidate languages\n@return the most appropriate Messages instance given the candidate languages", "docstring_tokens": ["Get", "a", "messages", "context", "appropriate", "for", "the", "given", "candidates", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/i18n/MessagesApi.java#L120-L124", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/i18n/MessagesApi.java", "func_name": "MessagesApi.preferred", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a messages context appropriate for the given request.\n\n

Will select a language from the request, based on the languages available, and fallback to\nthe default language if none of the candidates are available.\n\n@param request the incoming request\n@return the preferred messages context for the request", "docstring_tokens": ["Get", "a", "messages", "context", "appropriate", "for", "the", "given", "request", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/i18n/MessagesApi.java#L135-L138", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/i18n/MessagesApi.java", "func_name": "MessagesApi.setLang", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Given a Result and a Lang, return a new Result with the lang cookie set to the given Lang.\n\n@param result the result where the lang will be set.\n@param lang the lang to set on the result\n@return a new result with the lang.", "docstring_tokens": ["Given", "a", "Result", "and", "a", "Lang", "return", "a", "new", "Result", "with", "the", "lang", "cookie", "set", "to", "the", "given", "Lang", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/i18n/MessagesApi.java#L147-L149", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play-guice/src/main/java/play/inject/guice/GuiceBuilder.java", "func_name": "GuiceBuilder.bindings", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add bindings from guiceable modules.\n\n@param modules the set of modules to bind\n@return a copy of this builder configured with those modules", "docstring_tokens": ["Add", "bindings", "from", "guiceable", "modules", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play-guice/src/main/java/play/inject/guice/GuiceBuilder.java#L112-L114", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play-guice/src/main/java/play/inject/guice/GuiceBuilder.java", "func_name": "GuiceBuilder.bindings", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add bindings from Play modules.\n\n@param modules the set of Guice modules whose bindings to apply\n@return a copy of this builder configured with the provided bindings", "docstring_tokens": ["Add", "bindings", "from", "Play", "modules", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play-guice/src/main/java/play/inject/guice/GuiceBuilder.java#L132-L134", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play-guice/src/main/java/play/inject/guice/GuiceBuilder.java", "func_name": "GuiceBuilder.bindings", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add Play bindings.\n\n@param bindings the set of play bindings to apply\n@return a copy of this builder configured with the provided bindings", "docstring_tokens": ["Add", "Play", "bindings", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play-guice/src/main/java/play/inject/guice/GuiceBuilder.java#L142-L144", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play-guice/src/main/java/play/inject/guice/GuiceBuilder.java", "func_name": "GuiceBuilder.overrides", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Override bindings using guiceable modules.\n\n@param modules the set of Guice modules whose bindings override some previously configured ones\n@return a copy of this builder re-configured with the provided bindings", "docstring_tokens": ["Override", "bindings", "using", "guiceable", "modules", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play-guice/src/main/java/play/inject/guice/GuiceBuilder.java#L152-L154", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play-guice/src/main/java/play/inject/guice/GuiceBuilder.java", "func_name": "GuiceBuilder.overrides", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Override bindings using Play modules.\n\n@param modules the set of Play modules whose bindings override some previously configured ones\n@return a copy of this builder re-configured with the provided bindings", "docstring_tokens": ["Override", "bindings", "using", "Play", "modules", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play-guice/src/main/java/play/inject/guice/GuiceBuilder.java#L172-L174", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play-guice/src/main/java/play/inject/guice/GuiceBuilder.java", "func_name": "GuiceBuilder.overrides", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Override bindings using Play bindings.\n\n@param bindings a set of Play bindings that override some previously configured ones\n@return a copy of this builder re-configured with the provided bindings", "docstring_tokens": ["Override", "bindings", "using", "Play", "bindings", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play-guice/src/main/java/play/inject/guice/GuiceBuilder.java#L182-L184", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play-guice/src/main/java/play/inject/guice/GuiceBuilder.java", "func_name": "GuiceBuilder.disable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Disable modules by class.\n\n@param moduleClasses the module classes whose bindings should be disabled\n@return a copy of this builder configured to ignore the provided module classes", "docstring_tokens": ["Disable", "modules", "by", "class", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play-guice/src/main/java/play/inject/guice/GuiceBuilder.java#L192-L194", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/mvc/Action.java", "func_name": "Action.call", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Executes this action with the given HTTP context and returns the result.\n\n@param ctx the http context in which to execute this action\n@return a promise to the action's result\n@deprecated Since 2.7.0. Use {@link #call(Request)} instead. Please see the\nmigration guide for more details.", "docstring_tokens": ["Executes", "this", "action", "with", "the", "given", "HTTP", "context", "and", "returns", "the", "result", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/mvc/Action.java#L64-L70", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/mvc/Action.java", "func_name": "Action.call", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Executes this action with the given HTTP request and returns the result.\n\n@param req the http request with which to execute this action\n@return a promise to the action's result", "docstring_tokens": ["Executes", "this", "action", "with", "the", "given", "HTTP", "request", "and", "returns", "the", "result", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/mvc/Action.java#L78-L99", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/Environment.java", "func_name": "Environment.getExistingFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retrieves a file relative to the application root path. This method returns an Optional, using\nempty if the file was not found.\n\n@param relativePath relative path of the file to fetch\n@return an existing file", "docstring_tokens": ["Retrieves", "a", "file", "relative", "to", "the", "application", "root", "path", ".", "This", "method", "returns", "an", "Optional", "using", "empty", "if", "the", "file", "was", "not", "found", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/Environment.java#L119-L121", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/inject/Binding.java", "func_name": "Binding.in", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Configure the scope for this binding.", "docstring_tokens": ["Configure", "the", "scope", "for", "this", "binding", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/inject/Binding.java#L75-L77", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/libs/F.java", "func_name": "F.Tuple", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a tuple of A,B\n\n@param a The a value\n@param b The b value\n@param a's type\n@param b's type\n@return The tuple", "docstring_tokens": ["Constructs", "a", "tuple", "of", "A", "B"], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/libs/F.java#L134-L136", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/libs/F.java", "func_name": "F.Tuple5", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a tuple of A,B,C,D,E\n\n@param a The a value\n@param b The b value\n@param c The c value\n@param d The d value\n@param e The e value\n@param a's type\n@param b's type\n@param c's type\n@param d's type\n@param e's type\n@return The tuple", "docstring_tokens": ["Constructs", "a", "tuple", "of", "A", "B", "C", "D", "E"], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/libs/F.java#L340-L342", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/libs/F.java", "func_name": "F.toExecutor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts the execution context to an executor, preparing it first.\n\n@param ec the execution context.\n@return the Java Executor.", "docstring_tokens": ["Converts", "the", "execution", "context", "to", "an", "executor", "preparing", "it", "first", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/libs/F.java#L350-L357", "partition": "test"} +{"repo": "playframework/playframework", "path": "persistence/play-java-jpa/src/main/java/play/db/jpa/DefaultJPAConfig.java", "func_name": "DefaultJPAConfig.of", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a default JPA configuration with the given name and unit name.\n\n@param name the name for the entity manager factory\n@param unitName the persistence unit name as used in `persistence.xml`\n@return a default JPA configuration", "docstring_tokens": ["Create", "a", "default", "JPA", "configuration", "with", "the", "given", "name", "and", "unit", "name", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/persistence/play-java-jpa/src/main/java/play/db/jpa/DefaultJPAConfig.java#L71-L73", "partition": "test"} +{"repo": "playframework/playframework", "path": "persistence/play-java-jpa/src/main/java/play/db/jpa/DefaultJPAConfig.java", "func_name": "DefaultJPAConfig.of", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a default JPA configuration with the given names and unit names.\n\n@param n1 Name of the first entity manager factory\n@param u1 Name of the first unit\n@param n2 Name of the second entity manager factory\n@param u2 Name of the second unit\n@return a default JPA configuration with the provided persistence units.", "docstring_tokens": ["Create", "a", "default", "JPA", "configuration", "with", "the", "given", "names", "and", "unit", "names", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/persistence/play-java-jpa/src/main/java/play/db/jpa/DefaultJPAConfig.java#L84-L87", "partition": "test"} +{"repo": "playframework/playframework", "path": "persistence/play-java-jpa/src/main/java/play/db/jpa/DefaultJPAConfig.java", "func_name": "DefaultJPAConfig.from", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a default JPA configuration from a map of names to unit names.\n\n@param map Map of entity manager factory names to unit names\n@return a JPAConfig configured with the provided mapping", "docstring_tokens": ["Create", "a", "default", "JPA", "configuration", "from", "a", "map", "of", "names", "to", "unit", "names", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/persistence/play-java-jpa/src/main/java/play/db/jpa/DefaultJPAConfig.java#L113-L120", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play-java/src/main/java/play/libs/Comet.java", "func_name": "Comet.string", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Produces a Flow of escaped ByteString from a series of String elements. Calls out to Comet.flow\ninternally.\n\n@param callbackName the javascript callback method.\n@return a flow of ByteString elements.", "docstring_tokens": ["Produces", "a", "Flow", "of", "escaped", "ByteString", "from", "a", "series", "of", "String", "elements", ".", "Calls", "out", "to", "Comet", ".", "flow", "internally", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play-java/src/main/java/play/libs/Comet.java#L53-L60", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play-java/src/main/java/play/libs/Comet.java", "func_name": "Comet.json", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Produces a flow of ByteString using `Json.stringify` from a Flow of JsonNode. Calls out to\nComet.flow internally.\n\n@param callbackName the javascript callback method.\n@return a flow of ByteString elements.", "docstring_tokens": ["Produces", "a", "flow", "of", "ByteString", "using", "Json", ".", "stringify", "from", "a", "Flow", "of", "JsonNode", ".", "Calls", "out", "to", "Comet", ".", "flow", "internally", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play-java/src/main/java/play/libs/Comet.java#L69-L76", "partition": "test"} +{"repo": "playframework/playframework", "path": "web/play-java-forms/src/main/java/play/data/validation/MappedConstraintValidatorFactory.java", "func_name": "MappedConstraintValidatorFactory.addConstraintValidator", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds validator as a singleton.\n\n@param key the constraint validator type\n@param constraintValidator the constraint validator instance\n@param the type of constraint validator implementation\n@return {@link MappedConstraintValidatorFactory} with the given constraint validator added.", "docstring_tokens": ["Adds", "validator", "as", "a", "singleton", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/web/play-java-forms/src/main/java/play/data/validation/MappedConstraintValidatorFactory.java#L30-L34", "partition": "test"} +{"repo": "playframework/playframework", "path": "web/play-java-forms/src/main/java/play/data/validation/MappedConstraintValidatorFactory.java", "func_name": "MappedConstraintValidatorFactory.newInstance", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "need to do so.", "docstring_tokens": ["need", "to", "do", "so", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/web/play-java-forms/src/main/java/play/data/validation/MappedConstraintValidatorFactory.java#L67-L77", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/libs/reflect/MethodUtils.java", "func_name": "MethodUtils.getMatchingAccessibleMethod", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds an accessible method that matches the given name and has compatible parameters.\nCompatible parameters mean that every method parameter is assignable from the given parameters.\nIn other words, it finds a method with the given name that will take the parameters given.\n\n

This method can match primitive parameter by passing in wrapper classes. For example, a\n{@code Boolean} will match a primitive {@code boolean} parameter.\n\n@param cls find method in this class\n@param methodName find method with this name\n@param parameterTypes find method with most compatible parameters\n@return The accessible method", "docstring_tokens": ["Finds", "an", "accessible", "method", "that", "matches", "the", "given", "name", "and", "has", "compatible", "parameters", ".", "Compatible", "parameters", "mean", "that", "every", "method", "parameter", "is", "assignable", "from", "the", "given", "parameters", ".", "In", "other", "words", "it", "finds", "a", "method", "with", "the", "given", "name", "that", "will", "take", "the", "parameters", "given", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/libs/reflect/MethodUtils.java#L149-L197", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/http/DefaultHttpErrorHandler.java", "func_name": "DefaultHttpErrorHandler.onClientError", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Invoked when a client error occurs, that is, an error in the 4xx series.\n\n

The base implementation calls onBadRequest, onForbidden, onNotFound, or onOtherClientError\ndepending on the HTTP status code.\n\n@param request The request that caused the client error.\n@param statusCode The error status code. Must be greater or equal to 400, and less than 500.\n@param message The error message.\n@return a CompletionStage containing the Result.", "docstring_tokens": ["Invoked", "when", "a", "client", "error", "occurs", "that", "is", "an", "error", "in", "the", "4xx", "series", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/http/DefaultHttpErrorHandler.java#L70-L85", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/http/DefaultHttpErrorHandler.java", "func_name": "DefaultHttpErrorHandler.onBadRequest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Invoked when a client makes a bad request.\n\n

Returns Results.badRequest (400) with the included template from {@code\nviews.html.defaultpages.badRequest} as the content.\n\n@param request The request that was bad.\n@param message The error message.\n@return a CompletionStage containing the Result.", "docstring_tokens": ["Invoked", "when", "a", "client", "makes", "a", "bad", "request", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/http/DefaultHttpErrorHandler.java#L97-L102", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/http/DefaultHttpErrorHandler.java", "func_name": "DefaultHttpErrorHandler.onForbidden", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Invoked when a client makes a request that was forbidden.\n\n

Returns Results.forbidden (401) with the included template from {@code\nviews.html.defaultpages.unauthorized} as the content.\n\n@param request The forbidden request.\n@param message The error message.\n@return a CompletionStage containing the Result.", "docstring_tokens": ["Invoked", "when", "a", "client", "makes", "a", "request", "that", "was", "forbidden", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/http/DefaultHttpErrorHandler.java#L114-L117", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/http/DefaultHttpErrorHandler.java", "func_name": "DefaultHttpErrorHandler.onNotFound", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Invoked when a handler or resource is not found.\n\n

If the environment's mode is production, then returns Results.notFound (404) with the\nincluded template from `views.html.defaultpages.notFound` as the content.\n\n

Otherwise, Results.notFound (404) is rendered with {@code\nviews.html.defaultpages.devNotFound} template.\n\n@param request The request that no handler was found to handle.\n@param message A message, which is not used by the default implementation.\n@return a CompletionStage containing the Result.", "docstring_tokens": ["Invoked", "when", "a", "handler", "or", "resource", "is", "not", "found", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/http/DefaultHttpErrorHandler.java#L132-L144", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/http/DefaultHttpErrorHandler.java", "func_name": "DefaultHttpErrorHandler.onServerError", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Invoked when a server error occurs.\n\n

By default, the implementation of this method delegates to [[onProdServerError()]] when in\nprod mode, and [[onDevServerError()]] in dev mode. It is recommended, if you want Play's debug\ninfo on the error page in dev mode, that you override [[onProdServerError()]] instead of this\nmethod.\n\n@param request The request that triggered the server error.\n@param exception The server error.\n@return a CompletionStage containing the Result.", "docstring_tokens": ["Invoked", "when", "a", "server", "error", "occurs", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/http/DefaultHttpErrorHandler.java#L179-L196", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/http/DefaultHttpErrorHandler.java", "func_name": "DefaultHttpErrorHandler.logServerError", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Responsible for logging server errors.\n\n

The base implementation uses a SLF4J Logger. If a special annotation is desired for internal\nserver errors, you may want to use SLF4J directly with the Marker API to distinguish server\nerrors from application errors.\n\n

This can also be overridden to add additional logging information, eg. the id of the\nauthenticated user.\n\n@param request The request that triggered the server error.\n@param usefulException The server error.", "docstring_tokens": ["Responsible", "for", "logging", "server", "errors", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/http/DefaultHttpErrorHandler.java#L211-L217", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/http/DefaultHttpErrorHandler.java", "func_name": "DefaultHttpErrorHandler.throwableToUsefulException", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert the given exception to an exception that Play can report more information about.\n\n

This will generate an id for the exception, and in dev mode, will load the source code for\nthe code that threw the exception, making it possible to report on the location that the\nexception was thrown from.", "docstring_tokens": ["Convert", "the", "given", "exception", "to", "an", "exception", "that", "Play", "can", "report", "more", "information", "about", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/http/DefaultHttpErrorHandler.java#L226-L229", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/http/DefaultHttpErrorHandler.java", "func_name": "DefaultHttpErrorHandler.onDevServerError", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Invoked in dev mode when a server error occurs. Note that this method is where the URL set by\nplay.editor is used.\n\n

The base implementation returns {@code Results.internalServerError} with the content of\n{@code views.html.defaultpages.devError}.\n\n@param request The request that triggered the error.\n@param exception The exception.\n@return a CompletionStage containing the Result.", "docstring_tokens": ["Invoked", "in", "dev", "mode", "when", "a", "server", "error", "occurs", ".", "Note", "that", "this", "method", "is", "where", "the", "URL", "set", "by", "play", ".", "editor", "is", "used", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/http/DefaultHttpErrorHandler.java#L242-L247", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/http/DefaultHttpErrorHandler.java", "func_name": "DefaultHttpErrorHandler.onProdServerError", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Invoked in prod mode when a server error occurs.\n\n

The base implementation returns {@code Results.internalServerError} with the content of\n{@code views.html.defaultpages.error} template.\n\n

Override this rather than [[onServerError()]] if you don't want to change Play's debug\noutput when logging errors in dev mode.\n\n@param request The request that triggered the error.\n@param exception The exception.\n@return a CompletionStage containing the Result.", "docstring_tokens": ["Invoked", "in", "prod", "mode", "when", "a", "server", "error", "occurs", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/http/DefaultHttpErrorHandler.java#L262-L267", "partition": "test"} +{"repo": "playframework/playframework", "path": "dev-mode/play-docs/src/main/java/play/docs/BuildDocHandlerFactory.java", "func_name": "BuildDocHandlerFactory.fromResources", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a BuildDocHandler that serves documentation from the given files, which could either be\ndirectories or jar files. The baseDir array must be the same length as the files array, and the\ncorresponding entry in there for jar files is used as a base directory to use resources from in\nthe jar.\n\n@param files The directories or jar files to serve documentation from.\n@param baseDirs The base directories for the jar files. Entries may be null.\n@return a BuildDocHandler.", "docstring_tokens": ["Create", "a", "BuildDocHandler", "that", "serves", "documentation", "from", "the", "given", "files", "which", "could", "either", "be", "directories", "or", "jar", "files", ".", "The", "baseDir", "array", "must", "be", "the", "same", "length", "as", "the", "files", "array", "and", "the", "corresponding", "entry", "in", "there", "for", "jar", "files", "is", "used", "as", "a", "base", "directory", "to", "use", "resources", "from", "in", "the", "jar", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/dev-mode/play-docs/src/main/java/play/docs/BuildDocHandlerFactory.java#L40-L67", "partition": "test"} +{"repo": "playframework/playframework", "path": "dev-mode/play-docs/src/main/java/play/docs/BuildDocHandlerFactory.java", "func_name": "BuildDocHandlerFactory.fromDirectory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create an BuildDocHandler that serves documentation from a given directory by wrapping a\nFilesystemRepository.\n\n@param directory The directory to serve the documentation from.", "docstring_tokens": ["Create", "an", "BuildDocHandler", "that", "serves", "documentation", "from", "a", "given", "directory", "by", "wrapping", "a", "FilesystemRepository", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/dev-mode/play-docs/src/main/java/play/docs/BuildDocHandlerFactory.java#L75-L78", "partition": "test"} +{"repo": "playframework/playframework", "path": "dev-mode/play-docs/src/main/java/play/docs/BuildDocHandlerFactory.java", "func_name": "BuildDocHandlerFactory.fromDirectoryAndJar", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create an BuildDocHandler that serves the manual from a given directory by wrapping a\nFilesystemRepository, and the API docs from a given JAR file by wrapping a JarRepository\n\n@param directory The directory to serve the documentation from.\n@param jarFile The JAR file to server the documentation from.\n@param base The directory within the JAR file to serve the documentation from, or null if the\ndocumentation should be served from the root of the JAR.", "docstring_tokens": ["Create", "an", "BuildDocHandler", "that", "serves", "the", "manual", "from", "a", "given", "directory", "by", "wrapping", "a", "FilesystemRepository", "and", "the", "API", "docs", "from", "a", "given", "JAR", "file", "by", "wrapping", "a", "JarRepository"], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/dev-mode/play-docs/src/main/java/play/docs/BuildDocHandlerFactory.java#L89-L91", "partition": "test"} +{"repo": "playframework/playframework", "path": "dev-mode/play-docs/src/main/java/play/docs/BuildDocHandlerFactory.java", "func_name": "BuildDocHandlerFactory.fromDirectoryAndJar", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create an BuildDocHandler that serves the manual from a given directory by wrapping a\nFilesystemRepository, and the API docs from a given JAR file by wrapping a JarRepository.\n\n@param directory The directory to serve the documentation from.\n@param jarFile The JAR file to server the documentation from.\n@param base The directory within the JAR file to serve the documentation from, or null if the\ndocumentation should be served from the root of the JAR.\n@param fallbackToJar Whether the doc handler should fall back to the jar repo for docs.", "docstring_tokens": ["Create", "an", "BuildDocHandler", "that", "serves", "the", "manual", "from", "a", "given", "directory", "by", "wrapping", "a", "FilesystemRepository", "and", "the", "API", "docs", "from", "a", "given", "JAR", "file", "by", "wrapping", "a", "JarRepository", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/dev-mode/play-docs/src/main/java/play/docs/BuildDocHandlerFactory.java#L103-L115", "partition": "test"} +{"repo": "playframework/playframework", "path": "dev-mode/play-docs/src/main/java/play/docs/BuildDocHandlerFactory.java", "func_name": "BuildDocHandlerFactory.fromJar", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create an BuildDocHandler that serves documentation from a given JAR file by wrapping a\nJarRepository.\n\n@param jarFile The JAR file to server the documentation from.\n@param base The directory within the JAR file to serve the documentation from, or null if the\ndocumentation should be served from the root of the JAR.", "docstring_tokens": ["Create", "an", "BuildDocHandler", "that", "serves", "documentation", "from", "a", "given", "JAR", "file", "by", "wrapping", "a", "JarRepository", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/dev-mode/play-docs/src/main/java/play/docs/BuildDocHandlerFactory.java#L125-L128", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/http/HttpEntity.java", "func_name": "HttpEntity.consumeData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Consumes the data.\n\n

This method should be used carefully, since if the source represents an ephemeral stream,\nthen the entity may not be usable after this method is invoked.\n\n@param mat the application's materializer.\n@return a CompletionStage holding the data", "docstring_tokens": ["Consumes", "the", "data", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/http/HttpEntity.java#L52-L54", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/http/HttpEntity.java", "func_name": "HttpEntity.fromContent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create an entity from the given content.\n\n@param content The content.\n@param charset The charset.\n@return the HTTP entity.", "docstring_tokens": ["Create", "an", "entity", "from", "the", "given", "content", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/http/HttpEntity.java#L68-L79", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/http/HttpEntity.java", "func_name": "HttpEntity.fromString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create an entity from the given String.\n\n@param content The content.\n@param charset The charset.\n@return the HTTP entity.", "docstring_tokens": ["Create", "an", "entity", "from", "the", "given", "String", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/http/HttpEntity.java#L88-L91", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/http/HttpEntity.java", "func_name": "HttpEntity.chunked", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert the given source of ByteStrings to a chunked entity.\n\n@param data The source.\n@param contentType The optional content type.\n@return The ByteStrings.", "docstring_tokens": ["Convert", "the", "given", "source", "of", "ByteStrings", "to", "a", "chunked", "entity", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/http/HttpEntity.java#L100-L102", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/mvc/Results.java", "func_name": "Results.status", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates a simple result with json content and UTF8 encoding.\n\n@param status the HTTP status for this result e.g. 200 (OK), 404 (NOT_FOUND)\n@param content the result's body content as a play-json object\n@return the result", "docstring_tokens": ["Generates", "a", "simple", "result", "with", "json", "content", "and", "UTF8", "encoding", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/mvc/Results.java#L98-L100", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/mvc/Results.java", "func_name": "Results.status", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates a simple result with json content.\n\n@param status the HTTP status for this result e.g. 200 (OK), 404 (NOT_FOUND)\n@param content the result's body content, as a play-json object\n@param encoding the encoding into which the json should be encoded\n@return the result", "docstring_tokens": ["Generates", "a", "simple", "result", "with", "json", "content", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/mvc/Results.java#L110-L115", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/mvc/Results.java", "func_name": "Results.status", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates a simple result with byte-array content.\n\n@param status the HTTP status for this result e.g. 200 (OK), 404 (NOT_FOUND)\n@param content the result's body content, as a byte array\n@return the result", "docstring_tokens": ["Generates", "a", "simple", "result", "with", "byte", "-", "array", "content", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/mvc/Results.java#L124-L130", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/mvc/Results.java", "func_name": "Results.status", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates a chunked result.\n\n@param status the HTTP status for this result e.g. 200 (OK), 404 (NOT_FOUND)\n@param content the input stream containing data to chunk over\n@param contentLength the length of the provided content in bytes.\n@return the result", "docstring_tokens": ["Generates", "a", "chunked", "result", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/mvc/Results.java#L165-L167", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/mvc/Results.java", "func_name": "Results.status", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates a result with file contents.\n\n@param status the HTTP status for this result e.g. 200 (OK), 404 (NOT_FOUND)\n@param content the file to send\n@return the result", "docstring_tokens": ["Generates", "a", "result", "with", "file", "contents", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/mvc/Results.java#L176-L178", "partition": "test"} +{"repo": "playframework/playframework", "path": "documentation/manual/working/javaGuide/advanced/routing/code/javaguide/binder/models/User.java", "func_name": "User.findById", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "designed to be lightweight operation", "docstring_tokens": ["designed", "to", "be", "lightweight", "operation"], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/documentation/manual/working/javaGuide/advanced/routing/code/javaguide/binder/models/User.java#L41-L47", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/i18n/Langs.java", "func_name": "Langs.preferred", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Select a preferred language, given the list of candidates.\n\n

Will select the preferred language, based on what languages are available, or return the\ndefault language if none of the candidates are available.\n\n@param candidates The candidate languages\n@return The preferred language", "docstring_tokens": ["Select", "a", "preferred", "language", "given", "the", "list", "of", "candidates", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/i18n/Langs.java#L56-L59", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/mvc/Call.java", "func_name": "Call.unique", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Append a unique identifier to the URL.\n\n@return a copy if this call with a unique identifier to this url", "docstring_tokens": ["Append", "a", "unique", "identifier", "to", "the", "URL", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/mvc/Call.java#L45-L47", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/mvc/Call.java", "func_name": "Call.withFragment", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a new Call with the given fragment.\n\n@param fragment the URL fragment\n@return a copy of this call that contains the fragment", "docstring_tokens": ["Returns", "a", "new", "Call", "with", "the", "given", "fragment", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/mvc/Call.java#L59-L61", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/mvc/Call.java", "func_name": "Call.absoluteURL", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Transform this call to an absolute URL.\n\n@param request used to identify the host and protocol that should base this absolute URL\n@return the absolute URL string", "docstring_tokens": ["Transform", "this", "call", "to", "an", "absolute", "URL", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/mvc/Call.java#L82-L84", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/mvc/Call.java", "func_name": "Call.webSocketURL", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Transform this call to an WebSocket URL.\n\n@param request used as the base for forming the WS url\n@return the websocket url string", "docstring_tokens": ["Transform", "this", "call", "to", "an", "WebSocket", "URL", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/mvc/Call.java#L114-L116", "partition": "test"} +{"repo": "playframework/playframework", "path": "persistence/play-java-jdbc/src/main/java/play/db/DefaultDatabase.java", "func_name": "DefaultDatabase.connectionFunction", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a Scala function wrapper for ConnectionRunnable.\n\n@param block a Java functional interface instance to wrap\n@return a scala function that wraps the given block", "docstring_tokens": ["Create", "a", "Scala", "function", "wrapper", "for", "ConnectionRunnable", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/persistence/play-java-jdbc/src/main/java/play/db/DefaultDatabase.java#L134-L145", "partition": "test"} +{"repo": "playframework/playframework", "path": "persistence/play-java-jdbc/src/main/java/play/db/DefaultDatabase.java", "func_name": "DefaultDatabase.connectionFunction", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a Scala function wrapper for ConnectionCallable.\n\n@param block a Java functional interface instance to wrap\n@param the provided block's return type\n@return a scala function wrapping the given block", "docstring_tokens": ["Create", "a", "Scala", "function", "wrapper", "for", "ConnectionCallable", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/persistence/play-java-jdbc/src/main/java/play/db/DefaultDatabase.java#L154-L164", "partition": "test"} +{"repo": "playframework/playframework", "path": "transport/server/play-server/src/main/java/play/server/Server.java", "func_name": "Server.forRouter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a server for the router returned by the given block.\n\n@param block The block which creates a router.\n@param mode The mode the server will run on.\n@param port The port the server will run on.\n@return The running server.", "docstring_tokens": ["Create", "a", "server", "for", "the", "router", "returned", "by", "the", "given", "block", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/transport/server/play-server/src/main/java/play/server/Server.java#L134-L136", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/libs/Json.java", "func_name": "Json.toJson", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts an object to JsonNode.\n\n@param data Value to convert in Json.\n@return the JSON node.", "docstring_tokens": ["Converts", "an", "object", "to", "JsonNode", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/libs/Json.java#L69-L75", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/libs/Json.java", "func_name": "Json.fromJson", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts a JsonNode to a Java value\n\n@param the type of the return value.\n@param json Json value to convert.\n@param clazz Expected Java value type.\n@return the return value.", "docstring_tokens": ["Converts", "a", "JsonNode", "to", "a", "Java", "value"], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/libs/Json.java#L85-L91", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/libs/Json.java", "func_name": "Json.parse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses a String representing a json, and return it as a JsonNode.\n\n@param src the JSON string.\n@return the JSON node.", "docstring_tokens": ["Parses", "a", "String", "representing", "a", "json", "and", "return", "it", "as", "a", "JsonNode", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/libs/Json.java#L147-L153", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/libs/Json.java", "func_name": "Json.parse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses a InputStream representing a json, and return it as a JsonNode.\n\n@param src the JSON input stream.\n@return the JSON node.", "docstring_tokens": ["Parses", "a", "InputStream", "representing", "a", "json", "and", "return", "it", "as", "a", "JsonNode", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/libs/Json.java#L161-L167", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/core/Paths.java", "func_name": "Paths.relative", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a path to targetPath that's relative to the given startPath.", "docstring_tokens": ["Create", "a", "path", "to", "targetPath", "that", "s", "relative", "to", "the", "given", "startPath", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/core/Paths.java#L25-L61", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/core/Paths.java", "func_name": "Paths.canonical", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a canonical path that does not contain parent directories, current directories, or\nsuperfluous directory separators.", "docstring_tokens": ["Create", "a", "canonical", "path", "that", "does", "not", "contain", "parent", "directories", "current", "directories", "or", "superfluous", "directory", "separators", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/core/Paths.java#L67-L81", "partition": "test"} +{"repo": "playframework/playframework", "path": "web/play-java-forms/src/main/java/play/data/validation/Constraints.java", "func_name": "Constraints.displayableConstraint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts a set of constraints to human-readable values. Does not guarantee the order of the\nreturned constraints.\n\n

This method calls {@code displayableConstraint} under the hood.\n\n@param constraints the set of constraint descriptors.\n@return a list of pairs of tuples assembled from displayableConstraint.", "docstring_tokens": ["Converts", "a", "set", "of", "constraints", "to", "human", "-", "readable", "values", ".", "Does", "not", "guarantee", "the", "order", "of", "the", "returned", "constraints", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/web/play-java-forms/src/main/java/play/data/validation/Constraints.java#L162-L169", "partition": "test"} +{"repo": "playframework/playframework", "path": "web/play-java-forms/src/main/java/play/data/validation/Constraints.java", "func_name": "Constraints.displayableConstraint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts a constraint to a human-readable value.\n\n@param constraint the constraint descriptor.\n@return A tuple containing the constraint's display name and the constraint attributes.", "docstring_tokens": ["Converts", "a", "constraint", "to", "a", "human", "-", "readable", "value", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/web/play-java-forms/src/main/java/play/data/validation/Constraints.java#L208-L218", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/libs/concurrent/DefaultFutures.java", "func_name": "DefaultFutures.timeout", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a CompletionStage that returns either the input stage, or a futures.\n\n

Note that timeout is not the same as cancellation. Even in case of futures, the given\ncompletion stage will still complete, even though that completed value is not returned.\n\n@param stage the input completion stage that may time out.\n@param amount The amount (expressed with the corresponding unit).\n@param unit The time Unit.\n@param the completion's result type.\n@return either the completed future, or a completion stage that failed with futures.", "docstring_tokens": ["Creates", "a", "CompletionStage", "that", "returns", "either", "the", "input", "stage", "or", "a", "futures", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/libs/concurrent/DefaultFutures.java#L47-L55", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/libs/reflect/ClassUtils.java", "func_name": "ClassUtils.isAssignable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks if an array of Classes can be assigned to another array of Classes.\n\n

This method calls {@link #isAssignable(Class, Class) isAssignable} for each Class pair in\nthe input arrays. It can be used to check if a set of arguments (the first parameter) are\nsuitably compatible with a set of method parameter types (the second parameter).\n\n

Unlike the {@link Class#isAssignableFrom(java.lang.Class)} method, this method takes into\naccount widenings of primitive classes and {@code null}s.\n\n

Primitive widenings allow an int to be assigned to a {@code long}, {@code float} or {@code\ndouble}. This method returns the correct result for these cases.\n\n

{@code Null} may be assigned to any reference type. This method will return {@code true} if\n{@code null} is passed in and the toClass is non-primitive.\n\n

Specifically, this method tests whether the type represented by the specified {@code Class}\nparameter can be converted to the type represented by this {@code Class} object via an identity\nconversion widening primitive or widening reference conversion. See The Java Language Specification, sections\n5.1.1, 5.1.2 and 5.1.4 for details.\n\n@param classArray the array of Classes to check, may be {@code null}\n@param toClassArray the array of Classes to try to assign into, may be {@code null}\n@param autoboxing whether to use implicit autoboxing/unboxing between primitives and wrappers\n@return {@code true} if assignment possible", "docstring_tokens": ["Checks", "if", "an", "array", "of", "Classes", "can", "be", "assigned", "to", "another", "array", "of", "Classes", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/libs/reflect/ClassUtils.java#L189-L206", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play-java/src/main/java/play/libs/Time.java", "func_name": "Time.parseCRONExpression", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses a CRON expression.\n\n@param cron the CRON String\n@return the next Date that satisfies the expression", "docstring_tokens": ["Parses", "a", "CRON", "expression", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play-java/src/main/java/play/libs/Time.java#L75-L81", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play-java/src/main/java/play/libs/Time.java", "func_name": "Time.cronInterval", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compute the number of milliseconds between the next valid date and the one after.\n\n@param cron the CRON String\n@param date the date to start search\n@return the number of milliseconds between the next valid date and the one after, with an\ninvalid interval between", "docstring_tokens": ["Compute", "the", "number", "of", "milliseconds", "between", "the", "next", "valid", "date", "and", "the", "one", "after", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play-java/src/main/java/play/libs/Time.java#L102-L108", "partition": "test"} +{"repo": "playframework/playframework", "path": "transport/client/play-ahc-ws/src/main/java/play/libs/ws/ahc/AhcWSClient.java", "func_name": "AhcWSClient.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates WS client manually from configuration, internally creating a new instance of\nAsyncHttpClient and managing its own thread pool.\n\n

This client is not managed as part of Play's lifecycle, and must be closed by calling\nws.close(), otherwise you will run into memory leaks.\n\n@param config a config object, usually from AhcWSClientConfigFactory\n@param cache if not null, provides HTTP caching.\n@param materializer an Akka materializer\n@return a new instance of AhcWSClient.", "docstring_tokens": ["Creates", "WS", "client", "manually", "from", "configuration", "internally", "creating", "a", "new", "instance", "of", "AsyncHttpClient", "and", "managing", "its", "own", "thread", "pool", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/transport/client/play-ahc-ws/src/main/java/play/libs/ws/ahc/AhcWSClient.java#L52-L56", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play-guice/src/main/java/play/inject/guice/GuiceApplicationLoader.java", "func_name": "GuiceApplicationLoader.builder", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Construct a builder to use for loading the given context.\n\n@param context the context the returned builder will load\n@return the builder", "docstring_tokens": ["Construct", "a", "builder", "to", "use", "for", "loading", "the", "given", "context", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play-guice/src/main/java/play/inject/guice/GuiceApplicationLoader.java#L41-L46", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/mvc/Controller.java", "func_name": "Controller.TODO", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates a 501 NOT_IMPLEMENTED simple result.", "docstring_tokens": ["Generates", "a", "501", "NOT_IMPLEMENTED", "simple", "result", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/mvc/Controller.java#L26-L28", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/mvc/Controller.java", "func_name": "Controller.session", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Puts a new value into the current session.\n\n@param key the key to set into the session\n@param value the value to set for key\n@deprecated Deprecated as of 2.7.0. Use {@link Result} instead.", "docstring_tokens": ["Puts", "a", "new", "value", "into", "the", "current", "session", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/mvc/Controller.java#L135-L138", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/mvc/Controller.java", "func_name": "Controller.flash", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Puts a new value into the flash scope.\n\n@param key the key to put into the flash scope\n@param value the value corresponding to key\n@deprecated Deprecated as of 2.7.0. Use {@link Result} instead.", "docstring_tokens": ["Puts", "a", "new", "value", "into", "the", "flash", "scope", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/mvc/Controller.java#L170-L173", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/inject/BindingKey.java", "func_name": "BindingKey.qualifiedWith", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Qualify this binding key with the given instance of an annotation.\n\n

This can be used to specify bindings with annotations that have particular values.", "docstring_tokens": ["Qualify", "this", "binding", "key", "with", "the", "given", "instance", "of", "an", "annotation", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/inject/BindingKey.java#L63-L65", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/inject/BindingKey.java", "func_name": "BindingKey.qualifiedWith", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Qualify this binding key with the given annotation.\n\n

For example, you may have both a cached implementation, and a direct implementation of a\nservice. To differentiate between them, you may define a Cached annotation:\n\n

{@code\nbindClass(Foo.class).qualifiedWith(Cached.class).to(FooCached.class),\nbindClass(Foo.class).to(FooImpl.class)\n\n...\n\nclass MyController {\n{@literal @}Inject\nMyController({@literal @}Cached Foo foo) {\n...\n}\n...\n}\n}
\n\nIn the above example, the controller will get the cached {@code Foo} service.", "docstring_tokens": ["Qualify", "this", "binding", "key", "with", "the", "given", "annotation", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/inject/BindingKey.java#L90-L92", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/inject/BindingKey.java", "func_name": "BindingKey.to", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Bind this binding key to the given implementation class.\n\n

This class will be instantiated and injected by the injection framework.", "docstring_tokens": ["Bind", "this", "binding", "key", "to", "the", "given", "implementation", "class", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/inject/BindingKey.java#L126-L128", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/inject/BindingKey.java", "func_name": "BindingKey.to", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Bind this binding key to the given provider instance.\n\n

This provider instance will be invoked to obtain the implementation for the key.", "docstring_tokens": ["Bind", "this", "binding", "key", "to", "the", "given", "provider", "instance", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/inject/BindingKey.java#L135-L137", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/inject/BindingKey.java", "func_name": "BindingKey.to", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Bind this binding key to the given instance.", "docstring_tokens": ["Bind", "this", "binding", "key", "to", "the", "given", "instance", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/inject/BindingKey.java#L140-L142", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/inject/BindingKey.java", "func_name": "BindingKey.to", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Bind this binding key to another binding key.", "docstring_tokens": ["Bind", "this", "binding", "key", "to", "another", "binding", "key", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/inject/BindingKey.java#L145-L147", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/inject/BindingKey.java", "func_name": "BindingKey.toProvider", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Bind this binding key to the given provider class.\n\n

The dependency injection framework will instantiate and inject this provider, and then\ninvoke its `get` method whenever an instance of the class is needed.", "docstring_tokens": ["Bind", "this", "binding", "key", "to", "the", "given", "provider", "class", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/inject/BindingKey.java#L155-L157", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/i18n/Lang.java", "func_name": "Lang.availables", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retrieve Lang availables from the application configuration.\n\n@param app the current application.\n@return the list of available Lang.", "docstring_tokens": ["Retrieve", "Lang", "availables", "from", "the", "application", "configuration", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/i18n/Lang.java#L77-L81", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/i18n/Lang.java", "func_name": "Lang.preferred", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Guess the preferred lang in the langs set passed as argument. The first Lang that matches an\navailable Lang wins, otherwise returns the first Lang available in this application.\n\n@param app the currept application\n@param availableLangs the set of langs from which to guess the preferred\n@return the preferred lang.", "docstring_tokens": ["Guess", "the", "preferred", "lang", "in", "the", "langs", "set", "passed", "as", "argument", ".", "The", "first", "Lang", "that", "matches", "an", "available", "Lang", "wins", "otherwise", "returns", "the", "first", "Lang", "available", "in", "this", "application", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/i18n/Lang.java#L91-L97", "partition": "test"} +{"repo": "playframework/playframework", "path": "persistence/play-jdbc-evolutions/src/main/java/play/db/evolutions/Evolutions.java", "func_name": "Evolutions.fromMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create an evolutions reader based on a simple map of database names to evolutions.\n\n@param evolutions The map of database names to evolutions.\n@return the evolutions reader.", "docstring_tokens": ["Create", "an", "evolutions", "reader", "based", "on", "a", "simple", "map", "of", "database", "names", "to", "evolutions", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/persistence/play-jdbc-evolutions/src/main/java/play/db/evolutions/Evolutions.java#L56-L59", "partition": "test"} +{"repo": "playframework/playframework", "path": "persistence/play-jdbc-evolutions/src/main/java/play/db/evolutions/Evolutions.java", "func_name": "Evolutions.forDefault", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create an evolutions reader for the default database from a list of evolutions.\n\n@param evolutions The list of evolutions.\n@return the evolutions reader.", "docstring_tokens": ["Create", "an", "evolutions", "reader", "for", "the", "default", "database", "from", "a", "list", "of", "evolutions", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/persistence/play-jdbc-evolutions/src/main/java/play/db/evolutions/Evolutions.java#L67-L71", "partition": "test"} +{"repo": "playframework/playframework", "path": "persistence/play-jdbc-evolutions/src/main/java/play/db/evolutions/Evolutions.java", "func_name": "Evolutions.cleanupEvolutions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Cleanup evolutions for the given database.\n\n

This will run the down scripts for all the applied evolutions.\n\n@param database The database to apply the evolutions to.\n@param autocommit Whether autocommit should be used.\n@param schema The schema where all the play evolution tables are saved in", "docstring_tokens": ["Cleanup", "evolutions", "for", "the", "given", "database", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/persistence/play-jdbc-evolutions/src/main/java/play/db/evolutions/Evolutions.java#L153-L156", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play-guice/src/main/java/play/inject/guice/GuiceApplicationBuilder.java", "func_name": "GuiceApplicationBuilder.withConfigLoader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the initial configuration loader. Overrides the default or any previously configured\nvalues.\n\n@param load the configuration loader\n@return the configured application builder", "docstring_tokens": ["Set", "the", "initial", "configuration", "loader", ".", "Overrides", "the", "default", "or", "any", "previously", "configured", "values", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play-guice/src/main/java/play/inject/guice/GuiceApplicationBuilder.java#L42-L48", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play-guice/src/main/java/play/inject/guice/GuiceApplicationBuilder.java", "func_name": "GuiceApplicationBuilder.withModuleLoader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the module loader. Overrides the default or any previously configured values.\n\n@param loader the configuration\n@return the configured application builder", "docstring_tokens": ["Set", "the", "module", "loader", ".", "Overrides", "the", "default", "or", "any", "previously", "configured", "values", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play-guice/src/main/java/play/inject/guice/GuiceApplicationBuilder.java#L66-L73", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play-guice/src/main/java/play/inject/guice/GuiceApplicationBuilder.java", "func_name": "GuiceApplicationBuilder.load", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Override the module loader with the given guiceable modules.\n\n@param modules the set of overriding modules\n@return an application builder that incorporates the overrides", "docstring_tokens": ["Override", "the", "module", "loader", "with", "the", "given", "guiceable", "modules", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play-guice/src/main/java/play/inject/guice/GuiceApplicationBuilder.java#L81-L83", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play-guice/src/main/java/play/inject/guice/GuiceApplicationBuilder.java", "func_name": "GuiceApplicationBuilder.load", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Override the module loader with the given Guice modules.\n\n@param modules the set of overriding modules\n@return an application builder that incorporates the overrides", "docstring_tokens": ["Override", "the", "module", "loader", "with", "the", "given", "Guice", "modules", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play-guice/src/main/java/play/inject/guice/GuiceApplicationBuilder.java#L91-L93", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play-guice/src/main/java/play/inject/guice/GuiceApplicationBuilder.java", "func_name": "GuiceApplicationBuilder.load", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Override the module loader with the given Play modules.\n\n@param modules the set of overriding modules\n@return an application builder that incorporates the overrides", "docstring_tokens": ["Override", "the", "module", "loader", "with", "the", "given", "Play", "modules", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play-guice/src/main/java/play/inject/guice/GuiceApplicationBuilder.java#L101-L103", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play-guice/src/main/java/play/inject/guice/GuiceApplicationBuilder.java", "func_name": "GuiceApplicationBuilder.load", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Override the module loader with the given Play bindings.\n\n@param bindings the set of binding override\n@return an application builder that incorporates the overrides", "docstring_tokens": ["Override", "the", "module", "loader", "with", "the", "given", "Play", "bindings", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play-guice/src/main/java/play/inject/guice/GuiceApplicationBuilder.java#L111-L113", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play-guice/src/main/java/play/inject/guice/GuiceApplicationBuilder.java", "func_name": "GuiceApplicationBuilder.newBuilder", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Implementation of Self creation for GuiceBuilder.\n\n@return the application builder", "docstring_tokens": ["Implementation", "of", "Self", "creation", "for", "GuiceBuilder", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play-guice/src/main/java/play/inject/guice/GuiceApplicationBuilder.java#L129-L132", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/core/cookie/encoding/ClientCookieEncoder.java", "func_name": "ClientCookieEncoder.encode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Encodes the specified cookie into a Cookie header value.\n\n@param cookie specified the cookie\n@return a Rfc6265 style Cookie header value", "docstring_tokens": ["Encodes", "the", "specified", "cookie", "into", "a", "Cookie", "header", "value", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/core/cookie/encoding/ClientCookieEncoder.java#L62-L69", "partition": "test"} +{"repo": "playframework/playframework", "path": "persistence/play-java-jpa/src/main/java/play/db/jpa/JPAEntityManagerContext.java", "func_name": "JPAEntityManagerContext.em", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the default EntityManager for this thread.\n\n@throws RuntimeException if no EntityManager is bound to the current Http.Context or the\ncurrent Thread.\n@return the EntityManager", "docstring_tokens": ["Get", "the", "default", "EntityManager", "for", "this", "thread", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/persistence/play-java-jpa/src/main/java/play/db/jpa/JPAEntityManagerContext.java#L39-L57", "partition": "test"} +{"repo": "playframework/playframework", "path": "persistence/play-java-jpa/src/main/java/play/db/jpa/JPAEntityManagerContext.java", "func_name": "JPAEntityManagerContext.emStack", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the EntityManager stack.\n\n@param threadLocalFallback if true, fall back to a ThreadLocal queue of entity managers if no\nHTTP.Context object is found.\n@return the queue of entity managers.", "docstring_tokens": ["Get", "the", "EntityManager", "stack", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/persistence/play-java-jpa/src/main/java/play/db/jpa/JPAEntityManagerContext.java#L66-L90", "partition": "test"} +{"repo": "playframework/playframework", "path": "persistence/play-java-jpa/src/main/java/play/db/jpa/JPAEntityManagerContext.java", "func_name": "JPAEntityManagerContext.pushOrPopEm", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Pushes or pops the EntityManager stack depending on the value of the em argument. If em is\nnull, then the current EntityManager is popped. If em is non-null, then em is pushed onto the\nstack and becomes the current EntityManager.\n\n@param em the entity manager to push, if null then will pop one off the stack.\n@param threadLocalFallback if true, fall back to a ThreadLocal queue of entity managers if no\nHTTP.Context object is found.", "docstring_tokens": ["Pushes", "or", "pops", "the", "EntityManager", "stack", "depending", "on", "the", "value", "of", "the", "em", "argument", ".", "If", "em", "is", "null", "then", "the", "current", "EntityManager", "is", "popped", ".", "If", "em", "is", "non", "-", "null", "then", "em", "is", "pushed", "onto", "the", "stack", "and", "becomes", "the", "current", "EntityManager", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/persistence/play-java-jpa/src/main/java/play/db/jpa/JPAEntityManagerContext.java#L116-L126", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/libs/streams/AkkaStreams.java", "func_name": "AkkaStreams.bypassWith", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Bypass the given flow using the given splitter function.\n\n

If the splitter function returns Left, they will go through the flow. If it returns Right,\nthey will bypass the flow.\n\n

Uses onlyFirstCanFinishMerge(2) by default.\n\n@param the In type parameter for Flow\n@param the FlowIn type parameter for the left branch in Either.\n@param the Out type parameter for Flow\n@param flow the original flow\n@param splitter the splitter function to use\n@return the flow with a bypass.", "docstring_tokens": ["Bypass", "the", "given", "flow", "using", "the", "given", "splitter", "function", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/libs/streams/AkkaStreams.java#L37-L43", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/libs/streams/AkkaStreams.java", "func_name": "AkkaStreams.bypassWith", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Using the given splitter flow, allow messages to bypass a flow.\n\n

If the splitter flow produces Left, they will be fed into the flow. If it produces Right,\nthey will bypass the flow.\n\n@param the In type parameter for Flow\n@param the FlowIn type parameter for the left branch in Either.\n@param the Out type parameter for Flow.\n@param flow the original flow.\n@param splitter the splitter function.\n@param mergeStrategy the merge strategy (onlyFirstCanFinishMerge, ignoreAfterFinish,\nignoreAfterCancellation)\n@return the flow with a bypass.", "docstring_tokens": ["Using", "the", "given", "splitter", "flow", "allow", "messages", "to", "bypass", "a", "flow", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/libs/streams/AkkaStreams.java#L60-L125", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play-streams/src/main/java/play/libs/streams/ActorFlow.java", "func_name": "ActorFlow.actorRef", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a flow that is handled by an actor.\n\n

Messages can be sent downstream by sending them to the actor passed into the props function.\nThis actor meets the contract of the actor returned by {@link\nakka.stream.javadsl.Source#actorRef}.\n\n

The props function should return the props for an actor to handle the flow. This actor will\nbe created using the passed in {@link akka.actor.ActorRefFactory}. Each message received will\nbe sent to the actor - there is no back pressure, if the actor is unable to process the\nmessages, they will queue up in the actors mailbox. The upstream can be cancelled by the actor\nterminating itself.\n\n@param the In type parameter for a Flow\n@param the Out type parameter for a Flow\n@param props A function that creates the props for actor to handle the flow.\n@param bufferSize The maximum number of elements to buffer.\n@param overflowStrategy The strategy for how to handle a buffer overflow.\n@param factory The Actor Factory used to create the actor to handle the flow - for example, an\nActorSystem.\n@param mat The materializer to materialize the flow.\n@return the flow itself.", "docstring_tokens": ["Create", "a", "flow", "that", "is", "handled", "by", "an", "actor", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play-streams/src/main/java/play/libs/streams/ActorFlow.java#L47-L66", "partition": "test"} +{"repo": "playframework/playframework", "path": "web/play-java-forms/src/main/java/play/data/Form.java", "func_name": "Form.convertErrorArguments", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert the error arguments.\n\n@param arguments The arguments to convert.\n@return The converted arguments.", "docstring_tokens": ["Convert", "the", "error", "arguments", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/web/play-java-forms/src/main/java/play/data/Form.java#L1157-L1170", "partition": "test"} +{"repo": "playframework/playframework", "path": "web/play-java-forms/src/main/java/play/data/Form.java", "func_name": "Form.fill", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Populates this form with an existing value, used for edit forms.\n\n@param value existing value of type T used to fill this form\n@return a copy of this form filled with the new data", "docstring_tokens": ["Populates", "this", "form", "with", "an", "existing", "value", "used", "for", "edit", "forms", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/web/play-java-forms/src/main/java/play/data/Form.java#L1202-L1220", "partition": "test"} +{"repo": "playframework/playframework", "path": "web/play-java-forms/src/main/java/play/data/Form.java", "func_name": "Form.globalErrors", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retrieve all global errors - errors without a key.\n\n@return All global errors.", "docstring_tokens": ["Retrieve", "all", "global", "errors", "-", "errors", "without", "a", "key", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/web/play-java-forms/src/main/java/play/data/Form.java#L1237-L1240", "partition": "test"} +{"repo": "playframework/playframework", "path": "web/play-java-forms/src/main/java/play/data/Form.java", "func_name": "Form.errorsAsJson", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the form errors serialized as Json using the given Lang.\n\n@param lang the language to use.\n@return the JSON node containing the errors.", "docstring_tokens": ["Returns", "the", "form", "errors", "serialized", "as", "Json", "using", "the", "given", "Lang", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/web/play-java-forms/src/main/java/play/data/Form.java#L1323-L1344", "partition": "test"} +{"repo": "playframework/playframework", "path": "web/play-java-forms/src/main/java/play/data/DynamicForm.java", "func_name": "DynamicForm.value", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the concrete value\n\n@param key the string key.\n@return the value", "docstring_tokens": ["Gets", "the", "concrete", "value"], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/web/play-java-forms/src/main/java/play/data/DynamicForm.java#L217-L219", "partition": "test"} +{"repo": "playframework/playframework", "path": "web/play-java-forms/src/main/java/play/data/DynamicForm.java", "func_name": "DynamicForm.fill", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Fills the form with existing data.\n\n@param value the map of values to fill in the form.\n@return the modified form.", "docstring_tokens": ["Fills", "the", "form", "with", "existing", "data", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/web/play-java-forms/src/main/java/play/data/DynamicForm.java#L245-L257", "partition": "test"} +{"repo": "playframework/playframework", "path": "web/play-java-forms/src/main/java/play/data/format/Formatters.java", "func_name": "Formatters.parse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses this string as instance of the given class.\n\n@param text the text to parse\n@param clazz class representing the required type\n@param the type to parse out of the text\n@return the parsed value", "docstring_tokens": ["Parses", "this", "string", "as", "instance", "of", "the", "given", "class", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/web/play-java-forms/src/main/java/play/data/format/Formatters.java#L44-L46", "partition": "test"} +{"repo": "playframework/playframework", "path": "web/play-java-forms/src/main/java/play/data/format/Formatters.java", "func_name": "Formatters.parse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses this string as instance of a specific field\n\n@param field the related field (custom formatters are extracted from this field annotation)\n@param text the text to parse\n@param the type to parse out of the text\n@return the parsed value", "docstring_tokens": ["Parses", "this", "string", "as", "instance", "of", "a", "specific", "field"], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/web/play-java-forms/src/main/java/play/data/format/Formatters.java#L56-L59", "partition": "test"} +{"repo": "playframework/playframework", "path": "web/play-java-forms/src/main/java/play/data/format/Formatters.java", "func_name": "Formatters.print", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Computes the display string for any value.\n\n@param t the value to print\n@param the type to print\n@return the formatted string", "docstring_tokens": ["Computes", "the", "display", "string", "for", "any", "value", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/web/play-java-forms/src/main/java/play/data/format/Formatters.java#L68-L77", "partition": "test"} +{"repo": "playframework/playframework", "path": "web/play-java-forms/src/main/java/play/data/format/Formatters.java", "func_name": "Formatters.print", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Computes the display string for any value, for a specific field.\n\n@param field the related field - custom formatters are extracted from this field annotation\n@param t the value to print\n@param the type to print\n@return the formatted string", "docstring_tokens": ["Computes", "the", "display", "string", "for", "any", "value", "for", "a", "specific", "field", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/web/play-java-forms/src/main/java/play/data/format/Formatters.java#L87-L89", "partition": "test"} +{"repo": "playframework/playframework", "path": "web/play-java-forms/src/main/java/play/data/format/Formatters.java", "func_name": "Formatters.print", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Computes the display string for any value, for a specific type.\n\n@param desc the field descriptor - custom formatters are extracted from this descriptor.\n@param t the value to print\n@param the type to print\n@return the formatted string", "docstring_tokens": ["Computes", "the", "display", "string", "for", "any", "value", "for", "a", "specific", "type", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/web/play-java-forms/src/main/java/play/data/format/Formatters.java#L99-L110", "partition": "test"} +{"repo": "playframework/playframework", "path": "web/play-java-forms/src/main/java/play/data/format/Formatters.java", "func_name": "Formatters.registerOptional", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converter for String -> Optional and Optional -> String", "docstring_tokens": ["Converter", "for", "String", "-", ">", "Optional", "and", "Optional", "-", ">", "String"], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/web/play-java-forms/src/main/java/play/data/format/Formatters.java#L176-L210", "partition": "test"} +{"repo": "playframework/playframework", "path": "web/play-java-forms/src/main/java/play/data/format/Formatters.java", "func_name": "Formatters.register", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers a simple formatter.\n\n@param clazz class handled by this formatter\n@param the type that this formatter will parse and print\n@param formatter the formatter to register\n@return the modified Formatters object.", "docstring_tokens": ["Registers", "a", "simple", "formatter", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/web/play-java-forms/src/main/java/play/data/format/Formatters.java#L220-L239", "partition": "test"} +{"repo": "playframework/playframework", "path": "web/play-java-forms/src/main/java/play/data/format/Formatters.java", "func_name": "Formatters.register", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers an annotation-based formatter.\n\n@param clazz class handled by this formatter\n@param formatter the formatter to register\n@param the annotation type\n@param the type that will be parsed or printed\n@return the modified Formatters object.", "docstring_tokens": ["Registers", "an", "annotation", "-", "based", "formatter", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/web/play-java-forms/src/main/java/play/data/format/Formatters.java#L250-L328", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/core/cookie/encoding/ServerCookieEncoder.java", "func_name": "ServerCookieEncoder.encode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Encodes the specified cookie into a Set-Cookie header value.\n\n@param cookie the cookie\n@return a single Set-Cookie header value", "docstring_tokens": ["Encodes", "the", "specified", "cookie", "into", "a", "Set", "-", "Cookie", "header", "value", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/core/cookie/encoding/ServerCookieEncoder.java#L64-L109", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play-java/src/main/java/play/libs/XPath.java", "func_name": "XPath.selectNodes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Select all nodes that are selected by this XPath expression. If multiple nodes match, multiple\nnodes will be returned. Nodes will be returned in document-order,\n\n@param path the xpath expression\n@param node the starting node\n@return result of evaluating the xpath expression against node", "docstring_tokens": ["Select", "all", "nodes", "that", "are", "selected", "by", "this", "XPath", "expression", ".", "If", "multiple", "nodes", "match", "multiple", "nodes", "will", "be", "returned", ".", "Nodes", "will", "be", "returned", "in", "document", "-", "order"], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play-java/src/main/java/play/libs/XPath.java#L110-L112", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java-scala-2.13+/play/libs/CrossScala.java", "func_name": "CrossScala.toSeq", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts a Java List to Scala Seq.\n\n@param list the java list.\n@return the converted Seq.\n@param the element type.", "docstring_tokens": ["Converts", "a", "Java", "List", "to", "Scala", "Seq", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java-scala-2.13+/play/libs/CrossScala.java#L15-L17", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java-scala-2.13+/play/libs/CrossScala.java", "func_name": "CrossScala.toSeq", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts a Java Array to Scala Seq.\n\n@param array the java array.\n@return the converted Seq.\n@param the element type.", "docstring_tokens": ["Converts", "a", "Java", "Array", "to", "Scala", "Seq", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java-scala-2.13+/play/libs/CrossScala.java#L26-L28", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java-scala-2.13+/play/libs/CrossScala.java", "func_name": "CrossScala.varargs", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts a Java varargs to Scala varargs.\n\n@param array the java array.\n@return the Scala varargs\n@param the element type.", "docstring_tokens": ["Converts", "a", "Java", "varargs", "to", "Scala", "varargs", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java-scala-2.13+/play/libs/CrossScala.java#L37-L40", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/mvc/WebSocket.java", "func_name": "WebSocket.json", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Acceptor for JSON WebSockets.\n\n@param in The class of the incoming messages, used to decode them from the JSON.\n@param The websocket's input type (what it receives from clients)\n@param The websocket's output type (what it writes to clients)\n@return The WebSocket acceptor.", "docstring_tokens": ["Acceptor", "for", "JSON", "WebSockets", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/mvc/WebSocket.java#L97-L123", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/mvc/WebSocket.java", "func_name": "WebSocket.acceptOrResult", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Helper to create handlers for WebSockets.\n\n@param inMapper Function to map input messages. If it produces left, the message will be passed\nto the WebSocket flow, if it produces right, the message will be sent back out to the\nclient - this can be used to send errors directly to the client.\n@param f The function to handle the WebSocket.\n@param outMapper Function to map output messages.\n@return The WebSocket handler.", "docstring_tokens": ["Helper", "to", "create", "handlers", "for", "WebSockets", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/mvc/WebSocket.java#L177-L201", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/libs/reflect/MemberUtils.java", "func_name": "MemberUtils.setAccessibleWorkaround", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "XXX Default access superclass workaround.\n\n

When a {@code public} class has a default access superclass with {@code public} members,\nthese members are accessible. Calling them from compiled code works fine. Unfortunately, on\nsome JVMs, using reflection to invoke these members seems to (wrongly) prevent access even when\nthe modifier is {@code public}. Calling {@code setAccessible(true)} solves the problem but will\nonly work from sufficiently privileged code. Better workarounds would be gratefully accepted.\n\n@param o the AccessibleObject to set as accessible\n@return a boolean indicating whether the accessibility of the object was set to true.", "docstring_tokens": ["XXX", "Default", "access", "superclass", "workaround", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/libs/reflect/MemberUtils.java#L63-L79", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/libs/reflect/MemberUtils.java", "func_name": "MemberUtils.getPrimitivePromotionCost", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the number of steps required to promote a primitive number to another type.\n\n@param srcClass the (primitive) source class\n@param destClass the (primitive) destination class\n@return The cost of promoting the primitive", "docstring_tokens": ["Gets", "the", "number", "of", "steps", "required", "to", "promote", "a", "primitive", "number", "to", "another", "type", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/libs/reflect/MemberUtils.java#L136-L154", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/libs/reflect/MemberUtils.java", "func_name": "MemberUtils.getTotalTransformationCost", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the sum of the object transformation cost for each class in the source argument list.\n\n@param srcArgs The source arguments\n@param executable The executable to calculate transformation costs for\n@return The total transformation cost", "docstring_tokens": ["Returns", "the", "sum", "of", "the", "object", "transformation", "cost", "for", "each", "class", "in", "the", "source", "argument", "list", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/libs/reflect/MemberUtils.java#L163-L202", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/libs/reflect/MemberUtils.java", "func_name": "MemberUtils.getObjectTransformationCost", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the number of steps required needed to turn the source class into the destination class.\nThis represents the number of steps in the object hierarchy graph.\n\n@param srcClass The source class\n@param destClass The destination class\n@return The cost of transforming an object", "docstring_tokens": ["Gets", "the", "number", "of", "steps", "required", "needed", "to", "turn", "the", "source", "class", "into", "the", "destination", "class", ".", "This", "represents", "the", "number", "of", "steps", "in", "the", "object", "hierarchy", "graph", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/libs/reflect/MemberUtils.java#L212-L238", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/i18n/MessagesImpl.java", "func_name": "MessagesImpl.at", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the message at the given key.\n\n

Uses `java.text.MessageFormat` internally to format the message.\n\n@param key the message key\n@param args the message arguments\n@return the formatted message or a default rendering if the key wasn't defined", "docstring_tokens": ["Get", "the", "message", "at", "the", "given", "key", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/i18n/MessagesImpl.java#L48-L50", "partition": "test"} +{"repo": "playframework/playframework", "path": "core/play/src/main/java/play/i18n/MessagesImpl.java", "func_name": "MessagesImpl.at", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the message at the first defined key.\n\n

Uses `java.text.MessageFormat` internally to format the message.\n\n@param keys the messages keys\n@param args the message arguments\n@return the formatted message or a default rendering if the key wasn't defined", "docstring_tokens": ["Get", "the", "message", "at", "the", "first", "defined", "key", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/core/play/src/main/java/play/i18n/MessagesImpl.java#L61-L63", "partition": "test"} +{"repo": "playframework/playframework", "path": "persistence/play-java-jdbc/src/main/java/play/db/Databases.java", "func_name": "Databases.createFrom", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a pooled database named \"default\" with the given configuration.\n\n@param driver the database driver class\n@param url the database url\n@param config a map of extra database configuration\n@return a configured database", "docstring_tokens": ["Create", "a", "pooled", "database", "named", "default", "with", "the", "given", "configuration", "."], "sha": "3c46dca803d24e715d85de678c59dcfac9525a00", "url": "https://github.com/playframework/playframework/blob/3c46dca803d24e715d85de678c59dcfac9525a00/persistence/play-java-jdbc/src/main/java/play/db/Databases.java#L60-L63", "partition": "test"} +{"repo": "cglib/cglib", "path": "cglib/src/main/java/net/sf/cglib/util/ParallelSorter.java", "func_name": "ParallelSorter.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a new ParallelSorter object for a set of arrays. You may\nsort the arrays multiple times via the same ParallelSorter object.\n@param arrays An array of arrays to sort. The arrays may be a mix\nof primitive and non-primitive types, but should all be the same\nlength.\n@param loader ClassLoader for generated class, uses \"current\" if null", "docstring_tokens": ["Create", "a", "new", "ParallelSorter", "object", "for", "a", "set", "of", "arrays", ".", "You", "may", "sort", "the", "arrays", "multiple", "times", "via", "the", "same", "ParallelSorter", "object", "."], "sha": "cd01695c11fd3c66641b295b9596f74cf13c548b", "url": "https://github.com/cglib/cglib/blob/cd01695c11fd3c66641b295b9596f74cf13c548b/cglib/src/main/java/net/sf/cglib/util/ParallelSorter.java#L65-L69", "partition": "test"} +{"repo": "cglib/cglib", "path": "cglib/src/main/java/net/sf/cglib/util/ParallelSorter.java", "func_name": "ParallelSorter.quickSort", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sort the arrays using the quicksort algorithm.\n@param index array (column) to sort by\n@param lo starting array index (row), inclusive\n@param hi ending array index (row), exclusive\n@param cmp Comparator to use if the specified column is non-primitive", "docstring_tokens": ["Sort", "the", "arrays", "using", "the", "quicksort", "algorithm", "."], "sha": "cd01695c11fd3c66641b295b9596f74cf13c548b", "url": "https://github.com/cglib/cglib/blob/cd01695c11fd3c66641b295b9596f74cf13c548b/cglib/src/main/java/net/sf/cglib/util/ParallelSorter.java#L109-L112", "partition": "test"} +{"repo": "cglib/cglib", "path": "cglib/src/main/java/net/sf/cglib/util/ParallelSorter.java", "func_name": "ParallelSorter.mergeSort", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sort the arrays using an in-place merge sort.\n@param index array (column) to sort by\n@param lo starting array index (row), inclusive\n@param hi ending array index (row), exclusive\n@param cmp Comparator to use if the specified column is non-primitive", "docstring_tokens": ["Sort", "the", "arrays", "using", "an", "in", "-", "place", "merge", "sort", "."], "sha": "cd01695c11fd3c66641b295b9596f74cf13c548b", "url": "https://github.com/cglib/cglib/blob/cd01695c11fd3c66641b295b9596f74cf13c548b/cglib/src/main/java/net/sf/cglib/util/ParallelSorter.java#L148-L151", "partition": "test"} +{"repo": "cglib/cglib", "path": "cglib/src/main/java/net/sf/cglib/proxy/MethodProxy.java", "func_name": "MethodProxy.invoke", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Invoke the original method, on a different object of the same type.\n@param obj the compatible object; recursion will result if you use the object passed as the first\nargument to the MethodInterceptor (usually not what you want)\n@param args the arguments passed to the intercepted method; you may substitute a different\nargument array as long as the types are compatible\n@see MethodInterceptor#intercept\n@throws Throwable the bare exceptions thrown by the called method are passed through\nwithout wrapping in an InvocationTargetException", "docstring_tokens": ["Invoke", "the", "original", "method", "on", "a", "different", "object", "of", "the", "same", "type", "."], "sha": "cd01695c11fd3c66641b295b9596f74cf13c548b", "url": "https://github.com/cglib/cglib/blob/cd01695c11fd3c66641b295b9596f74cf13c548b/cglib/src/main/java/net/sf/cglib/proxy/MethodProxy.java#L200-L212", "partition": "test"} +{"repo": "cglib/cglib", "path": "cglib/src/main/java/net/sf/cglib/core/CodeEmitter.java", "func_name": "CodeEmitter.cast_numeric", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Casts from one primitive numeric type to another", "docstring_tokens": ["Casts", "from", "one", "primitive", "numeric", "type", "to", "another"], "sha": "cd01695c11fd3c66641b295b9596f74cf13c548b", "url": "https://github.com/cglib/cglib/blob/cd01695c11fd3c66641b295b9596f74cf13c548b/cglib/src/main/java/net/sf/cglib/core/CodeEmitter.java#L251-L296", "partition": "test"} +{"repo": "cglib/cglib", "path": "cglib/src/main/java/net/sf/cglib/core/CodeEmitter.java", "func_name": "CodeEmitter.load_arg", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Pushes the specified argument of the current method onto the stack.\n@param index the zero-based index into the argument list", "docstring_tokens": ["Pushes", "the", "specified", "argument", "of", "the", "current", "method", "onto", "the", "stack", "."], "sha": "cd01695c11fd3c66641b295b9596f74cf13c548b", "url": "https://github.com/cglib/cglib/blob/cd01695c11fd3c66641b295b9596f74cf13c548b/cglib/src/main/java/net/sf/cglib/core/CodeEmitter.java#L373-L376", "partition": "test"} +{"repo": "cglib/cglib", "path": "cglib/src/main/java/net/sf/cglib/core/CodeEmitter.java", "func_name": "CodeEmitter.emit_field", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "package-protected for EmitUtils, try to fix", "docstring_tokens": ["package", "-", "protected", "for", "EmitUtils", "try", "to", "fix"], "sha": "cd01695c11fd3c66641b295b9596f74cf13c548b", "url": "https://github.com/cglib/cglib/blob/cd01695c11fd3c66641b295b9596f74cf13c548b/cglib/src/main/java/net/sf/cglib/core/CodeEmitter.java#L467-L472", "partition": "test"} +{"repo": "cglib/cglib", "path": "cglib/src/main/java/net/sf/cglib/core/CodeEmitter.java", "func_name": "CodeEmitter.zero_or_null", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Pushes a zero onto the stack if the argument is a primitive class, or a null otherwise.", "docstring_tokens": ["Pushes", "a", "zero", "onto", "the", "stack", "if", "the", "argument", "is", "a", "primitive", "class", "or", "a", "null", "otherwise", "."], "sha": "cd01695c11fd3c66641b295b9596f74cf13c548b", "url": "https://github.com/cglib/cglib/blob/cd01695c11fd3c66641b295b9596f74cf13c548b/cglib/src/main/java/net/sf/cglib/core/CodeEmitter.java#L795-L815", "partition": "test"} +{"repo": "cglib/cglib", "path": "cglib/src/main/java/net/sf/cglib/core/CodeEmitter.java", "func_name": "CodeEmitter.unbox_or_zero", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Unboxes the object on the top of the stack. If the object is null, the\nunboxed primitive value becomes zero.", "docstring_tokens": ["Unboxes", "the", "object", "on", "the", "top", "of", "the", "stack", ".", "If", "the", "object", "is", "null", "the", "unboxed", "primitive", "value", "becomes", "zero", "."], "sha": "cd01695c11fd3c66641b295b9596f74cf13c548b", "url": "https://github.com/cglib/cglib/blob/cd01695c11fd3c66641b295b9596f74cf13c548b/cglib/src/main/java/net/sf/cglib/core/CodeEmitter.java#L821-L838", "partition": "test"} +{"repo": "cglib/cglib", "path": "cglib/src/main/java/net/sf/cglib/core/EmitUtils.java", "func_name": "EmitUtils.process_array", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Process an array on the stack. Assumes the top item on the stack\nis an array of the specified type. For each element in the array,\nputs the element on the stack and triggers the callback.\n@param type the type of the array (type.isArray() must be true)\n@param callback the callback triggered for each element", "docstring_tokens": ["Process", "an", "array", "on", "the", "stack", ".", "Assumes", "the", "top", "item", "on", "the", "stack", "is", "an", "array", "of", "the", "specified", "type", ".", "For", "each", "element", "in", "the", "array", "puts", "the", "element", "on", "the", "stack", "and", "triggers", "the", "callback", "."], "sha": "cd01695c11fd3c66641b295b9596f74cf13c548b", "url": "https://github.com/cglib/cglib/blob/cd01695c11fd3c66641b295b9596f74cf13c548b/cglib/src/main/java/net/sf/cglib/core/EmitUtils.java#L103-L126", "partition": "test"} +{"repo": "cglib/cglib", "path": "cglib/src/main/java/net/sf/cglib/core/EmitUtils.java", "func_name": "EmitUtils.nullcmp", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If both objects on the top of the stack are non-null, does nothing.\nIf one is null, or both are null, both are popped off and execution\nbranches to the respective label.\n@param oneNull label to branch to if only one of the objects is null\n@param bothNull label to branch to if both of the objects are null", "docstring_tokens": ["If", "both", "objects", "on", "the", "top", "of", "the", "stack", "are", "non", "-", "null", "does", "nothing", ".", "If", "one", "is", "null", "or", "both", "are", "null", "both", "are", "popped", "off", "and", "execution", "branches", "to", "the", "respective", "label", "."], "sha": "cd01695c11fd3c66641b295b9596f74cf13c548b", "url": "https://github.com/cglib/cglib/blob/cd01695c11fd3c66641b295b9596f74cf13c548b/cglib/src/main/java/net/sf/cglib/core/EmitUtils.java#L560-L579", "partition": "test"} +{"repo": "cglib/cglib", "path": "cglib/src/main/java/net/sf/cglib/proxy/BridgeMethodResolver.java", "func_name": "BridgeMethodResolver.resolveAll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds all bridge methods that are being called with invokespecial &\nreturns them.", "docstring_tokens": ["Finds", "all", "bridge", "methods", "that", "are", "being", "called", "with", "invokespecial", "&", "returns", "them", "."], "sha": "cd01695c11fd3c66641b295b9596f74cf13c548b", "url": "https://github.com/cglib/cglib/blob/cd01695c11fd3c66641b295b9596f74cf13c548b/cglib/src/main/java/net/sf/cglib/proxy/BridgeMethodResolver.java#L56-L77", "partition": "test"} +{"repo": "cglib/cglib", "path": "cglib/src/main/java/net/sf/cglib/proxy/Enhancer.java", "func_name": "Enhancer.getMethods", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds all of the methods that will be extended by an\nEnhancer-generated class using the specified superclass and\ninterfaces. This can be useful in building a list of Callback\nobjects. The methods are added to the end of the given list. Due\nto the subclassing nature of the classes generated by Enhancer,\nthe methods are guaranteed to be non-static, non-final, and\nnon-private. Each method signature will only occur once, even if\nit occurs in multiple classes.\n@param superclass the class that will be extended, or null\n@param interfaces the list of interfaces that will be implemented, or null\n@param methods the list into which to copy the applicable methods", "docstring_tokens": ["Finds", "all", "of", "the", "methods", "that", "will", "be", "extended", "by", "an", "Enhancer", "-", "generated", "class", "using", "the", "specified", "superclass", "and", "interfaces", ".", "This", "can", "be", "useful", "in", "building", "a", "list", "of", "Callback", "objects", ".", "The", "methods", "are", "added", "to", "the", "end", "of", "the", "given", "list", ".", "Due", "to", "the", "subclassing", "nature", "of", "the", "classes", "generated", "by", "Enhancer", "the", "methods", "are", "guaranteed", "to", "be", "non", "-", "static", "non", "-", "final", "and", "non", "-", "private", ".", "Each", "method", "signature", "will", "only", "occur", "once", "even", "if", "it", "occurs", "in", "multiple", "classes", "."], "sha": "cd01695c11fd3c66641b295b9596f74cf13c548b", "url": "https://github.com/cglib/cglib/blob/cd01695c11fd3c66641b295b9596f74cf13c548b/cglib/src/main/java/net/sf/cglib/proxy/Enhancer.java#L533-L536", "partition": "test"} +{"repo": "cglib/cglib", "path": "cglib/src/main/java/net/sf/cglib/proxy/Enhancer.java", "func_name": "Enhancer.filterConstructors", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Filter the list of constructors from the superclass. The\nconstructors which remain will be included in the generated\nclass. The default implementation is to filter out all private\nconstructors, but subclasses may extend Enhancer to override this\nbehavior.\n@param sc the superclass\n@param constructors the list of all declared constructors from the superclass\n@throws IllegalArgumentException if there are no non-private constructors", "docstring_tokens": ["Filter", "the", "list", "of", "constructors", "from", "the", "superclass", ".", "The", "constructors", "which", "remain", "will", "be", "included", "in", "the", "generated", "class", ".", "The", "default", "implementation", "is", "to", "filter", "out", "all", "private", "constructors", "but", "subclasses", "may", "extend", "Enhancer", "to", "override", "this", "behavior", "."], "sha": "cd01695c11fd3c66641b295b9596f74cf13c548b", "url": "https://github.com/cglib/cglib/blob/cd01695c11fd3c66641b295b9596f74cf13c548b/cglib/src/main/java/net/sf/cglib/proxy/Enhancer.java#L663-L667", "partition": "test"} +{"repo": "cglib/cglib", "path": "cglib/src/main/java/net/sf/cglib/beans/BeanGenerator.java", "func_name": "BeanGenerator.setSuperclass", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the class which the generated class will extend. The class\nmust not be declared as final, and must have a non-private\nno-argument constructor.\n@param superclass class to extend, or null to extend Object", "docstring_tokens": ["Set", "the", "class", "which", "the", "generated", "class", "will", "extend", ".", "The", "class", "must", "not", "be", "declared", "as", "final", "and", "must", "have", "a", "non", "-", "private", "no", "-", "argument", "constructor", "."], "sha": "cd01695c11fd3c66641b295b9596f74cf13c548b", "url": "https://github.com/cglib/cglib/blob/cd01695c11fd3c66641b295b9596f74cf13c548b/cglib/src/main/java/net/sf/cglib/beans/BeanGenerator.java#L52-L57", "partition": "test"} +{"repo": "cglib/cglib", "path": "cglib/src/main/java/net/sf/cglib/transform/impl/FieldProviderTransformer.java", "func_name": "FieldProviderTransformer.getField", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "to avoid JVM hashcode implementation incompatibilities", "docstring_tokens": ["to", "avoid", "JVM", "hashcode", "implementation", "incompatibilities"], "sha": "cd01695c11fd3c66641b295b9596f74cf13c548b", "url": "https://github.com/cglib/cglib/blob/cd01695c11fd3c66641b295b9596f74cf13c548b/cglib/src/main/java/net/sf/cglib/transform/impl/FieldProviderTransformer.java#L172-L188", "partition": "test"} +{"repo": "cglib/cglib", "path": "cglib/src/main/java/net/sf/cglib/proxy/InterfaceMaker.java", "func_name": "InterfaceMaker.add", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a method signature to the interface. The method modifiers are ignored,\nsince interface methods are by definition abstract and public.\n@param method the method to add to the interface", "docstring_tokens": ["Add", "a", "method", "signature", "to", "the", "interface", ".", "The", "method", "modifiers", "are", "ignored", "since", "interface", "methods", "are", "by", "definition", "abstract", "and", "public", "."], "sha": "cd01695c11fd3c66641b295b9596f74cf13c548b", "url": "https://github.com/cglib/cglib/blob/cd01695c11fd3c66641b295b9596f74cf13c548b/cglib/src/main/java/net/sf/cglib/proxy/InterfaceMaker.java#L60-L63", "partition": "test"} +{"repo": "cglib/cglib", "path": "cglib/src/main/java/net/sf/cglib/core/TinyBitSet.java", "func_name": "TinyBitSet.cardinality", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If bit 31 is set then this method results in an infinite loop.\n\n@return the number of bits set to true in this TinyBitSet.", "docstring_tokens": ["If", "bit", "31", "is", "set", "then", "this", "method", "results", "in", "an", "infinite", "loop", "."], "sha": "cd01695c11fd3c66641b295b9596f74cf13c548b", "url": "https://github.com/cglib/cglib/blob/cd01695c11fd3c66641b295b9596f74cf13c548b/cglib/src/main/java/net/sf/cglib/core/TinyBitSet.java#L63-L71", "partition": "test"} +{"repo": "cglib/cglib", "path": "cglib/src/main/java/net/sf/cglib/core/AbstractClassGenerator.java", "func_name": "AbstractClassGenerator.setNamingPolicy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Override the default naming policy.\n@see DefaultNamingPolicy\n@param namingPolicy the custom policy, or null to use the default", "docstring_tokens": ["Override", "the", "default", "naming", "policy", "."], "sha": "cd01695c11fd3c66641b295b9596f74cf13c548b", "url": "https://github.com/cglib/cglib/blob/cd01695c11fd3c66641b295b9596f74cf13c548b/cglib/src/main/java/net/sf/cglib/core/AbstractClassGenerator.java#L178-L182", "partition": "test"} +{"repo": "cglib/cglib", "path": "cglib/src/main/java/net/sf/cglib/core/ReflectUtils.java", "func_name": "ReflectUtils.findMethods", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "used by MethodInterceptorGenerated generated code", "docstring_tokens": ["used", "by", "MethodInterceptorGenerated", "generated", "code"], "sha": "cd01695c11fd3c66641b295b9596f74cf13c548b", "url": "https://github.com/cglib/cglib/blob/cd01695c11fd3c66641b295b9596f74cf13c548b/cglib/src/main/java/net/sf/cglib/core/ReflectUtils.java#L528-L543", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/PathUtil.java", "func_name": "PathUtil.resolve", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves subpath in safer way. For some reason, if child starts with\na separator it gets resolved as a full path, ignoring the base.\nThis method acts different.", "docstring_tokens": ["Resolves", "subpath", "in", "safer", "way", ".", "For", "some", "reason", "if", "child", "starts", "with", "a", "separator", "it", "gets", "resolved", "as", "a", "full", "path", "ignoring", "the", "base", ".", "This", "method", "acts", "different", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/PathUtil.java#L48-L53", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/PathUtil.java", "func_name": "PathUtil.readString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads path content.", "docstring_tokens": ["Reads", "path", "content", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/PathUtil.java#L65-L71", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/HttpRequest.java", "func_name": "HttpRequest.host", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets request host name.", "docstring_tokens": ["Sets", "request", "host", "name", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/HttpRequest.java#L87-L93", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/HttpRequest.java", "func_name": "HttpRequest.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generic request builder, usually used when method is a variable.\nOtherwise, use one of the other static request builder methods.", "docstring_tokens": ["Generic", "request", "builder", "usually", "used", "when", "method", "is", "a", "variable", ".", "Otherwise", "use", "one", "of", "the", "other", "static", "request", "builder", "methods", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/HttpRequest.java#L210-L214", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/HttpRequest.java", "func_name": "HttpRequest.connect", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds a CONNECT request.", "docstring_tokens": ["Builds", "a", "CONNECT", "request", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/HttpRequest.java#L219-L223", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/HttpRequest.java", "func_name": "HttpRequest.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds a GET request.", "docstring_tokens": ["Builds", "a", "GET", "request", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/HttpRequest.java#L227-L231", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/HttpRequest.java", "func_name": "HttpRequest.post", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds a POST request.", "docstring_tokens": ["Builds", "a", "POST", "request", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/HttpRequest.java#L235-L239", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/HttpRequest.java", "func_name": "HttpRequest.put", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds a PUT request.", "docstring_tokens": ["Builds", "a", "PUT", "request", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/HttpRequest.java#L243-L247", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/HttpRequest.java", "func_name": "HttpRequest.patch", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds a PATCH request.", "docstring_tokens": ["Builds", "a", "PATCH", "request", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/HttpRequest.java#L251-L255", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/HttpRequest.java", "func_name": "HttpRequest.delete", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds a DELETE request.", "docstring_tokens": ["Builds", "a", "DELETE", "request", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/HttpRequest.java#L259-L263", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/HttpRequest.java", "func_name": "HttpRequest.head", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds a HEAD request.", "docstring_tokens": ["Builds", "a", "HEAD", "request", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/HttpRequest.java#L267-L271", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/HttpRequest.java", "func_name": "HttpRequest.trace", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds a TRACE request.", "docstring_tokens": ["Builds", "a", "TRACE", "request", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/HttpRequest.java#L275-L279", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/HttpRequest.java", "func_name": "HttpRequest.options", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds an OPTIONS request.", "docstring_tokens": ["Builds", "an", "OPTIONS", "request", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/HttpRequest.java#L283-L287", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/HttpRequest.java", "func_name": "HttpRequest.path", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets request path. Query string is allowed.\nAdds a slash if path doesn't start with one.\nQuery will be stripped out from the path.\nPrevious query is discarded.\n@see #query()", "docstring_tokens": ["Sets", "request", "path", ".", "Query", "string", "is", "allowed", ".", "Adds", "a", "slash", "if", "path", "doesn", "t", "start", "with", "one", ".", "Query", "will", "be", "stripped", "out", "from", "the", "path", ".", "Previous", "query", "is", "discarded", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/HttpRequest.java#L325-L347", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/HttpRequest.java", "func_name": "HttpRequest.cookies", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets cookies to the request.", "docstring_tokens": ["Sets", "cookies", "to", "the", "request", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/HttpRequest.java#L366-L394", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/HttpRequest.java", "func_name": "HttpRequest.query", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds many query parameters at once. Although it accepts objects,\neach value will be converted to string.", "docstring_tokens": ["Adds", "many", "query", "parameters", "at", "once", ".", "Although", "it", "accepts", "objects", "each", "value", "will", "be", "converted", "to", "string", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/HttpRequest.java#L411-L421", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/HttpRequest.java", "func_name": "HttpRequest.query", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds all parameters from the provided map.", "docstring_tokens": ["Adds", "all", "parameters", "from", "the", "provided", "map", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/HttpRequest.java#L426-L431", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/HttpRequest.java", "func_name": "HttpRequest.queryString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets query from provided query string. Previous query values\nare discarded.", "docstring_tokens": ["Sets", "query", "from", "provided", "query", "string", ".", "Previous", "query", "values", "are", "discarded", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/HttpRequest.java#L469-L472", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/HttpRequest.java", "func_name": "HttpRequest.queryString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates query string. All values are URL encoded.", "docstring_tokens": ["Generates", "query", "string", ".", "All", "values", "are", "URL", "encoded", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/HttpRequest.java#L477-L482", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/HttpRequest.java", "func_name": "HttpRequest.hostUrl", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns just host url, without path and query.", "docstring_tokens": ["Returns", "just", "host", "url", "without", "path", "and", "query", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/HttpRequest.java#L525-L543", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/HttpRequest.java", "func_name": "HttpRequest.basicAuthentication", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Enables basic authentication by adding required header.", "docstring_tokens": ["Enables", "basic", "authentication", "by", "adding", "required", "header", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/HttpRequest.java#L550-L560", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/HttpRequest.java", "func_name": "HttpRequest.setHostHeader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets 'Host' header from current host and port.", "docstring_tokens": ["Sets", "Host", "header", "from", "current", "host", "and", "port", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/HttpRequest.java#L613-L622", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/HttpRequest.java", "func_name": "HttpRequest.buffer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Prepares the request buffer.", "docstring_tokens": ["Prepares", "the", "request", "buffer", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/HttpRequest.java#L922-L973", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/HttpRequest.java", "func_name": "HttpRequest.sendAndReceive", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Syntax sugar.", "docstring_tokens": ["Syntax", "sugar", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/HttpRequest.java#L1049-L1051", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/Handler.java", "func_name": "Handler.removeRange", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes the range between start and end from the Handler list that begins with the given\nelement.\n\n@param firstHandler the beginning of a Handler list. May be {@literal null}.\n@param start the start of the range to be removed.\n@param end the end of the range to be removed. Maybe {@literal null}.\n@return the exception handler list with the start-end range removed.", "docstring_tokens": ["Removes", "the", "range", "between", "start", "and", "end", "from", "the", "Handler", "list", "that", "begins", "with", "the", "given", "element", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/Handler.java#L119-L150", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/Handler.java", "func_name": "Handler.getExceptionTableLength", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the number of elements of the Handler list that begins with the given element.\n\n@param firstHandler the beginning of a Handler list. May be {@literal null}.\n@return the number of elements of the Handler list that begins with 'handler'.", "docstring_tokens": ["Returns", "the", "number", "of", "elements", "of", "the", "Handler", "list", "that", "begins", "with", "the", "given", "element", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/Handler.java#L158-L166", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/action/MadvocConfigurations.java", "func_name": "MadvocConfigurations.collectActionInterceptors", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Collects all interceptors.", "docstring_tokens": ["Collects", "all", "interceptors", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/action/MadvocConfigurations.java#L78-L83", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/action/MadvocConfigurations.java", "func_name": "MadvocConfigurations.collectActionFilters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Collects all filters.", "docstring_tokens": ["Collects", "all", "filters", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/action/MadvocConfigurations.java#L88-L93", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/action/MadvocConfigurations.java", "func_name": "MadvocConfigurations.collectActionResults", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Collects all action results.", "docstring_tokens": ["Collects", "all", "action", "results", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/action/MadvocConfigurations.java#L98-L103", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/action/MadvocConfigurations.java", "func_name": "MadvocConfigurations.collectActionRuntimes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Collects all action runtime configurations.", "docstring_tokens": ["Collects", "all", "action", "runtime", "configurations", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/action/MadvocConfigurations.java#L108-L111", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-bean/src/main/java/jodd/bean/BeanUtilBean.java", "func_name": "BeanUtilBean.setSimpleProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets a value of simple property.", "docstring_tokens": ["Sets", "a", "value", "of", "simple", "property", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-bean/src/main/java/jodd/bean/BeanUtilBean.java#L204-L223", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-bean/src/main/java/jodd/bean/BeanUtilBean.java", "func_name": "BeanUtilBean.getProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns value of bean's property.", "docstring_tokens": ["Returns", "value", "of", "bean", "s", "property", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-bean/src/main/java/jodd/bean/BeanUtilBean.java#L491-L507", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-bean/src/main/java/jodd/bean/BeanUtilBean.java", "func_name": "BeanUtilBean.extractThisReference", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extract the first name of this reference.", "docstring_tokens": ["Extract", "the", "first", "name", "of", "this", "reference", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-bean/src/main/java/jodd/bean/BeanUtilBean.java#L550-L557", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-servlet/src/main/java/jodd/servlet/filter/CharArrayResponseWrapper.java", "func_name": "CharArrayResponseWrapper.getWriter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns buffered writer. Buffer will be created if not already used.", "docstring_tokens": ["Returns", "buffered", "writer", ".", "Buffer", "will", "be", "created", "if", "not", "already", "used", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-servlet/src/main/java/jodd/servlet/filter/CharArrayResponseWrapper.java#L59-L66", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/sqlgen/TemplateData.java", "func_name": "TemplateData.setObjectReference", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Saves object reference.", "docstring_tokens": ["Saves", "object", "reference", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/sqlgen/TemplateData.java#L95-L100", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/sqlgen/TemplateData.java", "func_name": "TemplateData.getObjectReference", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns object reference.", "docstring_tokens": ["Returns", "object", "reference", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/sqlgen/TemplateData.java#L105-L110", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/sqlgen/TemplateData.java", "func_name": "TemplateData.lookupObject", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Lookups for object reference and throws an exception if reference doesn't exist.", "docstring_tokens": ["Lookups", "for", "object", "reference", "and", "throws", "an", "exception", "if", "reference", "doesn", "t", "exist", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/sqlgen/TemplateData.java#L115-L121", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/sqlgen/TemplateData.java", "func_name": "TemplateData.getTableDescriptor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns entity descriptor for provided table reference.", "docstring_tokens": ["Returns", "entity", "descriptor", "for", "provided", "table", "reference", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/sqlgen/TemplateData.java#L140-L146", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/sqlgen/TemplateData.java", "func_name": "TemplateData.findTableDescriptorByColumnRef", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds entity descriptor of a table that contains provided column reference.", "docstring_tokens": ["Finds", "entity", "descriptor", "of", "a", "table", "that", "contains", "provided", "column", "reference", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/sqlgen/TemplateData.java#L151-L160", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/sqlgen/TemplateData.java", "func_name": "TemplateData.getTableAlias", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns table alias for provided table reference.", "docstring_tokens": ["Returns", "table", "alias", "for", "provided", "table", "reference", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/sqlgen/TemplateData.java#L165-L171", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/sqlgen/TemplateData.java", "func_name": "TemplateData.registerTableReference", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers table reference for provided entity.", "docstring_tokens": ["Registers", "table", "reference", "for", "provided", "entity", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/sqlgen/TemplateData.java#L176-L184", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/sqlgen/TemplateData.java", "func_name": "TemplateData.lookupTableRef", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Lookups for table reference and throws an exception if table reference not found.", "docstring_tokens": ["Lookups", "for", "table", "reference", "and", "throws", "an", "exception", "if", "table", "reference", "not", "found", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/sqlgen/TemplateData.java#L281-L287", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/sqlgen/TemplateData.java", "func_name": "TemplateData.registerHint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers a hint.", "docstring_tokens": ["Registers", "a", "hint", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/sqlgen/TemplateData.java#L312-L317", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/impl/ValueJsonSerializer.java", "func_name": "ValueJsonSerializer.serialize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Detects circular dependencies and pushes value as current\ntype context.", "docstring_tokens": ["Detects", "circular", "dependencies", "and", "pushes", "value", "as", "current", "type", "context", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/impl/ValueJsonSerializer.java#L42-L54", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/scope/RequestScope.java", "func_name": "RequestScope.injectAttributes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Injects request attributes.", "docstring_tokens": ["Injects", "request", "attributes", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/scope/RequestScope.java#L85-L98", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/scope/RequestScope.java", "func_name": "RequestScope.injectParameters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Inject request parameters.", "docstring_tokens": ["Inject", "request", "parameters", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/scope/RequestScope.java#L103-L137", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/scope/RequestScope.java", "func_name": "RequestScope.injectUploadedFiles", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Inject uploaded files from multipart request parameters.", "docstring_tokens": ["Inject", "uploaded", "files", "from", "multipart", "request", "parameters", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/scope/RequestScope.java#L142-L177", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/naming/ColumnNamingStrategy.java", "func_name": "ColumnNamingStrategy.convertPropertyNameToColumnName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts property name to column name.", "docstring_tokens": ["Converts", "property", "name", "to", "column", "name", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/naming/ColumnNamingStrategy.java#L41-L58", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/naming/ColumnNamingStrategy.java", "func_name": "ColumnNamingStrategy.convertColumnNameToPropertyName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts column name to property name.", "docstring_tokens": ["Converts", "column", "name", "to", "property", "name", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/naming/ColumnNamingStrategy.java#L63-L85", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/naming/ColumnNamingStrategy.java", "func_name": "ColumnNamingStrategy.applyToColumnName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Applies column naming strategy to given column name hint.\nReturns full column name.", "docstring_tokens": ["Applies", "column", "naming", "strategy", "to", "given", "column", "name", "hint", ".", "Returns", "full", "column", "name", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/naming/ColumnNamingStrategy.java#L91-L95", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/type/SqlType.java", "func_name": "SqlType.storeValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Stores value in database. Value is casted to sql type.", "docstring_tokens": ["Stores", "value", "in", "database", ".", "Value", "is", "casted", "to", "sql", "type", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/type/SqlType.java#L77-L80", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/type/SqlType.java", "func_name": "SqlType.prepareGetValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Once when value is read from result set, prepare it to match destination type.\n@param t get value\n@param destinationType destination type", "docstring_tokens": ["Once", "when", "value", "is", "read", "from", "result", "set", "prepare", "it", "to", "match", "destination", "type", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/type/SqlType.java#L99-L108", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/component/WrapperManager.java", "func_name": "WrapperManager.getAll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns all action wrappers. Returns a copy in new set.", "docstring_tokens": ["Returns", "all", "action", "wrappers", ".", "Returns", "a", "copy", "in", "new", "set", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/component/WrapperManager.java#L61-L65", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/component/WrapperManager.java", "func_name": "WrapperManager.resolve", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves single wrapper. Creates new wrapper instance if not already registered.\nDoes not expand the wrappers.", "docstring_tokens": ["Resolves", "single", "wrapper", ".", "Creates", "new", "wrapper", "instance", "if", "not", "already", "registered", ".", "Does", "not", "expand", "the", "wrappers", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/component/WrapperManager.java#L79-L92", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/component/WrapperManager.java", "func_name": "WrapperManager.createWrapper", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates new wrapper.", "docstring_tokens": ["Creates", "new", "wrapper", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/component/WrapperManager.java#L165-L171", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/FileNameUtil.java", "func_name": "FileNameUtil.separatorsToSystem", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts all separators to the system separator.\n\n@param path the path to be changed, null ignored\n@return the updated path", "docstring_tokens": ["Converts", "all", "separators", "to", "the", "system", "separator", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/FileNameUtil.java#L434-L443", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/FileNameUtil.java", "func_name": "FileNameUtil.doGetPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Does the work of getting the path.\n\n@param filename the filename\n@param separatorAdd 0 to omit the end separator, 1 to return it\n@return the path", "docstring_tokens": ["Does", "the", "work", "of", "getting", "the", "path", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/FileNameUtil.java#L685-L699", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/FileNameUtil.java", "func_name": "FileNameUtil.split", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Splits filename into a array of four Strings containing prefix, path, basename and extension.\nPath will contain ending separator.", "docstring_tokens": ["Splits", "filename", "into", "a", "array", "of", "four", "Strings", "containing", "prefix", "path", "basename", "and", "extension", ".", "Path", "will", "contain", "ending", "separator", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/FileNameUtil.java#L945-L977", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/FileNameUtil.java", "func_name": "FileNameUtil.relativePath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculates relative path of target path on base path.", "docstring_tokens": ["Calculates", "relative", "path", "of", "target", "path", "on", "base", "path", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/FileNameUtil.java#L1002-L1004", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/WebApp.java", "func_name": "WebApp.registerComponent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers additional Madvoc components after the registration of default components.", "docstring_tokens": ["Registers", "additional", "Madvoc", "components", "after", "the", "registration", "of", "default", "components", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/WebApp.java#L125-L129", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/WebApp.java", "func_name": "WebApp.withActionConfig", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Configures the action configurations.", "docstring_tokens": ["Configures", "the", "action", "configurations", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/WebApp.java#L150-L153", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/WebApp.java", "func_name": "WebApp.start", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Initializes and starts web application.", "docstring_tokens": ["Initializes", "and", "starts", "web", "application", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/WebApp.java#L218-L274", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/WebApp.java", "func_name": "WebApp.configureDefaults", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Configure defaults.", "docstring_tokens": ["Configure", "defaults", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/WebApp.java#L279-L285", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/WebApp.java", "func_name": "WebApp.registerMadvocComponents", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers default Madvoc components.", "docstring_tokens": ["Registers", "default", "Madvoc", "components", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/WebApp.java#L290-L317", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/findfile/ClassScanner.java", "func_name": "ClassScanner.excludeJars", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Specify excluded jars.", "docstring_tokens": ["Specify", "excluded", "jars", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/findfile/ClassScanner.java#L106-L111", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/findfile/ClassScanner.java", "func_name": "ClassScanner.includeJars", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Specify included jars.", "docstring_tokens": ["Specify", "included", "jars", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/findfile/ClassScanner.java#L123-L128", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/findfile/ClassScanner.java", "func_name": "ClassScanner.includeEntries", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets included set of names that will be considered during configuration.\n@see InExRules", "docstring_tokens": ["Sets", "included", "set", "of", "names", "that", "will", "be", "considered", "during", "configuration", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/findfile/ClassScanner.java#L171-L176", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/findfile/ClassScanner.java", "func_name": "ClassScanner.excludeEntries", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets excluded names that narrows included set of packages.\n@see InExRules", "docstring_tokens": ["Sets", "excluded", "names", "that", "narrows", "included", "set", "of", "packages", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/findfile/ClassScanner.java#L205-L210", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/findfile/ClassScanner.java", "func_name": "ClassScanner.scanJarFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Scans classes inside single JAR archive. Archive is scanned as a zip file.\n@see #onEntry(ClassPathEntry)", "docstring_tokens": ["Scans", "classes", "inside", "single", "JAR", "archive", ".", "Archive", "is", "scanned", "as", "a", "zip", "file", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/findfile/ClassScanner.java#L267-L307", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/findfile/ClassScanner.java", "func_name": "ClassScanner.scanClassPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Scans single classpath directory.\n@see #onEntry(ClassPathEntry)", "docstring_tokens": ["Scans", "single", "classpath", "directory", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/findfile/ClassScanner.java#L313-L335", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/findfile/ClassScanner.java", "func_name": "ClassScanner.bytecodeSignatureOfType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns type signature bytes used for searching in class file.", "docstring_tokens": ["Returns", "type", "signature", "bytes", "used", "for", "searching", "in", "class", "file", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/findfile/ClassScanner.java#L422-L425", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/findfile/ClassScanner.java", "func_name": "ClassScanner.scan", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Scans provided paths.", "docstring_tokens": ["Scans", "provided", "paths", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/findfile/ClassScanner.java#L611-L616", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/findfile/ClassScanner.java", "func_name": "ClassScanner.start", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Starts with the scanner.", "docstring_tokens": ["Starts", "with", "the", "scanner", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/findfile/ClassScanner.java#L621-L637", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/jtx/DbJtxTransactionManager.java", "func_name": "DbJtxTransactionManager.createNewTransaction", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds new transaction instance.", "docstring_tokens": ["Builds", "new", "transaction", "instance", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/jtx/DbJtxTransactionManager.java#L77-L80", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/component/ScopeResolver.java", "func_name": "ScopeResolver.defaultOrScopeType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Lookups the scope instance of given scope annotation.\nIf instance does not exist, it will be created, cached and returned.", "docstring_tokens": ["Lookups", "the", "scope", "instance", "of", "given", "scope", "annotation", ".", "If", "instance", "does", "not", "exist", "it", "will", "be", "created", "cached", "and", "returned", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/component/ScopeResolver.java#L52-L59", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/component/ScopeResolver.java", "func_name": "ScopeResolver.getOrInitScope", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Performs search for the scope class and returns it's instance.", "docstring_tokens": ["Performs", "search", "for", "the", "scope", "class", "and", "returns", "it", "s", "instance", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/component/ScopeResolver.java#L64-L82", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/component/ScopeResolver.java", "func_name": "ScopeResolver.forScope", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds a given scope and consumes it.", "docstring_tokens": ["Finds", "a", "given", "scope", "and", "consumes", "it", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/component/ScopeResolver.java#L96-L99", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/Base64.java", "func_name": "Base64.decode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Decodes a BASE64 encoded char array.", "docstring_tokens": ["Decodes", "a", "BASE64", "encoded", "char", "array", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/Base64.java#L102-L140", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-servlet/src/main/java/jodd/servlet/CsrfShield.java", "func_name": "CsrfShield.prepareCsrfToken", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates new CSRF token and puts it in the session. Returns generated token value.", "docstring_tokens": ["Generates", "new", "CSRF", "token", "and", "puts", "it", "in", "the", "session", ".", "Returns", "generated", "token", "value", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-servlet/src/main/java/jodd/servlet/CsrfShield.java#L85-L100", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-servlet/src/main/java/jodd/servlet/CsrfShield.java", "func_name": "CsrfShield.assureSize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes expired tokens if token set is full.\n@see #setMaxTokensPerSession(int)", "docstring_tokens": ["Removes", "expired", "tokens", "if", "token", "set", "is", "full", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-servlet/src/main/java/jodd/servlet/CsrfShield.java#L107-L128", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-servlet/src/main/java/jodd/servlet/CsrfShield.java", "func_name": "CsrfShield.checkCsrfToken", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks token value.\nC", "docstring_tokens": ["Checks", "token", "value", ".", "C"], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-servlet/src/main/java/jodd/servlet/CsrfShield.java#L154-L177", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-bean/src/main/java/jodd/bean/BeanCopy.java", "func_name": "BeanCopy.from", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Defines source, detects a map.", "docstring_tokens": ["Defines", "source", "detects", "a", "map", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-bean/src/main/java/jodd/bean/BeanCopy.java#L90-L96", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-bean/src/main/java/jodd/bean/BeanCopy.java", "func_name": "BeanCopy.copy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Performs the copying.", "docstring_tokens": ["Performs", "the", "copying", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-bean/src/main/java/jodd/bean/BeanCopy.java#L164-L170", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-bean/src/main/java/jodd/bean/BeanCopy.java", "func_name": "BeanCopy.visitProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copies single property to the destination.\nExceptions are ignored, so copying continues if\ndestination does not have some of the sources properties.", "docstring_tokens": ["Copies", "single", "property", "to", "the", "destination", ".", "Exceptions", "are", "ignored", "so", "copying", "continues", "if", "destination", "does", "not", "have", "some", "of", "the", "sources", "properties", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-bean/src/main/java/jodd/bean/BeanCopy.java#L177-L186", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/sqlgen/chunks/TableChunk.java", "func_name": "TableChunk.init", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves and registers table references.", "docstring_tokens": ["Resolves", "and", "registers", "table", "references", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/sqlgen/chunks/TableChunk.java#L106-L131", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/PetiteBeans.java", "func_name": "PetiteBeans.resolveScope", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves and registers scope from a scope type.", "docstring_tokens": ["Resolves", "and", "registers", "scope", "from", "a", "scope", "type", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/PetiteBeans.java#L160-L175", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/PetiteBeans.java", "func_name": "PetiteBeans.registerPetiteBean", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers or defines a bean.\n\n@param type bean type, must be specified\n@param name bean name, if null it will be resolved from the class (name or annotation)\n@param scopeType bean scope, if null it will be resolved from the class (annotation or default one)\n@param wiringMode wiring mode, if null it will be resolved from the class (annotation or default one)\n@param define when set to true bean will be defined - all injection points will be set to none", "docstring_tokens": ["Registers", "or", "defines", "a", "bean", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/PetiteBeans.java#L329-L402", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/PetiteBeans.java", "func_name": "PetiteBeans.registerBean", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers bean definition by putting it in the beans map. If bean does\nnot have petite name explicitly defined, alternative bean names\nwill be registered.", "docstring_tokens": ["Registers", "bean", "definition", "by", "putting", "it", "in", "the", "beans", "map", ".", "If", "bean", "does", "not", "have", "petite", "name", "explicitly", "defined", "alternative", "bean", "names", "will", "be", "registered", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/PetiteBeans.java#L409-L446", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/PetiteBeans.java", "func_name": "PetiteBeans.removeBean", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes all petite beans of provided type. Bean name is not resolved from a type!\nInstead, all beans are iterated and only beans with equal types are removed.\n@see #removeBean(String)", "docstring_tokens": ["Removes", "all", "petite", "beans", "of", "provided", "type", ".", "Bean", "name", "is", "not", "resolved", "from", "a", "type!", "Instead", "all", "beans", "are", "iterated", "and", "only", "beans", "with", "equal", "types", "are", "removed", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/PetiteBeans.java#L453-L467", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/PetiteBeans.java", "func_name": "PetiteBeans.resolveBeanNamesForType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves bean names for give type.", "docstring_tokens": ["Resolves", "bean", "names", "for", "give", "type", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/PetiteBeans.java#L488-L513", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/PetiteBeans.java", "func_name": "PetiteBeans.registerPetiteCtorInjectionPoint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers constructor injection point.\n\n@param beanName bean name\n@param paramTypes constructor parameter types, may be null\n@param references references for arguments", "docstring_tokens": ["Registers", "constructor", "injection", "point", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/PetiteBeans.java#L524-L553", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/PetiteBeans.java", "func_name": "PetiteBeans.registerPetitePropertyInjectionPoint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers property injection point.\n\n@param beanName bean name\n@param property property name\n@param reference explicit injection reference, may be null", "docstring_tokens": ["Registers", "property", "injection", "point", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/PetiteBeans.java#L562-L577", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/PetiteBeans.java", "func_name": "PetiteBeans.registerPetiteSetInjectionPoint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers set injection point.\n\n@param beanName bean name\n@param property set property name", "docstring_tokens": ["Registers", "set", "injection", "point", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/PetiteBeans.java#L585-L598", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/PetiteBeans.java", "func_name": "PetiteBeans.registerPetiteMethodInjectionPoint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers method injection point.\n\n@param beanName bean name\n@param methodName method name\n@param arguments method arguments, may be null\n@param references injection references", "docstring_tokens": ["Registers", "method", "injection", "point", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/PetiteBeans.java#L608-L638", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/PetiteBeans.java", "func_name": "PetiteBeans.registerPetiteInitMethods", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers init method.\n\n@param beanName bean name\n@param invocationStrategy moment of invocation\n@param initMethodNames init method names", "docstring_tokens": ["Registers", "init", "method", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/PetiteBeans.java#L647-L668", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/PetiteBeans.java", "func_name": "PetiteBeans.registerPetiteDestroyMethods", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers destroy method.\n\n@param beanName bean name\n@param destroyMethodNames destroy method names", "docstring_tokens": ["Registers", "destroy", "method", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/PetiteBeans.java#L676-L697", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/PetiteBeans.java", "func_name": "PetiteBeans.registerPetiteProvider", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers instance method provider.\n\n@param providerName provider name\n@param beanName bean name\n@param methodName instance method name\n@param arguments method argument types", "docstring_tokens": ["Registers", "instance", "method", "provider", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/PetiteBeans.java#L709-L728", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/PetiteBeans.java", "func_name": "PetiteBeans.registerPetiteProvider", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers static method provider.\n\n@param providerName provider name\n@param type class type\n@param staticMethodName static method name\n@param arguments method argument types", "docstring_tokens": ["Registers", "static", "method", "provider", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/PetiteBeans.java#L738-L749", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/PetiteBeans.java", "func_name": "PetiteBeans.forEachBeanType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Iterates all beans that are of given type.", "docstring_tokens": ["Iterates", "all", "beans", "that", "are", "of", "given", "type", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/PetiteBeans.java#L792-L798", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/PetiteBeans.java", "func_name": "PetiteBeans.defineParameters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Defines many parameters at once.", "docstring_tokens": ["Defines", "many", "parameters", "at", "once", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/PetiteBeans.java#L819-L823", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/interceptor/EchoInterceptor.java", "func_name": "EchoInterceptor.intercept", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Measure action invocation time.", "docstring_tokens": ["Measure", "action", "invocation", "time", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/interceptor/EchoInterceptor.java#L53-L71", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaAsmUtil.java", "func_name": "ProxettaAsmUtil.resolveJavaVersion", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves Java version from current version.", "docstring_tokens": ["Resolves", "Java", "version", "from", "current", "version", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaAsmUtil.java#L106-L111", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaAsmUtil.java", "func_name": "ProxettaAsmUtil.pushInt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Pushes int value in an optimal way.", "docstring_tokens": ["Pushes", "int", "value", "in", "an", "optimal", "way", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaAsmUtil.java#L118-L126", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaAsmUtil.java", "func_name": "ProxettaAsmUtil.checkArgumentIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Validates argument index.", "docstring_tokens": ["Validates", "argument", "index", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaAsmUtil.java#L138-L142", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaAsmUtil.java", "func_name": "ProxettaAsmUtil.adviceFieldName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds advice field name.", "docstring_tokens": ["Builds", "advice", "field", "name", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaAsmUtil.java#L147-L149", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaAsmUtil.java", "func_name": "ProxettaAsmUtil.adviceMethodName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds advice method name.", "docstring_tokens": ["Builds", "advice", "method", "name", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaAsmUtil.java#L154-L156", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaAsmUtil.java", "func_name": "ProxettaAsmUtil.loadSpecialMethodArguments", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Loads all method arguments before INVOKESPECIAL call.", "docstring_tokens": ["Loads", "all", "method", "arguments", "before", "INVOKESPECIAL", "call", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaAsmUtil.java#L204-L209", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaAsmUtil.java", "func_name": "ProxettaAsmUtil.loadStaticMethodArguments", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Loads all method arguments before INVOKESTATIC call.", "docstring_tokens": ["Loads", "all", "method", "arguments", "before", "INVOKESTATIC", "call", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaAsmUtil.java#L214-L218", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaAsmUtil.java", "func_name": "ProxettaAsmUtil.loadVirtualMethodArguments", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Loads all method arguments before INVOKEVIRTUAL call.", "docstring_tokens": ["Loads", "all", "method", "arguments", "before", "INVOKEVIRTUAL", "call", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaAsmUtil.java#L223-L227", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaAsmUtil.java", "func_name": "ProxettaAsmUtil.loadMethodArgument", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Loads one argument. Index is 1-based. No conversion occurs.", "docstring_tokens": ["Loads", "one", "argument", ".", "Index", "is", "1", "-", "based", ".", "No", "conversion", "occurs", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaAsmUtil.java#L232-L257", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaAsmUtil.java", "func_name": "ProxettaAsmUtil.storeMethodArgument", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Stores one argument. Index is 1-based. No conversion occurs.", "docstring_tokens": ["Stores", "one", "argument", ".", "Index", "is", "1", "-", "based", ".", "No", "conversion", "occurs", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaAsmUtil.java#L308-L329", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaAsmUtil.java", "func_name": "ProxettaAsmUtil.prepareReturnValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Prepares return value.", "docstring_tokens": ["Prepares", "return", "value", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaAsmUtil.java#L533-L565", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaAsmUtil.java", "func_name": "ProxettaAsmUtil.createMethodSignaturesKey", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates unique key for method signatures map.", "docstring_tokens": ["Creates", "unique", "key", "for", "method", "signatures", "map", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaAsmUtil.java#L617-L627", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaAsmUtil.java", "func_name": "ProxettaAsmUtil.newArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates new array.", "docstring_tokens": ["Creates", "new", "array", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaAsmUtil.java#L737-L772", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaAsmUtil.java", "func_name": "ProxettaAsmUtil.storeIntoArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Stores element on stack into an array.", "docstring_tokens": ["Stores", "element", "on", "stack", "into", "an", "array", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaAsmUtil.java#L777-L812", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/EmailUtil.java", "func_name": "EmailUtil.extractEncoding", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extracts encoding from a given content type.\n\n@param contentType content type.\n@param defaultEncoding Default encoding to be used if extract returns {@code null}.\nIf defaultEncoding is {@code null}, {@link JoddCore#encoding} will be used.\n@return Encoding from the content type.\n@see #extractEncoding(String)", "docstring_tokens": ["Extracts", "encoding", "from", "a", "given", "content", "type", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/EmailUtil.java#L109-L119", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/EmailUtil.java", "func_name": "EmailUtil.isEmptyFlags", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check whether flags is a empty flags\n@param flags a flags of message to check\n@return whether the flags is empty", "docstring_tokens": ["Check", "whether", "flags", "is", "a", "empty", "flags"], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/EmailUtil.java#L183-L195", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-servlet/src/main/java/jodd/servlet/ServletUtil.java", "func_name": "ServletUtil.resolveAuthBearerToken", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns Bearer token.", "docstring_tokens": ["Returns", "Bearer", "token", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-servlet/src/main/java/jodd/servlet/ServletUtil.java#L131-L142", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-servlet/src/main/java/jodd/servlet/ServletUtil.java", "func_name": "ServletUtil.requireAuthentication", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sends correct headers to require basic authentication for the given realm.", "docstring_tokens": ["Sends", "correct", "headers", "to", "require", "basic", "authentication", "for", "the", "given", "realm", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-servlet/src/main/java/jodd/servlet/ServletUtil.java#L147-L150", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-servlet/src/main/java/jodd/servlet/ServletUtil.java", "func_name": "ServletUtil.prepareDownload", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Prepares response for file download with provided mime type.", "docstring_tokens": ["Prepares", "response", "for", "file", "download", "with", "provided", "mime", "type", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-servlet/src/main/java/jodd/servlet/ServletUtil.java#L164-L172", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-servlet/src/main/java/jodd/servlet/ServletUtil.java", "func_name": "ServletUtil.prepareResponse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Prepares response for various provided data.\n\n@param response http response\n@param fileName file name, if full path then file name will be stripped, if null, will be ignored.\n@param mimeType mime type with optional charset, may be null\n@param fileSize if less then 0 it will be ignored", "docstring_tokens": ["Prepares", "response", "for", "various", "provided", "data", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-servlet/src/main/java/jodd/servlet/ServletUtil.java#L182-L205", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-servlet/src/main/java/jodd/servlet/ServletUtil.java", "func_name": "ServletUtil.getAllCookies", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns all cookies from client that matches provided name.\n@see #getCookie(javax.servlet.http.HttpServletRequest, String)", "docstring_tokens": ["Returns", "all", "cookies", "from", "client", "that", "matches", "provided", "name", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-servlet/src/main/java/jodd/servlet/ServletUtil.java#L231-L246", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-servlet/src/main/java/jodd/servlet/ServletUtil.java", "func_name": "ServletUtil.readRequestBodyFromReader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads HTTP request body using the request reader. Once body is read,\nit cannot be read again!", "docstring_tokens": ["Reads", "HTTP", "request", "body", "using", "the", "request", "reader", ".", "Once", "body", "is", "read", "it", "cannot", "be", "read", "again!"], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-servlet/src/main/java/jodd/servlet/ServletUtil.java#L254-L259", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-servlet/src/main/java/jodd/servlet/ServletUtil.java", "func_name": "ServletUtil.readRequestBodyFromStream", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads HTTP request body using the request stream. Once body is read,\nit cannot be read again!", "docstring_tokens": ["Reads", "HTTP", "request", "body", "using", "the", "request", "stream", ".", "Once", "body", "is", "read", "it", "cannot", "be", "read", "again!"], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-servlet/src/main/java/jodd/servlet/ServletUtil.java#L265-L287", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-servlet/src/main/java/jodd/servlet/ServletUtil.java", "func_name": "ServletUtil.storeContextPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Stores context path in server context and request scope.", "docstring_tokens": ["Stores", "context", "path", "in", "server", "context", "and", "request", "scope", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-servlet/src/main/java/jodd/servlet/ServletUtil.java#L334-L342", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-servlet/src/main/java/jodd/servlet/ServletUtil.java", "func_name": "ServletUtil.storeContextPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Stores context path in page context and request scope.", "docstring_tokens": ["Stores", "context", "path", "in", "page", "context", "and", "request", "scope", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-servlet/src/main/java/jodd/servlet/ServletUtil.java#L347-L351", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-servlet/src/main/java/jodd/servlet/ServletUtil.java", "func_name": "ServletUtil.isGetParameter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks if some parameter is in GET parameters.", "docstring_tokens": ["Checks", "if", "some", "parameter", "is", "in", "GET", "parameters", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-servlet/src/main/java/jodd/servlet/ServletUtil.java#L586-L596", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-servlet/src/main/java/jodd/servlet/ServletUtil.java", "func_name": "ServletUtil.prepareParameters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Prepares parameters for further processing.\n@param paramValues\tstring array of param values\n@param treatEmptyParamsAsNull\tempty parameters should be treated as null\n@param ignoreEmptyRequestParams\tif all parameters are empty, return null", "docstring_tokens": ["Prepares", "parameters", "for", "further", "processing", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-servlet/src/main/java/jodd/servlet/ServletUtil.java#L604-L631", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-servlet/src/main/java/jodd/servlet/ServletUtil.java", "func_name": "ServletUtil.copyParamsToAttributes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copies all request parameters to attributes.", "docstring_tokens": ["Copies", "all", "request", "parameters", "to", "attributes", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-servlet/src/main/java/jodd/servlet/ServletUtil.java#L652-L689", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-servlet/src/main/java/jodd/servlet/tag/TagUtil.java", "func_name": "TagUtil.invokeBody", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Invokes tag body.", "docstring_tokens": ["Invokes", "tag", "body", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-servlet/src/main/java/jodd/servlet/tag/TagUtil.java#L46-L55", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-servlet/src/main/java/jodd/servlet/tag/TagUtil.java", "func_name": "TagUtil.renderBody", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Renders tag body to char array.", "docstring_tokens": ["Renders", "tag", "body", "to", "char", "array", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-servlet/src/main/java/jodd/servlet/tag/TagUtil.java#L74-L78", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-servlet/src/main/java/jodd/servlet/tag/TagUtil.java", "func_name": "TagUtil.renderBodyToString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Renders tag body to string.\n@see #renderBody(javax.servlet.jsp.tagext.JspFragment)", "docstring_tokens": ["Renders", "tag", "body", "to", "string", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-servlet/src/main/java/jodd/servlet/tag/TagUtil.java#L85-L88", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/BeanData.java", "func_name": "BeanData.invokeInitMethods", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Invokes init methods.", "docstring_tokens": ["Invokes", "init", "methods", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/BeanData.java#L93-L104", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/BeanData.java", "func_name": "BeanData.callDestroyMethods", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calls destroy methods on given BeanData. Destroy methods are called\nwithout any order.", "docstring_tokens": ["Calls", "destroy", "methods", "on", "given", "BeanData", ".", "Destroy", "methods", "are", "called", "without", "any", "order", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/BeanData.java#L110-L118", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/BeanData.java", "func_name": "BeanData.newBeanInstance", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new instance.", "docstring_tokens": ["Creates", "a", "new", "instance", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/BeanData.java#L132-L163", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/BeanData.java", "func_name": "BeanData.injectParams", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Injects all parameters.", "docstring_tokens": ["Injects", "all", "parameters", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/BeanData.java#L170-L199", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/component/ActionPathRewriter.java", "func_name": "ActionPathRewriter.rewrite", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Rewrites action path.", "docstring_tokens": ["Rewrites", "action", "path", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/component/ActionPathRewriter.java#L38-L41", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/HeadersMultiMap.java", "func_name": "HeadersMultiMap.addHeader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds new header value. If existing value exist, it will be removed\nso the store the new key value.", "docstring_tokens": ["Adds", "new", "header", "value", ".", "If", "existing", "value", "exist", "it", "will", "be", "removed", "so", "the", "store", "the", "new", "key", "value", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/HeadersMultiMap.java#L40-L49", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-props/src/main/java/jodd/props/PropsData.java", "func_name": "PropsData.put", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Puts key-value pair into the map, with respect of appending duplicate properties", "docstring_tokens": ["Puts", "key", "-", "value", "pair", "into", "the", "map", "with", "respect", "of", "appending", "duplicate", "properties"], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-props/src/main/java/jodd/props/PropsData.java#L102-L122", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-props/src/main/java/jodd/props/PropsData.java", "func_name": "PropsData.putBaseProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds base property.", "docstring_tokens": ["Adds", "base", "property", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-props/src/main/java/jodd/props/PropsData.java#L136-L138", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-props/src/main/java/jodd/props/PropsData.java", "func_name": "PropsData.putProfileProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds profile property.", "docstring_tokens": ["Adds", "profile", "property", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-props/src/main/java/jodd/props/PropsData.java#L169-L172", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-props/src/main/java/jodd/props/PropsData.java", "func_name": "PropsData.getProfileProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns profile property.", "docstring_tokens": ["Returns", "profile", "property", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-props/src/main/java/jodd/props/PropsData.java#L177-L183", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-props/src/main/java/jodd/props/PropsData.java", "func_name": "PropsData.resolveMacros", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves all macros in this props set. Called on property lookup.", "docstring_tokens": ["Resolves", "all", "macros", "in", "this", "props", "set", ".", "Called", "on", "property", "lookup", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-props/src/main/java/jodd/props/PropsData.java#L231-L281", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-props/src/main/java/jodd/props/PropsData.java", "func_name": "PropsData.extract", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extracts props to target map. This is all-in-one method, that does many things at once.", "docstring_tokens": ["Extracts", "props", "to", "target", "map", ".", "This", "is", "all", "-", "in", "-", "one", "method", "that", "does", "many", "things", "at", "once", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-props/src/main/java/jodd/props/PropsData.java#L288-L320", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/crypt/BCrypt.java", "func_name": "BCrypt.streamtoword", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Cycically extract a word of key material.\n\n@param data the string to extract the data from\n@param offp a \"pointer\" (as a one-entry array) to the\ncurrent offset into data\n@return the next word of material from data", "docstring_tokens": ["Cycically", "extract", "a", "word", "of", "key", "material", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/crypt/BCrypt.java#L533-L545", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/crypt/BCrypt.java", "func_name": "BCrypt.hashpw", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Hash a password using the OpenBSD bcrypt scheme.\n\n@param password the password to hash\n@param salt the salt to hash with (perhaps generated\nusing BCrypt.gensalt)\n@return the hashed password", "docstring_tokens": ["Hash", "a", "password", "using", "the", "OpenBSD", "bcrypt", "scheme", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/crypt/BCrypt.java#L674-L734", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/crypt/BCrypt.java", "func_name": "BCrypt.checkpw", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check that a plaintext password matches a previously hashed\none.\n\n@param plaintext the plaintext password to verify\n@param hashed the previously-hashed password\n@return true if the passwords match, false otherwise", "docstring_tokens": ["Check", "that", "a", "plaintext", "password", "matches", "a", "previously", "hashed", "one", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/crypt/BCrypt.java#L795-L814", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/upload/MultipartRequestInputStream.java", "func_name": "MultipartRequestInputStream.copyAll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copies bytes from this stream to some output until boundary is\nreached. Returns number of copied bytes. It will throw an exception\nfor any irregular behaviour.", "docstring_tokens": ["Copies", "bytes", "from", "this", "stream", "to", "some", "output", "until", "boundary", "is", "reached", ".", "Returns", "number", "of", "copied", "bytes", ".", "It", "will", "throw", "an", "exception", "for", "any", "irregular", "behaviour", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/upload/MultipartRequestInputStream.java#L159-L170", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/upload/MultipartRequestInputStream.java", "func_name": "MultipartRequestInputStream.copyMax", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copies max or less number of bytes to output stream. Useful for determining\nif uploaded file is larger then expected.", "docstring_tokens": ["Copies", "max", "or", "less", "number", "of", "bytes", "to", "output", "stream", ".", "Useful", "for", "determining", "if", "uploaded", "file", "is", "larger", "then", "expected", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/upload/MultipartRequestInputStream.java#L176-L190", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/component/ActionMethodParser.java", "func_name": "ActionMethodParser.parse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses java action method annotation and returns its action runtime.\n\n@param actionClass action class\n@param actionMethod action method\n@param actionDefinition optional action def, usually null so to be parsed", "docstring_tokens": ["Parses", "java", "action", "method", "annotation", "and", "returns", "its", "action", "runtime", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/component/ActionMethodParser.java#L155-L191", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/component/ActionMethodParser.java", "func_name": "ActionMethodParser.resolveActionConfig", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves action config.", "docstring_tokens": ["Resolves", "action", "config", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/component/ActionMethodParser.java#L196-L206", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/component/ActionMethodParser.java", "func_name": "ActionMethodParser.detectAndRegisterAlias", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Detects if alias is defined in annotation and registers it if so.", "docstring_tokens": ["Detects", "if", "alias", "is", "defined", "in", "annotation", "and", "registers", "it", "if", "so", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/component/ActionMethodParser.java#L218-L225", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/component/ActionMethodParser.java", "func_name": "ActionMethodParser.readActionInterceptors", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads class or method annotation for action interceptors.", "docstring_tokens": ["Reads", "class", "or", "method", "annotation", "for", "action", "interceptors", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/component/ActionMethodParser.java#L266-L276", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/component/ActionMethodParser.java", "func_name": "ActionMethodParser.readActionFilters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads class or method annotation for action filters.", "docstring_tokens": ["Reads", "class", "or", "method", "annotation", "for", "action", "filters", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/component/ActionMethodParser.java#L283-L293", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/component/ActionMethodParser.java", "func_name": "ActionMethodParser.readPackageActionPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads action path for package.\nIf annotation is not set on package-level, class package will be used for\npackage action path part.", "docstring_tokens": ["Reads", "action", "path", "for", "package", ".", "If", "annotation", "is", "not", "set", "on", "package", "-", "level", "class", "package", "will", "be", "used", "for", "package", "action", "path", "part", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/component/ActionMethodParser.java#L302-L355", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/component/ActionMethodParser.java", "func_name": "ActionMethodParser.readMethodActionPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads action path from the action method.", "docstring_tokens": ["Reads", "action", "path", "from", "the", "action", "method", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/component/ActionMethodParser.java#L387-L408", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/component/ActionMethodParser.java", "func_name": "ActionMethodParser.parseMethodAlias", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads method's alias value.", "docstring_tokens": ["Reads", "method", "s", "alias", "value", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/component/ActionMethodParser.java#L413-L419", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/component/ActionMethodParser.java", "func_name": "ActionMethodParser.createActionRuntime", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates new instance of action runtime configuration.\nInitialize caches.", "docstring_tokens": ["Creates", "new", "instance", "of", "action", "runtime", "configuration", ".", "Initialize", "caches", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/component/ActionMethodParser.java#L461-L547", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-decora/src/main/java/jodd/decora/DecoraResponseWrapper.java", "func_name": "DecoraResponseWrapper.preResponseCommit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "todo move to BufferResponseWrapper ?", "docstring_tokens": ["todo", "move", "to", "BufferResponseWrapper", "?"], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-decora/src/main/java/jodd/decora/DecoraResponseWrapper.java#L66-L79", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/advice/DelegateAdviceUtil.java", "func_name": "DelegateAdviceUtil.applyAdvice", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Applies advice on given target class and returns proxy instance.", "docstring_tokens": ["Applies", "advice", "on", "given", "target", "class", "and", "returns", "proxy", "instance", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/advice/DelegateAdviceUtil.java#L56-L80", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/advice/DelegateAdviceUtil.java", "func_name": "DelegateAdviceUtil.injectTargetIntoProxy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Injects target into proxy.", "docstring_tokens": ["Injects", "target", "into", "proxy", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/advice/DelegateAdviceUtil.java#L85-L95", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/FieldVisitor.java", "func_name": "FieldVisitor.visitAnnotation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Visits an annotation of the field.\n\n@param descriptor the class descriptor of the annotation class.\n@param visible {@literal true} if the annotation is visible at runtime.\n@return a visitor to visit the annotation values, or {@literal null} if this visitor is not\ninterested in visiting this annotation.", "docstring_tokens": ["Visits", "an", "annotation", "of", "the", "field", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/FieldVisitor.java#L82-L87", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/meta/TypeData.java", "func_name": "TypeData.resolveRealName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves real name from JSON name.", "docstring_tokens": ["Resolves", "real", "name", "from", "JSON", "name", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/meta/TypeData.java#L61-L70", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/meta/TypeData.java", "func_name": "TypeData.resolveJsonName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves JSON name from real name.", "docstring_tokens": ["Resolves", "JSON", "name", "from", "real", "name", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/meta/TypeData.java#L75-L84", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/meta/JsonAnnotationManager.java", "func_name": "JsonAnnotationManager.lookupTypeData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns all includes for given type. Returns an empty array\nwhen no includes are defined.", "docstring_tokens": ["Returns", "all", "includes", "for", "given", "type", ".", "Returns", "an", "empty", "array", "when", "no", "includes", "are", "defined", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/meta/JsonAnnotationManager.java#L68-L83", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/meta/JsonAnnotationManager.java", "func_name": "JsonAnnotationManager._lookupTypeData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Lookups type data and creates one if missing.", "docstring_tokens": ["Lookups", "type", "data", "and", "creates", "one", "if", "missing", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/meta/JsonAnnotationManager.java#L88-L97", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/meta/JsonAnnotationManager.java", "func_name": "JsonAnnotationManager.findSubclassTypeData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds type data of first annotated superclass or interface.", "docstring_tokens": ["Finds", "type", "data", "of", "first", "annotated", "superclass", "or", "interface", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/meta/JsonAnnotationManager.java#L102-L133", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/meta/JsonAnnotationManager.java", "func_name": "JsonAnnotationManager.resolveJsonName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns different name of a property if set by annotation.", "docstring_tokens": ["Returns", "different", "name", "of", "a", "property", "if", "set", "by", "annotation", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/meta/JsonAnnotationManager.java#L138-L142", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/meta/JsonAnnotationManager.java", "func_name": "JsonAnnotationManager.resolveRealName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns real property name for given JSON property.", "docstring_tokens": ["Returns", "real", "property", "name", "for", "given", "JSON", "property", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/meta/JsonAnnotationManager.java#L147-L151", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/upload/impl/AdaptiveFileUpload.java", "func_name": "AdaptiveFileUpload.getFileContent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the content of file upload item.", "docstring_tokens": ["Returns", "the", "content", "of", "file", "upload", "item", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/upload/impl/AdaptiveFileUpload.java#L237-L246", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java", "func_name": "SymbolTable.copyBootstrapMethods", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read the BootstrapMethods 'bootstrap_methods' array binary content and add them as entries of\nthe SymbolTable.\n\n@param classReader the ClassReader whose bootstrap methods must be copied to initialize the\nSymbolTable.\n@param charBuffer a buffer used to read strings in the constant pool.", "docstring_tokens": ["Read", "the", "BootstrapMethods", "bootstrap_methods", "array", "binary", "content", "and", "add", "them", "as", "entries", "of", "the", "SymbolTable", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java#L243-L279", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java", "func_name": "SymbolTable.setMajorVersionAndClassName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the major version and the name of the class to which this symbol table belongs. Also adds\nthe class name to the constant pool.\n\n@param majorVersion a major ClassFile version number.\n@param className an internal class name.\n@return the constant pool index of a new or already existing Symbol with the given class name.", "docstring_tokens": ["Sets", "the", "major", "version", "and", "the", "name", "of", "the", "class", "to", "which", "this", "symbol", "table", "belongs", ".", "Also", "adds", "the", "class", "name", "to", "the", "constant", "pool", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java#L317-L321", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java", "func_name": "SymbolTable.putConstantPool", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Puts this symbol table's constant_pool array in the given ByteVector, preceded by the\nconstant_pool_count value.\n\n@param output where the JVMS ClassFile's constant_pool array must be put.", "docstring_tokens": ["Puts", "this", "symbol", "table", "s", "constant_pool", "array", "in", "the", "given", "ByteVector", "preceded", "by", "the", "constant_pool_count", "value", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java#L347-L349", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java", "func_name": "SymbolTable.putBootstrapMethods", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Puts this symbol table's BootstrapMethods attribute in the given ByteVector. This includes the\n6 attribute header bytes and the num_bootstrap_methods value.\n\n@param output where the JVMS BootstrapMethods attribute must be put.", "docstring_tokens": ["Puts", "this", "symbol", "table", "s", "BootstrapMethods", "attribute", "in", "the", "given", "ByteVector", ".", "This", "includes", "the", "6", "attribute", "header", "bytes", "and", "the", "num_bootstrap_methods", "value", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java#L372-L380", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java", "func_name": "SymbolTable.addConstantFieldref", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a CONSTANT_Fieldref_info to the constant pool of this symbol table. Does nothing if the\nconstant pool already contains a similar item.\n\n@param owner the internal name of a class.\n@param name a field name.\n@param descriptor a field descriptor.\n@return a new or already existing Symbol with the given value.", "docstring_tokens": ["Adds", "a", "CONSTANT_Fieldref_info", "to", "the", "constant", "pool", "of", "this", "symbol", "table", ".", "Does", "nothing", "if", "the", "constant", "pool", "already", "contains", "a", "similar", "item", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java#L525-L527", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java", "func_name": "SymbolTable.addConstantMethodref", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a CONSTANT_Methodref_info or CONSTANT_InterfaceMethodref_info to the constant pool of this\nsymbol table. Does nothing if the constant pool already contains a similar item.\n\n@param owner the internal name of a class.\n@param name a method name.\n@param descriptor a method descriptor.\n@param isInterface whether owner is an interface or not.\n@return a new or already existing Symbol with the given value.", "docstring_tokens": ["Adds", "a", "CONSTANT_Methodref_info", "or", "CONSTANT_InterfaceMethodref_info", "to", "the", "constant", "pool", "of", "this", "symbol", "table", ".", "Does", "nothing", "if", "the", "constant", "pool", "already", "contains", "a", "similar", "item", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java#L539-L543", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java", "func_name": "SymbolTable.addConstantMemberReference", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a CONSTANT_Fieldref_info, CONSTANT_Methodref_info or CONSTANT_InterfaceMethodref_info to\nthe constant pool of this symbol table. Does nothing if the constant pool already contains a\nsimilar item.\n\n@param tag one of {@link Symbol#CONSTANT_FIELDREF_TAG}, {@link Symbol#CONSTANT_METHODREF_TAG}\nor {@link Symbol#CONSTANT_INTERFACE_METHODREF_TAG}.\n@param owner the internal name of a class.\n@param name a field or method name.\n@param descriptor a field or method descriptor.\n@return a new or already existing Symbol with the given value.", "docstring_tokens": ["Adds", "a", "CONSTANT_Fieldref_info", "CONSTANT_Methodref_info", "or", "CONSTANT_InterfaceMethodref_info", "to", "the", "constant", "pool", "of", "this", "symbol", "table", ".", "Does", "nothing", "if", "the", "constant", "pool", "already", "contains", "a", "similar", "item", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java#L557-L574", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java", "func_name": "SymbolTable.addConstantMemberReference", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a new CONSTANT_Fieldref_info, CONSTANT_Methodref_info or CONSTANT_InterfaceMethodref_info\nto the constant pool of this symbol table.\n\n@param index the constant pool index of the new Symbol.\n@param tag one of {@link Symbol#CONSTANT_FIELDREF_TAG}, {@link Symbol#CONSTANT_METHODREF_TAG}\nor {@link Symbol#CONSTANT_INTERFACE_METHODREF_TAG}.\n@param owner the internal name of a class.\n@param name a field or method name.\n@param descriptor a field or method descriptor.", "docstring_tokens": ["Adds", "a", "new", "CONSTANT_Fieldref_info", "CONSTANT_Methodref_info", "or", "CONSTANT_InterfaceMethodref_info", "to", "the", "constant", "pool", "of", "this", "symbol", "table", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java#L587-L594", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java", "func_name": "SymbolTable.addConstantIntegerOrFloat", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a CONSTANT_Integer_info or CONSTANT_Float_info to the constant pool of this symbol table.\nDoes nothing if the constant pool already contains a similar item.\n\n@param tag one of {@link Symbol#CONSTANT_INTEGER_TAG} or {@link Symbol#CONSTANT_FLOAT_TAG}.\n@param value an int or float.\n@return a constant pool constant with the given tag and primitive values.", "docstring_tokens": ["Adds", "a", "CONSTANT_Integer_info", "or", "CONSTANT_Float_info", "to", "the", "constant", "pool", "of", "this", "symbol", "table", ".", "Does", "nothing", "if", "the", "constant", "pool", "already", "contains", "a", "similar", "item", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java#L637-L648", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java", "func_name": "SymbolTable.addConstantIntegerOrFloat", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a new CONSTANT_Integer_info or CONSTANT_Float_info to the constant pool of this symbol\ntable.\n\n@param index the constant pool index of the new Symbol.\n@param tag one of {@link Symbol#CONSTANT_INTEGER_TAG} or {@link Symbol#CONSTANT_FLOAT_TAG}.\n@param value an int or float.", "docstring_tokens": ["Adds", "a", "new", "CONSTANT_Integer_info", "or", "CONSTANT_Float_info", "to", "the", "constant", "pool", "of", "this", "symbol", "table", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java#L658-L660", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java", "func_name": "SymbolTable.addConstantLongOrDouble", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a CONSTANT_Long_info or CONSTANT_Double_info to the constant pool of this symbol table.\nDoes nothing if the constant pool already contains a similar item.\n\n@param tag one of {@link Symbol#CONSTANT_LONG_TAG} or {@link Symbol#CONSTANT_DOUBLE_TAG}.\n@param value a long or double.\n@return a constant pool constant with the given tag and primitive values.", "docstring_tokens": ["Adds", "a", "CONSTANT_Long_info", "or", "CONSTANT_Double_info", "to", "the", "constant", "pool", "of", "this", "symbol", "table", ".", "Does", "nothing", "if", "the", "constant", "pool", "already", "contains", "a", "similar", "item", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java#L692-L705", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java", "func_name": "SymbolTable.addConstantLongOrDouble", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a new CONSTANT_Long_info or CONSTANT_Double_info to the constant pool of this symbol\ntable.\n\n@param index the constant pool index of the new Symbol.\n@param tag one of {@link Symbol#CONSTANT_LONG_TAG} or {@link Symbol#CONSTANT_DOUBLE_TAG}.\n@param value a long or double.", "docstring_tokens": ["Adds", "a", "new", "CONSTANT_Long_info", "or", "CONSTANT_Double_info", "to", "the", "constant", "pool", "of", "this", "symbol", "table", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java#L715-L717", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java", "func_name": "SymbolTable.addConstantNameAndType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a CONSTANT_NameAndType_info to the constant pool of this symbol table. Does nothing if the\nconstant pool already contains a similar item.\n\n@param name a field or method name.\n@param descriptor a field or method descriptor.\n@return a new or already existing Symbol with the given value.", "docstring_tokens": ["Adds", "a", "CONSTANT_NameAndType_info", "to", "the", "constant", "pool", "of", "this", "symbol", "table", ".", "Does", "nothing", "if", "the", "constant", "pool", "already", "contains", "a", "similar", "item", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java#L727-L742", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java", "func_name": "SymbolTable.addConstantNameAndType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a new CONSTANT_NameAndType_info to the constant pool of this symbol table.\n\n@param index the constant pool index of the new Symbol.\n@param name a field or method name.\n@param descriptor a field or method descriptor.", "docstring_tokens": ["Adds", "a", "new", "CONSTANT_NameAndType_info", "to", "the", "constant", "pool", "of", "this", "symbol", "table", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java#L751-L754", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java", "func_name": "SymbolTable.addConstantUtf8", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a CONSTANT_Utf8_info to the constant pool of this symbol table. Does nothing if the\nconstant pool already contains a similar item.\n\n@param value a string.\n@return a new or already existing Symbol with the given value.", "docstring_tokens": ["Adds", "a", "CONSTANT_Utf8_info", "to", "the", "constant", "pool", "of", "this", "symbol", "table", ".", "Does", "nothing", "if", "the", "constant", "pool", "already", "contains", "a", "similar", "item", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java#L763-L776", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java", "func_name": "SymbolTable.addConstantUtf8", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a new CONSTANT_String_info to the constant pool of this symbol table.\n\n@param index the constant pool index of the new Symbol.\n@param value a string.", "docstring_tokens": ["Adds", "a", "new", "CONSTANT_String_info", "to", "the", "constant", "pool", "of", "this", "symbol", "table", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java#L784-L786", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java", "func_name": "SymbolTable.addConstantMethodHandle", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a CONSTANT_MethodHandle_info to the constant pool of this symbol table. Does nothing if\nthe constant pool already contains a similar item.\n\n@param referenceKind one of {@link Opcodes#H_GETFIELD}, {@link Opcodes#H_GETSTATIC}, {@link\nOpcodes#H_PUTFIELD}, {@link Opcodes#H_PUTSTATIC}, {@link Opcodes#H_INVOKEVIRTUAL}, {@link\nOpcodes#H_INVOKESTATIC}, {@link Opcodes#H_INVOKESPECIAL}, {@link\nOpcodes#H_NEWINVOKESPECIAL} or {@link Opcodes#H_INVOKEINTERFACE}.\n@param owner the internal name of a class of interface.\n@param name a field or method name.\n@param descriptor a field or method descriptor.\n@param isInterface whether owner is an interface or not.\n@return a new or already existing Symbol with the given value.", "docstring_tokens": ["Adds", "a", "CONSTANT_MethodHandle_info", "to", "the", "constant", "pool", "of", "this", "symbol", "table", ".", "Does", "nothing", "if", "the", "constant", "pool", "already", "contains", "a", "similar", "item", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java#L802-L832", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java", "func_name": "SymbolTable.addConstantMethodHandle", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a new CONSTANT_MethodHandle_info to the constant pool of this symbol table.\n\n@param index the constant pool index of the new Symbol.\n@param referenceKind one of {@link Opcodes#H_GETFIELD}, {@link Opcodes#H_GETSTATIC}, {@link\nOpcodes#H_PUTFIELD}, {@link Opcodes#H_PUTSTATIC}, {@link Opcodes#H_INVOKEVIRTUAL}, {@link\nOpcodes#H_INVOKESTATIC}, {@link Opcodes#H_INVOKESPECIAL}, {@link\nOpcodes#H_NEWINVOKESPECIAL} or {@link Opcodes#H_INVOKEINTERFACE}.\n@param owner the internal name of a class of interface.\n@param name a field or method name.\n@param descriptor a field or method descriptor.", "docstring_tokens": ["Adds", "a", "new", "CONSTANT_MethodHandle_info", "to", "the", "constant", "pool", "of", "this", "symbol", "table", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java#L846-L855", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java", "func_name": "SymbolTable.addConstantDynamic", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a CONSTANT_Dynamic_info to the constant pool of this symbol table. Also adds the related\nbootstrap method to the BootstrapMethods of this symbol table. Does nothing if the constant\npool already contains a similar item.\n\n@param name a method name.\n@param descriptor a field descriptor.\n@param bootstrapMethodHandle a bootstrap method handle.\n@param bootstrapMethodArguments the bootstrap method arguments.\n@return a new or already existing Symbol with the given value.", "docstring_tokens": ["Adds", "a", "CONSTANT_Dynamic_info", "to", "the", "constant", "pool", "of", "this", "symbol", "table", ".", "Also", "adds", "the", "related", "bootstrap", "method", "to", "the", "BootstrapMethods", "of", "this", "symbol", "table", ".", "Does", "nothing", "if", "the", "constant", "pool", "already", "contains", "a", "similar", "item", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java#L879-L887", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java", "func_name": "SymbolTable.addConstantInvokeDynamic", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a CONSTANT_InvokeDynamic_info to the constant pool of this symbol table. Also adds the\nrelated bootstrap method to the BootstrapMethods of this symbol table. Does nothing if the\nconstant pool already contains a similar item.\n\n@param name a method name.\n@param descriptor a method descriptor.\n@param bootstrapMethodHandle a bootstrap method handle.\n@param bootstrapMethodArguments the bootstrap method arguments.\n@return a new or already existing Symbol with the given value.", "docstring_tokens": ["Adds", "a", "CONSTANT_InvokeDynamic_info", "to", "the", "constant", "pool", "of", "this", "symbol", "table", ".", "Also", "adds", "the", "related", "bootstrap", "method", "to", "the", "BootstrapMethods", "of", "this", "symbol", "table", ".", "Does", "nothing", "if", "the", "constant", "pool", "already", "contains", "a", "similar", "item", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java#L900-L908", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java", "func_name": "SymbolTable.addConstantDynamicOrInvokeDynamicReference", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a CONSTANT_Dynamic or a CONSTANT_InvokeDynamic_info to the constant pool of this symbol\ntable. Does nothing if the constant pool already contains a similar item.\n\n@param tag one of {@link Symbol#CONSTANT_DYNAMIC_TAG} or {@link\nSymbol#CONSTANT_INVOKE_DYNAMIC_TAG}.\n@param name a method name.\n@param descriptor a field descriptor for CONSTANT_DYNAMIC_TAG) or a method descriptor for\nCONSTANT_INVOKE_DYNAMIC_TAG.\n@param bootstrapMethodIndex the index of a bootstrap method in the BootstrapMethods attribute.\n@return a new or already existing Symbol with the given value.", "docstring_tokens": ["Adds", "a", "CONSTANT_Dynamic", "or", "a", "CONSTANT_InvokeDynamic_info", "to", "the", "constant", "pool", "of", "this", "symbol", "table", ".", "Does", "nothing", "if", "the", "constant", "pool", "already", "contains", "a", "similar", "item", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java#L922-L940", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java", "func_name": "SymbolTable.addConstantDynamicOrInvokeDynamicReference", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a new CONSTANT_Dynamic_info or CONSTANT_InvokeDynamic_info to the constant pool of this\nsymbol table.\n\n@param tag one of {@link Symbol#CONSTANT_DYNAMIC_TAG} or {@link\nSymbol#CONSTANT_INVOKE_DYNAMIC_TAG}.\n@param index the constant pool index of the new Symbol.\n@param name a method name.\n@param descriptor a field descriptor for CONSTANT_DYNAMIC_TAG or a method descriptor for\nCONSTANT_INVOKE_DYNAMIC_TAG.\n@param bootstrapMethodIndex the index of a bootstrap method in the BootstrapMethods attribute.", "docstring_tokens": ["Adds", "a", "new", "CONSTANT_Dynamic_info", "or", "CONSTANT_InvokeDynamic_info", "to", "the", "constant", "pool", "of", "this", "symbol", "table", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java#L954-L962", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java", "func_name": "SymbolTable.addConstantUtf8Reference", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a CONSTANT_Class_info, CONSTANT_String_info, CONSTANT_MethodType_info,\nCONSTANT_Module_info or CONSTANT_Package_info to the constant pool of this symbol table. Does\nnothing if the constant pool already contains a similar item.\n\n@param tag one of {@link Symbol#CONSTANT_CLASS_TAG}, {@link Symbol#CONSTANT_STRING_TAG}, {@link\nSymbol#CONSTANT_METHOD_TYPE_TAG}, {@link Symbol#CONSTANT_MODULE_TAG} or {@link\nSymbol#CONSTANT_PACKAGE_TAG}.\n@param value an internal class name, an arbitrary string, a method descriptor, a module or a\npackage name, depending on tag.\n@return a new or already existing Symbol with the given value.", "docstring_tokens": ["Adds", "a", "CONSTANT_Class_info", "CONSTANT_String_info", "CONSTANT_MethodType_info", "CONSTANT_Module_info", "or", "CONSTANT_Package_info", "to", "the", "constant", "pool", "of", "this", "symbol", "table", ".", "Does", "nothing", "if", "the", "constant", "pool", "already", "contains", "a", "similar", "item", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java#L998-L1009", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java", "func_name": "SymbolTable.addConstantUtf8Reference", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a new CONSTANT_Class_info, CONSTANT_String_info, CONSTANT_MethodType_info,\nCONSTANT_Module_info or CONSTANT_Package_info to the constant pool of this symbol table.\n\n@param index the constant pool index of the new Symbol.\n@param tag one of {@link Symbol#CONSTANT_CLASS_TAG}, {@link Symbol#CONSTANT_STRING_TAG}, {@link\nSymbol#CONSTANT_METHOD_TYPE_TAG}, {@link Symbol#CONSTANT_MODULE_TAG} or {@link\nSymbol#CONSTANT_PACKAGE_TAG}.\n@param value an internal class name, an arbitrary string, a method descriptor, a module or a\npackage name, depending on tag.", "docstring_tokens": ["Adds", "a", "new", "CONSTANT_Class_info", "CONSTANT_String_info", "CONSTANT_MethodType_info", "CONSTANT_Module_info", "or", "CONSTANT_Package_info", "to", "the", "constant", "pool", "of", "this", "symbol", "table", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java#L1022-L1024", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java", "func_name": "SymbolTable.addBootstrapMethod", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a bootstrap method to the BootstrapMethods attribute of this symbol table. Does nothing if\nthe BootstrapMethods already contains a similar bootstrap method.\n\n@param bootstrapMethodHandle a bootstrap method handle.\n@param bootstrapMethodArguments the bootstrap method arguments.\n@return a new or already existing Symbol with the given value.", "docstring_tokens": ["Adds", "a", "bootstrap", "method", "to", "the", "BootstrapMethods", "attribute", "of", "this", "symbol", "table", ".", "Does", "nothing", "if", "the", "BootstrapMethods", "already", "contains", "a", "similar", "bootstrap", "method", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java#L1038-L1081", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java", "func_name": "SymbolTable.addMergedType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a merged type in the type table of this symbol table. Does nothing if the type table\nalready contains a similar type.\n\n@param typeTableIndex1 a {@link Symbol#TYPE_TAG} type, specified by its index in the type\ntable.\n@param typeTableIndex2 another {@link Symbol#TYPE_TAG} type, specified by its index in the type\ntable.\n@return the index of a new or already existing {@link Symbol#TYPE_TAG} type Symbol,\ncorresponding to the common super class of the given types.", "docstring_tokens": ["Adds", "a", "merged", "type", "in", "the", "type", "table", "of", "this", "symbol", "table", ".", "Does", "nothing", "if", "the", "type", "table", "already", "contains", "a", "similar", "type", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/SymbolTable.java#L1185-L1201", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/HttpMultiMap.java", "func_name": "HttpMultiMap.hash", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculates hash value of the input string.", "docstring_tokens": ["Calculates", "hash", "value", "of", "the", "input", "string", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/HttpMultiMap.java#L72-L91", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/HttpMultiMap.java", "func_name": "HttpMultiMap.clear", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Clears the map.", "docstring_tokens": ["Clears", "the", "map", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/HttpMultiMap.java#L144-L150", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/HttpMultiMap.java", "func_name": "HttpMultiMap.getAll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns all values associated with the name.", "docstring_tokens": ["Returns", "all", "values", "associated", "with", "the", "name", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/HttpMultiMap.java#L339-L352", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/HttpMultiMap.java", "func_name": "HttpMultiMap.iterator", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns iterator of all entries.", "docstring_tokens": ["Returns", "iterator", "of", "all", "entries", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/HttpMultiMap.java#L359-L385", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/HttpMultiMap.java", "func_name": "HttpMultiMap.entries", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns all the entries of this map. Case sensitivity does not influence\nthe returned list, it always contains all of the values.", "docstring_tokens": ["Returns", "all", "the", "entries", "of", "this", "map", ".", "Case", "sensitivity", "does", "not", "influence", "the", "returned", "list", "it", "always", "contains", "all", "of", "the", "values", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/HttpMultiMap.java#L402-L411", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/buffer/FastCharBuffer.java", "func_name": "FastCharBuffer.grow", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Grows the buffer.", "docstring_tokens": ["Grows", "the", "buffer", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/buffer/FastCharBuffer.java#L62-L70", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/buffer/FastCharBuffer.java", "func_name": "FastCharBuffer.append", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Appends character sequence to buffer.", "docstring_tokens": ["Appends", "character", "sequence", "to", "buffer", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/buffer/FastCharBuffer.java#L186-L192", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaMethodBuilder.java", "func_name": "ProxettaMethodBuilder.visitAnnotation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copies target method annotations.", "docstring_tokens": ["Copies", "target", "method", "annotations", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaMethodBuilder.java#L102-L106", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaMethodBuilder.java", "func_name": "ProxettaMethodBuilder.visitEnd", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finally, builds proxy methods if applied to current method.", "docstring_tokens": ["Finally", "builds", "proxy", "methods", "if", "applied", "to", "current", "method", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaMethodBuilder.java#L124-L131", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaMethodBuilder.java", "func_name": "ProxettaMethodBuilder.createFirstChainDelegate_Start", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Starts creation of first chain delegate.", "docstring_tokens": ["Starts", "creation", "of", "first", "chain", "delegate", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaMethodBuilder.java#L142-L160", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaMethodBuilder.java", "func_name": "ProxettaMethodBuilder.createFirstChainDelegate_Continue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Continues the creation of the very first method in calling chain that simply delegates invocation to the first proxy method.\nThis method mirrors the target method.", "docstring_tokens": ["Continues", "the", "creation", "of", "the", "very", "first", "method", "in", "calling", "chain", "that", "simply", "delegates", "invocation", "to", "the", "first", "proxy", "method", ".", "This", "method", "mirrors", "the", "target", "method", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaMethodBuilder.java#L166-L191", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/Path.java", "func_name": "Path.parse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses input dot-separated string that represents a path.", "docstring_tokens": ["Parses", "input", "dot", "-", "separated", "string", "that", "represents", "a", "path", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/Path.java#L44-L46", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/Path.java", "func_name": "Path.push", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Push element to the path.", "docstring_tokens": ["Push", "element", "to", "the", "path", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/Path.java#L82-L89", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-joy/src/main/java/jodd/joy/JoyContextListener.java", "func_name": "JoyContextListener.configureServletContext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Configures servlet context.", "docstring_tokens": ["Configures", "servlet", "context", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-joy/src/main/java/jodd/joy/JoyContextListener.java#L137-L147", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/pathref/PathrefAdvice.java", "func_name": "PathrefAdvice.execute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads method name and appends it. Creates object for next call and\nreturns that value. If next object is unsupported, it will return null;", "docstring_tokens": ["Reads", "method", "name", "and", "appends", "it", ".", "Creates", "object", "for", "next", "call", "and", "returns", "that", "value", ".", "If", "next", "object", "is", "unsupported", "it", "will", "return", "null", ";"], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/pathref/PathrefAdvice.java#L45-L53", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-bean/src/main/java/jodd/introspector/Fields.java", "func_name": "Fields.getAllFieldDescriptors", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns all fields of this collection. Returns empty array\nif no fields exist. Initialized lazy.", "docstring_tokens": ["Returns", "all", "fields", "of", "this", "collection", ".", "Returns", "empty", "array", "if", "no", "fields", "exist", ".", "Initialized", "lazy", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-bean/src/main/java/jodd/introspector/Fields.java#L113-L128", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/proxetta/ProxettaAwarePetiteContainer.java", "func_name": "ProxettaAwarePetiteContainer.createBeanDefinitionForRegistration", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Applies proxetta on bean class before bean registration.", "docstring_tokens": ["Applies", "proxetta", "on", "bean", "class", "before", "bean", "registration", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/proxetta/ProxettaAwarePetiteContainer.java#L57-L86", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/jtx/JtxDbUtil.java", "func_name": "JtxDbUtil.convertToDbMode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converter JTX transaction mode to DB transaction mode.", "docstring_tokens": ["Converter", "JTX", "transaction", "mode", "to", "DB", "transaction", "mode", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/jtx/JtxDbUtil.java#L39-L52", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/BeanSerializer.java", "func_name": "BeanSerializer.readProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads property using property descriptor.", "docstring_tokens": ["Reads", "property", "using", "property", "descriptor", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/BeanSerializer.java#L97-L110", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/collection/IntHashMap.java", "func_name": "IntHashMap.putAll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copies all of the mappings from the specified map to this one.\nThese mappings replace any mappings that this map had for any of the\nkeys currently in the specified Map.\n\n@param t Mappings to be stored in this map.", "docstring_tokens": ["Copies", "all", "of", "the", "mappings", "from", "the", "specified", "map", "to", "this", "one", ".", "These", "mappings", "replace", "any", "mappings", "that", "this", "map", "had", "for", "any", "of", "the", "keys", "currently", "in", "the", "specified", "Map", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/collection/IntHashMap.java#L413-L419", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/Buffer.java", "func_name": "Buffer.append", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Appends other buffer to this one.", "docstring_tokens": ["Appends", "other", "buffer", "to", "this", "one", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/Buffer.java#L98-L107", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/Buffer.java", "func_name": "Buffer.writeTo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes content to the writer.", "docstring_tokens": ["Writes", "content", "to", "the", "writer", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/Buffer.java#L131-L153", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/Buffer.java", "func_name": "Buffer.writeTo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes content to the output stream.", "docstring_tokens": ["Writes", "content", "to", "the", "output", "stream", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/Buffer.java#L158-L178", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/Buffer.java", "func_name": "Buffer.writeTo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes content to the output stream, using progress listener to track the sending progress.", "docstring_tokens": ["Writes", "content", "to", "the", "output", "stream", "using", "progress", "listener", "to", "track", "the", "sending", "progress", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/Buffer.java#L183-L268", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/JsonObject.java", "func_name": "JsonObject.getString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the string value with the specified key.", "docstring_tokens": ["Returns", "the", "string", "value", "with", "the", "specified", "key", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/JsonObject.java#L66-L69", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/JsonObject.java", "func_name": "JsonObject.getInteger", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "returns the integer value with the specified key.", "docstring_tokens": ["returns", "the", "integer", "value", "with", "the", "specified", "key", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/JsonObject.java#L74-L84", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/JsonObject.java", "func_name": "JsonObject.getLong", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the long value with the specified key.", "docstring_tokens": ["Returns", "the", "long", "value", "with", "the", "specified", "key", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/JsonObject.java#L89-L99", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/JsonObject.java", "func_name": "JsonObject.getDouble", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the double value with the specified key.", "docstring_tokens": ["Returns", "the", "double", "value", "with", "the", "specified", "key", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/JsonObject.java#L104-L114", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/JsonObject.java", "func_name": "JsonObject.getFloat", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the float value with the specified key.", "docstring_tokens": ["Returns", "the", "float", "value", "with", "the", "specified", "key", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/JsonObject.java#L119-L129", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/JsonObject.java", "func_name": "JsonObject.getValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the value with the specified key, as an object.", "docstring_tokens": ["Returns", "the", "value", "with", "the", "specified", "key", "as", "an", "object", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/JsonObject.java#L176-L187", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/JsonObject.java", "func_name": "JsonObject.put", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Puts a string into the JSON object with the specified key.", "docstring_tokens": ["Puts", "a", "string", "into", "the", "JSON", "object", "with", "the", "specified", "key", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/JsonObject.java#L395-L399", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/ReceiveMailSession.java", "func_name": "ReceiveMailSession.useFolder", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Opens new folder and closes previously opened folder.\n\n@param folderName Folder to open", "docstring_tokens": ["Opens", "new", "folder", "and", "closes", "previously", "opened", "folder", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/ReceiveMailSession.java#L106-L120", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/ReceiveMailSession.java", "func_name": "ReceiveMailSession.receiveMessages", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The main email receiving method.", "docstring_tokens": ["The", "main", "email", "receiving", "method", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/ReceiveMailSession.java#L301-L371", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/ReceiveMailSession.java", "func_name": "ReceiveMailSession.updateEmailFlags", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Updates the email flags on the server.", "docstring_tokens": ["Updates", "the", "email", "flags", "on", "the", "server", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/ReceiveMailSession.java#L379-L386", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/ReceiveMailSession.java", "func_name": "ReceiveMailSession.closeFolderIfOpened", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Closes folder if opened and expunge deleted messages.", "docstring_tokens": ["Closes", "folder", "if", "opened", "and", "expunge", "deleted", "messages", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/ReceiveMailSession.java#L393-L400", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/DbQueryParser.java", "func_name": "DbQueryParser.lookupNamedParameter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Lookup for named parameter.", "docstring_tokens": ["Lookup", "for", "named", "parameter", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/DbQueryParser.java#L72-L81", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-joy/src/main/java/jodd/joy/madvoc/AppAction.java", "func_name": "AppAction.alias", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates alias.", "docstring_tokens": ["Creates", "alias", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-joy/src/main/java/jodd/joy/madvoc/AppAction.java#L49-L51", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-joy/src/main/java/jodd/joy/madvoc/AppAction.java", "func_name": "AppAction.validateAction", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Validates action. Profiles are reset after the invocation.\n@return true if validation is successful, otherwise returns false", "docstring_tokens": ["Validates", "action", ".", "Profiles", "are", "reset", "after", "the", "invocation", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-joy/src/main/java/jodd/joy/madvoc/AppAction.java#L95-L102", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-joy/src/main/java/jodd/joy/madvoc/AppAction.java", "func_name": "AppAction.addViolation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds action violation.", "docstring_tokens": ["Adds", "action", "violation", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-joy/src/main/java/jodd/joy/madvoc/AppAction.java#L107-L110", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/result/RawData.java", "func_name": "RawData.as", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Defines mime type by providing real mime type or just extension!", "docstring_tokens": ["Defines", "mime", "type", "by", "providing", "real", "mime", "type", "or", "just", "extension!"], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/result/RawData.java#L68-L76", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/result/RawData.java", "func_name": "RawData.downloadableAs", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Defines download file name and mime type from the name extension.", "docstring_tokens": ["Defines", "download", "file", "name", "and", "mime", "type", "from", "the", "name", "extension", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/result/RawData.java#L90-L94", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/ProxettaFactory.java", "func_name": "ProxettaFactory.setTarget", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Defines class input stream as a target.", "docstring_tokens": ["Defines", "class", "input", "stream", "as", "a", "target", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/ProxettaFactory.java#L103-L111", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/ProxettaFactory.java", "func_name": "ProxettaFactory.setTarget", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Defines class name as a target.\nClass will not be loaded by classloader!", "docstring_tokens": ["Defines", "class", "name", "as", "a", "target", ".", "Class", "will", "not", "be", "loaded", "by", "classloader!"], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/ProxettaFactory.java#L117-L133", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/ProxettaFactory.java", "func_name": "ProxettaFactory.setTarget", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Defines class as a target.", "docstring_tokens": ["Defines", "class", "as", "a", "target", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/ProxettaFactory.java#L138-L154", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/ProxettaFactory.java", "func_name": "ProxettaFactory.process", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads the target and creates destination class.", "docstring_tokens": ["Reads", "the", "target", "and", "creates", "destination", "class", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/ProxettaFactory.java#L210-L237", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/ProxettaFactory.java", "func_name": "ProxettaFactory.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns byte array of created class.", "docstring_tokens": ["Returns", "byte", "array", "of", "created", "class", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/ProxettaFactory.java#L242-L261", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/ProxettaFactory.java", "func_name": "ProxettaFactory.define", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Defines class.", "docstring_tokens": ["Defines", "class", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/ProxettaFactory.java#L266-L310", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/ProxettaFactory.java", "func_name": "ProxettaFactory.newInstance", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates new instance of created class.\nAssumes default no-arg constructor.", "docstring_tokens": ["Creates", "new", "instance", "of", "created", "class", ".", "Assumes", "default", "no", "-", "arg", "constructor", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/ProxettaFactory.java#L316-L323", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/ProxettaFactory.java", "func_name": "ProxettaFactory.dumpClassInDebugFolder", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes created class content to output folder for debugging purposes.", "docstring_tokens": ["Writes", "created", "class", "content", "to", "output", "folder", "for", "debugging", "purposes", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/ProxettaFactory.java#L331-L354", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/CommonEmail.java", "func_name": "CommonEmail.from", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the FROM address by providing personal name and address.\n\n@param personalName personal name.\n@param from email address.\n@return this\n@see #from(EmailAddress)", "docstring_tokens": ["Sets", "the", "FROM", "address", "by", "providing", "personal", "name", "and", "address", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/CommonEmail.java#L115-L117", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/CommonEmail.java", "func_name": "CommonEmail.to", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Appends TO address.\n\n@param to {@link EmailAddress} to add.\n@return this", "docstring_tokens": ["Appends", "TO", "address", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/CommonEmail.java#L139-L142", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/CommonEmail.java", "func_name": "CommonEmail.to", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Appends TO address by personal name and email address.\n\n@param personalName personal name.\n@param to email address.\n@return this\n@see #to(EmailAddress)", "docstring_tokens": ["Appends", "TO", "address", "by", "personal", "name", "and", "email", "address", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/CommonEmail.java#L163-L165", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/CommonEmail.java", "func_name": "CommonEmail.replyTo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Appends REPLY-TO addresses.\n\n@param replyTo vararg of {@link EmailAddress}es to set.\n@return this", "docstring_tokens": ["Appends", "REPLY", "-", "TO", "addresses", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/CommonEmail.java#L303-L306", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/CommonEmail.java", "func_name": "CommonEmail.cc", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Appends CC addresses.\n\n@param ccs vararg of {@link EmailAddress}es to set.\n@return this", "docstring_tokens": ["Appends", "CC", "addresses", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/CommonEmail.java#L403-L406", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/CommonEmail.java", "func_name": "CommonEmail.textMessage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds plain message text.\n\n@param text The text to add as a {@link String}.\n@param encoding The encoding as a {@link String}.\n@return this\n@see #message(EmailMessage)", "docstring_tokens": ["Adds", "plain", "message", "text", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/CommonEmail.java#L561-L563", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/CommonEmail.java", "func_name": "CommonEmail.htmlMessage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds HTML message.\n\n@param html The HTML to add as a {@link String}.\n@param encoding The encoding as a {@link String}.\n@return this\n@see #message(EmailMessage)", "docstring_tokens": ["Adds", "HTML", "message", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/CommonEmail.java#L584-L586", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/CommonEmail.java", "func_name": "CommonEmail.header", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets header value.\n\n@param name The name of the header.\n@param value The value of the header.\n@return this", "docstring_tokens": ["Sets", "header", "value", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/CommonEmail.java#L611-L614", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/system/SystemUtil.java", "func_name": "SystemUtil.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns system property. If key is not available, returns the default value.", "docstring_tokens": ["Returns", "system", "property", ".", "If", "key", "is", "not", "available", "returns", "the", "default", "value", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/system/SystemUtil.java#L44-L62", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/system/SystemUtil.java", "func_name": "SystemUtil.getBoolean", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns system property as boolean.", "docstring_tokens": ["Returns", "system", "property", "as", "boolean", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/system/SystemUtil.java#L67-L89", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/system/SystemUtil.java", "func_name": "SystemUtil.getInt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns system property as an int.", "docstring_tokens": ["Returns", "system", "property", "as", "an", "int", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/system/SystemUtil.java#L94-L107", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/system/SystemUtil.java", "func_name": "SystemUtil.getLong", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns system property as a long.", "docstring_tokens": ["Returns", "system", "property", "as", "a", "long", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/system/SystemUtil.java#L112-L125", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/paramo/MethodFinder.java", "func_name": "MethodFinder.getResolvedParameters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns method parameters once when method is parsed.\nIf method has no parameters, an empty array is returned.", "docstring_tokens": ["Returns", "method", "parameters", "once", "when", "method", "is", "parsed", ".", "If", "method", "has", "no", "parameters", "an", "empty", "array", "is", "returned", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/paramo/MethodFinder.java#L131-L140", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/impl/KeyValueJsonSerializer.java", "func_name": "KeyValueJsonSerializer.serializeKeyValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Serializes key and a value.", "docstring_tokens": ["Serializes", "key", "and", "a", "value", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/impl/KeyValueJsonSerializer.java#L40-L87", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/component/ResultMapper.java", "func_name": "ResultMapper.lookupAlias", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Lookups value as an alias and, if not found, as a default alias.", "docstring_tokens": ["Lookups", "value", "as", "an", "alias", "and", "if", "not", "found", "as", "a", "default", "alias", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/component/ResultMapper.java#L56-L65", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/component/ResultMapper.java", "func_name": "ResultMapper.resolveAlias", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns resolved alias result value or passed on, if alias doesn't exist.", "docstring_tokens": ["Returns", "resolved", "alias", "result", "value", "or", "passed", "on", "if", "alias", "doesn", "t", "exist", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/component/ResultMapper.java#L70-L120", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/component/ResultMapper.java", "func_name": "ResultMapper.resolveResultPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves result path.", "docstring_tokens": ["Resolves", "result", "path", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/component/ResultMapper.java#L125-L193", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/component/ResultMapper.java", "func_name": "ResultMapper.resolveResultPathString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves result path as a string, when parts are not important\nand when only full string matters. Additional alias resolving\non full path is done.", "docstring_tokens": ["Resolves", "result", "path", "as", "a", "string", "when", "parts", "are", "not", "important", "and", "when", "only", "full", "string", "matters", ".", "Additional", "alias", "resolving", "on", "full", "path", "is", "done", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/component/ResultMapper.java#L200-L205", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/MadvocUtil.java", "func_name": "MadvocUtil.lastIndexOfSlashDot", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Locates last dot after the last slash or just slash.", "docstring_tokens": ["Locates", "last", "dot", "after", "the", "last", "slash", "or", "just", "slash", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/MadvocUtil.java#L45-L60", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/MadvocUtil.java", "func_name": "MadvocUtil.lastIndexOfDotAfterSlash", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Locates last index of dot after the optional last slash.", "docstring_tokens": ["Locates", "last", "index", "of", "dot", "after", "the", "optional", "last", "slash", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/MadvocUtil.java#L65-L69", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/MadvocUtil.java", "func_name": "MadvocUtil.indexOfDotAfterSlash", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Locates first dot after the last slash.", "docstring_tokens": ["Locates", "first", "dot", "after", "the", "last", "slash", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/MadvocUtil.java#L74-L80", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/MadvocUtil.java", "func_name": "MadvocUtil.stripLastCamelWord", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes last CamelWord", "docstring_tokens": ["Removes", "last", "CamelWord"], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/MadvocUtil.java#L86-L99", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/DbMetaUtil.java", "func_name": "DbMetaUtil.resolveSchemaName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves schema name from a type. Uses default schema name if not specified.", "docstring_tokens": ["Resolves", "schema", "name", "from", "a", "type", ".", "Uses", "default", "schema", "name", "if", "not", "specified", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/DbMetaUtil.java#L69-L79", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/DbMetaUtil.java", "func_name": "DbMetaUtil.resolveColumnDescriptors", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves column descriptor from property. If property is annotated value will be read\nfrom annotation. If property is not annotated, then property will be ignored\nif entity is annotated. Otherwise, column name is generated from the property name.", "docstring_tokens": ["Resolves", "column", "descriptor", "from", "property", ".", "If", "property", "is", "annotated", "value", "will", "be", "read", "from", "annotation", ".", "If", "property", "is", "not", "annotated", "then", "property", "will", "be", "ignored", "if", "entity", "is", "annotated", ".", "Otherwise", "column", "name", "is", "generated", "from", "the", "property", "name", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/DbMetaUtil.java#L94-L164", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/crypt/Threefish.java", "func_name": "Threefish.init", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Initialize the cipher using the key and the tweak value.\n\n@param key the Threefish key to use\n@param tweak the tweak values to use", "docstring_tokens": ["Initialize", "the", "cipher", "using", "the", "key", "and", "the", "tweak", "value", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/crypt/Threefish.java#L216-L264", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/crypt/Threefish.java", "func_name": "Threefish.mix", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Implementation of the MIX function.\n\n@param j the index in the rotation constants\n@param d the round", "docstring_tokens": ["Implementation", "of", "the", "MIX", "function", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/crypt/Threefish.java#L322-L328", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/crypt/Threefish.java", "func_name": "Threefish.demix", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Implementation of the un-MIX function.", "docstring_tokens": ["Implementation", "of", "the", "un", "-", "MIX", "function", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/crypt/Threefish.java#L383-L389", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/crypt/Threefish.java", "func_name": "Threefish.keySchedule", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates the subkeys.\n\n@param s the value of the round devided by 4", "docstring_tokens": ["Creates", "the", "subkeys", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/crypt/Threefish.java#L397-L411", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/crypt/Threefish.java", "func_name": "Threefish.init", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Initializes cipher in a simple way.", "docstring_tokens": ["Initializes", "cipher", "in", "a", "simple", "way", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/crypt/Threefish.java#L418-L424", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/crypt/Threefish.java", "func_name": "Threefish.encryptBlock", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Encrypts a block.", "docstring_tokens": ["Encrypts", "a", "block", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/crypt/Threefish.java#L429-L439", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/crypt/Threefish.java", "func_name": "Threefish.bytesToLongs", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts segment of byte array into long array.", "docstring_tokens": ["Converts", "segment", "of", "byte", "array", "into", "long", "array", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/crypt/Threefish.java#L474-L482", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/RFC2822AddressParser.java", "func_name": "RFC2822AddressParser.removeAnyBounding", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If the string starts and ends with start and end char, remove them,\notherwise return the string as it was passed in.", "docstring_tokens": ["If", "the", "string", "starts", "and", "ends", "with", "start", "and", "end", "char", "remove", "them", "otherwise", "return", "the", "string", "as", "it", "was", "passed", "in", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/RFC2822AddressParser.java#L723-L733", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/result/PathResult.java", "func_name": "PathResult.path", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns path value.", "docstring_tokens": ["Returns", "path", "value", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/result/PathResult.java#L66-L72", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/ZipUtil.java", "func_name": "ZipUtil.zlib", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compresses a file into zlib archive.", "docstring_tokens": ["Compresses", "a", "file", "into", "zlib", "archive", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/ZipUtil.java#L79-L98", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/ZipUtil.java", "func_name": "ZipUtil.gzip", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compresses a file into gzip archive.", "docstring_tokens": ["Compresses", "a", "file", "into", "gzip", "archive", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/ZipUtil.java#L112-L129", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/ZipUtil.java", "func_name": "ZipUtil.ungzip", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Decompress gzip archive.", "docstring_tokens": ["Decompress", "gzip", "archive", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/ZipUtil.java#L141-L156", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/ZipUtil.java", "func_name": "ZipUtil.listZip", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Lists zip content.", "docstring_tokens": ["Lists", "zip", "content", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/ZipUtil.java#L184-L198", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/ZipUtil.java", "func_name": "ZipUtil.unzip", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extracts zip file content to the target directory.\n@see #unzip(java.io.File, java.io.File, String...)", "docstring_tokens": ["Extracts", "zip", "file", "content", "to", "the", "target", "directory", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/ZipUtil.java#L204-L206", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/ZipUtil.java", "func_name": "ZipUtil.addToZip", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds single entry to ZIP output stream.\n\n@param zos zip output stream\n@param file file or folder to add\n@param path relative path of file entry; if null files name will be used instead\n@param comment optional comment\n@param recursive when set to true content of added folders will be added, too", "docstring_tokens": ["Adds", "single", "entry", "to", "ZIP", "output", "stream", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/ZipUtil.java#L280-L342", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/ZipUtil.java", "func_name": "ZipUtil.addToZip", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds byte content into the zip as a file.", "docstring_tokens": ["Adds", "byte", "content", "into", "the", "zip", "as", "a", "file", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/ZipUtil.java#L347-L373", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-bean/src/main/java/jodd/introspector/ClassDescriptor.java", "func_name": "ClassDescriptor.getFieldDescriptor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns field descriptor.", "docstring_tokens": ["Returns", "field", "descriptor", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-bean/src/main/java/jodd/introspector/ClassDescriptor.java#L203-L213", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-bean/src/main/java/jodd/introspector/ClassDescriptor.java", "func_name": "ClassDescriptor.getPropertyDescriptor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns property descriptor. Declared flag is matched on both read and write\nmethods.", "docstring_tokens": ["Returns", "property", "descriptor", ".", "Declared", "flag", "is", "matched", "on", "both", "read", "and", "write", "methods", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-bean/src/main/java/jodd/introspector/ClassDescriptor.java#L297-L305", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-joy/src/main/java/jodd/joy/i18n/LocalizationUtil.java", "func_name": "LocalizationUtil.setRequestBundleName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets bundle name for provided servlet request.", "docstring_tokens": ["Sets", "bundle", "name", "for", "provided", "servlet", "request", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-joy/src/main/java/jodd/joy/i18n/LocalizationUtil.java#L76-L81", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-joy/src/main/java/jodd/joy/i18n/LocalizationUtil.java", "func_name": "LocalizationUtil.setSessionLocale", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Saves Locale to HTTP session.", "docstring_tokens": ["Saves", "Locale", "to", "HTTP", "session", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-joy/src/main/java/jodd/joy/i18n/LocalizationUtil.java#L86-L92", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-joy/src/main/java/jodd/joy/i18n/LocalizationUtil.java", "func_name": "LocalizationUtil.getSessionLocale", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns current locale from session.\ns", "docstring_tokens": ["Returns", "current", "locale", "from", "session", ".", "s"], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-joy/src/main/java/jodd/joy/i18n/LocalizationUtil.java#L97-L100", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/ParamManager.java", "func_name": "ParamManager.filterParametersForBeanName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an array of param keys that belongs to provided bean.\nOptionally resolves the value of returned parameters.", "docstring_tokens": ["Returns", "an", "array", "of", "param", "keys", "that", "belongs", "to", "provided", "bean", ".", "Optionally", "resolves", "the", "value", "of", "returned", "parameters", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/ParamManager.java#L81-L103", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-props/src/main/java/jodd/props/PropsEntries.java", "func_name": "PropsEntries.profile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Enables profiles to iterate.", "docstring_tokens": ["Enables", "profiles", "to", "iterate", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-props/src/main/java/jodd/props/PropsEntries.java#L62-L70", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/crypt/MurmurHash3.java", "func_name": "MurmurHash3.getLongLittleEndian", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets a long from a byte buffer in little endian byte order.", "docstring_tokens": ["Gets", "a", "long", "from", "a", "byte", "buffer", "in", "little", "endian", "byte", "order", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/crypt/MurmurHash3.java#L66-L75", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/ClassReader.java", "func_name": "ClassReader.readStream", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads the given input stream and returns its content as a byte array.\n\n@param inputStream an input stream.\n@param close true to close the input stream after reading.\n@return the content of the given input stream.\n@throws IOException if a problem occurs during reading.", "docstring_tokens": ["Reads", "the", "given", "input", "stream", "and", "returns", "its", "content", "as", "a", "byte", "array", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/ClassReader.java#L297-L316", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/ClassReader.java", "func_name": "ClassReader.readLabel", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the label corresponding to the given bytecode offset. The default implementation of\nthis method creates a label for the given offset if it has not been already created.\n\n@param bytecodeOffset a bytecode offset in a method.\n@param labels the already created labels, indexed by their offset. If a label already exists\nfor bytecodeOffset this method must not create a new one. Otherwise it must store the new\nlabel in this array.\n@return a non null Label, which must be equal to labels[bytecodeOffset].", "docstring_tokens": ["Returns", "the", "label", "corresponding", "to", "the", "given", "bytecode", "offset", ".", "The", "default", "implementation", "of", "this", "method", "creates", "a", "label", "for", "the", "given", "offset", "if", "it", "has", "not", "been", "already", "created", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/ClassReader.java#L2439-L2444", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/ClassReader.java", "func_name": "ClassReader.getTypeAnnotationBytecodeOffset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the bytecode offset corresponding to the specified JVMS 'type_annotation' structure, or\n-1 if there is no such type_annotation of if it does not have a bytecode offset.\n\n@param typeAnnotationOffsets the offset of each 'type_annotation' entry in a\nRuntime[In]VisibleTypeAnnotations attribute, or null.\n@param typeAnnotationIndex the index a 'type_annotation' entry in typeAnnotationOffsets.\n@return bytecode offset corresponding to the specified JVMS 'type_annotation' structure, or -1\nif there is no such type_annotation of if it does not have a bytecode offset.", "docstring_tokens": ["Returns", "the", "bytecode", "offset", "corresponding", "to", "the", "specified", "JVMS", "type_annotation", "structure", "or", "-", "1", "if", "there", "is", "no", "such", "type_annotation", "of", "if", "it", "does", "not", "have", "a", "bytecode", "offset", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/ClassReader.java#L2596-L2604", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/ClassReader.java", "func_name": "ClassReader.readElementValues", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads the element values of a JVMS 'annotation' structure and makes the given visitor visit\nthem. This method can also be used to read the values of the JVMS 'array_value' field of an\nannotation's 'element_value'.\n\n@param annotationVisitor the visitor that must visit the values.\n@param annotationOffset the start offset of an 'annotation' structure (excluding its type_index\nfield) or of an 'array_value' structure.\n@param named if the annotation values are named or not. This should be true to parse the values\nof a JVMS 'annotation' structure, and false to parse the JVMS 'array_value' of an\nannotation's element_value.\n@param charBuffer the buffer used to read strings in the constant pool.\n@return the end offset of the JVMS 'annotation' or 'array_value' structure.", "docstring_tokens": ["Reads", "the", "element", "values", "of", "a", "JVMS", "annotation", "structure", "and", "makes", "the", "given", "visitor", "visit", "them", ".", "This", "method", "can", "also", "be", "used", "to", "read", "the", "values", "of", "the", "JVMS", "array_value", "field", "of", "an", "annotation", "s", "element_value", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/ClassReader.java#L2740-L2767", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/ClassReader.java", "func_name": "ClassReader.readVerificationTypeInfo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads a JVMS 'verification_type_info' structure and stores it at the given index in the given\narray.\n\n@param verificationTypeInfoOffset the start offset of the 'verification_type_info' structure to\nread.\n@param frame the array where the parsed type must be stored.\n@param index the index in 'frame' where the parsed type must be stored.\n@param charBuffer the buffer used to read strings in the constant pool.\n@param labels the labels of the method currently being parsed, indexed by their offset. If the\nparsed type is an ITEM_Uninitialized, a new label for the corresponding NEW instruction is\nstored in this array if it does not already exist.\n@return the end offset of the JVMS 'verification_type_info' structure.", "docstring_tokens": ["Reads", "a", "JVMS", "verification_type_info", "structure", "and", "stores", "it", "at", "the", "given", "index", "in", "the", "given", "array", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/ClassReader.java#L3133-L3175", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/ClassReader.java", "func_name": "ClassReader.readBootstrapMethodsAttribute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads the BootstrapMethods attribute to compute the offset of each bootstrap method.\n\n@param maxStringLength a conservative estimate of the maximum length of the strings contained\nin the constant pool of the class.\n@return the offsets of the bootstrap methods or null.", "docstring_tokens": ["Reads", "the", "BootstrapMethods", "attribute", "to", "compute", "the", "offset", "of", "each", "bootstrap", "method", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/ClassReader.java#L3233-L3259", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-bean/src/main/java/jodd/introspector/Ctors.java", "func_name": "Ctors.inspectConstructors", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Inspects all declared constructors of a target type.", "docstring_tokens": ["Inspects", "all", "declared", "constructors", "of", "a", "target", "type", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-bean/src/main/java/jodd/introspector/Ctors.java#L47-L65", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-bean/src/main/java/jodd/introspector/Ctors.java", "func_name": "Ctors.getCtorDescriptor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds constructor description that matches given argument types.", "docstring_tokens": ["Finds", "constructor", "description", "that", "matches", "given", "argument", "types", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-bean/src/main/java/jodd/introspector/Ctors.java#L86-L104", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/scope/RequestScope.java", "func_name": "RequestScope.getRequestMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns instance map from http request.", "docstring_tokens": ["Returns", "instance", "map", "from", "http", "request", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/scope/RequestScope.java#L73-L76", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/scope/RequestScope.java", "func_name": "RequestScope.createRequestMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates instance map and stores it in the request.", "docstring_tokens": ["Creates", "instance", "map", "and", "stores", "it", "in", "the", "request", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/scope/RequestScope.java#L88-L92", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-bean/src/main/java/jodd/typeconverter/impl/LongArrayConverter.java", "func_name": "LongArrayConverter.convertArrayToArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts array value to array.", "docstring_tokens": ["Converts", "array", "value", "to", "array", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-bean/src/main/java/jodd/typeconverter/impl/LongArrayConverter.java#L128-L146", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-decora/src/main/java/jodd/decora/DecoraServletFilter.java", "func_name": "DecoraServletFilter.init", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Initializes Decora filter. Loads manager and parser from init parameters.", "docstring_tokens": ["Initializes", "Decora", "filter", ".", "Loads", "manager", "and", "parser", "from", "init", "parameters", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-decora/src/main/java/jodd/decora/DecoraServletFilter.java#L85-L127", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/findfile/FindFile.java", "func_name": "FindFile.onFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers file consumer", "docstring_tokens": ["Registers", "file", "consumer"], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/findfile/FindFile.java#L165-L173", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/findfile/FindFile.java", "func_name": "FindFile.searchPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Specifies the search path. Throws an exception if URI is invalid.", "docstring_tokens": ["Specifies", "the", "search", "path", ".", "Throws", "an", "exception", "if", "URI", "is", "invalid", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/findfile/FindFile.java#L226-L237", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/findfile/FindFile.java", "func_name": "FindFile.searchPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Specifies the search path. Throws an exception if URL is invalid.", "docstring_tokens": ["Specifies", "the", "search", "path", ".", "Throws", "an", "exception", "if", "URL", "is", "invalid", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/findfile/FindFile.java#L252-L259", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/findfile/FindFile.java", "func_name": "FindFile.include", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Defines include patterns.", "docstring_tokens": ["Defines", "include", "patterns", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/findfile/FindFile.java#L415-L420", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/findfile/FindFile.java", "func_name": "FindFile.exclude", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Defines exclude patterns.", "docstring_tokens": ["Defines", "exclude", "patterns", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/findfile/FindFile.java#L449-L454", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/findfile/FindFile.java", "func_name": "FindFile.addPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds existing search path to the file list.\nNon existing files are ignored.\nIf path is a folder, it will be scanned for all files.", "docstring_tokens": ["Adds", "existing", "search", "path", "to", "the", "file", "list", ".", "Non", "existing", "files", "are", "ignored", ".", "If", "path", "is", "a", "folder", "it", "will", "be", "scanned", "for", "all", "files", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/findfile/FindFile.java#L524-L533", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/findfile/FindFile.java", "func_name": "FindFile.findAll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds all files and returns list of founded files.", "docstring_tokens": ["Finds", "all", "files", "and", "returns", "list", "of", "founded", "files", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/findfile/FindFile.java#L628-L635", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/findfile/FindFile.java", "func_name": "FindFile.init", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Initializes file walking.\nSeparates input files and folders.", "docstring_tokens": ["Initializes", "file", "walking", ".", "Separates", "input", "files", "and", "folders", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/findfile/FindFile.java#L641-L672", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/findfile/FindFile.java", "func_name": "FindFile.iterator", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns file walking iterator.", "docstring_tokens": ["Returns", "file", "walking", "iterator", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/findfile/FindFile.java#L677-L702", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/AnnotationResolver.java", "func_name": "AnnotationResolver.resolveBeanWiringMode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves bean's auto-wire flag from the annotation. Returns default auto-wire if annotation doesn't exist.", "docstring_tokens": ["Resolves", "bean", "s", "auto", "-", "wire", "flag", "from", "the", "annotation", ".", "Returns", "default", "auto", "-", "wire", "if", "annotation", "doesn", "t", "exist", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/AnnotationResolver.java#L37-L40", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/AnnotationResolver.java", "func_name": "AnnotationResolver.resolveBeanName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves bean's name from bean annotation or type name. May be used for resolving bean name\nof base type during registration of bean subclass.", "docstring_tokens": ["Resolves", "bean", "s", "name", "from", "bean", "annotation", "or", "type", "name", ".", "May", "be", "used", "for", "resolving", "bean", "name", "of", "base", "type", "during", "registration", "of", "bean", "subclass", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/AnnotationResolver.java#L55-L69", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-servlet/src/main/java/jodd/servlet/wrapper/Buffer.java", "func_name": "Buffer.getWriter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a writer.", "docstring_tokens": ["Returns", "a", "writer", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-servlet/src/main/java/jodd/servlet/wrapper/Buffer.java#L50-L65", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-servlet/src/main/java/jodd/servlet/wrapper/Buffer.java", "func_name": "Buffer.getOutputStream", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a servlet output stream.", "docstring_tokens": ["Returns", "a", "servlet", "output", "stream", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-servlet/src/main/java/jodd/servlet/wrapper/Buffer.java#L70-L79", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/Type.java", "func_name": "Type.getClassName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the binary name of the class corresponding to this type. This method must not be used\non method types.\n\n@return the binary name of the class corresponding to this type.", "docstring_tokens": ["Returns", "the", "binary", "name", "of", "the", "class", "corresponding", "to", "this", "type", ".", "This", "method", "must", "not", "be", "used", "on", "method", "types", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/Type.java#L443-L475", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/Type.java", "func_name": "Type.getConstructorDescriptor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the descriptor corresponding to the given constructor.\n\n@param constructor a {@link Constructor} object.\n@return the descriptor of the given constructor.", "docstring_tokens": ["Returns", "the", "descriptor", "corresponding", "to", "the", "given", "constructor", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/Type.java#L536-L544", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/Type.java", "func_name": "Type.getMethodDescriptor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the descriptor corresponding to the given argument and return types.\n\n@param returnType the return type of the method.\n@param argumentTypes the argument types of the method.\n@return the descriptor corresponding to the given argument and return types.", "docstring_tokens": ["Returns", "the", "descriptor", "corresponding", "to", "the", "given", "argument", "and", "return", "types", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/Type.java#L553-L562", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/Type.java", "func_name": "Type.getMethodDescriptor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the descriptor corresponding to the given method.\n\n@param method a {@link Method} object.\n@return the descriptor of the given method.", "docstring_tokens": ["Returns", "the", "descriptor", "corresponding", "to", "the", "given", "method", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/Type.java#L570-L580", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/Type.java", "func_name": "Type.appendDescriptor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Appends the descriptor corresponding to this type to the given string buffer.\n\n@param stringBuilder the string builder to which the descriptor must be appended.", "docstring_tokens": ["Appends", "the", "descriptor", "corresponding", "to", "this", "type", "to", "the", "given", "string", "buffer", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/Type.java#L587-L595", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/Type.java", "func_name": "Type.getSize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the size of values of this type. This method must not be used for method types.\n\n@return the size of values of this type, i.e., 2 for {@code long} and {@code double}, 0 for\n{@code void} and 1 otherwise.", "docstring_tokens": ["Returns", "the", "size", "of", "values", "of", "this", "type", ".", "This", "method", "must", "not", "be", "used", "for", "method", "types", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/Type.java#L680-L700", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/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 methodDescriptor a method descriptor.\n@return the size of the arguments of the method (plus one for the implicit this argument),\nargumentsSize, and the size of its return value, returnSize, packed into a single int i =\n{@code (argumentsSize << 2) | returnSize} (argumentsSize is therefore equal to {@code\ni >> 2}, and returnSize to {@code i & 0x03}).", "docstring_tokens": ["Computes", "the", "size", "of", "the", "arguments", "and", "of", "the", "return", "value", "of", "a", "method", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/Type.java#L724-L753", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-jtx/src/main/java/jodd/jtx/JtxTransaction.java", "func_name": "JtxTransaction.setRollbackOnly", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Modify the transaction associated with the target object such that the only possible outcome\nof the transaction is to roll back the transaction.", "docstring_tokens": ["Modify", "the", "transaction", "associated", "with", "the", "target", "object", "such", "that", "the", "only", "possible", "outcome", "of", "the", "transaction", "is", "to", "roll", "back", "the", "transaction", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-jtx/src/main/java/jodd/jtx/JtxTransaction.java#L196-L204", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-jtx/src/main/java/jodd/jtx/JtxTransaction.java", "func_name": "JtxTransaction.commitOrRollback", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Performs either commit or rollback on all transaction resources.", "docstring_tokens": ["Performs", "either", "commit", "or", "rollback", "on", "all", "transaction", "resources", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-jtx/src/main/java/jodd/jtx/JtxTransaction.java#L252-L279", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-jtx/src/main/java/jodd/jtx/JtxTransaction.java", "func_name": "JtxTransaction.rollbackAllResources", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Rollbacks all attached resources. Resource will be closed. and detached from this transaction.\nIf exception occurs, it will be rethrown at the end.", "docstring_tokens": ["Rollbacks", "all", "attached", "resources", ".", "Resource", "will", "be", "closed", ".", "and", "detached", "from", "this", "transaction", ".", "If", "exception", "occurs", "it", "will", "be", "rethrown", "at", "the", "end", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-jtx/src/main/java/jodd/jtx/JtxTransaction.java#L317-L340", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-jtx/src/main/java/jodd/jtx/JtxTransaction.java", "func_name": "JtxTransaction.requestResource", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Requests a resource. If resource is not found, it will be created and new transaction will be started on it.", "docstring_tokens": ["Requests", "a", "resource", ".", "If", "resource", "is", "not", "found", "it", "will", "be", "created", "and", "new", "transaction", "will", "be", "started", "on", "it", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-jtx/src/main/java/jodd/jtx/JtxTransaction.java#L348-L370", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/JsonWriter.java", "func_name": "JsonWriter.popName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes stored name to JSON string. Cleans storage.", "docstring_tokens": ["Writes", "stored", "name", "to", "JSON", "string", ".", "Cleans", "storage", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/JsonWriter.java#L68-L78", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/JsonWriter.java", "func_name": "JsonWriter.writeString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write a quoted and escaped value to the output.", "docstring_tokens": ["Write", "a", "quoted", "and", "escaped", "value", "to", "the", "output", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/JsonWriter.java#L139-L190", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/JsonWriter.java", "func_name": "JsonWriter.unicode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes unicode representation of a character.", "docstring_tokens": ["Writes", "unicode", "representation", "of", "a", "character", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/JsonWriter.java#L195-L206", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/JsonWriter.java", "func_name": "JsonWriter.write", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Appends char sequence to the buffer. Used for numbers, nulls, booleans, etc.", "docstring_tokens": ["Appends", "char", "sequence", "to", "the", "buffer", ".", "Used", "for", "numbers", "nulls", "booleans", "etc", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/JsonWriter.java#L218-L225", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/LagartoDomBuilderConfig.java", "func_name": "LagartoDomBuilderConfig.setParsingErrorLogLevelName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets parsing error log level as a name.", "docstring_tokens": ["Sets", "parsing", "error", "log", "level", "as", "a", "name", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/LagartoDomBuilderConfig.java#L169-L175", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-decora/src/main/java/jodd/decora/parser/DecoraTag.java", "func_name": "DecoraTag.startRegion", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Starts defining region by setting the start index and reset region length to zero.", "docstring_tokens": ["Starts", "defining", "region", "by", "setting", "the", "start", "index", "and", "reset", "region", "length", "to", "zero", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-decora/src/main/java/jodd/decora/parser/DecoraTag.java#L175-L180", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/Attribute.java", "func_name": "Attribute.isContaining", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if attribute is containing some value.", "docstring_tokens": ["Returns", "true", "if", "attribute", "is", "containing", "some", "value", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/Attribute.java#L84-L98", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/csselly/selector/PseudoFunctionSelector.java", "func_name": "PseudoFunctionSelector.registerPseudoFunction", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers pseudo function.", "docstring_tokens": ["Registers", "pseudo", "function", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/csselly/selector/PseudoFunctionSelector.java#L66-L74", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/csselly/selector/PseudoFunctionSelector.java", "func_name": "PseudoFunctionSelector.lookupPseudoFunction", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Lookups pseudo function for given pseudo function name.", "docstring_tokens": ["Lookups", "pseudo", "function", "for", "given", "pseudo", "function", "name", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/csselly/selector/PseudoFunctionSelector.java#L79-L85", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaClassBuilder.java", "func_name": "ProxettaClassBuilder.visit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates destination subclass header from current target class. Destination name is created from targets by\nadding a suffix and, optionally, a number. Destination extends the target.", "docstring_tokens": ["Creates", "destination", "subclass", "header", "from", "current", "target", "class", ".", "Destination", "name", "is", "created", "from", "targets", "by", "adding", "a", "suffix", "and", "optionally", "a", "number", ".", "Destination", "extends", "the", "target", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaClassBuilder.java#L95-L110", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaClassBuilder.java", "func_name": "ProxettaClassBuilder.visitAnnotation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copies all destination type annotations to the target.", "docstring_tokens": ["Copies", "all", "destination", "type", "annotations", "to", "the", "target", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaClassBuilder.java#L158-L162", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaClassBuilder.java", "func_name": "ProxettaClassBuilder.makeStaticInitBlock", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates static initialization block that simply calls all\nadvice static init methods in correct order.", "docstring_tokens": ["Creates", "static", "initialization", "block", "that", "simply", "calls", "all", "advice", "static", "init", "methods", "in", "correct", "order", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaClassBuilder.java#L184-L199", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaClassBuilder.java", "func_name": "ProxettaClassBuilder.makeProxyConstructor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates init method that simply calls all advice constructor methods in correct order.\nThis created init method is called from each destination's constructor.", "docstring_tokens": ["Creates", "init", "method", "that", "simply", "calls", "all", "advice", "constructor", "methods", "in", "correct", "order", ".", "This", "created", "init", "method", "is", "called", "from", "each", "destination", "s", "constructor", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaClassBuilder.java#L205-L221", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaClassBuilder.java", "func_name": "ProxettaClassBuilder.processSuperMethods", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks for all public super methods that are not overridden.", "docstring_tokens": ["Checks", "for", "all", "public", "super", "methods", "that", "are", "not", "overridden", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaClassBuilder.java#L226-L251", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/BinarySearchBase.java", "func_name": "BinarySearchBase.findLast", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds very last index of given element in inclusive index range. Returns negative\nvalue if element is not found.", "docstring_tokens": ["Finds", "very", "last", "index", "of", "given", "element", "in", "inclusive", "index", "range", ".", "Returns", "negative", "value", "if", "element", "is", "not", "found", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/BinarySearchBase.java#L97-L118", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/chalk/Chalk.java", "func_name": "Chalk.on", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns chalked string.", "docstring_tokens": ["Returns", "chalked", "string", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/chalk/Chalk.java#L264-L282", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/ClassWriter.java", "func_name": "ClassWriter.replaceAsmInstructions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the equivalent of the given class file, with the ASM specific instructions replaced\nwith standard ones. This is done with a ClassReader -> ClassWriter round trip.\n\n@param classFile a class file containing ASM specific instructions, generated by this\nClassWriter.\n@param hasFrames whether there is at least one stack map frames in 'classFile'.\n@return an equivalent of 'classFile', with the ASM specific instructions replaced with standard\nones.", "docstring_tokens": ["Returns", "the", "equivalent", "of", "the", "given", "class", "file", "with", "the", "ASM", "specific", "instructions", "replaced", "with", "standard", "ones", ".", "This", "is", "done", "with", "a", "ClassReader", "-", ">", ";", "ClassWriter", "round", "trip", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/ClassWriter.java#L675-L697", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/ClassWriter.java", "func_name": "ClassWriter.getAttributePrototypes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the prototypes of the attributes used by this class, its fields and its methods.\n\n@return the prototypes of the attributes used by this class, its fields and its methods.", "docstring_tokens": ["Returns", "the", "prototypes", "of", "the", "attributes", "used", "by", "this", "class", "its", "fields", "and", "its", "methods", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/ClassWriter.java#L704-L718", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/type/SqlTypeManager.java", "func_name": "SqlTypeManager.registerDefaults", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers default set of SQL types.", "docstring_tokens": ["Registers", "default", "set", "of", "SQL", "types", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/type/SqlTypeManager.java#L86-L139", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/type/SqlTypeManager.java", "func_name": "SqlTypeManager.register", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers sql type for provided type.", "docstring_tokens": ["Registers", "sql", "type", "for", "provided", "type", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/type/SqlTypeManager.java#L144-L146", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/type/SqlTypeManager.java", "func_name": "SqlTypeManager.lookup", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retrieves SQL type for provided type. All subclasses and interfaces are examined\nfor matching sql type.", "docstring_tokens": ["Retrieves", "SQL", "type", "for", "provided", "type", ".", "All", "subclasses", "and", "interfaces", "are", "examined", "for", "matching", "sql", "type", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/type/SqlTypeManager.java#L161-L177", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/type/SqlTypeManager.java", "func_name": "SqlTypeManager.lookupSqlType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns sql type instance. Instances are stored for better performances.", "docstring_tokens": ["Returns", "sql", "type", "instance", ".", "Instances", "are", "stored", "for", "better", "performances", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/type/SqlTypeManager.java#L182-L193", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/ProxyInfo.java", "func_name": "ProxyInfo.socks4Proxy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates SOCKS4 proxy.", "docstring_tokens": ["Creates", "SOCKS4", "proxy", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/ProxyInfo.java#L66-L68", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/ProxyInfo.java", "func_name": "ProxyInfo.socks5Proxy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates SOCKS5 proxy.", "docstring_tokens": ["Creates", "SOCKS5", "proxy", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/ProxyInfo.java#L73-L75", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/ProxyInfo.java", "func_name": "ProxyInfo.httpProxy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates HTTP proxy.", "docstring_tokens": ["Creates", "HTTP", "proxy", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/ProxyInfo.java#L80-L82", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-jtx/src/main/java/jodd/jtx/JtxTransactionManager.java", "func_name": "JtxTransactionManager.totalThreadTransactions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns total number of transactions associated with current thread.", "docstring_tokens": ["Returns", "total", "number", "of", "transactions", "associated", "with", "current", "thread", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-jtx/src/main/java/jodd/jtx/JtxTransactionManager.java#L137-L143", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-jtx/src/main/java/jodd/jtx/JtxTransactionManager.java", "func_name": "JtxTransactionManager.totalThreadTransactionsWithStatus", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns total number of transactions of the specified status associated with current thread.", "docstring_tokens": ["Returns", "total", "number", "of", "transactions", "of", "the", "specified", "status", "associated", "with", "current", "thread", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-jtx/src/main/java/jodd/jtx/JtxTransactionManager.java#L148-L160", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-jtx/src/main/java/jodd/jtx/JtxTransactionManager.java", "func_name": "JtxTransactionManager.associateTransaction", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Associate transaction to current thread.", "docstring_tokens": ["Associate", "transaction", "to", "current", "thread", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-jtx/src/main/java/jodd/jtx/JtxTransactionManager.java#L227-L235", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-jtx/src/main/java/jodd/jtx/JtxTransactionManager.java", "func_name": "JtxTransactionManager.continueTx", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if propagation of a transaction is possible, due to source and destination transaction modes.\n@see #setValidateExistingTransaction(boolean)", "docstring_tokens": ["Check", "if", "propagation", "of", "a", "transaction", "is", "possible", "due", "to", "source", "and", "destination", "transaction", "modes", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-jtx/src/main/java/jodd/jtx/JtxTransactionManager.java#L312-L328", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-jtx/src/main/java/jodd/jtx/JtxTransactionManager.java", "func_name": "JtxTransactionManager.lookupResourceManager", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Lookups resource manager for provided type. Throws an exception if provider doesn't exists.", "docstring_tokens": ["Lookups", "resource", "manager", "for", "provided", "type", ".", "Throws", "an", "exception", "if", "provider", "doesn", "t", "exists", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-jtx/src/main/java/jodd/jtx/JtxTransactionManager.java#L441-L448", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/pathref/Pathref.java", "func_name": "Pathref.createProxyObject", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates proxy object.", "docstring_tokens": ["Creates", "proxy", "object", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/pathref/Pathref.java#L82-L102", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/pathref/Pathref.java", "func_name": "Pathref.append", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Appends method name to existing path.", "docstring_tokens": ["Appends", "method", "name", "to", "existing", "path", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/pathref/Pathref.java#L111-L119", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/Format.java", "func_name": "Format.alignLeftAndPad", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Puts the text to the left and pads with spaces until the size is reached.", "docstring_tokens": ["Puts", "the", "text", "to", "the", "left", "and", "pads", "with", "spaces", "until", "the", "size", "is", "reached", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/Format.java#L36-L48", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/Format.java", "func_name": "Format.toPrettyString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts object into pretty string. All arrays are iterated.", "docstring_tokens": ["Converts", "object", "into", "pretty", "string", ".", "All", "arrays", "are", "iterated", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/Format.java#L82-L152", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/Format.java", "func_name": "Format.toCamelCase", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts separated string value to CamelCase.", "docstring_tokens": ["Converts", "separated", "string", "value", "to", "CamelCase", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/Format.java#L210-L227", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/Format.java", "func_name": "Format.formatParagraph", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Formats provided string as paragraph.", "docstring_tokens": ["Formats", "provided", "string", "as", "paragraph", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/Format.java#L235-L258", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/Format.java", "func_name": "Format.convertTabsToSpaces", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts all tabs on a line to spaces according to the provided tab width.\nThis is not a simple tab to spaces replacement, since the resulting\nindentation remains the same.", "docstring_tokens": ["Converts", "all", "tabs", "on", "a", "line", "to", "spaces", "according", "to", "the", "provided", "tab", "width", ".", "This", "is", "not", "a", "simple", "tab", "to", "spaces", "replacement", "since", "the", "resulting", "indentation", "remains", "the", "same", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/Format.java#L265-L293", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/Format.java", "func_name": "Format.escapeJava", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Escapes a string using java rules.", "docstring_tokens": ["Escapes", "a", "string", "using", "java", "rules", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/Format.java#L300-L328", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/Format.java", "func_name": "Format.unescapeJava", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Unescapes a string using java rules.", "docstring_tokens": ["Unescapes", "a", "string", "using", "java", "rules", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/Format.java#L333-L363", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/PetiteContainer.java", "func_name": "PetiteContainer.getBean", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns Petite bean instance. Bean name will be resolved from provided type.", "docstring_tokens": ["Returns", "Petite", "bean", "instance", ".", "Bean", "name", "will", "be", "resolved", "from", "provided", "type", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/PetiteContainer.java#L105-L109", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/PetiteContainer.java", "func_name": "PetiteContainer.getBean", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns Petite bean instance.\nPetite container will find the bean in corresponding scope and all its dependencies,\neither by constructor or property injection. When using constructor injection, cyclic dependencies\ncan not be prevented, but at least they are detected.\n\n@see PetiteContainer#createBean(Class)", "docstring_tokens": ["Returns", "Petite", "bean", "instance", ".", "Petite", "container", "will", "find", "the", "bean", "in", "corresponding", "scope", "and", "all", "its", "dependencies", "either", "by", "constructor", "or", "property", "injection", ".", "When", "using", "constructor", "injection", "cyclic", "dependencies", "can", "not", "be", "prevented", "but", "at", "least", "they", "are", "detected", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/PetiteContainer.java#L139-L167", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/PetiteContainer.java", "func_name": "PetiteContainer.initBeanDefinition", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves and initializes bean definition. May be called multiple times.", "docstring_tokens": ["Resolves", "and", "initializes", "bean", "definition", ".", "May", "be", "called", "multiple", "times", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/PetiteContainer.java#L172-L205", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/PetiteContainer.java", "func_name": "PetiteContainer.invokeProvider", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Invokes provider to get a bean.", "docstring_tokens": ["Invokes", "provider", "to", "get", "a", "bean", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/PetiteContainer.java#L313-L332", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/PetiteContainer.java", "func_name": "PetiteContainer.addBean", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds object instance to the container as singleton bean.", "docstring_tokens": ["Adds", "object", "instance", "to", "the", "container", "as", "singleton", "bean", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/PetiteContainer.java#L347-L352", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/PetiteContainer.java", "func_name": "PetiteContainer.setBeanProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets petite bean property.", "docstring_tokens": ["Sets", "petite", "bean", "property", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/PetiteContainer.java#L375-L402", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/PetiteContainer.java", "func_name": "PetiteContainer.getBeanProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns petite bean property value.", "docstring_tokens": ["Returns", "petite", "bean", "property", "value", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/PetiteContainer.java#L407-L422", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/PetiteContainer.java", "func_name": "PetiteContainer.shutdown", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Shutdowns container. After container is down, it can't be used anymore.", "docstring_tokens": ["Shutdowns", "container", ".", "After", "container", "is", "down", "it", "can", "t", "be", "used", "anymore", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/PetiteContainer.java#L440-L450", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/paramo/Paramo.java", "func_name": "Paramo.resolveParameters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves method parameters from a method or constructor.\nReturns an empty array when target does not contain any parameter.\nNo caching is involved in this process, i.e. class bytecode\nis examined every time this method is called.", "docstring_tokens": ["Resolves", "method", "parameters", "from", "a", "method", "or", "constructor", ".", "Returns", "an", "empty", "array", "when", "target", "does", "not", "contain", "any", "parameter", ".", "No", "caching", "is", "involved", "in", "this", "process", "i", ".", "e", ".", "class", "bytecode", "is", "examined", "every", "time", "this", "method", "is", "called", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/paramo/Paramo.java#L51-L95", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/form/FormTag.java", "func_name": "FormTag.doAfterBody", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Performs smart form population.", "docstring_tokens": ["Performs", "smart", "form", "population", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/form/FormTag.java#L55-L68", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-props/src/main/java/jodd/props/PropsEntry.java", "func_name": "PropsEntry.getValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the property value, with replaced macros.", "docstring_tokens": ["Returns", "the", "property", "value", "with", "replaced", "macros", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-props/src/main/java/jodd/props/PropsEntry.java#L66-L71", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/LagartoDOMBuilderTagVisitor.java", "func_name": "LagartoDOMBuilderTagVisitor.end", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finishes the tree building. Closes unclosed tags.", "docstring_tokens": ["Finishes", "the", "tree", "building", ".", "Closes", "unclosed", "tags", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/LagartoDOMBuilderTagVisitor.java#L104-L141", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/LagartoDOMBuilderTagVisitor.java", "func_name": "LagartoDOMBuilderTagVisitor.createElementNode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates new element with correct configuration.", "docstring_tokens": ["Creates", "new", "element", "with", "correct", "configuration", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/LagartoDOMBuilderTagVisitor.java#L148-L168", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/LagartoDOMBuilderTagVisitor.java", "func_name": "LagartoDOMBuilderTagVisitor.tag", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Visits tags.", "docstring_tokens": ["Visits", "tags", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/LagartoDOMBuilderTagVisitor.java#L173-L268", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/LagartoDOMBuilderTagVisitor.java", "func_name": "LagartoDOMBuilderTagVisitor.removeLastChildNodeIfEmptyText", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes last child node if contains just empty text.", "docstring_tokens": ["Removes", "last", "child", "node", "if", "contains", "just", "empty", "text", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/LagartoDOMBuilderTagVisitor.java#L275-L300", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/debug/BaseLoggableStatement.java", "func_name": "BaseLoggableStatement.getQueryString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the query string.", "docstring_tokens": ["Returns", "the", "query", "string", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/debug/BaseLoggableStatement.java#L59-L94", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-joy/src/main/java/jodd/joy/i18n/I18nInterceptor.java", "func_name": "I18nInterceptor.getActionClassName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns correct action class name. Detects Proxetta classes.", "docstring_tokens": ["Returns", "correct", "action", "class", "name", ".", "Detects", "Proxetta", "classes", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-joy/src/main/java/jodd/joy/i18n/I18nInterceptor.java#L52-L58", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-servlet/src/main/java/jodd/servlet/tag/IteratorTag.java", "func_name": "IteratorTag.calculateTo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculates 'TO'.", "docstring_tokens": ["Calculates", "TO", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-servlet/src/main/java/jodd/servlet/tag/IteratorTag.java#L140-L149", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-servlet/src/main/java/jodd/servlet/tag/IteratorTag.java", "func_name": "IteratorTag.iterateCollection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Iterates collection.", "docstring_tokens": ["Iterates", "collection", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-servlet/src/main/java/jodd/servlet/tag/IteratorTag.java#L154-L170", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-servlet/src/main/java/jodd/servlet/tag/IteratorTag.java", "func_name": "IteratorTag.iterateArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Iterates arrays.", "docstring_tokens": ["Iterates", "arrays", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-servlet/src/main/java/jodd/servlet/tag/IteratorTag.java#L175-L188", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.replace", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Replaces all occurrences of a certain pattern in a string with a\nreplacement string. This is the fastest replace function known to author.\n\n@param s string to be inspected\n@param sub string pattern to be replaced\n@param with string that should go where the pattern was", "docstring_tokens": ["Replaces", "all", "occurrences", "of", "a", "certain", "pattern", "in", "a", "string", "with", "a", "replacement", "string", ".", "This", "is", "the", "fastest", "replace", "function", "known", "to", "author", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L54-L74", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.replaceChar", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Replaces all occurrences of a character in a string.\n\n@param s input string\n@param sub character to replace\n@param with character to replace with", "docstring_tokens": ["Replaces", "all", "occurrences", "of", "a", "character", "in", "a", "string", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L83-L95", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.replaceChars", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Replaces all occurrences of a characters in a string.\n\n@param s input string\n@param sub characters to replace\n@param with characters to replace with", "docstring_tokens": ["Replaces", "all", "occurrences", "of", "a", "characters", "in", "a", "string", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L104-L116", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.replaceFirst", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Replaces the very first occurrence of a substring with supplied string.\n\n@param s source string\n@param sub substring to replace\n@param with substring to replace with", "docstring_tokens": ["Replaces", "the", "very", "first", "occurrence", "of", "a", "substring", "with", "supplied", "string", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L125-L131", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.replaceFirst", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Replaces the very first occurrence of a character in a string.\n\n@param s string\n@param sub char to replace\n@param with char to replace with", "docstring_tokens": ["Replaces", "the", "very", "first", "occurrence", "of", "a", "character", "in", "a", "string", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L140-L148", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.replaceLast", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Replaces the very last occurrence of a substring with supplied string.\n\n@param s source string\n@param sub substring to replace\n@param with substring to replace with", "docstring_tokens": ["Replaces", "the", "very", "last", "occurrence", "of", "a", "substring", "with", "supplied", "string", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L157-L163", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.replaceLast", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Replaces the very last occurrence of a character in a string.\n\n@param s string\n@param sub char to replace\n@param with char to replace with", "docstring_tokens": ["Replaces", "the", "very", "last", "occurrence", "of", "a", "character", "in", "a", "string", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L172-L180", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.remove", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes all substring occurrences from the string.\n\n@param s source string\n@param sub substring to remove", "docstring_tokens": ["Removes", "all", "substring", "occurrences", "from", "the", "string", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L190-L209", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.remove", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes a single character from string.\n\n@param string source string\n@param ch character to remove", "docstring_tokens": ["Removes", "a", "single", "character", "from", "string", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L258-L279", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.isAllEmpty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determines if string array contains empty strings.\n@see #isEmpty(CharSequence)", "docstring_tokens": ["Determines", "if", "string", "array", "contains", "empty", "strings", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L307-L314", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.isAllBlank", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determines if string array contains just blank strings.", "docstring_tokens": ["Determines", "if", "string", "array", "contains", "just", "blank", "strings", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L333-L340", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.toStringArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts an array object to array of strings, where every element\nof input array is converted to a string. If input is not an array,\nthe result will still be an array with one element.", "docstring_tokens": ["Converts", "an", "array", "object", "to", "array", "of", "strings", "where", "every", "element", "of", "input", "array", "is", "converted", "to", "a", "string", ".", "If", "input", "is", "not", "an", "array", "the", "result", "will", "still", "be", "an", "array", "with", "one", "element", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L421-L462", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.changeFirstCharacterCase", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Internal method for changing the first character case.", "docstring_tokens": ["Internal", "method", "for", "changing", "the", "first", "character", "case", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L492-L515", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.title", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Makes a title-cased string from given input.", "docstring_tokens": ["Makes", "a", "title", "-", "cased", "string", "from", "given", "input", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L555-L576", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.compressChars", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compress multiple occurrences of given char into one appearance.", "docstring_tokens": ["Compress", "multiple", "occurrences", "of", "given", "char", "into", "one", "appearance", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L833-L853", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.startsWithIgnoreCase", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Tests if this string starts with the specified prefix with ignored case\nand with the specified prefix beginning a specified index.\n\n@param src source string to test\n@param subS starting substring\n@param startIndex index from where to test\n\n@return true if the character sequence represented by the argument is\na prefix of the character sequence represented by this string;\nfalse otherwise.", "docstring_tokens": ["Tests", "if", "this", "string", "starts", "with", "the", "specified", "prefix", "with", "ignored", "case", "and", "with", "the", "specified", "prefix", "beginning", "a", "specified", "index", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L1272-L1288", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.endsWithChar", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns if string ends with provided character.", "docstring_tokens": ["Returns", "if", "string", "ends", "with", "provided", "character", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L1331-L1336", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.countIgnoreCase", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Count substring occurrences in a source string, ignoring case.\n\n@param source\tsource string\n@param sub\t\tsubstring to count\n@return\t\t\tnumber of substring occurrences", "docstring_tokens": ["Count", "substring", "occurrences", "in", "a", "source", "string", "ignoring", "case", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L1395-L1411", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.equalsIgnoreCase", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compares two string arrays.\n\n@param as first string array\n@param as1 second string array\n\n@return true if all array elements matches", "docstring_tokens": ["Compares", "two", "string", "arrays", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L1596-L1606", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.indexOfWhitespace", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns first index of a whitespace character, starting from specified index offset.", "docstring_tokens": ["Returns", "first", "index", "of", "a", "whitespace", "character", "starting", "from", "specified", "index", "offset", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L1838-L1845", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.stripLeadingChar", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Strips leading char if string starts with one.", "docstring_tokens": ["Strips", "leading", "char", "if", "string", "starts", "with", "one", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L1868-L1875", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.stripTrailingChar", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Strips trailing char if string ends with one.", "docstring_tokens": ["Strips", "trailing", "char", "if", "string", "ends", "with", "one", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L1880-L1887", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.stripChar", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Strips leading and trailing char from given string.", "docstring_tokens": ["Strips", "leading", "and", "trailing", "char", "from", "given", "string", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L1892-L1912", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.stripToChar", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Strips everything up to the first appearance of given char.\nCharacter IS included in the returned string.", "docstring_tokens": ["Strips", "everything", "up", "to", "the", "first", "appearance", "of", "given", "char", ".", "Character", "IS", "included", "in", "the", "returned", "string", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L1918-L1926", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.stripFromChar", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Strips everything from the first appearance of given char.\nCharacter IS NOT included in the returned string.", "docstring_tokens": ["Strips", "everything", "from", "the", "first", "appearance", "of", "given", "char", ".", "Character", "IS", "NOT", "included", "in", "the", "returned", "string", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L1932-L1940", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.cropAll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Crops all elements of string array.", "docstring_tokens": ["Crops", "all", "elements", "of", "string", "array", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L1994-L2002", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.trimLeft", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Trim whitespaces from the left.", "docstring_tokens": ["Trim", "whitespaces", "from", "the", "left", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L2007-L2014", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.trimRight", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Trim whitespaces from the right.", "docstring_tokens": ["Trim", "whitespaces", "from", "the", "right", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L2019-L2026", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.indexOfRegion", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns indexes of the first region without escaping character.\n@see #indexOfRegion(String, String, String, char, int)", "docstring_tokens": ["Returns", "indexes", "of", "the", "first", "region", "without", "escaping", "character", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L2043-L2061", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.join", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Joins an collection of objects into one string with separator.", "docstring_tokens": ["Joins", "an", "collection", "of", "objects", "into", "one", "string", "with", "separator", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L2193-L2215", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.join", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Joins an array of objects into one string with separator.", "docstring_tokens": ["Joins", "an", "array", "of", "objects", "into", "one", "string", "with", "separator", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L2244-L2269", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.convertCharset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts string charset. If charset names are the same, the same string is returned.", "docstring_tokens": ["Converts", "string", "charset", ".", "If", "charset", "names", "are", "the", "same", "the", "same", "string", "is", "returned", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L2279-L2284", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.isCharAtEqual", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Safely compares provided char with char on given location.", "docstring_tokens": ["Safely", "compares", "provided", "char", "with", "char", "on", "given", "location", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L2292-L2297", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.surround", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Surrounds the string with provided prefix and suffix if such missing from string.", "docstring_tokens": ["Surrounds", "the", "string", "with", "provided", "prefix", "and", "suffix", "if", "such", "missing", "from", "string", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L2312-L2320", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.prefix", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Inserts prefix if doesn't exist.", "docstring_tokens": ["Inserts", "prefix", "if", "doesn", "t", "exist", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L2325-L2330", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.suffix", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Appends suffix if doesn't exist.", "docstring_tokens": ["Appends", "suffix", "if", "doesn", "t", "exist", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L2335-L2340", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.cutToIndexOf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Cuts the string from beginning to the first index of provided substring.", "docstring_tokens": ["Cuts", "the", "string", "from", "beginning", "to", "the", "first", "index", "of", "provided", "substring", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L2347-L2353", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.cutFromIndexOf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Cuts the string from the first index of provided substring to the end.", "docstring_tokens": ["Cuts", "the", "string", "from", "the", "first", "index", "of", "provided", "substring", "to", "the", "end", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L2368-L2374", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.cutPrefix", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Cuts prefix if exists.", "docstring_tokens": ["Cuts", "prefix", "if", "exists", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L2389-L2394", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.cutSuffix", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Cuts sufix if exists.", "docstring_tokens": ["Cuts", "sufix", "if", "exists", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L2399-L2404", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.cutSurrounding", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes surrounding prefix and suffixes.", "docstring_tokens": ["Removes", "surrounding", "prefix", "and", "suffixes", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L2416-L2432", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.insert", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Inserts a string on provided offset.", "docstring_tokens": ["Inserts", "a", "string", "on", "provided", "offset", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L2510-L2520", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.repeat", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new string that contains the provided string a number of times.", "docstring_tokens": ["Creates", "a", "new", "string", "that", "contains", "the", "provided", "string", "a", "number", "of", "times", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L2527-L2534", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.reverse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reverse a string.", "docstring_tokens": ["Reverse", "a", "string", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L2547-L2553", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.maxCommonPrefix", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns max common prefix of two strings.", "docstring_tokens": ["Returns", "max", "common", "prefix", "of", "two", "strings", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L2558-L2571", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.findCommonPrefix", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds common prefix for several strings. Returns an empty string if\narguments do not have a common prefix.", "docstring_tokens": ["Finds", "common", "prefix", "for", "several", "strings", ".", "Returns", "an", "empty", "string", "if", "arguments", "do", "not", "have", "a", "common", "prefix", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L2579-L2606", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.shorten", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Shorten string to given length.", "docstring_tokens": ["Shorten", "string", "to", "given", "length", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L2614-L2629", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.toUpperCase", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts all of the characters in the string to upper case, based on the\nlocale.\n\n@param s the string to convert\n@param locale apply this locale's rules\n@return the string, converted to upper case, or null if the\nstring is null", "docstring_tokens": ["Converts", "all", "of", "the", "characters", "in", "the", "string", "to", "upper", "case", "based", "on", "the", "locale", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L2712-L2746", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.removeQuotes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes starting and ending single or double quotes.", "docstring_tokens": ["Removes", "starting", "and", "ending", "single", "or", "double", "quotes", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L2753-L2762", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.toHexString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts bytes to hex string.", "docstring_tokens": ["Converts", "bytes", "to", "hex", "string", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L2769-L2779", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.getBytes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns String bytes using Jodds default encoding.", "docstring_tokens": ["Returns", "String", "bytes", "using", "Jodds", "default", "encoding", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L2799-L2805", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringUtil.java", "func_name": "StringUtil.detectQuoteChar", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Detects quote character or return 0.", "docstring_tokens": ["Detects", "quote", "character", "or", "return", "0", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringUtil.java#L2834-L2850", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/AnnotationVisitor.java", "func_name": "AnnotationVisitor.visit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Visits a primitive value of the annotation.\n\n@param name the value name.\n@param value the actual value, whose type must be {@link Byte}, {@link Boolean}, {@link\nCharacter}, {@link Short}, {@link Integer} , {@link Long}, {@link Float}, {@link Double},\n{@link String} or {@link Type} of {@link Type#OBJECT} or {@link Type#ARRAY} sort. This\nvalue can also be an array of byte, boolean, short, char, int, long, float or double values\n(this is equivalent to using {@link #visitArray} and visiting each array element in turn,\nbut is more convenient).", "docstring_tokens": ["Visits", "a", "primitive", "value", "of", "the", "annotation", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/AnnotationVisitor.java#L86-L90", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/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 the value name.\n@param descriptor the class descriptor of the enumeration class.\n@param value the actual enumeration value.", "docstring_tokens": ["Visits", "an", "enumeration", "value", "of", "the", "annotation", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/AnnotationVisitor.java#L99-L103", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/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 the value name.\n@param descriptor the class descriptor of the nested annotation class.\n@return a visitor to visit the actual nested annotation value, or {@literal null} if this\nvisitor is not interested in visiting this nested annotation. The nested annotation\nvalue must be fully visited before calling other methods on this annotation visitor.", "docstring_tokens": ["Visits", "a", "nested", "annotation", "value", "of", "the", "annotation", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/AnnotationVisitor.java#L114-L119", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/DbEntityManager.java", "func_name": "DbEntityManager.registerType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers just type and entity names. Enough for most usages.", "docstring_tokens": ["Registers", "just", "type", "and", "entity", "names", ".", "Enough", "for", "most", "usages", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/DbEntityManager.java#L127-L148", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/DbEntityManager.java", "func_name": "DbEntityManager.registerEntity", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers entity. Existing entity will be removed if exist, so no exception will be thrown.", "docstring_tokens": ["Registers", "entity", ".", "Existing", "entity", "will", "be", "removed", "if", "exist", "so", "no", "exception", "will", "be", "thrown", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/DbEntityManager.java#L169-L174", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/DbEntityManager.java", "func_name": "DbEntityManager.removeEntity", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes entity and returns removed descriptor.", "docstring_tokens": ["Removes", "entity", "and", "returns", "removed", "descriptor", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/DbEntityManager.java#L179-L187", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/DbEntityManager.java", "func_name": "DbEntityManager.createEntityInstance", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates new entity instances.", "docstring_tokens": ["Creates", "new", "entity", "instances", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/DbEntityManager.java#L235-L241", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/impl/WrapperProxettaFactory.java", "func_name": "WrapperProxettaFactory.setTargetInterface", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Defines the interface of the resulting class.", "docstring_tokens": ["Defines", "the", "interface", "of", "the", "resulting", "class", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/impl/WrapperProxettaFactory.java#L69-L75", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/impl/WrapperProxettaFactory.java", "func_name": "WrapperProxettaFactory.injectTargetIntoWrapper", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Injects target into wrapper.", "docstring_tokens": ["Injects", "target", "into", "wrapper", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/impl/WrapperProxettaFactory.java#L111-L113", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/interceptor/AnnotatedPropertyInterceptor.java", "func_name": "AnnotatedPropertyInterceptor.lookupAnnotatedProperties", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Lookups for annotated properties. Caches all annotated properties on the first\naction class scan.", "docstring_tokens": ["Lookups", "for", "annotated", "properties", ".", "Caches", "all", "annotated", "properties", "on", "the", "first", "action", "class", "scan", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/interceptor/AnnotatedPropertyInterceptor.java#L78-L118", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/DbDetector.java", "func_name": "DbDetector.detectDatabaseAndConfigureDbOom", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Detects database and configure DbOom engine.", "docstring_tokens": ["Detects", "database", "and", "configure", "DbOom", "engine", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/DbDetector.java#L58-L73", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-servlet/src/main/java/jodd/servlet/filter/GzipResponseStream.java", "func_name": "GzipResponseStream.close", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Closes this output stream, causing any buffered data to be flushed and any\nfurther output data to throw an IOException.", "docstring_tokens": ["Closes", "this", "output", "stream", "causing", "any", "buffered", "data", "to", "be", "flushed", "and", "any", "further", "output", "data", "to", "throw", "an", "IOException", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-servlet/src/main/java/jodd/servlet/filter/GzipResponseStream.java#L113-L130", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-servlet/src/main/java/jodd/servlet/filter/GzipResponseStream.java", "func_name": "GzipResponseStream.write", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes the specified byte to our output stream.", "docstring_tokens": ["Writes", "the", "specified", "byte", "to", "our", "output", "stream", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-servlet/src/main/java/jodd/servlet/filter/GzipResponseStream.java#L159-L169", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-servlet/src/main/java/jodd/servlet/filter/RemoveSessionFromUrlFilter.java", "func_name": "RemoveSessionFromUrlFilter.doFilter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Filters requests to remove URL-based session identifiers.", "docstring_tokens": ["Filters", "requests", "to", "remove", "URL", "-", "based", "session", "identifiers", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-servlet/src/main/java/jodd/servlet/filter/RemoveSessionFromUrlFilter.java#L53-L92", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/EmailAttachment.java", "func_name": "EmailAttachment.getEncodedName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns encoded attachment name.\n\n@return encoded attachment name. Value may be {@code null}.", "docstring_tokens": ["Returns", "encoded", "attachment", "name", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/EmailAttachment.java#L120-L129", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/EmailAttachment.java", "func_name": "EmailAttachment.toByteArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns byte content of the attachment.\n\n@return byte array with content of the attachment.", "docstring_tokens": ["Returns", "byte", "content", "of", "the", "attachment", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/EmailAttachment.java#L257-L266", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/EmailAttachment.java", "func_name": "EmailAttachment.writeToFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Saves attachment to a file.\n\n@param destination The destination file to be written.", "docstring_tokens": ["Saves", "attachment", "to", "a", "file", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/EmailAttachment.java#L273-L288", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/EmailAttachment.java", "func_name": "EmailAttachment.writeToStream", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Saves attachment to the output stream.\n\n@param out OutputStream where attachment should be copied to.", "docstring_tokens": ["Saves", "attachment", "to", "the", "output", "stream", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/EmailAttachment.java#L295-L308", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/asm/InvokeReplacerMethodAdapter.java", "func_name": "InvokeReplacerMethodAdapter.appendArgument", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Appends argument to the existing description.", "docstring_tokens": ["Appends", "argument", "to", "the", "existing", "description", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/asm/InvokeReplacerMethodAdapter.java#L348-L351", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/asm/InvokeReplacerMethodAdapter.java", "func_name": "InvokeReplacerMethodAdapter.prependArgument", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Prepends argument to the existing description.", "docstring_tokens": ["Prepends", "argument", "to", "the", "existing", "description", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/asm/InvokeReplacerMethodAdapter.java#L356-L360", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/asm/InvokeReplacerMethodAdapter.java", "func_name": "InvokeReplacerMethodAdapter.changeReturnType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Changes return type.", "docstring_tokens": ["Changes", "return", "type", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/asm/InvokeReplacerMethodAdapter.java#L365-L368", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/adapter/StripHtmlTagAdapter.java", "func_name": "StripHtmlTagAdapter.text", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Cleans unnecessary whitespaces.", "docstring_tokens": ["Cleans", "unnecessary", "whitespaces", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/adapter/StripHtmlTagAdapter.java#L84-L121", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-bean/src/main/java/jodd/typeconverter/TypeConverterManager.java", "func_name": "TypeConverterManager.register", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers a converter for specified type.\nUser must register converter for all super-classes as well.\n\n@param type\t\tclass that converter is for\n@param typeConverter\tconverter for provided class", "docstring_tokens": ["Registers", "a", "converter", "for", "specified", "type", ".", "User", "must", "register", "converter", "for", "all", "super", "-", "classes", "as", "well", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-bean/src/main/java/jodd/typeconverter/TypeConverterManager.java#L270-L272", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-bean/src/main/java/jodd/typeconverter/TypeConverterManager.java", "func_name": "TypeConverterManager.lookup", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retrieves converter for provided type. Only registered types are matched,\ntherefore subclasses must be also registered.\n\n@return founded converter or null", "docstring_tokens": ["Retrieves", "converter", "for", "provided", "type", ".", "Only", "registered", "types", "are", "matched", "therefore", "subclasses", "must", "be", "also", "registered", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-bean/src/main/java/jodd/typeconverter/TypeConverterManager.java#L289-L291", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/NodeSelector.java", "func_name": "NodeSelector.select", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Selects nodes using CSS3 selector query.", "docstring_tokens": ["Selects", "nodes", "using", "CSS3", "selector", "query", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/NodeSelector.java#L54-L57", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/NodeSelector.java", "func_name": "NodeSelector.select", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Selected nodes using pre-parsed CSS selectors. Take in consideration\ncollection type for results grouping order.", "docstring_tokens": ["Selected", "nodes", "using", "pre", "-", "parsed", "CSS", "selectors", ".", "Take", "in", "consideration", "collection", "type", "for", "results", "grouping", "order", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/NodeSelector.java#L63-L69", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/NodeSelector.java", "func_name": "NodeSelector.processSelectors", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Process selectors and keep adding results.", "docstring_tokens": ["Process", "selectors", "and", "keep", "adding", "results", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/NodeSelector.java#L74-L82", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/NodeSelector.java", "func_name": "NodeSelector.selectFirst", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Selects nodes using CSS3 selector query and returns the very first one.", "docstring_tokens": ["Selects", "nodes", "using", "CSS3", "selector", "query", "and", "returns", "the", "very", "first", "one", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/NodeSelector.java#L87-L93", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/NodeSelector.java", "func_name": "NodeSelector.walkDescendantsIteratively", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Walks over the child notes, maintaining the tree order and not using recursion.", "docstring_tokens": ["Walks", "over", "the", "child", "notes", "maintaining", "the", "tree", "order", "and", "not", "using", "recursion", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/NodeSelector.java#L164-L175", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/NodeSelector.java", "func_name": "NodeSelector.walk", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds nodes in the tree that matches single selector.", "docstring_tokens": ["Finds", "nodes", "in", "the", "tree", "that", "matches", "single", "selector", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/NodeSelector.java#L180-L224", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/NodeSelector.java", "func_name": "NodeSelector.selectAndAdd", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Selects single node for single selector and appends it to the results.", "docstring_tokens": ["Selects", "single", "node", "for", "single", "selector", "and", "appends", "it", "to", "the", "results", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/NodeSelector.java#L229-L243", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/NodeSelector.java", "func_name": "NodeSelector.filter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Filter nodes.", "docstring_tokens": ["Filter", "nodes", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/NodeSelector.java#L248-L250", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/csselly/CSSellyLexer.java", "func_name": "CSSellyLexer.zzUnpackCMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Unpacks the compressed character translation table.\n\n@param packed the packed character translation table\n@return the unpacked character translation table", "docstring_tokens": ["Unpacks", "the", "compressed", "character", "translation", "table", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/csselly/CSSellyLexer.java#L493-L503", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/csselly/CSSellyLexer.java", "func_name": "CSSellyLexer.zzRefill", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Refills the input buffer.\n\n@return false, iff there was new input.", "docstring_tokens": ["Refills", "the", "input", "buffer", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/csselly/CSSellyLexer.java#L518-L525", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-joy/src/main/java/jodd/joy/page/DbPager.java", "func_name": "DbPager.page", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Pages given page.\n\n@param sql sql query that lists all items\n@param params map of SQL parameters\n@param page current page to show\n@param pageSize number of items to show\n@param sortColumnName name of sorting column, null for no sorting\n@param ascending true for ascending order\n@param target db entities for mapping (sa usual in DbOom)", "docstring_tokens": ["Pages", "given", "page", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-joy/src/main/java/jodd/joy/page/DbPager.java#L118-L144", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-joy/src/main/java/jodd/joy/page/DbPager.java", "func_name": "DbPager.removeSelect", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes the first 'select' from the sql query.", "docstring_tokens": ["Removes", "the", "first", "select", "from", "the", "sql", "query", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-joy/src/main/java/jodd/joy/page/DbPager.java#L171-L177", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-joy/src/main/java/jodd/joy/page/DbPager.java", "func_name": "DbPager.removeToFrom", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes the first part of the sql up to the relevant 'from'.\nTries to detect sub-queries in the 'select' part.", "docstring_tokens": ["Removes", "the", "first", "part", "of", "the", "sql", "up", "to", "the", "relevant", "from", ".", "Tries", "to", "detect", "sub", "-", "queries", "in", "the", "select", "part", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-joy/src/main/java/jodd/joy/page/DbPager.java#L183-L209", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-joy/src/main/java/jodd/joy/page/DbPager.java", "func_name": "DbPager.removeLastOrderBy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes everything from last \"order by\".", "docstring_tokens": ["Removes", "everything", "from", "last", "order", "by", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-joy/src/main/java/jodd/joy/page/DbPager.java#L214-L223", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/net/HtmlDecoder.java", "func_name": "HtmlDecoder.decode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Decodes HTML text. Assumes that all character references are properly closed with semi-colon.", "docstring_tokens": ["Decodes", "HTML", "text", ".", "Assumes", "that", "all", "character", "references", "are", "properly", "closed", "with", "semi", "-", "colon", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/net/HtmlDecoder.java#L105-L162", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/net/HtmlDecoder.java", "func_name": "HtmlDecoder.detectName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Detects the longest character reference name on given position in char array.", "docstring_tokens": ["Detects", "the", "longest", "character", "reference", "name", "on", "given", "position", "in", "char", "array", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/net/HtmlDecoder.java#L172-L232", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-joy/src/main/java/jodd/joy/page/db/HsqlDbPager.java", "func_name": "HsqlDbPager.buildOrderSql", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Appends ORDER BY keyword.", "docstring_tokens": ["Appends", "ORDER", "BY", "keyword", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-joy/src/main/java/jodd/joy/page/db/HsqlDbPager.java#L38-L45", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-joy/src/main/java/jodd/joy/page/db/HsqlDbPager.java", "func_name": "HsqlDbPager.buildPageSql", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds page sql using LIMIT keyword after the SELECT.", "docstring_tokens": ["Builds", "page", "sql", "using", "LIMIT", "keyword", "after", "the", "SELECT", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-joy/src/main/java/jodd/joy/page/db/HsqlDbPager.java#L50-L54", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/DbEntityDescriptor.java", "func_name": "DbEntityDescriptor.resolveColumnsAndProperties", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves list of all columns and properties.", "docstring_tokens": ["Resolves", "list", "of", "all", "columns", "and", "properties", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/DbEntityDescriptor.java#L155-L195", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/DbEntityDescriptor.java", "func_name": "DbEntityDescriptor.findByColumnName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds column descriptor by column name. Case is ignored.", "docstring_tokens": ["Finds", "column", "descriptor", "by", "column", "name", ".", "Case", "is", "ignored", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/DbEntityDescriptor.java#L202-L213", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/DbEntityDescriptor.java", "func_name": "DbEntityDescriptor.findByPropertyName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds column descriptor by property name.", "docstring_tokens": ["Finds", "column", "descriptor", "by", "property", "name", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/DbEntityDescriptor.java#L217-L228", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/DbEntityDescriptor.java", "func_name": "DbEntityDescriptor.getPropertyName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns property name for specified column name.", "docstring_tokens": ["Returns", "property", "name", "for", "specified", "column", "name", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/DbEntityDescriptor.java#L234-L237", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/DbEntityDescriptor.java", "func_name": "DbEntityDescriptor.getColumnName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns column name for specified property name..", "docstring_tokens": ["Returns", "column", "name", "for", "specified", "property", "name", ".."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/DbEntityDescriptor.java#L242-L245", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/DbEntityDescriptor.java", "func_name": "DbEntityDescriptor.getIdValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns ID value for given entity instance.", "docstring_tokens": ["Returns", "ID", "value", "for", "given", "entity", "instance", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/DbEntityDescriptor.java#L302-L305", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/DbEntityDescriptor.java", "func_name": "DbEntityDescriptor.setIdValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets ID value for given entity.", "docstring_tokens": ["Sets", "ID", "value", "for", "given", "entity", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/DbEntityDescriptor.java#L310-L313", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/DbEntityDescriptor.java", "func_name": "DbEntityDescriptor.getKeyValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns unique key for this entity. Returned key\nis built from entity class and id value.", "docstring_tokens": ["Returns", "unique", "key", "for", "this", "entity", ".", "Returned", "key", "is", "built", "from", "entity", "class", "and", "id", "value", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/DbEntityDescriptor.java#L319-L325", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringBand.java", "func_name": "StringBand.append", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Appends a string.", "docstring_tokens": ["Appends", "a", "string", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringBand.java#L146-L159", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringBand.java", "func_name": "StringBand.setIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Specifies the new index.", "docstring_tokens": ["Specifies", "the", "new", "index", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringBand.java#L187-L210", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringBand.java", "func_name": "StringBand.expandCapacity", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Expands internal string array by multiplying its size by 2.", "docstring_tokens": ["Expands", "internal", "string", "array", "by", "multiplying", "its", "size", "by", "2", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringBand.java#L277-L281", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/StringBand.java", "func_name": "StringBand.calculateLength", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculates string length.", "docstring_tokens": ["Calculates", "string", "length", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/StringBand.java#L286-L292", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/ScopedProxyManager.java", "func_name": "ScopedProxyManager.createMixingMessage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates mixed scope message.", "docstring_tokens": ["Creates", "mixed", "scope", "message", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/ScopedProxyManager.java#L124-L128", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/ScopedProxyManager.java", "func_name": "ScopedProxyManager.createScopedProxyBean", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates scoped proxy bean for given bean definition.", "docstring_tokens": ["Creates", "scoped", "proxy", "bean", "for", "given", "bean", "definition", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/ScopedProxyManager.java#L134-L191", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-servlet/src/main/java/jodd/servlet/tag/LoopingTagSupport.java", "func_name": "LoopingTagSupport.loopBody", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Loops body.", "docstring_tokens": ["Loops", "body", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-servlet/src/main/java/jodd/servlet/tag/LoopingTagSupport.java#L138-L154", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/watch/DirWatcher.java", "func_name": "DirWatcher.init", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Initializes dir watcher by reading all files\nfrom watched folder.", "docstring_tokens": ["Initializes", "dir", "watcher", "by", "reading", "all", "files", "from", "watched", "folder", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/watch/DirWatcher.java#L76-L92", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/watch/DirWatcher.java", "func_name": "DirWatcher.acceptFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Accepts if a file is going to be watched.", "docstring_tokens": ["Accepts", "if", "a", "file", "is", "going", "to", "be", "watched", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/watch/DirWatcher.java#L130-L148", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/watch/DirWatcher.java", "func_name": "DirWatcher.useWatchFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Enables usage of provided watch file.", "docstring_tokens": ["Enables", "usage", "of", "provided", "watch", "file", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/watch/DirWatcher.java#L165-L179", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/watch/DirWatcher.java", "func_name": "DirWatcher.start", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Starts the watcher.", "docstring_tokens": ["Starts", "the", "watcher", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/watch/DirWatcher.java#L189-L197", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/watch/DirWatcher.java", "func_name": "DirWatcher.onChange", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Triggers listeners on file change.", "docstring_tokens": ["Triggers", "listeners", "on", "file", "change", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/watch/DirWatcher.java#L293-L295", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/collection/CompositeEnumeration.java", "func_name": "CompositeEnumeration.add", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds an enumeration to this composite.", "docstring_tokens": ["Adds", "an", "enumeration", "to", "this", "composite", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/collection/CompositeEnumeration.java#L59-L64", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/FieldWriter.java", "func_name": "FieldWriter.computeFieldInfoSize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the size of the field_info JVMS structure generated by this FieldWriter. Also adds the\nnames of the attributes of this field in the constant pool.\n\n@return the size in bytes of the field_info JVMS structure.", "docstring_tokens": ["Returns", "the", "size", "of", "the", "field_info", "JVMS", "structure", "generated", "by", "this", "FieldWriter", ".", "Also", "adds", "the", "names", "of", "the", "attributes", "of", "this", "field", "in", "the", "constant", "pool", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/FieldWriter.java#L202-L253", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/FieldWriter.java", "func_name": "FieldWriter.putFieldInfo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Puts the content of the field_info JVMS structure generated by this FieldWriter into the given\nByteVector.\n\n@param output where the field_info structure must be put.", "docstring_tokens": ["Puts", "the", "content", "of", "the", "field_info", "JVMS", "structure", "generated", "by", "this", "FieldWriter", "into", "the", "given", "ByteVector", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/FieldWriter.java#L261-L336", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/config/Target.java", "func_name": "Target.ofValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a common target over a value, with known scope data.", "docstring_tokens": ["Creates", "a", "common", "target", "over", "a", "value", "with", "known", "scope", "data", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/config/Target.java#L59-L61", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/config/Target.java", "func_name": "Target.writeValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes value to this target. Depending on a flag, writing the value can be\ncompletely silent, when no exception is thrown and with top performances.\nOtherwise, an exception is thrown on a failure.", "docstring_tokens": ["Writes", "value", "to", "this", "target", ".", "Depending", "on", "a", "flag", "writing", "the", "value", "can", "be", "completely", "silent", "when", "no", "exception", "is", "thrown", "and", "with", "top", "performances", ".", "Otherwise", "an", "exception", "is", "thrown", "on", "a", "failure", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/config/Target.java#L155-L157", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-decora/src/main/java/jodd/decora/parser/DecoraParser.java", "func_name": "DecoraParser.decorate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Decorates page content with decorator template and outputs the result.", "docstring_tokens": ["Decorates", "page", "content", "with", "decorator", "template", "and", "outputs", "the", "result", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-decora/src/main/java/jodd/decora/parser/DecoraParser.java#L43-L49", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-decora/src/main/java/jodd/decora/parser/DecoraParser.java", "func_name": "DecoraParser.parsePage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses target page and extracts Decora regions for replacements.", "docstring_tokens": ["Parses", "target", "page", "and", "extracts", "Decora", "regions", "for", "replacements", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-decora/src/main/java/jodd/decora/parser/DecoraParser.java#L68-L72", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-decora/src/main/java/jodd/decora/parser/DecoraParser.java", "func_name": "DecoraParser.writeDecoratedPage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes decorated content.", "docstring_tokens": ["Writes", "decorated", "content", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-decora/src/main/java/jodd/decora/parser/DecoraParser.java#L77-L105", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-decora/src/main/java/jodd/decora/parser/DecoraParser.java", "func_name": "DecoraParser.writeRegion", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes region to output, but extracts all inner regions.", "docstring_tokens": ["Writes", "region", "to", "output", "but", "extracts", "all", "inner", "regions", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-decora/src/main/java/jodd/decora/parser/DecoraParser.java#L110-L134", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/HttpTunnel.java", "func_name": "HttpTunnel.start", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Starts HTTP tunnel. Method ends when the tunnel is stopped.", "docstring_tokens": ["Starts", "HTTP", "tunnel", ".", "Method", "ends", "when", "the", "tunnel", "is", "stopped", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/HttpTunnel.java#L76-L88", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/ProcessRunner.java", "func_name": "ProcessRunner.run", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Executes a process and returns the process output and exit code.", "docstring_tokens": ["Executes", "a", "process", "and", "returns", "the", "process", "output", "and", "exit", "code", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/ProcessRunner.java#L68-L83", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/ImapSslServer.java", "func_name": "ImapSslServer.getStore", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns email store.\n\n@param session {@link Session}\n@return {@link com.sun.mail.imap.IMAPSSLStore}", "docstring_tokens": ["Returns", "email", "store", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/ImapSslServer.java#L67-L89", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-servlet/src/main/java/jodd/servlet/filter/GzipResponseWrapper.java", "func_name": "GzipResponseWrapper.createOutputStream", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates and returns a ServletOutputStream to write the content associated\nwith this Response.", "docstring_tokens": ["Creates", "and", "returns", "a", "ServletOutputStream", "to", "write", "the", "content", "associated", "with", "this", "Response", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-servlet/src/main/java/jodd/servlet/filter/GzipResponseWrapper.java#L103-L107", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/sqlgen/chunks/ColumnsSelectChunk.java", "func_name": "ColumnsSelectChunk.init", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Counts actual real hints.", "docstring_tokens": ["Counts", "actual", "real", "hints", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/sqlgen/chunks/ColumnsSelectChunk.java#L181-L187", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/sqlgen/chunks/ColumnsSelectChunk.java", "func_name": "ColumnsSelectChunk.appendAlias", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Appends alias.", "docstring_tokens": ["Appends", "alias", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/sqlgen/chunks/ColumnsSelectChunk.java#L258-L278", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/sqlgen/chunks/ColumnsSelectChunk.java", "func_name": "ColumnsSelectChunk.appendColumnName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Simply appends column name with optional table reference and alias.", "docstring_tokens": ["Simply", "appends", "column", "name", "with", "optional", "table", "reference", "and", "alias", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/sqlgen/chunks/ColumnsSelectChunk.java#L283-L310", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/inex/InExRules.java", "func_name": "InExRules.addRule", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a rule. Duplicates are not allowed and will be ignored.", "docstring_tokens": ["Adds", "a", "rule", ".", "Duplicates", "are", "not", "allowed", "and", "will", "be", "ignored", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/inex/InExRules.java#L247-L265", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/inex/InExRules.java", "func_name": "InExRules.apply", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Applies rules on given flag. Flag is only changed if at least one rule\nmatched. Otherwise, the same value is returned. This way you can\nchain several rules and have the rule engine change the flag\nonly when a rule is matched.", "docstring_tokens": ["Applies", "rules", "on", "given", "flag", ".", "Flag", "is", "only", "changed", "if", "at", "least", "one", "rule", "matched", ".", "Otherwise", "the", "same", "value", "is", "returned", ".", "This", "way", "you", "can", "chain", "several", "rules", "and", "have", "the", "rule", "engine", "change", "the", "flag", "only", "when", "a", "rule", "is", "matched", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/inex/InExRules.java#L313-L328", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/inex/InExRules.java", "func_name": "InExRules.processIncludes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Process includes rules.", "docstring_tokens": ["Process", "includes", "rules", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/inex/InExRules.java#L333-L349", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/inex/InExRules.java", "func_name": "InExRules.processExcludes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Process excludes rules.", "docstring_tokens": ["Process", "excludes", "rules", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/inex/InExRules.java#L354-L370", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/csselly/selector/PseudoClass.java", "func_name": "PseudoClass.getPseudoClassName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns pseudo-class name from simple class name.", "docstring_tokens": ["Returns", "pseudo", "-", "class", "name", "from", "simple", "class", "name", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/csselly/selector/PseudoClass.java#L430-L434", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/collection/SortedArrayList.java", "func_name": "SortedArrayList.addAll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add all of the elements in the given collection to this list.", "docstring_tokens": ["Add", "all", "of", "the", "elements", "in", "the", "given", "collection", "to", "this", "list", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/collection/SortedArrayList.java#L98-L109", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/collection/SortedArrayList.java", "func_name": "SortedArrayList.findInsertionPoint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Conducts a binary search to find the index where Object\nshould be inserted.", "docstring_tokens": ["Conducts", "a", "binary", "search", "to", "find", "the", "index", "where", "Object", "should", "be", "inserted", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/collection/SortedArrayList.java#L163-L177", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/component/ActionConfigManager.java", "func_name": "ActionConfigManager.bindAnnotationConfig", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Binds action annotation and the action config. This can overwrite the default annotation\nconfiguration of an annotation.", "docstring_tokens": ["Binds", "action", "annotation", "and", "the", "action", "config", ".", "This", "can", "overwrite", "the", "default", "annotation", "configuration", "of", "an", "annotation", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/component/ActionConfigManager.java#L72-L84", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/component/ActionConfigManager.java", "func_name": "ActionConfigManager.registerNewActionConfiguration", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers action configuration for given type.", "docstring_tokens": ["Registers", "action", "configuration", "for", "given", "type", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/component/ActionConfigManager.java#L90-L96", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/component/ActionConfigManager.java", "func_name": "ActionConfigManager.lookup", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Lookup for the action configuration. Typically, the input argument is either the action type or annotation type.", "docstring_tokens": ["Lookup", "for", "the", "action", "configuration", ".", "Typically", "the", "input", "argument", "is", "either", "the", "action", "type", "or", "annotation", "type", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/component/ActionConfigManager.java#L101-L108", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/component/ActionConfigManager.java", "func_name": "ActionConfigManager.with", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Fetch some action config and consumes it.", "docstring_tokens": ["Fetch", "some", "action", "config", "and", "consumes", "it", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/component/ActionConfigManager.java#L113-L116", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/MailSession.java", "func_name": "MailSession.setupSystemMailProperties", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Setups the system email properties.", "docstring_tokens": ["Setups", "the", "system", "email", "properties", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/MailSession.java#L60-L63", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-vtor/src/main/java/jodd/vtor/ValidationConstraintContext.java", "func_name": "ValidationConstraintContext.validateWithin", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Validates provided context and value withing this constraint content.", "docstring_tokens": ["Validates", "provided", "context", "and", "value", "withing", "this", "constraint", "content", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-vtor/src/main/java/jodd/vtor/ValidationConstraintContext.java#L68-L70", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/HtmlFosterRules.java", "func_name": "HtmlFosterRules.findLastTable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds the last table in stack of open elements.", "docstring_tokens": ["Finds", "the", "last", "table", "in", "stack", "of", "open", "elements", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/HtmlFosterRules.java#L84-L99", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/HtmlFosterRules.java", "func_name": "HtmlFosterRules.fixElements", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Performs the fix for elements.", "docstring_tokens": ["Performs", "the", "fix", "for", "elements", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/HtmlFosterRules.java#L216-L239", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/scope/SessionScope.java", "func_name": "SessionScope.registerSessionBeans", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers new session destroy callback if not already registered.", "docstring_tokens": ["Registers", "new", "session", "destroy", "callback", "if", "not", "already", "registered", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/scope/SessionScope.java#L64-L68", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/scope/SessionScope.java", "func_name": "SessionScope.getSessionMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns instance map from http session.", "docstring_tokens": ["Returns", "instance", "map", "from", "http", "session", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/scope/SessionScope.java#L73-L80", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/asm/WorkData.java", "func_name": "WorkData.init", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Work data initialization.", "docstring_tokens": ["Work", "data", "initialization", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/asm/WorkData.java#L72-L96", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/asm/WorkData.java", "func_name": "WorkData.addAdviceInitMethod", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Saves used constructors of advices.", "docstring_tokens": ["Saves", "used", "constructors", "of", "advices", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/asm/WorkData.java#L121-L126", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-htmlstapler/src/main/java/jodd/htmlstapler/BundleAction.java", "func_name": "BundleAction.end", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Called on end of parsing.", "docstring_tokens": ["Called", "on", "end", "of", "parsing", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-htmlstapler/src/main/java/jodd/htmlstapler/BundleAction.java#L136-L140", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-props/src/main/java/jodd/props/PropsParser.java", "func_name": "PropsParser.add", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds accumulated value to key and current section.", "docstring_tokens": ["Adds", "accumulated", "value", "to", "key", "and", "current", "section", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-props/src/main/java/jodd/props/PropsParser.java#L362-L396", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-props/src/main/java/jodd/props/PropsParser.java", "func_name": "PropsParser.extractProfilesAndAdd", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extracts profiles from the key name and adds key-value to them.", "docstring_tokens": ["Extracts", "profiles", "from", "the", "key", "name", "and", "adds", "key", "-", "value", "to", "them", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-props/src/main/java/jodd/props/PropsParser.java#L401-L442", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-props/src/main/java/jodd/props/PropsParser.java", "func_name": "PropsParser.justAdd", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Core key-value addition.", "docstring_tokens": ["Core", "key", "-", "value", "addition", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-props/src/main/java/jodd/props/PropsParser.java#L447-L514", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm/AsmUtil.java", "func_name": "AsmUtil.typedesc2ClassName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts bytecode-like description to java class name that can be loaded\nwith a classloader. Uses less-known feature of class loaders for loading\narray classes.\n\n@see #typedescToSignature(String, jodd.mutable.MutableInteger)", "docstring_tokens": ["Converts", "bytecode", "-", "like", "description", "to", "java", "class", "name", "that", "can", "be", "loaded", "with", "a", "classloader", ".", "Uses", "less", "-", "known", "feature", "of", "class", "loaders", "for", "loading", "array", "classes", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm/AsmUtil.java#L110-L137", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm/AsmUtil.java", "func_name": "AsmUtil.typeref2Name", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts type reference to java-name.", "docstring_tokens": ["Converts", "type", "reference", "to", "java", "-", "name", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm/AsmUtil.java#L142-L148", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm/AsmUtil.java", "func_name": "AsmUtil.typedescToSignature", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns java-like signature of a bytecode-like description.\nOnly first description is parsed.\n\nThe field signature represents the value of an argument to a function or\nthe value of a variable. It is a series of bytes generated by the\nfollowing grammar:\n\n

{@code\n ::= \n      ::= ||\n       ::= B|C|D|F|I|J|S|Z\n     ::= L;\n      ::= [\n\nThe meaning of the base types is as follows:\nB byte signed byte\nC char character\nD double double precision IEEE float\nF float single precision IEEE float\nI int integer\nJ long long integer\nL; ... an object of the given class\nS short signed short\nZ boolean true or false\n[ ... array\n}
\n\nThis method converts this string into a Java type declaration such as\nString[].", "docstring_tokens": ["Returns", "java", "-", "like", "signature", "of", "a", "bytecode", "-", "like", "description", ".", "Only", "first", "description", "is", "parsed", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm/AsmUtil.java#L210-L255", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm/AsmUtil.java", "func_name": "AsmUtil.typeToTyperef", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts type to byteccode type ref.", "docstring_tokens": ["Converts", "type", "to", "byteccode", "type", "ref", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm/AsmUtil.java#L276-L311", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/function/Consumers.java", "func_name": "Consumers.addAll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers additional consumers.", "docstring_tokens": ["Registers", "additional", "consumers", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/function/Consumers.java#L76-L79", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-bean/src/main/java/jodd/typeconverter/impl/CollectionConverter.java", "func_name": "CollectionConverter.createCollection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates new collection of target component type.\nDefault implementation uses reflection to create\nan collection of target type. Override it for better performances.", "docstring_tokens": ["Creates", "new", "collection", "of", "target", "component", "type", ".", "Default", "implementation", "uses", "reflection", "to", "create", "an", "collection", "of", "target", "type", ".", "Override", "it", "for", "better", "performances", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-bean/src/main/java/jodd/typeconverter/impl/CollectionConverter.java#L92-L127", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-bean/src/main/java/jodd/typeconverter/impl/CollectionConverter.java", "func_name": "CollectionConverter.convertToSingleElementCollection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a collection with single element.", "docstring_tokens": ["Creates", "a", "collection", "with", "single", "element", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-bean/src/main/java/jodd/typeconverter/impl/CollectionConverter.java#L132-L139", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-bean/src/main/java/jodd/typeconverter/impl/CollectionConverter.java", "func_name": "CollectionConverter.convertValueToCollection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts non-collection value to collection.", "docstring_tokens": ["Converts", "non", "-", "collection", "value", "to", "collection", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-bean/src/main/java/jodd/typeconverter/impl/CollectionConverter.java#L144-L179", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-bean/src/main/java/jodd/typeconverter/impl/CollectionConverter.java", "func_name": "CollectionConverter.convertCollectionToCollection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts collection value to target collection.\nEach element is converted to target component type.", "docstring_tokens": ["Converts", "collection", "value", "to", "target", "collection", ".", "Each", "element", "is", "converted", "to", "target", "component", "type", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-bean/src/main/java/jodd/typeconverter/impl/CollectionConverter.java#L185-L193", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-bean/src/main/java/jodd/typeconverter/impl/CollectionConverter.java", "func_name": "CollectionConverter.convertPrimitiveArrayToCollection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts primitive array to target collection.", "docstring_tokens": ["Converts", "primitive", "array", "to", "target", "collection", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-bean/src/main/java/jodd/typeconverter/impl/CollectionConverter.java#L198-L259", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/Label.java", "func_name": "Label.addLineNumber", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a source line number corresponding to this label.\n\n@param lineNumber a source line number (which should be strictly positive).", "docstring_tokens": ["Adds", "a", "source", "line", "number", "corresponding", "to", "this", "label", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/Label.java#L333-L348", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/Label.java", "func_name": "Label.accept", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Makes the given visitor visit this label and its source line numbers, if applicable.\n\n@param methodVisitor a method visitor.\n@param visitLineNumbers whether to visit of the label's source line numbers, if any.", "docstring_tokens": ["Makes", "the", "given", "visitor", "visit", "this", "label", "and", "its", "source", "line", "numbers", "if", "applicable", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/Label.java#L356-L366", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/Label.java", "func_name": "Label.put", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Puts a reference to this label in the bytecode of a method. If the bytecode offset of the label\nis known, the relative bytecode offset between the label and the instruction referencing it is\ncomputed and written directly. Otherwise, a null relative offset is written and a new forward\nreference is declared for this label.\n\n@param code the bytecode of the method. This is where the reference is appended.\n@param sourceInsnBytecodeOffset the bytecode offset of the instruction that contains the\nreference to be appended.\n@param wideReference whether the reference must be stored in 4 bytes (instead of 2 bytes).", "docstring_tokens": ["Puts", "a", "reference", "to", "this", "label", "in", "the", "bytecode", "of", "a", "method", ".", "If", "the", "bytecode", "offset", "of", "the", "label", "is", "known", "the", "relative", "bytecode", "offset", "between", "the", "label", "and", "the", "instruction", "referencing", "it", "is", "computed", "and", "written", "directly", ".", "Otherwise", "a", "null", "relative", "offset", "is", "written", "and", "a", "new", "forward", "reference", "is", "declared", "for", "this", "label", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/Label.java#L383-L400", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/Label.java", "func_name": "Label.addForwardReference", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a forward reference to this label. This method must be called only for a true forward\nreference, i.e. only if this label is not resolved yet. For backward references, the relative\nbytecode offset of the reference can be, and must be, computed and stored directly.\n\n@param sourceInsnBytecodeOffset the bytecode offset of the instruction that contains the\nreference stored at referenceHandle.\n@param referenceType either {@link #FORWARD_REFERENCE_TYPE_SHORT} or {@link\n#FORWARD_REFERENCE_TYPE_WIDE}.\n@param referenceHandle the offset in the bytecode where the forward reference value must be\nstored.", "docstring_tokens": ["Adds", "a", "forward", "reference", "to", "this", "label", ".", "This", "method", "must", "be", "called", "only", "for", "a", "true", "forward", "reference", "i", ".", "e", ".", "only", "if", "this", "label", "is", "not", "resolved", "yet", ".", "For", "backward", "references", "the", "relative", "bytecode", "offset", "of", "the", "reference", "can", "be", "and", "must", "be", "computed", "and", "stored", "directly", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/Label.java#L414-L428", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/Label.java", "func_name": "Label.resolve", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the bytecode offset of this label to the given value and resolves the forward references\nto this label, if any. This method must be called when this label is added to the bytecode of\nthe method, i.e. when its bytecode offset becomes known. This method fills in the blanks that\nwhere left in the bytecode by each forward reference previously added to this label.\n\n@param code the bytecode of the method.\n@param bytecodeOffset the bytecode offset of this label.\n@return {@literal true} if a blank that was left for this label was too small to store the\noffset. In such a case the corresponding jump instruction is replaced with an equivalent\nASM specific instruction using an unsigned two bytes offset. These ASM specific\ninstructions are later replaced with standard bytecode instructions with wider offsets (4\nbytes instead of 2), in ClassReader.", "docstring_tokens": ["Sets", "the", "bytecode", "offset", "of", "this", "label", "to", "the", "given", "value", "and", "resolves", "the", "forward", "references", "to", "this", "label", "if", "any", ".", "This", "method", "must", "be", "called", "when", "this", "label", "is", "added", "to", "the", "bytecode", "of", "the", "method", "i", ".", "e", ".", "when", "its", "bytecode", "offset", "becomes", "known", ".", "This", "method", "fills", "in", "the", "blanks", "that", "where", "left", "in", "the", "bytecode", "by", "each", "forward", "reference", "previously", "added", "to", "this", "label", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/Label.java#L444-L482", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/Label.java", "func_name": "Label.markSubroutine", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds the basic blocks that belong to the subroutine starting with the basic block\ncorresponding to this label, and marks these blocks as belonging to this subroutine. This\nmethod follows the control flow graph to find all the blocks that are reachable from the\ncurrent basic block WITHOUT following any jsr target.\n\n

Note: a precondition and postcondition of this method is that all labels must have a null\n{@link #nextListElement}.\n\n@param subroutineId the id of the subroutine starting with the basic block corresponding to\nthis label.", "docstring_tokens": ["Finds", "the", "basic", "blocks", "that", "belong", "to", "the", "subroutine", "starting", "with", "the", "basic", "block", "corresponding", "to", "this", "label", "and", "marks", "these", "blocks", "as", "belonging", "to", "this", "subroutine", ".", "This", "method", "follows", "the", "control", "flow", "graph", "to", "find", "all", "the", "blocks", "that", "are", "reachable", "from", "the", "current", "basic", "block", "WITHOUT", "following", "any", "jsr", "target", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/Label.java#L500-L520", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/Label.java", "func_name": "Label.addSubroutineRetSuccessors", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds the basic blocks that end a subroutine starting with the basic block corresponding to\nthis label and, for each one of them, adds an outgoing edge to the basic block following the\ngiven subroutine call. In other words, completes the control flow graph by adding the edges\ncorresponding to the return from this subroutine, when called from the given caller basic\nblock.\n\n

Note: a precondition and postcondition of this method is that all labels must have a null\n{@link #nextListElement}.\n\n@param subroutineCaller a basic block that ends with a jsr to the basic block corresponding to\nthis label. This label is supposed to correspond to the start of a subroutine.", "docstring_tokens": ["Finds", "the", "basic", "blocks", "that", "end", "a", "subroutine", "starting", "with", "the", "basic", "block", "corresponding", "to", "this", "label", "and", "for", "each", "one", "of", "them", "adds", "an", "outgoing", "edge", "to", "the", "basic", "block", "following", "the", "given", "subroutine", "call", ".", "In", "other", "words", "completes", "the", "control", "flow", "graph", "by", "adding", "the", "edges", "corresponding", "to", "the", "return", "from", "this", "subroutine", "when", "called", "from", "the", "given", "caller", "basic", "block", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/Label.java#L535-L578", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/NaturalOrderComparator.java", "func_name": "NaturalOrderComparator.compareDigits", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compare digits at certain position in two strings.\nThe longest run of digits wins. That aside, the greatest\nvalue wins.\n@return if numbers are different, only 1 element is returned.", "docstring_tokens": ["Compare", "digits", "at", "certain", "position", "in", "two", "strings", ".", "The", "longest", "run", "of", "digits", "wins", ".", "That", "aside", "the", "greatest", "value", "wins", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/NaturalOrderComparator.java#L72-L131", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/NaturalOrderComparator.java", "func_name": "NaturalOrderComparator.fixAccent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Fixes accent char.", "docstring_tokens": ["Fixes", "accent", "char", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/NaturalOrderComparator.java#L226-L234", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/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 enlarged if necessary.\n\n@param byteValue a byte.\n@return this byte vector.", "docstring_tokens": ["Puts", "a", "byte", "into", "this", "byte", "vector", ".", "The", "byte", "vector", "is", "automatically", "enlarged", "if", "necessary", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/ByteVector.java#L74-L82", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/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 enlarged if necessary.\n\n@param byteValue1 a byte.\n@param byteValue2 another byte.\n@return this byte vector.", "docstring_tokens": ["Puts", "two", "bytes", "into", "this", "byte", "vector", ".", "The", "byte", "vector", "is", "automatically", "enlarged", "if", "necessary", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/ByteVector.java#L91-L101", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/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 enlarged if necessary.\n\n@param shortValue a short.\n@return this byte vector.", "docstring_tokens": ["Puts", "a", "short", "into", "this", "byte", "vector", ".", "The", "byte", "vector", "is", "automatically", "enlarged", "if", "necessary", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/ByteVector.java#L109-L119", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/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 automatically enlarged if\nnecessary.\n\n@param byteValue a byte.\n@param shortValue a 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": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/ByteVector.java#L129-L140", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/ByteVector.java", "func_name": "ByteVector.put112", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Puts two bytes and a short into this byte vector. The byte vector is automatically enlarged if\nnecessary.\n\n@param byteValue1 a byte.\n@param byteValue2 another byte.\n@param shortValue a short.\n@return this byte vector.", "docstring_tokens": ["Puts", "two", "bytes", "and", "a", "short", "into", "this", "byte", "vector", ".", "The", "byte", "vector", "is", "automatically", "enlarged", "if", "necessary", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/ByteVector.java#L151-L163", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/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 enlarged if necessary.\n\n@param intValue an int.\n@return this byte vector.", "docstring_tokens": ["Puts", "an", "int", "into", "this", "byte", "vector", ".", "The", "byte", "vector", "is", "automatically", "enlarged", "if", "necessary", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/ByteVector.java#L171-L183", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/ByteVector.java", "func_name": "ByteVector.put122", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Puts one byte and two shorts into this byte vector. The byte vector is automatically enlarged\nif necessary.\n\n@param byteValue a byte.\n@param shortValue1 a short.\n@param shortValue2 another short.\n@return this byte vector.", "docstring_tokens": ["Puts", "one", "byte", "and", "two", "shorts", "into", "this", "byte", "vector", ".", "The", "byte", "vector", "is", "automatically", "enlarged", "if", "necessary", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/ByteVector.java#L194-L207", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/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 enlarged if necessary.\n\n@param longValue a long.\n@return this byte vector.", "docstring_tokens": ["Puts", "a", "long", "into", "this", "byte", "vector", ".", "The", "byte", "vector", "is", "automatically", "enlarged", "if", "necessary", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/ByteVector.java#L215-L233", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/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 automatically enlarged if\nnecessary.\n\n@param byteArrayValue an array of bytes. May be {@literal null} to put {@code byteLength} null\nbytes into this byte vector.\n@param byteOffset index of the first byte of byteArrayValue that must be copied.\n@param byteLength number of bytes of byteArrayValue 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": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/ByteVector.java#L337-L347", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/ByteVector.java", "func_name": "ByteVector.enlarge", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Enlarges this byte vector so that it can receive 'size' more bytes.\n\n@param size number of additional bytes that this byte vector should be able to receive.", "docstring_tokens": ["Enlarges", "this", "byte", "vector", "so", "that", "it", "can", "receive", "size", "more", "bytes", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/ByteVector.java#L354-L360", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-joy/src/main/java/jodd/joy/auth/AuthInterceptor.java", "func_name": "AuthInterceptor.authenticateUserViaHttpSession", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Tries to authenticate user via HTTP session. Returns the token if user is authenticated.\nReturned token may be rotated.", "docstring_tokens": ["Tries", "to", "authenticate", "user", "via", "HTTP", "session", ".", "Returns", "the", "token", "if", "user", "is", "authenticated", ".", "Returned", "token", "may", "be", "rotated", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-joy/src/main/java/jodd/joy/auth/AuthInterceptor.java#L108-L131", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-joy/src/main/java/jodd/joy/auth/AuthInterceptor.java", "func_name": "AuthInterceptor.authenticateUserViaToken", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Tries to authenticate user via token. Returns the token if user is authenticated.\nReturned token may be rotated.", "docstring_tokens": ["Tries", "to", "authenticate", "user", "via", "token", ".", "Returns", "the", "token", "if", "user", "is", "authenticated", ".", "Returned", "token", "may", "be", "rotated", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-joy/src/main/java/jodd/joy/auth/AuthInterceptor.java#L137-L157", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-joy/src/main/java/jodd/joy/auth/AuthInterceptor.java", "func_name": "AuthInterceptor.authenticateUserViaBasicAuth", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Tires to authenticate user via the basic authentication. Returns the token if user is authenticated.", "docstring_tokens": ["Tires", "to", "authenticate", "user", "via", "the", "basic", "authentication", ".", "Returns", "the", "token", "if", "user", "is", "authenticated", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-joy/src/main/java/jodd/joy/auth/AuthInterceptor.java#L162-L179", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/ResourceBundleMessageResolver.java", "func_name": "ResourceBundleMessageResolver.findDefaultMessage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds message in default bundles only, starting from fallback bundlename.", "docstring_tokens": ["Finds", "message", "in", "default", "bundles", "only", "starting", "from", "fallback", "bundlename", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/ResourceBundleMessageResolver.java#L136-L151", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/ResourceBundleMessageResolver.java", "func_name": "ResourceBundleMessageResolver.getBundle", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns specified bundle. Invoked every time if cache is disabled.\nInput arguments are always valid.", "docstring_tokens": ["Returns", "specified", "bundle", ".", "Invoked", "every", "time", "if", "cache", "is", "disabled", ".", "Input", "arguments", "are", "always", "valid", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/ResourceBundleMessageResolver.java#L220-L222", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/impl/ArraysJsonSerializer.java", "func_name": "ArraysJsonSerializer.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns array's element at given index.", "docstring_tokens": ["Returns", "array", "s", "element", "at", "given", "index", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/impl/ArraysJsonSerializer.java#L47-L49", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/dao/GenericDao.java", "func_name": "GenericDao.setEntityId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets new ID value for entity.", "docstring_tokens": ["Sets", "new", "ID", "value", "for", "entity", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/dao/GenericDao.java#L73-L75", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/dao/GenericDao.java", "func_name": "GenericDao.save", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Simply inserts object into the database.", "docstring_tokens": ["Simply", "inserts", "object", "into", "the", "database", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/dao/GenericDao.java#L121-L124", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/dao/GenericDao.java", "func_name": "GenericDao.update", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Updates single entity.", "docstring_tokens": ["Updates", "single", "entity", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/dao/GenericDao.java#L141-L143", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/dao/GenericDao.java", "func_name": "GenericDao.updateProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Updates single property in database and in the bean.", "docstring_tokens": ["Updates", "single", "property", "in", "database", "and", "in", "the", "bean", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/dao/GenericDao.java#L158-L162", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/dao/GenericDao.java", "func_name": "GenericDao.updateProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Updates property in the database by storing the current property value.", "docstring_tokens": ["Updates", "property", "in", "the", "database", "by", "storing", "the", "current", "property", "value", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/dao/GenericDao.java#L167-L171", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/dao/GenericDao.java", "func_name": "GenericDao.findById", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds single entity by its id.", "docstring_tokens": ["Finds", "single", "entity", "by", "its", "id", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/dao/GenericDao.java#L178-L180", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/dao/GenericDao.java", "func_name": "GenericDao.findOneByProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds single entity by matching property.", "docstring_tokens": ["Finds", "single", "entity", "by", "matching", "property", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/dao/GenericDao.java#L185-L187", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/dao/GenericDao.java", "func_name": "GenericDao.findOne", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds one entity for given criteria.", "docstring_tokens": ["Finds", "one", "entity", "for", "given", "criteria", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/dao/GenericDao.java#L192-L195", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/dao/GenericDao.java", "func_name": "GenericDao.deleteById", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Deleted single entity by its id.", "docstring_tokens": ["Deleted", "single", "entity", "by", "its", "id", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/dao/GenericDao.java#L217-L219", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/dao/GenericDao.java", "func_name": "GenericDao.deleteById", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Delete single object by its id. Resets ID value.", "docstring_tokens": ["Delete", "single", "object", "by", "its", "id", ".", "Resets", "ID", "value", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/dao/GenericDao.java#L224-L236", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/dao/GenericDao.java", "func_name": "GenericDao.count", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Counts number of all entities.", "docstring_tokens": ["Counts", "number", "of", "all", "entities", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/dao/GenericDao.java#L252-L254", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/dao/GenericDao.java", "func_name": "GenericDao.increaseProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Increases a property.", "docstring_tokens": ["Increases", "a", "property", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/dao/GenericDao.java#L262-L264", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/dao/GenericDao.java", "func_name": "GenericDao.decreaseProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Decreases a property.", "docstring_tokens": ["Decreases", "a", "property", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/dao/GenericDao.java#L269-L271", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/dao/GenericDao.java", "func_name": "GenericDao.findRelated", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds related entity.", "docstring_tokens": ["Finds", "related", "entity", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/dao/GenericDao.java#L278-L280", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/dao/GenericDao.java", "func_name": "GenericDao.listAll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "List all entities.", "docstring_tokens": ["List", "all", "entities", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/dao/GenericDao.java#L287-L289", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/collection/StringKeyedMapAdapter.java", "func_name": "StringKeyedMapAdapter.clear", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes all attributes from the request as well as clears entries in this map.", "docstring_tokens": ["Removes", "all", "attributes", "from", "the", "request", "as", "well", "as", "clears", "entries", "in", "this", "map", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/collection/StringKeyedMapAdapter.java#L73-L80", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/collection/StringKeyedMapAdapter.java", "func_name": "StringKeyedMapAdapter.entrySet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a Set of attributes from the http request.", "docstring_tokens": ["Returns", "a", "Set", "of", "attributes", "from", "the", "http", "request", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/collection/StringKeyedMapAdapter.java#L85-L133", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/collection/StringKeyedMapAdapter.java", "func_name": "StringKeyedMapAdapter.put", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Saves an attribute in the request.", "docstring_tokens": ["Saves", "an", "attribute", "in", "the", "request", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/collection/StringKeyedMapAdapter.java#L146-L152", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/collection/StringKeyedMapAdapter.java", "func_name": "StringKeyedMapAdapter.remove", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes the specified request attribute.", "docstring_tokens": ["Removes", "the", "specified", "request", "attribute", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/collection/StringKeyedMapAdapter.java#L157-L163", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/exception/ExceptionUtil.java", "func_name": "ExceptionUtil.getCurrentStackTrace", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns current stack trace in form of array of stack trace elements.\nFirst stack trace element is removed.\nSince an exception is thrown internally, this method is slow.", "docstring_tokens": ["Returns", "current", "stack", "trace", "in", "form", "of", "array", "of", "stack", "trace", "elements", ".", "First", "stack", "trace", "element", "is", "removed", ".", "Since", "an", "exception", "is", "thrown", "internally", "this", "method", "is", "slow", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/exception/ExceptionUtil.java#L49-L59", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/exception/ExceptionUtil.java", "func_name": "ExceptionUtil.getStackTrace", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns stack trace filtered by class names.", "docstring_tokens": ["Returns", "stack", "trace", "filtered", "by", "class", "names", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/exception/ExceptionUtil.java#L66-L96", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/exception/ExceptionUtil.java", "func_name": "ExceptionUtil.getStackTraceChain", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns stack trace chain filtered by class names.", "docstring_tokens": ["Returns", "stack", "trace", "chain", "filtered", "by", "class", "names", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/exception/ExceptionUtil.java#L101-L113", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/exception/ExceptionUtil.java", "func_name": "ExceptionUtil.getExceptionChain", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns exception chain starting from top up to root cause.", "docstring_tokens": ["Returns", "exception", "chain", "starting", "from", "top", "up", "to", "root", "cause", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/exception/ExceptionUtil.java#L119-L127", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/exception/ExceptionUtil.java", "func_name": "ExceptionUtil.exceptionStackTraceToString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Prints stack trace into a String.", "docstring_tokens": ["Prints", "stack", "trace", "into", "a", "String", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/exception/ExceptionUtil.java#L136-L146", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/exception/ExceptionUtil.java", "func_name": "ExceptionUtil.exceptionChainToString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Prints full exception stack trace, from top to root cause, into a String.", "docstring_tokens": ["Prints", "full", "exception", "stack", "trace", "from", "top", "to", "root", "cause", "into", "a", "String", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/exception/ExceptionUtil.java#L151-L163", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/exception/ExceptionUtil.java", "func_name": "ExceptionUtil.buildMessage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Build a message for the given base message and its cause.", "docstring_tokens": ["Build", "a", "message", "for", "the", "given", "base", "message", "and", "its", "cause", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/exception/ExceptionUtil.java#L168-L180", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/exception/ExceptionUtil.java", "func_name": "ExceptionUtil.unwrapThrowable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Unwraps invocation and undeclared exceptions to real cause.", "docstring_tokens": ["Unwraps", "invocation", "and", "undeclared", "exceptions", "to", "real", "cause", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/exception/ExceptionUtil.java#L286-L299", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/AutomagicMadvocConfigurator.java", "func_name": "AutomagicMadvocConfigurator.registerAsConsumer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses class name that matches madvoc-related names.", "docstring_tokens": ["Parses", "class", "name", "that", "matches", "madvoc", "-", "related", "names", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/AutomagicMadvocConfigurator.java#L132-L151", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/AutomagicMadvocConfigurator.java", "func_name": "AutomagicMadvocConfigurator.acceptMadvocComponentClass", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers new Madvoc component.", "docstring_tokens": ["Registers", "new", "Madvoc", "component", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/AutomagicMadvocConfigurator.java#L235-L245", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/ClassLoaderUtil.java", "func_name": "ClassLoaderUtil.getSystemClassLoader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns system class loader.", "docstring_tokens": ["Returns", "system", "class", "loader", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/ClassLoaderUtil.java#L85-L93", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/ClassLoaderUtil.java", "func_name": "ClassLoaderUtil.getResourceAsStream", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Opens a resource of the specified name for reading.\n@see #getResourceUrl(String, ClassLoader)", "docstring_tokens": ["Opens", "a", "resource", "of", "the", "specified", "name", "for", "reading", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/ClassLoaderUtil.java#L346-L352", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/ClassLoaderUtil.java", "func_name": "ClassLoaderUtil.getResourceAsStream", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Opens a resource of the specified name for reading. Controls caching,\nthat is important when the same jar is reloaded using custom classloader.", "docstring_tokens": ["Opens", "a", "resource", "of", "the", "specified", "name", "for", "reading", ".", "Controls", "caching", "that", "is", "important", "when", "the", "same", "jar", "is", "reloaded", "using", "custom", "classloader", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/ClassLoaderUtil.java#L358-L366", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/ClassLoaderUtil.java", "func_name": "ClassLoaderUtil.getClassAsStream", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Opens a class of the specified name for reading using class classloader.\n@see #getResourceAsStream(String, ClassLoader)", "docstring_tokens": ["Opens", "a", "class", "of", "the", "specified", "name", "for", "reading", "using", "class", "classloader", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/ClassLoaderUtil.java#L372-L374", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/ClassLoaderUtil.java", "func_name": "ClassLoaderUtil.getClassAsStream", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Opens a class of the specified name for reading using provided class loader.", "docstring_tokens": ["Opens", "a", "class", "of", "the", "specified", "name", "for", "reading", "using", "provided", "class", "loader", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/ClassLoaderUtil.java#L388-L390", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/config/RouteChunk.java", "func_name": "RouteChunk.add", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a new child to the tree.", "docstring_tokens": ["Adds", "a", "new", "child", "to", "the", "tree", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/config/RouteChunk.java#L62-L71", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/config/RouteChunk.java", "func_name": "RouteChunk.findOrCreateChild", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds existing chunk or creates a new one if does not exist.", "docstring_tokens": ["Finds", "existing", "chunk", "or", "creates", "a", "new", "one", "if", "does", "not", "exist", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/config/RouteChunk.java#L76-L85", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-servlet/src/main/java/jodd/servlet/upload/MultipartRequest.java", "func_name": "MultipartRequest.parseRequest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks if request if multi-part and parse it. If request is not multi-part it\ncopies all parameters, to make usage the same in both cases.\n\n@see MultipartRequestWrapper", "docstring_tokens": ["Checks", "if", "request", "if", "multi", "-", "part", "and", "parse", "it", ".", "If", "request", "is", "not", "multi", "-", "part", "it", "copies", "all", "parameters", "to", "make", "usage", "the", "same", "in", "both", "cases", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-servlet/src/main/java/jodd/servlet/upload/MultipartRequest.java#L163-L175", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-bean/src/main/java/jodd/bean/BeanUtilUtil.java", "func_name": "BeanUtilUtil.convertToCollection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converter to collection.", "docstring_tokens": ["Converter", "to", "collection", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-bean/src/main/java/jodd/bean/BeanUtilUtil.java#L82-L85", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-bean/src/main/java/jodd/bean/BeanUtilUtil.java", "func_name": "BeanUtilUtil.invokeSetter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Invokes setter, but first converts type to match the setter type.", "docstring_tokens": ["Invokes", "setter", "but", "first", "converts", "type", "to", "match", "the", "setter", "type", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-bean/src/main/java/jodd/bean/BeanUtilUtil.java#L93-L121", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-bean/src/main/java/jodd/bean/BeanUtilUtil.java", "func_name": "BeanUtilUtil.arrayForcedSet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the array element forced. If index is greater then arrays length, array will be expanded to the index.\nIf speed is critical, it is better to allocate an array with proper size before using this method.", "docstring_tokens": ["Sets", "the", "array", "element", "forced", ".", "If", "index", "is", "greater", "then", "arrays", "length", "array", "will", "be", "expanded", "to", "the", "index", ".", "If", "speed", "is", "critical", "it", "is", "better", "to", "allocate", "an", "array", "with", "proper", "size", "before", "using", "this", "method", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-bean/src/main/java/jodd/bean/BeanUtilUtil.java#L154-L159", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-bean/src/main/java/jodd/bean/BeanUtilUtil.java", "func_name": "BeanUtilUtil.createBeanProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates new instance for current property name through its setter.\nIt uses default constructor!", "docstring_tokens": ["Creates", "new", "instance", "for", "current", "property", "name", "through", "its", "setter", ".", "It", "uses", "default", "constructor!"], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-bean/src/main/java/jodd/bean/BeanUtilUtil.java#L262-L283", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-bean/src/main/java/jodd/bean/BeanUtilUtil.java", "func_name": "BeanUtilUtil.extractType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extracts type of current property.", "docstring_tokens": ["Extracts", "type", "of", "current", "property", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-bean/src/main/java/jodd/bean/BeanUtilUtil.java#L333-L344", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-joy/src/main/java/jodd/joy/auth/UserSession.java", "func_name": "UserSession.stop", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Stops the user session by removing it from the http session and invalidating the cookie.", "docstring_tokens": ["Stops", "the", "user", "session", "by", "removing", "it", "from", "the", "http", "session", "and", "invalidating", "the", "cookie", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-joy/src/main/java/jodd/joy/auth/UserSession.java#L69-L82", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-joy/src/main/java/jodd/joy/auth/UserSession.java", "func_name": "UserSession.start", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Starts new user session.", "docstring_tokens": ["Starts", "new", "user", "session", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-joy/src/main/java/jodd/joy/auth/UserSession.java#L87-L96", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/time/TimeUtil.java", "func_name": "TimeUtil.toDate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts local date to Date.", "docstring_tokens": ["Converts", "local", "date", "to", "Date", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/time/TimeUtil.java#L51-L53", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/time/TimeUtil.java", "func_name": "TimeUtil.toCalendar", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts local date time to Calendar.", "docstring_tokens": ["Converts", "local", "date", "time", "to", "Calendar", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/time/TimeUtil.java#L64-L66", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/methref/MethrefProxetta.java", "func_name": "MethrefProxetta.defineProxy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates new class.", "docstring_tokens": ["Generates", "new", "class", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/methref/MethrefProxetta.java#L54-L58", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-vtor/src/main/java/jodd/vtor/ValidationContext.java", "func_name": "ValidationContext.add", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds validation checks.", "docstring_tokens": ["Adds", "validation", "checks", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-vtor/src/main/java/jodd/vtor/ValidationContext.java#L61-L65", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-vtor/src/main/java/jodd/vtor/ValidationContext.java", "func_name": "ValidationContext.resolveFor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolve validation context for provided target class.\n@see #addClassChecks(Class)", "docstring_tokens": ["Resolve", "validation", "context", "for", "provided", "target", "class", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-vtor/src/main/java/jodd/vtor/ValidationContext.java#L85-L89", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-vtor/src/main/java/jodd/vtor/ValidationContext.java", "func_name": "ValidationContext.addClassChecks", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses class annotations and adds all checks.\n@see #resolveFor(Class)", "docstring_tokens": ["Parses", "class", "annotations", "and", "adds", "all", "checks", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-vtor/src/main/java/jodd/vtor/ValidationContext.java#L95-L106", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-vtor/src/main/java/jodd/vtor/ValidationContext.java", "func_name": "ValidationContext.collectPropertyAnnotationChecks", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Process all annotations of provided properties.", "docstring_tokens": ["Process", "all", "annotations", "of", "provided", "properties", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-vtor/src/main/java/jodd/vtor/ValidationContext.java#L111-L130", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-vtor/src/main/java/jodd/vtor/ValidationContext.java", "func_name": "ValidationContext.collectAnnotationChecks", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Collect annotations for some target.", "docstring_tokens": ["Collect", "annotations", "for", "some", "target", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-vtor/src/main/java/jodd/vtor/ValidationContext.java#L135-L167", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-vtor/src/main/java/jodd/vtor/ValidationContext.java", "func_name": "ValidationContext.copyDefaultCheckProperties", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copies default properties from annotation to the check.", "docstring_tokens": ["Copies", "default", "properties", "from", "annotation", "to", "the", "check", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-vtor/src/main/java/jodd/vtor/ValidationContext.java#L192-L201", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/net/URLCoder.java", "func_name": "URLCoder.encodeUriComponent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Encodes single URI component.", "docstring_tokens": ["Encodes", "single", "URI", "component", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/net/URLCoder.java#L187-L199", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/net/URLCoder.java", "func_name": "URLCoder.encode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Encodes string using default RFCP rules.", "docstring_tokens": ["Encodes", "string", "using", "default", "RFCP", "rules", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/net/URLCoder.java#L228-L230", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/net/URLCoder.java", "func_name": "URLCoder.encodeScheme", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Encodes the given URI scheme with the given encoding.", "docstring_tokens": ["Encodes", "the", "given", "URI", "scheme", "with", "the", "given", "encoding", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/net/URLCoder.java#L238-L240", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/net/URLCoder.java", "func_name": "URLCoder.encodeHost", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Encodes the given URI host with the given encoding.", "docstring_tokens": ["Encodes", "the", "given", "URI", "host", "with", "the", "given", "encoding", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/net/URLCoder.java#L270-L272", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/net/URLCoder.java", "func_name": "URLCoder.encodePort", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Encodes the given URI port with the given encoding.", "docstring_tokens": ["Encodes", "the", "given", "URI", "port", "with", "the", "given", "encoding", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/net/URLCoder.java#L280-L282", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/net/URLCoder.java", "func_name": "URLCoder.encodePath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Encodes the given URI path with the given encoding.", "docstring_tokens": ["Encodes", "the", "given", "URI", "path", "with", "the", "given", "encoding", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/net/URLCoder.java#L290-L292", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/net/URLCoder.java", "func_name": "URLCoder.encodeQuery", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Encodes the given URI query with the given encoding.", "docstring_tokens": ["Encodes", "the", "given", "URI", "query", "with", "the", "given", "encoding", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/net/URLCoder.java#L310-L312", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/net/URLCoder.java", "func_name": "URLCoder.encodeQueryParam", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Encodes the given URI query parameter with the given encoding.", "docstring_tokens": ["Encodes", "the", "given", "URI", "query", "parameter", "with", "the", "given", "encoding", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/net/URLCoder.java#L320-L322", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/net/URLCoder.java", "func_name": "URLCoder.encodeFragment", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Encodes the given URI fragment with the given encoding.", "docstring_tokens": ["Encodes", "the", "given", "URI", "fragment", "with", "the", "given", "encoding", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/net/URLCoder.java#L330-L332", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-bean/src/main/java/jodd/introspector/Properties.java", "func_name": "Properties.inspectProperties", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Inspects all properties of target type.", "docstring_tokens": ["Inspects", "all", "properties", "of", "target", "type", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-bean/src/main/java/jodd/introspector/Properties.java#L62-L135", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-bean/src/main/java/jodd/introspector/Properties.java", "func_name": "Properties.getAllPropertyDescriptors", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns all property descriptors.\nProperties are sorted by name.", "docstring_tokens": ["Returns", "all", "property", "descriptors", ".", "Properties", "are", "sorted", "by", "name", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-bean/src/main/java/jodd/introspector/Properties.java#L233-L253", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/HttpResponse.java", "func_name": "HttpResponse.cookies", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns list of valid cookies sent from server.\nIf no cookie found, returns an empty array. Invalid cookies are ignored.", "docstring_tokens": ["Returns", "list", "of", "valid", "cookies", "sent", "from", "server", ".", "If", "no", "cookie", "found", "returns", "an", "empty", "array", ".", "Invalid", "cookies", "are", "ignored", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/HttpResponse.java#L110-L131", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/HttpResponse.java", "func_name": "HttpResponse.unzip", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Unzips GZip-ed body content, removes the content-encoding header\nand sets the new content-length value.", "docstring_tokens": ["Unzips", "GZip", "-", "ed", "body", "content", "removes", "the", "content", "-", "encoding", "header", "and", "sets", "the", "new", "content", "-", "length", "value", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/HttpResponse.java#L139-L160", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/HttpResponse.java", "func_name": "HttpResponse.close", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Closes requests connection if it was open.\nShould be called when using keep-alive connections.\nOtherwise, connection will be already closed.", "docstring_tokens": ["Closes", "requests", "connection", "if", "it", "was", "open", ".", "Should", "be", "called", "when", "using", "keep", "-", "alive", "connections", ".", "Otherwise", "connection", "will", "be", "already", "closed", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/HttpResponse.java#L276-L283", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/scope/ThreadLocalScope.java", "func_name": "ThreadLocalScope.accept", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Defines allowed referenced scopes that can be injected into the\nthread-local scoped bean.", "docstring_tokens": ["Defines", "allowed", "referenced", "scopes", "that", "can", "be", "injected", "into", "the", "thread", "-", "local", "scoped", "bean", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/scope/ThreadLocalScope.java#L83-L100", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-joy/src/main/java/jodd/joy/JoyMadvoc.java", "func_name": "JoyMadvoc.printRoutes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Prints routes to console.", "docstring_tokens": ["Prints", "routes", "to", "console", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-joy/src/main/java/jodd/joy/JoyMadvoc.java#L175-L236", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/crypt/BlockCipher.java", "func_name": "BlockCipher.encrypt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Encrypts complete content, block by block.", "docstring_tokens": ["Encrypts", "complete", "content", "block", "by", "block", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/crypt/BlockCipher.java#L57-L91", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/crypt/BlockCipher.java", "func_name": "BlockCipher.decrypt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Decrypts the whole content, block by block.", "docstring_tokens": ["Decrypts", "the", "whole", "content", "block", "by", "block", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/crypt/BlockCipher.java#L96-L127", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/MapToBean.java", "func_name": "MapToBean.map2bean", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts map to target type.", "docstring_tokens": ["Converts", "map", "to", "target", "type", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/MapToBean.java#L60-L149", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/MapToBean.java", "func_name": "MapToBean.generifyList", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts type of all list elements to match the component type.", "docstring_tokens": ["Converts", "type", "of", "all", "list", "elements", "to", "match", "the", "component", "type", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/MapToBean.java#L165-L181", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/MapToBean.java", "func_name": "MapToBean.setValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the property value.", "docstring_tokens": ["Sets", "the", "property", "value", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/MapToBean.java#L186-L197", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/MapToBean.java", "func_name": "MapToBean.generifyMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Change map elements to match key and value types.", "docstring_tokens": ["Change", "map", "elements", "to", "match", "key", "and", "value", "types", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/MapToBean.java#L202-L231", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/DbEntityColumnDescriptor.java", "func_name": "DbEntityColumnDescriptor.compareTo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compares two column descriptors. Identity columns should be the first on the list.\nEach group then will be sorted by column name.", "docstring_tokens": ["Compares", "two", "column", "descriptors", ".", "Identity", "columns", "should", "be", "the", "first", "on", "the", "list", ".", "Each", "group", "then", "will", "be", "sorted", "by", "column", "name", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/DbEntityColumnDescriptor.java#L141-L148", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/HttpBrowser.java", "func_name": "HttpBrowser.setDefaultHeader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds default header to all requests.", "docstring_tokens": ["Adds", "default", "header", "to", "all", "requests", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/HttpBrowser.java#L95-L98", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/HttpBrowser.java", "func_name": "HttpBrowser.sendRequest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sends new request as a browser. Before sending,\nall browser cookies are added to the request.\nAfter sending, the cookies are read from the response.\nMoreover, status codes 301 and 302 are automatically\nhandled. Returns very last response.", "docstring_tokens": ["Sends", "new", "request", "as", "a", "browser", ".", "Before", "sending", "all", "browser", "cookies", "are", "added", "to", "the", "request", ".", "After", "sending", "the", "cookies", "are", "read", "from", "the", "response", ".", "Moreover", "status", "codes", "301", "and", "302", "are", "automatically", "handled", ".", "Returns", "very", "last", "response", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/HttpBrowser.java#L132-L212", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/HttpBrowser.java", "func_name": "HttpBrowser._sendRequest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Opens connection and sends a response.", "docstring_tokens": ["Opens", "connection", "and", "sends", "a", "response", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/HttpBrowser.java#L217-L230", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/HttpBrowser.java", "func_name": "HttpBrowser.addDefaultHeaders", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add default headers to the request. If request already has a header set,\ndefault header will be ignored.", "docstring_tokens": ["Add", "default", "headers", "to", "the", "request", ".", "If", "request", "already", "has", "a", "header", "set", "default", "header", "will", "be", "ignored", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/HttpBrowser.java#L236-L244", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/HttpBrowser.java", "func_name": "HttpBrowser.readCookies", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads cookies from response and adds to cookies list.", "docstring_tokens": ["Reads", "cookies", "from", "response", "and", "adds", "to", "cookies", "list", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/HttpBrowser.java#L276-L282", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/HttpBrowser.java", "func_name": "HttpBrowser.addCookies", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add cookies to the request.", "docstring_tokens": ["Add", "cookies", "to", "the", "request", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/HttpBrowser.java#L287-L298", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/SendMailSession.java", "func_name": "SendMailSession.sendMail", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Prepares message and sends it. Returns Message ID of sent email.\n\n@param email {@link Email} to send.\n@return String representing message ID.", "docstring_tokens": ["Prepares", "message", "and", "sends", "it", ".", "Returns", "Message", "ID", "of", "sent", "email", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/SendMailSession.java#L82-L90", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/SendMailSession.java", "func_name": "SendMailSession.setSubject", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets subject in msgToSet from subject in emailWithData.\n\n@param emailWithData {@link Email} with data\n@param msgToSet {@link MimeMessage} to set data into.\n@throws MessagingException if there is a failure", "docstring_tokens": ["Sets", "subject", "in", "msgToSet", "from", "subject", "in", "emailWithData", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/SendMailSession.java#L121-L127", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/SendMailSession.java", "func_name": "SendMailSession.setSentDate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets sent date in msgToSet with sent date from emailWithData.\n\n@param emailWithData {@link Email} with data\n@param msgToSet {@link MimeMessage} to set data into.\n@throws MessagingException if there is a failure", "docstring_tokens": ["Sets", "sent", "date", "in", "msgToSet", "with", "sent", "date", "from", "emailWithData", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/SendMailSession.java#L136-L142", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/SendMailSession.java", "func_name": "SendMailSession.setHeaders", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets headers in msgToSet with headers from emailWithData.\n\n@param emailWithData {@link Email} with data\n@param msgToSet {@link MimeMessage} to set data into.\n@throws MessagingException if there is a failure", "docstring_tokens": ["Sets", "headers", "in", "msgToSet", "with", "headers", "from", "emailWithData", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/SendMailSession.java#L151-L158", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/SendMailSession.java", "func_name": "SendMailSession.setPeople", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets FROM, REPLY-TO and recipients.\n\n@param emailWithData {@link Email} with data\n@param msgToSet {@link MimeMessage} to set data into.\n@throws MessagingException if there is a failure", "docstring_tokens": ["Sets", "FROM", "REPLY", "-", "TO", "and", "recipients", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/SendMailSession.java#L167-L171", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/SendMailSession.java", "func_name": "SendMailSession.setRecipients", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets TO, CC and BCC in msgToSet with TO, CC and BCC from emailWithData.\n\n@param emailWithData {@link Email} with data\n@param msgToSet {@link MimeMessage} to set data into.\n@throws MessagingException if there is a failure.", "docstring_tokens": ["Sets", "TO", "CC", "and", "BCC", "in", "msgToSet", "with", "TO", "CC", "and", "BCC", "from", "emailWithData", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/SendMailSession.java#L180-L198", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/SendMailSession.java", "func_name": "SendMailSession.addBodyData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds message data and attachments.\n\n@param emailWithData {@link Email} with data\n@param msgToSet {@link MimeMessage} to set data into.\n@throws MessagingException if there is a failure.", "docstring_tokens": ["Adds", "message", "data", "and", "attachments", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/SendMailSession.java#L207-L232", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/SendMailSession.java", "func_name": "SendMailSession.setContent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets emailWithData content into msgToSet.\n\n@param emailWithData {@link EmailMessage} with data.\n@param partToSet {@link Part} to set data into.\n@throws MessagingException if there is a failure.", "docstring_tokens": ["Sets", "emailWithData", "content", "into", "msgToSet", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/SendMailSession.java#L290-L292", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/SendMailSession.java", "func_name": "SendMailSession.createAttachmentBodyPart", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates attachment body part. Handles regular and inline attachments.\n\n@param attachment Body part {@link EmailAttachment}.\n@return {@link MimeBodyPart} which represents body part attachment.\n@throws MessagingException if there is a failure.", "docstring_tokens": ["Creates", "attachment", "body", "part", ".", "Handles", "regular", "and", "inline", "attachments", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/SendMailSession.java#L301-L319", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/upload/FileUploadHeader.java", "func_name": "FileUploadHeader.getContentType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Strips content type information from requests data header.\n@param dataHeader data header string\n@return content type or an empty string if no content type defined", "docstring_tokens": ["Strips", "content", "type", "information", "from", "requests", "data", "header", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/upload/FileUploadHeader.java#L104-L112", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/DbQueryBase.java", "func_name": "DbQueryBase.saveResultSet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Stores result set.", "docstring_tokens": ["Stores", "result", "set", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/DbQueryBase.java#L173-L178", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/DbQueryBase.java", "func_name": "DbQueryBase.closeAllResultSets", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Closes all result sets created by this query. Query remains active.", "docstring_tokens": ["Closes", "all", "result", "sets", "created", "by", "this", "query", ".", "Query", "remains", "active", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/DbQueryBase.java#L405-L411", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/DbQueryBase.java", "func_name": "DbQueryBase.closeQuery", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Closes all assigned result sets and then closes the query. Query becomes closed.", "docstring_tokens": ["Closes", "all", "assigned", "result", "sets", "and", "then", "closes", "the", "query", ".", "Query", "becomes", "closed", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/DbQueryBase.java#L416-L433", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/DbQueryBase.java", "func_name": "DbQueryBase.close", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Closes the query and all created results sets and detaches itself from the session.", "docstring_tokens": ["Closes", "the", "query", "and", "all", "created", "results", "sets", "and", "detaches", "itself", "from", "the", "session", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/DbQueryBase.java#L438-L449", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/DbQueryBase.java", "func_name": "DbQueryBase.setFetchSize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gives the JDBC driver a hint as to the number of rows that should be fetched from the database when\nmore rows are needed. The number of rows specified affects only result sets created using this statement.\nIf the value specified is zero, then the hint is ignored. The default value is zero.\n@see Statement#setFetchSize(int)", "docstring_tokens": ["Gives", "the", "JDBC", "driver", "a", "hint", "as", "to", "the", "number", "of", "rows", "that", "should", "be", "fetched", "from", "the", "database", "when", "more", "rows", "are", "needed", ".", "The", "number", "of", "rows", "specified", "affects", "only", "result", "sets", "created", "using", "this", "statement", ".", "If", "the", "value", "specified", "is", "zero", "then", "the", "hint", "is", "ignored", ".", "The", "default", "value", "is", "zero", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/DbQueryBase.java#L620-L631", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/DbQueryBase.java", "func_name": "DbQueryBase.setMaxRows", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the limit for the maximum number of rows that any ResultSet object can contain to the given number.\nIf the limit is exceeded, the excess rows are silently dropped. Zero means there is no limit.\n@see Statement#setMaxRows(int)", "docstring_tokens": ["Sets", "the", "limit", "for", "the", "maximum", "number", "of", "rows", "that", "any", "ResultSet", "object", "can", "contain", "to", "the", "given", "number", ".", "If", "the", "limit", "is", "exceeded", "the", "excess", "rows", "are", "silently", "dropped", ".", "Zero", "means", "there", "is", "no", "limit", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/DbQueryBase.java#L648-L659", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/DbQueryBase.java", "func_name": "DbQueryBase.executeUpdate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Executes UPDATE, INSERT or DELETE queries and optionally closes the query.\n@see Statement#executeUpdate(String)", "docstring_tokens": ["Executes", "UPDATE", "INSERT", "or", "DELETE", "queries", "and", "optionally", "closes", "the", "query", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/DbQueryBase.java#L743-L777", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/DbQueryBase.java", "func_name": "DbQueryBase.executeCount", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Executes count queries and optionally closes query afterwards.", "docstring_tokens": ["Executes", "count", "queries", "and", "optionally", "closes", "query", "afterwards", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/DbQueryBase.java#L793-L824", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/DbQueryBase.java", "func_name": "DbQueryBase.getGeneratedColumns", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns generated columns.", "docstring_tokens": ["Returns", "generated", "columns", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/DbQueryBase.java#L902-L916", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/DbQueryBase.java", "func_name": "DbQueryBase.getQueryString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns query SQL string. For prepared statements, returned sql string with quick-and-dirty replaced values.", "docstring_tokens": ["Returns", "query", "SQL", "string", ".", "For", "prepared", "statements", "returned", "sql", "string", "with", "quick", "-", "and", "-", "dirty", "replaced", "values", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/DbQueryBase.java#L955-L972", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/aop/AopProxy.java", "func_name": "AopProxy.proxyOf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a proxy of given target and the aspect.", "docstring_tokens": ["Creates", "a", "proxy", "of", "given", "target", "and", "the", "aspect", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/aop/AopProxy.java#L40-L52", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/CollectionUtil.java", "func_name": "CollectionUtil.collectionOf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a collection containing all elements of the iterator.", "docstring_tokens": ["Returns", "a", "collection", "containing", "all", "elements", "of", "the", "iterator", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/CollectionUtil.java#L88-L94", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/CollectionUtil.java", "func_name": "CollectionUtil.streamOf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts iterator to a stream.", "docstring_tokens": ["Converts", "iterator", "to", "a", "stream", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/CollectionUtil.java#L99-L101", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/MultiComparator.java", "func_name": "MultiComparator.compare", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compares two objects starting with first comparator; if they are equals\nproceeds to the next comparator and so on.", "docstring_tokens": ["Compares", "two", "objects", "starting", "with", "first", "comparator", ";", "if", "they", "are", "equals", "proceeds", "to", "the", "next", "comparator", "and", "so", "on", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/MultiComparator.java#L46-L55", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/PetiteConfig.java", "func_name": "PetiteConfig.setDefaultWiringMode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Specifies default wiring mode.", "docstring_tokens": ["Specifies", "default", "wiring", "mode", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/PetiteConfig.java#L94-L100", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-log/src/main/java/jodd/log/impl/SimpleLogger.java", "func_name": "SimpleLogger.print", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Prints error message if level is enabled.", "docstring_tokens": ["Prints", "error", "message", "if", "level", "is", "enabled", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-log/src/main/java/jodd/log/impl/SimpleLogger.java#L136-L152", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-log/src/main/java/jodd/log/impl/SimpleLogger.java", "func_name": "SimpleLogger.getCallerClass", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns called class.", "docstring_tokens": ["Returns", "called", "class", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-log/src/main/java/jodd/log/impl/SimpleLogger.java#L157-L178", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-log/src/main/java/jodd/log/impl/SimpleLogger.java", "func_name": "SimpleLogger.shortenClassName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns shorten class name.", "docstring_tokens": ["Returns", "shorten", "class", "name", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-log/src/main/java/jodd/log/impl/SimpleLogger.java#L183-L205", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/JsonSerializer.java", "func_name": "JsonSerializer.excludeTypes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Excludes types. Supports interfaces and subclasses as well.", "docstring_tokens": ["Excludes", "types", ".", "Supports", "interfaces", "and", "subclasses", "as", "well", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/JsonSerializer.java#L254-L261", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/JsonSerializer.java", "func_name": "JsonSerializer.serialize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Serializes object into provided appendable.", "docstring_tokens": ["Serializes", "object", "into", "provided", "appendable", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/JsonSerializer.java#L301-L305", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/JsonSerializer.java", "func_name": "JsonSerializer.serialize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Serializes object into source.", "docstring_tokens": ["Serializes", "object", "into", "source", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/JsonSerializer.java#L310-L316", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/ObjectUtil.java", "func_name": "ObjectUtil.cloneViaSerialization", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create object copy using serialization mechanism.", "docstring_tokens": ["Create", "object", "copy", "using", "serialization", "mechanism", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/ObjectUtil.java#L71-L91", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/ObjectUtil.java", "func_name": "ObjectUtil.writeObject", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes serializable object to a file. Existing file will be overwritten.", "docstring_tokens": ["Writes", "serializable", "object", "to", "a", "file", ".", "Existing", "file", "will", "be", "overwritten", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/ObjectUtil.java#L107-L123", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/ObjectUtil.java", "func_name": "ObjectUtil.readObject", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads serialized object from the file.", "docstring_tokens": ["Reads", "serialized", "object", "from", "the", "file", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/ObjectUtil.java#L135-L153", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/ObjectUtil.java", "func_name": "ObjectUtil.objectToByteArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Serialize an object to byte array.", "docstring_tokens": ["Serialize", "an", "object", "to", "byte", "array", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/ObjectUtil.java#L160-L171", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/ObjectUtil.java", "func_name": "ObjectUtil.byteArrayToObject", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "De-serialize an object from byte array.", "docstring_tokens": ["De", "-", "serialize", "an", "object", "from", "byte", "array", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/ObjectUtil.java#L176-L188", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/mapper/DefaultResultSetMapper.java", "func_name": "DefaultResultSetMapper.resolveMappedTypesTableNames", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolved mapped type names for each type.", "docstring_tokens": ["Resolved", "mapped", "type", "names", "for", "each", "type", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/mapper/DefaultResultSetMapper.java#L279-L297", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/mapper/DefaultResultSetMapper.java", "func_name": "DefaultResultSetMapper.createTypesTableNames", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates table names for given types.", "docstring_tokens": ["Creates", "table", "names", "for", "given", "types", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/mapper/DefaultResultSetMapper.java#L302-L317", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/mapper/DefaultResultSetMapper.java", "func_name": "DefaultResultSetMapper.readColumnValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads column value from result set. Since this method may be called more then once for\nthe same column, it caches column values.", "docstring_tokens": ["Reads", "column", "value", "from", "result", "set", ".", "Since", "this", "method", "may", "be", "called", "more", "then", "once", "for", "the", "same", "column", "it", "caches", "column", "values", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/mapper/DefaultResultSetMapper.java#L328-L350", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/mapper/DefaultResultSetMapper.java", "func_name": "DefaultResultSetMapper.cacheResultSetEntities", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Caches returned entities. Replaces new instances with existing ones.", "docstring_tokens": ["Caches", "returned", "entities", ".", "Replaces", "new", "instances", "with", "existing", "ones", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/mapper/DefaultResultSetMapper.java#L485-L522", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/resolver/ProviderResolver.java", "func_name": "ProviderResolver.resolve", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves all providers in the class", "docstring_tokens": ["Resolves", "all", "providers", "in", "the", "class"], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/resolver/ProviderResolver.java#L48-L93", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/naming/TableNamingStrategy.java", "func_name": "TableNamingStrategy.applyToTableName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Applies table naming strategy to given table name hint.\nReturns full table name.", "docstring_tokens": ["Applies", "table", "naming", "strategy", "to", "given", "table", "name", "hint", ".", "Returns", "full", "table", "name", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/naming/TableNamingStrategy.java#L167-L171", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/pool/CoreConnectionPool.java", "func_name": "CoreConnectionPool.isConnectionValid", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks if existing connection is valid and available. It may happens\nthat if connection is not used for a while it becomes inactive,\nalthough not technically closed.", "docstring_tokens": ["Checks", "if", "existing", "connection", "is", "valid", "and", "available", ".", "It", "may", "happens", "that", "if", "connection", "is", "not", "used", "for", "a", "while", "it", "becomes", "inactive", "although", "not", "technically", "closed", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/pool/CoreConnectionPool.java#L290-L325", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/result/ServletDispatcherActionResult.java", "func_name": "ServletDispatcherActionResult.renderView", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Renders the view by dispatching to the target JSP.", "docstring_tokens": ["Renders", "the", "view", "by", "dispatching", "to", "the", "target", "JSP", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/result/ServletDispatcherActionResult.java#L57-L76", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/result/ServletDispatcherActionResult.java", "func_name": "ServletDispatcherActionResult.locateTarget", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Locates target using path with various extensions appended.", "docstring_tokens": ["Locates", "target", "using", "path", "with", "various", "extensions", "appended", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/result/ServletDispatcherActionResult.java#L81-L98", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-servlet/src/main/java/jodd/servlet/wrapper/BufferResponseWrapper.java", "func_name": "BufferResponseWrapper.getWriter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns buffered writer if buffering is enabled,\notherwise returns the original writer.", "docstring_tokens": ["Returns", "buffered", "writer", "if", "buffering", "is", "enabled", "otherwise", "returns", "the", "original", "writer", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-servlet/src/main/java/jodd/servlet/wrapper/BufferResponseWrapper.java#L129-L136", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-servlet/src/main/java/jodd/servlet/wrapper/BufferResponseWrapper.java", "func_name": "BufferResponseWrapper.getOutputStream", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns buffered output stream if buffering is enabled,\notherwise returns the original stream.", "docstring_tokens": ["Returns", "buffered", "output", "stream", "if", "buffering", "is", "enabled", "otherwise", "returns", "the", "original", "stream", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-servlet/src/main/java/jodd/servlet/wrapper/BufferResponseWrapper.java#L142-L149", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-servlet/src/main/java/jodd/servlet/wrapper/BufferResponseWrapper.java", "func_name": "BufferResponseWrapper.writeContentToResponse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes content to original output stream, using either output stream or writer, depending\non how the content was buffered. It is assumed that provided content is a modified\nwrapped content.", "docstring_tokens": ["Writes", "content", "to", "original", "output", "stream", "using", "either", "output", "stream", "or", "writer", "depending", "on", "how", "the", "content", "was", "buffered", ".", "It", "is", "assumed", "that", "provided", "content", "is", "a", "modified", "wrapped", "content", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-servlet/src/main/java/jodd/servlet/wrapper/BufferResponseWrapper.java#L233-L253", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-servlet/src/main/java/jodd/servlet/wrapper/BufferResponseWrapper.java", "func_name": "BufferResponseWrapper.setContentType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the content type and enables or disables buffering.", "docstring_tokens": ["Sets", "the", "content", "type", "and", "enables", "or", "disables", "buffering", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-servlet/src/main/java/jodd/servlet/wrapper/BufferResponseWrapper.java#L313-L324", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-servlet/src/main/java/jodd/servlet/wrapper/BufferResponseWrapper.java", "func_name": "BufferResponseWrapper.print", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Appends string to the buffer.", "docstring_tokens": ["Appends", "string", "to", "the", "buffer", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-servlet/src/main/java/jodd/servlet/wrapper/BufferResponseWrapper.java#L466-L483", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-joy/src/main/java/jodd/joy/auth/AuthAction.java", "func_name": "AuthAction.login", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Authenticate user and start user session.", "docstring_tokens": ["Authenticate", "user", "and", "start", "user", "session", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-joy/src/main/java/jodd/joy/auth/AuthAction.java#L74-L98", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-joy/src/main/java/jodd/joy/auth/AuthAction.java", "func_name": "AuthAction.tokenAsJson", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Prepares the JSON payload that carries on the token value.", "docstring_tokens": ["Prepares", "the", "JSON", "payload", "that", "carries", "on", "the", "token", "value", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-joy/src/main/java/jodd/joy/auth/AuthAction.java#L103-L109", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-joy/src/main/java/jodd/joy/auth/AuthAction.java", "func_name": "AuthAction.loginViaBasicAuth", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Tries to login user with basic authentication.", "docstring_tokens": ["Tries", "to", "login", "user", "with", "basic", "authentication", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-joy/src/main/java/jodd/joy/auth/AuthAction.java#L127-L135", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-joy/src/main/java/jodd/joy/auth/AuthAction.java", "func_name": "AuthAction.logout", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Logout hook.", "docstring_tokens": ["Logout", "hook", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-joy/src/main/java/jodd/joy/auth/AuthAction.java#L142-L148", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/FileUtil.java", "func_name": "FileUtil.toContainerFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a file of either a folder or a containing archive.", "docstring_tokens": ["Returns", "a", "file", "of", "either", "a", "folder", "or", "a", "containing", "archive", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/FileUtil.java#L150-L160", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/FileUtil.java", "func_name": "FileUtil.mkdirs", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates all directories at once.\n\n@param dirs Directories to make.\n@throws IOException if cannot create directory.", "docstring_tokens": ["Creates", "all", "directories", "at", "once", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/FileUtil.java#L191-L197", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/FileUtil.java", "func_name": "FileUtil.mkdir", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates single directory.\n\n@throws IOException if cannot create directory.", "docstring_tokens": ["Creates", "single", "directory", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/FileUtil.java#L211-L217", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/FileUtil.java", "func_name": "FileUtil._copyFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Internal file copy when most of the pre-checking has passed.\n\n@param srcFile Source {@link File}.\n@param destFile Destination {@link File}.\n@throws IOException if cannot copy", "docstring_tokens": ["Internal", "file", "copy", "when", "most", "of", "the", "pre", "-", "checking", "has", "passed", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/FileUtil.java#L268-L293", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/FileUtil.java", "func_name": "FileUtil.copyDir", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copies directory with specified copy params.\n\n@see #_copyDirectory(File, File)", "docstring_tokens": ["Copies", "directory", "with", "specified", "copy", "params", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/FileUtil.java#L328-L331", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/FileUtil.java", "func_name": "FileUtil.moveFileToDir", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Moves a file to a directory.\n\n@param srcFile Source {@link File}.\n@param destDir Destination directory.\n@throws IOException if there is an error during move.", "docstring_tokens": ["Moves", "a", "file", "to", "a", "directory", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/FileUtil.java#L425-L428", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/FileUtil.java", "func_name": "FileUtil._moveDirectory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Moves a directory.\n\n@param srcDest Source directory\n@param destDir Destination directory.\n@throws IOException if there is an error during move.", "docstring_tokens": ["Moves", "a", "directory", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/FileUtil.java#L455-L467", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/FileUtil.java", "func_name": "FileUtil.cleanDir", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Cleans a directory without deleting it.\n\n@param destDir destination to clean.\n@throws IOException if something went wrong.", "docstring_tokens": ["Cleans", "a", "directory", "without", "deleting", "it", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/FileUtil.java#L522-L548", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/FileUtil.java", "func_name": "FileUtil.readUTFChars", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads UTF file content as char array.\n\n@param file {@link File} to read.\n@return array of characters.\n@throws IOException if something went wrong.", "docstring_tokens": ["Reads", "UTF", "file", "content", "as", "char", "array", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/FileUtil.java#L566-L576", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/FileUtil.java", "func_name": "FileUtil.readChars", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads file content as char array.\n\n@param file {@link File} to read.\n@param encoding Encoding to use.\n@return array of characters.\n@throws IOException if something went wrong.", "docstring_tokens": ["Reads", "file", "content", "as", "char", "array", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/FileUtil.java#L586-L596", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/FileUtil.java", "func_name": "FileUtil.writeChars", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write characters. append = false\n\n@see #outChars(File, char[], String, boolean)", "docstring_tokens": ["Write", "characters", ".", "append", "=", "false"], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/FileUtil.java#L645-L647", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/FileUtil.java", "func_name": "FileUtil.writeString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes String. append = false\n\n@see #outString(File, String, String, boolean)", "docstring_tokens": ["Writes", "String", ".", "append", "=", "false"], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/FileUtil.java#L787-L789", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/FileUtil.java", "func_name": "FileUtil.appendString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Appends String. append = true\n\n@see #outString(File, String, String, boolean)", "docstring_tokens": ["Appends", "String", ".", "append", "=", "true"], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/FileUtil.java#L817-L819", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/FileUtil.java", "func_name": "FileUtil.readBytes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read file and returns byte array with contents.\n\n@param file {@link File} to read\n@param count number of bytes to read\n@return byte array from {@link File} contents.\n@throws IOException if not a {@link File} or {@link File} does not exist or file size is\nlarger than {@link Integer#MAX_VALUE}.", "docstring_tokens": ["Read", "file", "and", "returns", "byte", "array", "with", "contents", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/FileUtil.java#L950-L968", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/FileUtil.java", "func_name": "FileUtil.writeBytes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write bytes. append = false\n\n@see #outBytes(File, byte[], int, int, boolean)", "docstring_tokens": ["Write", "bytes", ".", "append", "=", "false"], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/FileUtil.java#L996-L998", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/FileUtil.java", "func_name": "FileUtil.appendBytes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Appends bytes. append = true\n\n@see #outBytes(File, byte[], int, int, boolean)", "docstring_tokens": ["Appends", "bytes", ".", "append", "=", "true"], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/FileUtil.java#L1026-L1028", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/FileUtil.java", "func_name": "FileUtil.copy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Smart copy. If source is a directory, copy it to destination.\nOtherwise, if destination is directory, copy source file to it.\nOtherwise, try to copy source file to destination file.\n\n@param src source {@link File}\n@param dest destination {@link File}\n@throws IOException if there is an error copying.\n@see #copyDir(File, File)\n@see #copyFileToDir(File, File)\n@see #copyFile(File, File)", "docstring_tokens": ["Smart", "copy", ".", "If", "source", "is", "a", "directory", "copy", "it", "to", "destination", ".", "Otherwise", "if", "destination", "is", "directory", "copy", "source", "file", "to", "it", ".", "Otherwise", "try", "to", "copy", "source", "file", "to", "destination", "file", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/FileUtil.java#L1200-L1210", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/FileUtil.java", "func_name": "FileUtil.delete", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Smart delete of destination file or directory.\n\n@throws IOException if there is an issue deleting the file/directory.\n@see #deleteFile(File)\n@see #deleteDir(File)", "docstring_tokens": ["Smart", "delete", "of", "destination", "file", "or", "directory", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/FileUtil.java#L1262-L1268", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/FileUtil.java", "func_name": "FileUtil.createTempDirectory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates temporary directory.\n\n@see #createTempFile(String, String, File)", "docstring_tokens": ["Creates", "temporary", "directory", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/FileUtil.java#L1362-L1367", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/FileUtil.java", "func_name": "FileUtil.isBinary", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks the start of the file for ASCII control characters\n\n@param file {@link File}\n@return true if the the start of the {@link File} is ASCII control characters.", "docstring_tokens": ["Checks", "the", "start", "of", "the", "file", "for", "ASCII", "control", "characters"], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/FileUtil.java#L1477-L1487", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/FileUtil.java", "func_name": "FileUtil.checkDirCopy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks that srcDir exists, that it is a directory and if srcDir and destDir are not equal.\n\n@param srcDir Source directory\n@param destDir Destination directory\n@throws IOException if any of the above conditions are not true.", "docstring_tokens": ["Checks", "that", "srcDir", "exists", "that", "it", "is", "a", "directory", "and", "if", "srcDir", "and", "destDir", "are", "not", "equal", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/FileUtil.java#L1639-L1645", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/FileUtil.java", "func_name": "FileUtil.checkFileCopy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks that file copy can occur.\n\n@param srcFile Source {@link File}\n@param destFile Destination {@link File}\n@throws IOException if srcFile does not exist or is not a file or\nsrcFile and destFile are equal or cannot create ancestor directories.", "docstring_tokens": ["Checks", "that", "file", "copy", "can", "occur", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/FileUtil.java#L1655-L1666", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/cli/Cli.java", "func_name": "Cli.printUsage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Prints the usage line.", "docstring_tokens": ["Prints", "the", "usage", "line", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/cli/Cli.java#L215-L231", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/component/ActionsManager.java", "func_name": "ActionsManager.resolveActionMethod", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves action method for given action class ane method name.", "docstring_tokens": ["Resolves", "action", "method", "for", "given", "action", "class", "ane", "method", "name", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/component/ActionsManager.java#L105-L111", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/component/ActionsManager.java", "func_name": "ActionsManager.registerAction", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers action with provided action class and method name.\n@see #registerAction(Class, Method, ActionDefinition)", "docstring_tokens": ["Registers", "action", "with", "provided", "action", "class", "and", "method", "name", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/component/ActionsManager.java#L117-L120", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/component/ActionsManager.java", "func_name": "ActionsManager.registerPathAlias", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers new path alias.", "docstring_tokens": ["Registers", "new", "path", "alias", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/component/ActionsManager.java#L197-L202", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/LoopIterator.java", "func_name": "LoopIterator.next", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Iterates to next value at the beginning of the loop.", "docstring_tokens": ["Iterates", "to", "next", "value", "at", "the", "beginning", "of", "the", "loop", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/LoopIterator.java#L150-L167", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/CharArraySequence.java", "func_name": "CharArraySequence.from", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Static constructor that creates a char sequence by making a copy of provided char array.", "docstring_tokens": ["Static", "constructor", "that", "creates", "a", "char", "sequence", "by", "making", "a", "copy", "of", "provided", "char", "array", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/CharArraySequence.java#L53-L59", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/advice/DelegateAdvice.java", "func_name": "DelegateAdvice.execute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Looks up for method in target object and invokes it using reflection.", "docstring_tokens": ["Looks", "up", "for", "method", "in", "target", "object", "and", "invokes", "it", "using", "reflection", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/advice/DelegateAdvice.java#L55-L82", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/Scanner.java", "func_name": "Scanner.matchUpperCase", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Matches char buffer given in uppercase with content at current location, that will\nbe converted to upper case to make case-insensitive matching.", "docstring_tokens": ["Matches", "char", "buffer", "given", "in", "uppercase", "with", "content", "at", "current", "location", "that", "will", "be", "converted", "to", "upper", "case", "to", "make", "case", "-", "insensitive", "matching", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/Scanner.java#L115-L131", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/Scanner.java", "func_name": "Scanner.charSequence", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates char sub-sequence from the input.", "docstring_tokens": ["Creates", "char", "sub", "-", "sequence", "from", "the", "input", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/Scanner.java#L138-L143", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core-9/src/main/java/jodd/bridge/ClassPathURLs.java", "func_name": "ClassPathURLs.of", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns urls for the classloader.\n\n@param classLoader classloader in which to find urls\n@return list of urls or {@code null} if not found", "docstring_tokens": ["Returns", "urls", "for", "the", "classloader", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core-9/src/main/java/jodd/bridge/ClassPathURLs.java#L46-L95", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/Email.java", "func_name": "Email.bcc", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Appends one or more BCC addresses.\n\n@param bccs vararg of {@link EmailAddress}es to set.\n@return this", "docstring_tokens": ["Appends", "one", "or", "more", "BCC", "addresses", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/Email.java#L164-L167", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/TypeJsonSerializerMap.java", "func_name": "TypeJsonSerializerMap.register", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers new serializer.", "docstring_tokens": ["Registers", "new", "serializer", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/TypeJsonSerializerMap.java#L215-L218", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/TypeJsonSerializerMap.java", "func_name": "TypeJsonSerializerMap.lookupSerializer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get type serializer from map. First the current map is used.\nIf element is missing, default map will be used, if exist.", "docstring_tokens": ["Get", "type", "serializer", "from", "map", ".", "First", "the", "current", "map", "is", "used", ".", "If", "element", "is", "missing", "default", "map", "will", "be", "used", "if", "exist", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/TypeJsonSerializerMap.java#L233-L243", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/upload/MultipartStreamParser.java", "func_name": "MultipartStreamParser.parseRequestStream", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extracts uploaded files and parameters from the request data.", "docstring_tokens": ["Extracts", "uploaded", "files", "and", "parameters", "from", "the", "request", "data", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/upload/MultipartStreamParser.java#L120-L166", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/upload/MultipartStreamParser.java", "func_name": "MultipartStreamParser.getParameter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns single value of a parameter. If parameter name is used for\nmore then one parameter, only the first one will be returned.\n\n@return parameter value, or null if not found", "docstring_tokens": ["Returns", "single", "value", "of", "a", "parameter", ".", "If", "parameter", "name", "is", "used", "for", "more", "then", "one", "parameter", "only", "the", "first", "one", "will", "be", "returned", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/upload/MultipartStreamParser.java#L177-L186", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/upload/MultipartStreamParser.java", "func_name": "MultipartStreamParser.getParameterValues", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns all values all of the values the given request parameter has.", "docstring_tokens": ["Returns", "all", "values", "all", "of", "the", "values", "the", "given", "request", "parameter", "has", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/upload/MultipartStreamParser.java#L201-L206", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/upload/MultipartStreamParser.java", "func_name": "MultipartStreamParser.getFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns uploaded file.\n@param paramName parameter name of the uploaded file\n@return uploaded file or null if parameter name not found", "docstring_tokens": ["Returns", "uploaded", "file", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/upload/MultipartStreamParser.java#L214-L223", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/upload/MultipartStreamParser.java", "func_name": "MultipartStreamParser.getFiles", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns all uploaded files the given request parameter has.", "docstring_tokens": ["Returns", "all", "uploaded", "files", "the", "given", "request", "parameter", "has", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/upload/MultipartStreamParser.java#L229-L234", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-servlet/src/main/java/jodd/servlet/filter/CharacterEncodingFilter.java", "func_name": "CharacterEncodingFilter.init", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Place this filter into service.\n\n@param filterConfig The filter configuration object", "docstring_tokens": ["Place", "this", "filter", "into", "service", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-servlet/src/main/java/jodd/servlet/filter/CharacterEncodingFilter.java#L129-L138", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/sqlgen/TemplateParser.java", "func_name": "TemplateParser.parse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses template and returns generated sql builder.", "docstring_tokens": ["Parses", "template", "and", "returns", "generated", "sql", "builder", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/sqlgen/TemplateParser.java#L50-L108", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/sqlgen/TemplateParser.java", "func_name": "TemplateParser.findMacroEnd", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds macros end.", "docstring_tokens": ["Finds", "macros", "end", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/sqlgen/TemplateParser.java#L123-L129", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/sqlgen/TemplateParser.java", "func_name": "TemplateParser.countEscapes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Count escapes to the left.", "docstring_tokens": ["Count", "escapes", "to", "the", "left", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/sqlgen/TemplateParser.java#L134-L145", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/HttpUtil.java", "func_name": "HttpUtil.buildQuery", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds a query string from given query map.", "docstring_tokens": ["Builds", "a", "query", "string", "from", "given", "query", "map", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/HttpUtil.java#L46-L84", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/HttpUtil.java", "func_name": "HttpUtil.parseQuery", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses query from give query string. Values are optionally decoded.", "docstring_tokens": ["Parses", "query", "from", "give", "query", "string", ".", "Values", "are", "optionally", "decoded", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/HttpUtil.java#L89-L129", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/HttpUtil.java", "func_name": "HttpUtil.prepareHeaderParameterName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Makes nice header names.", "docstring_tokens": ["Makes", "nice", "header", "names", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/HttpUtil.java#L136-L169", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/HttpUtil.java", "func_name": "HttpUtil.extractMediaType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extracts media-type from value of \"Content Type\" header.", "docstring_tokens": ["Extracts", "media", "-", "type", "from", "value", "of", "Content", "Type", "header", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/HttpUtil.java#L176-L184", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/LagartoHtmlRenderer.java", "func_name": "LagartoHtmlRenderer.toHtml", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Renders node to appendable.", "docstring_tokens": ["Renders", "node", "to", "appendable", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/LagartoHtmlRenderer.java#L37-L43", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/LagartoHtmlRenderer.java", "func_name": "LagartoHtmlRenderer.toInnerHtml", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Renders node children to appendable.", "docstring_tokens": ["Renders", "node", "children", "to", "appendable", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/LagartoHtmlRenderer.java#L48-L54", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/Madvoc.java", "func_name": "Madvoc.configureWith", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Configures Madvoc by reading context init parameters.", "docstring_tokens": ["Configures", "Madvoc", "by", "reading", "context", "init", "parameters", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/Madvoc.java#L117-L121", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/JsonParser.java", "func_name": "JsonParser.reset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resets JSON parser, so it can be reused.", "docstring_tokens": ["Resets", "JSON", "parser", "so", "it", "can", "be", "reused", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/JsonParser.java#L141-L153", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/JsonParser.java", "func_name": "JsonParser.lazy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Defines how JSON parser works. In non-lazy mode, the whole JSON is parsed as it is.\nIn the lazy mode, not everything is parsed, but some things are left lazy.\nThis way we gain performance, especially on partial usage of the whole JSON.\nHowever, be aware that parser holds the input memory until the returned\nobjects are disposed.", "docstring_tokens": ["Defines", "how", "JSON", "parser", "works", ".", "In", "non", "-", "lazy", "mode", "the", "whole", "JSON", "is", "parsed", "as", "it", "is", ".", "In", "the", "lazy", "mode", "not", "everything", "is", "parsed", "but", "some", "things", "are", "left", "lazy", ".", "This", "way", "we", "gain", "performance", "especially", "on", "partial", "usage", "of", "the", "whole", "JSON", ".", "However", "be", "aware", "that", "parser", "holds", "the", "input", "memory", "until", "the", "returned", "objects", "are", "disposed", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/JsonParser.java#L193-L198", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/JsonParser.java", "func_name": "JsonParser.replaceWithMappedTypeForPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Replaces type with mapped type for current path.", "docstring_tokens": ["Replaces", "type", "with", "mapped", "type", "for", "current", "path", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/JsonParser.java#L232-L262", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/JsonParser.java", "func_name": "JsonParser.parseAsList", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses input JSON to a list with specified component type.", "docstring_tokens": ["Parses", "input", "JSON", "to", "a", "list", "with", "specified", "component", "type", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/JsonParser.java#L373-L377", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/JsonParser.java", "func_name": "JsonParser.parseAsMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses input JSON to a list with specified key and value types.", "docstring_tokens": ["Parses", "input", "JSON", "to", "a", "list", "with", "specified", "key", "and", "value", "types", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/JsonParser.java#L382-L389", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/JsonParser.java", "func_name": "JsonParser.resolveLazyValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves lazy value during the parsing runtime.", "docstring_tokens": ["Resolves", "lazy", "value", "during", "the", "parsing", "runtime", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/JsonParser.java#L604-L609", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/JsonParser.java", "func_name": "JsonParser.skipObject", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Skips over complete object. It is not parsed, just skipped. It will be\nparsed later, but only if required.", "docstring_tokens": ["Skips", "over", "complete", "object", ".", "It", "is", "not", "parsed", "just", "skipped", ".", "It", "will", "be", "parsed", "later", "but", "only", "if", "required", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/JsonParser.java#L615-L639", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/JsonParser.java", "func_name": "JsonParser.parseString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses a string.", "docstring_tokens": ["Parses", "a", "string", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/JsonParser.java#L659-L671", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/JsonParser.java", "func_name": "JsonParser.parseStringContent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses string content, once when starting quote has been consumed.", "docstring_tokens": ["Parses", "string", "content", "once", "when", "starting", "quote", "has", "been", "consumed", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/JsonParser.java#L676-L759", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/JsonParser.java", "func_name": "JsonParser.parseUnicode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses 4 characters and returns unicode character.", "docstring_tokens": ["Parses", "4", "characters", "and", "returns", "unicode", "character", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/JsonParser.java#L792-L799", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/JsonParser.java", "func_name": "JsonParser.parseUnquotedStringContent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses un-quoted string content.", "docstring_tokens": ["Parses", "un", "-", "quoted", "string", "content", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/JsonParser.java#L808-L825", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/JsonParser.java", "func_name": "JsonParser.parseNumber", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses JSON numbers.", "docstring_tokens": ["Parses", "JSON", "numbers", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/JsonParser.java#L833-L903", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/JsonParser.java", "func_name": "JsonParser.parseArrayContent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses arrays, once when open bracket has been consumed.", "docstring_tokens": ["Parses", "arrays", "once", "when", "open", "bracket", "has", "been", "consumed", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/JsonParser.java#L917-L979", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaWrapperClassBuilder.java", "func_name": "ProxettaWrapperClassBuilder.createEmptyCtor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Created empty default constructor.", "docstring_tokens": ["Created", "empty", "default", "constructor", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaWrapperClassBuilder.java#L142-L154", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaWrapperClassBuilder.java", "func_name": "ProxettaWrapperClassBuilder.createSimpleMethodWrapper", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates simple method wrapper without proxy.", "docstring_tokens": ["Creates", "simple", "method", "wrapper", "without", "proxy", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxettaWrapperClassBuilder.java#L231-L265", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/asm/MethodSignatureVisitor.java", "func_name": "MethodSignatureVisitor.resolveRawTypeName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves raw type name using the generics information from the class\nor method information.", "docstring_tokens": ["Resolves", "raw", "type", "name", "using", "the", "generics", "information", "from", "the", "class", "or", "method", "information", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/asm/MethodSignatureVisitor.java#L412-L436", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/resolver/ReferencesResolver.java", "func_name": "ReferencesResolver.resolveReferenceFromValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves reference from given values. Returns bean reference of given value or defaults\nif given name is blank.", "docstring_tokens": ["Resolves", "reference", "from", "given", "values", ".", "Returns", "bean", "reference", "of", "given", "value", "or", "defaults", "if", "given", "name", "is", "blank", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/resolver/ReferencesResolver.java#L59-L72", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/resolver/ReferencesResolver.java", "func_name": "ReferencesResolver.resolveReferenceFromValues", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Takes given parameters references and returns reference set for given method or constructor.", "docstring_tokens": ["Takes", "given", "parameters", "references", "and", "returns", "reference", "set", "for", "given", "method", "or", "constructor", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/resolver/ReferencesResolver.java#L77-L92", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/resolver/ReferencesResolver.java", "func_name": "ReferencesResolver.readAllReferencesFromAnnotation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extracts references from method or constructor annotation.", "docstring_tokens": ["Extracts", "references", "from", "method", "or", "constructor", "annotation", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/resolver/ReferencesResolver.java#L152-L208", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/resolver/ReferencesResolver.java", "func_name": "ReferencesResolver.buildDefaultReferences", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds default method references.", "docstring_tokens": ["Builds", "default", "method", "references", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/resolver/ReferencesResolver.java#L267-L299", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/resolver/ReferencesResolver.java", "func_name": "ReferencesResolver.buildDefaultReference", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds default field references.", "docstring_tokens": ["Builds", "default", "field", "references", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/resolver/ReferencesResolver.java#L304-L324", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/resolver/ReferencesResolver.java", "func_name": "ReferencesResolver.removeAllDuplicateNames", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes duplicate names from bean references.", "docstring_tokens": ["Removes", "duplicate", "names", "from", "bean", "references", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/resolver/ReferencesResolver.java#L329-L334", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/resolver/ReferencesResolver.java", "func_name": "ReferencesResolver.convertRefToReferences", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts single string array to an array of bean references.", "docstring_tokens": ["Converts", "single", "string", "array", "to", "an", "array", "of", "bean", "references", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/resolver/ReferencesResolver.java#L340-L350", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/resolver/ReferencesResolver.java", "func_name": "ReferencesResolver.convertAnnValueToReferences", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts comma-separated string into array of Bean references.", "docstring_tokens": ["Converts", "comma", "-", "separated", "string", "into", "array", "of", "Bean", "references", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/resolver/ReferencesResolver.java#L355-L372", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-joy/src/main/java/jodd/joy/StandaloneJoddJoy.java", "func_name": "StandaloneJoddJoy.runJoy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Runs JOY in standalone mode, with only backend.", "docstring_tokens": ["Runs", "JOY", "in", "standalone", "mode", "with", "only", "backend", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-joy/src/main/java/jodd/joy/StandaloneJoddJoy.java#L43-L72", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/ClassUtil.java", "func_name": "ClassUtil.findMethod", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns method from an object, matched by name. This may be considered as\na slow operation, since methods are matched one by one.\nReturns only accessible methods.\nOnly first method is matched.\n\n@param c class to examine\n@param methodName Full name of the method.\n@return null if method not found", "docstring_tokens": ["Returns", "method", "from", "an", "object", "matched", "by", "name", ".", "This", "may", "be", "considered", "as", "a", "slow", "operation", "since", "methods", "are", "matched", "one", "by", "one", ".", "Returns", "only", "accessible", "methods", ".", "Only", "first", "method", "is", "matched", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/ClassUtil.java#L90-L92", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/ClassUtil.java", "func_name": "ClassUtil.findConstructor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds constructor with given parameter types. First matched ctor is returned.", "docstring_tokens": ["Finds", "constructor", "with", "given", "parameter", "types", ".", "First", "matched", "ctor", "is", "returned", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/ClassUtil.java#L119-L132", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/ClassUtil.java", "func_name": "ClassUtil.resolveAllInterfaces", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves all interfaces of a type. No duplicates are returned.\nDirect interfaces are prior the interfaces of subclasses in\nthe returned array.", "docstring_tokens": ["Resolves", "all", "interfaces", "of", "a", "type", ".", "No", "duplicates", "are", "returned", ".", "Direct", "interfaces", "are", "prior", "the", "interfaces", "of", "subclasses", "in", "the", "returned", "array", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/ClassUtil.java#L198-L203", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/ClassUtil.java", "func_name": "ClassUtil.compareParameters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compares classes, usually method or ctor parameters.", "docstring_tokens": ["Compares", "classes", "usually", "method", "or", "ctor", "parameters", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/ClassUtil.java#L485-L495", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/ClassUtil.java", "func_name": "ClassUtil.forceAccess", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Suppress access check against a reflection object. SecurityException is silently ignored.\nChecks first if the object is already accessible.", "docstring_tokens": ["Suppress", "access", "check", "against", "a", "reflection", "object", ".", "SecurityException", "is", "silently", "ignored", ".", "Checks", "first", "if", "the", "object", "is", "already", "accessible", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/ClassUtil.java#L503-L516", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/ClassUtil.java", "func_name": "ClassUtil.newInstance", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates new instance of given class with given optional arguments.", "docstring_tokens": ["Creates", "new", "instance", "of", "given", "class", "with", "given", "optional", "arguments", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/ClassUtil.java#L552-L567", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/ClassUtil.java", "func_name": "ClassUtil.getSuperclasses", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns all superclasses.", "docstring_tokens": ["Returns", "all", "superclasses", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/ClassUtil.java#L680-L692", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/ClassUtil.java", "func_name": "ClassUtil.childClassOf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the class of the immediate subclass of the given parent class for\nthe given object instance; or null if such immediate subclass cannot be\nuniquely identified for the given object instance.", "docstring_tokens": ["Returns", "the", "class", "of", "the", "immediate", "subclass", "of", "the", "given", "parent", "class", "for", "the", "given", "object", "instance", ";", "or", "null", "if", "such", "immediate", "subclass", "cannot", "be", "uniquely", "identified", "for", "the", "given", "object", "instance", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/ClassUtil.java#L1251-L1274", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/ClassUtil.java", "func_name": "ClassUtil.jarFileOf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the jar file from which the given class is loaded; or null\nif no such jar file can be located.", "docstring_tokens": ["Returns", "the", "jar", "file", "from", "which", "the", "given", "class", "is", "loaded", ";", "or", "null", "if", "no", "such", "jar", "file", "can", "be", "located", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/ClassUtil.java#L1280-L1306", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/ThreadUtil.java", "func_name": "ThreadUtil.sleep", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Puts a thread to sleep, without throwing an InterruptedException.\n\n@param ms the length of time to sleep in milliseconds", "docstring_tokens": ["Puts", "a", "thread", "to", "sleep", "without", "throwing", "an", "InterruptedException", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/ThreadUtil.java#L41-L47", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/ThreadUtil.java", "func_name": "ThreadUtil.sleep", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Puts a thread to sleep forever.", "docstring_tokens": ["Puts", "a", "thread", "to", "sleep", "forever", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/ThreadUtil.java#L53-L59", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/ThreadUtil.java", "func_name": "ThreadUtil.wait", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Waits for a object for synchronization purposes.", "docstring_tokens": ["Waits", "for", "a", "object", "for", "synchronization", "purposes", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/ThreadUtil.java#L67-L75", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/ThreadUtil.java", "func_name": "ThreadUtil.daemonThreadFactory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates new daemon thread factory.", "docstring_tokens": ["Creates", "new", "daemon", "thread", "factory", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/ThreadUtil.java#L148-L161", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/mutable/LazyValue.java", "func_name": "LazyValue.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the value. Value will be computed on first call.", "docstring_tokens": ["Returns", "the", "value", ".", "Value", "will", "be", "computed", "on", "first", "call", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/mutable/LazyValue.java#L53-L67", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/MethodVisitor.java", "func_name": "MethodVisitor.visitParameter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Visits a parameter of this method.\n\n@param name parameter name or null if none is provided.\n@param access the parameter's access flags, only {@code ACC_FINAL}, {@code ACC_SYNTHETIC}\nor/and {@code ACC_MANDATED} are allowed (see {@link Opcodes}).", "docstring_tokens": ["Visits", "a", "parameter", "of", "this", "method", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/MethodVisitor.java#L99-L106", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/MethodVisitor.java", "func_name": "MethodVisitor.visitAnnotation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Visits an annotation of this method.\n\n@param descriptor the class descriptor of the annotation class.\n@param visible {@literal true} if the annotation is visible at runtime.\n@return a visitor to visit the annotation values, or {@literal null} if this visitor is not\ninterested in visiting this annotation.", "docstring_tokens": ["Visits", "an", "annotation", "of", "this", "method", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/MethodVisitor.java#L131-L136", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/MethodVisitor.java", "func_name": "MethodVisitor.visitTypeAnnotation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Visits an annotation on a type in the method signature.\n\n@param typeRef a reference to the annotated type. The sort of this type reference must be\n{@link TypeReference#METHOD_TYPE_PARAMETER}, {@link\nTypeReference#METHOD_TYPE_PARAMETER_BOUND}, {@link TypeReference#METHOD_RETURN}, {@link\nTypeReference#METHOD_RECEIVER}, {@link TypeReference#METHOD_FORMAL_PARAMETER} or {@link\nTypeReference#THROWS}. See {@link TypeReference}.\n@param typePath the path to the annotated type argument, wildcard bound, array element type, or\nstatic inner type within 'typeRef'. May be {@literal null} if the annotation targets\n'typeRef' as a whole.\n@param descriptor the class descriptor of the annotation class.\n@param visible {@literal true} if the annotation is visible at runtime.\n@return a visitor to visit the annotation values, or {@literal null} if this visitor is not\ninterested in visiting this annotation.", "docstring_tokens": ["Visits", "an", "annotation", "on", "a", "type", "in", "the", "method", "signature", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/MethodVisitor.java#L154-L163", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/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 the parameter index. This index must be strictly smaller than the number of\nparameters in the method descriptor, and strictly smaller than the parameter count\nspecified in {@link #visitAnnotableParameterCount}. Important note: a parameter index i\nis not required to correspond to the i'th parameter descriptor in the method\ndescriptor, in particular in case of synthetic parameters (see\nhttps://docs.oracle.com/javase/specs/jvms/se9/html/jvms-4.html#jvms-4.7.18).\n@param descriptor the class descriptor of the annotation class.\n@param visible {@literal true} if the annotation is visible at runtime.\n@return a visitor to visit the annotation values, or {@literal null} if this visitor is not\ninterested in visiting this annotation.", "docstring_tokens": ["Visits", "an", "annotation", "of", "a", "parameter", "this", "method", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/MethodVisitor.java#L199-L205", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/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 loads or stores the\nvalue of a field of an object.\n\n@param opcode the opcode of the type instruction to be visited. This opcode is either\nGETSTATIC, PUTSTATIC, GETFIELD or PUTFIELD.\n@param owner the internal name of the field's owner class (see {@link Type#getInternalName()}).\n@param name the field's name.\n@param descriptor the field's descriptor (see {@link 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": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/MethodVisitor.java#L377-L382", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/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 invokes a method.\n\n@param opcode the opcode of the type instruction to be visited. This opcode is either\nINVOKEVIRTUAL, INVOKESPECIAL, INVOKESTATIC or INVOKEINTERFACE.\n@param owner the internal name of the method's owner class (see {@link\nType#getInternalName()}).\n@param name the method's name.\n@param descriptor the method's descriptor (see {@link Type}).\n@param isInterface if the method's owner class is an interface.", "docstring_tokens": ["Visits", "a", "method", "instruction", ".", "A", "method", "instruction", "is", "an", "instruction", "that", "invokes", "a", "method", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/MethodVisitor.java#L419-L435", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/MethodVisitor.java", "func_name": "MethodVisitor.visitInvokeDynamicInsn", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Visits an invokedynamic instruction.\n\n@param name the method's name.\n@param descriptor the method's descriptor (see {@link Type}).\n@param bootstrapMethodHandle the bootstrap method.\n@param bootstrapMethodArguments the bootstrap method constant arguments. Each argument must be\nan {@link Integer}, {@link Float}, {@link Long}, {@link Double}, {@link String}, {@link\nType}, {@link Handle} or {@link ConstantDynamic} value. This method is allowed to modify\nthe content of the array so a caller should expect that this array may change.", "docstring_tokens": ["Visits", "an", "invokedynamic", "instruction", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/MethodVisitor.java#L448-L459", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/MethodVisitor.java", "func_name": "MethodVisitor.visitJumpInsn", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Visits a jump instruction. A jump instruction is an instruction that may jump to another\ninstruction.\n\n@param opcode the opcode of the type instruction to be visited. This opcode is either IFEQ,\nIFNE, IFLT, IFGE, IFGT, IFLE, IF_ICMPEQ, IF_ICMPNE, IF_ICMPLT, IF_ICMPGE, IF_ICMPGT,\nIF_ICMPLE, IF_ACMPEQ, IF_ACMPNE, GOTO, JSR, IFNULL or IFNONNULL.\n@param label the operand of the instruction to be visited. This operand is a label that\ndesignates the instruction to which the jump instruction may jump.", "docstring_tokens": ["Visits", "a", "jump", "instruction", ".", "A", "jump", "instruction", "is", "an", "instruction", "that", "may", "jump", "to", "another", "instruction", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/MethodVisitor.java#L471-L475", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/MethodVisitor.java", "func_name": "MethodVisitor.visitMultiANewArrayInsn", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Visits a MULTIANEWARRAY instruction.\n\n@param descriptor an array type descriptor (see {@link Type}).\n@param numDimensions the number of dimensions of the array to allocate.", "docstring_tokens": ["Visits", "a", "MULTIANEWARRAY", "instruction", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/MethodVisitor.java#L597-L601", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/MethodVisitor.java", "func_name": "MethodVisitor.visitTryCatchBlock", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Visits a try catch block.\n\n@param start the beginning of the exception handler's scope (inclusive).\n@param end the end of the exception handler's scope (exclusive).\n@param handler the beginning of the exception handler's code.\n@param type the internal name of the type of exceptions handled by the handler, or {@literal\nnull} to catch any exceptions (for \"finally\" blocks).\n@throws IllegalArgumentException if one of the labels has already been visited by this visitor\n(by the {@link #visitLabel} method).", "docstring_tokens": ["Visits", "a", "try", "catch", "block", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/MethodVisitor.java#L648-L653", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/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 a reference to the annotated type. The sort of this type reference must be\n{@link TypeReference#LOCAL_VARIABLE} or {@link TypeReference#RESOURCE_VARIABLE}. See {@link\nTypeReference}.\n@param typePath the path to the annotated type argument, wildcard bound, array element type, or\nstatic inner type within 'typeRef'. May be {@literal null} if the annotation targets\n'typeRef' as a whole.\n@param start the fist instructions corresponding to the continuous ranges that make the scope\nof this local variable (inclusive).\n@param end the last instructions corresponding to the continuous ranges that make the scope of\nthis local variable (exclusive). This array must have the same size as the 'start' array.\n@param index the local variable's index in each range. This array must have the same size as\nthe 'start' array.\n@param descriptor the class descriptor of the annotation class.\n@param visible {@literal true} if the annotation is visible at runtime.\n@return a visitor to visit the annotation values, or {@literal null} if this visitor is not\ninterested in visiting this annotation.", "docstring_tokens": ["Visits", "an", "annotation", "on", "a", "local", "variable", "type", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/MethodVisitor.java#L727-L743", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-props/src/main/java/jodd/props/PropertiesToProps.java", "func_name": "PropertiesToProps.convertToWriter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert Java Properties to Jodd Props format\n\n@param writer Writer to write Props formatted file content to\n@param properties Properties to convert to Props format\n@param profiles Properties per profile to convert and add to the Props format\n@throws IOException On any I/O error when writing to the writer", "docstring_tokens": ["Convert", "Java", "Properties", "to", "Jodd", "Props", "format"], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-props/src/main/java/jodd/props/PropertiesToProps.java#L47-L53", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/upload/impl/MemoryFileUpload.java", "func_name": "MemoryFileUpload.processStream", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads data from input stream into byte array and stores file size.", "docstring_tokens": ["Reads", "data", "from", "input", "stream", "into", "byte", "array", "and", "stores", "file", "size", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/upload/impl/MemoryFileUpload.java#L76-L94", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/DbListIterator.java", "func_name": "DbListIterator.next", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns next mapped object.", "docstring_tokens": ["Returns", "next", "mapped", "object", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/DbListIterator.java#L91-L113", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/DbListIterator.java", "func_name": "DbListIterator.moveToNext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Moves to next element.", "docstring_tokens": ["Moves", "to", "next", "element", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/DbListIterator.java#L119-L175", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/ArraysUtil.java", "func_name": "ArraysUtil.join", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Joins arrays. Component type is resolved from the array argument.", "docstring_tokens": ["Joins", "arrays", ".", "Component", "type", "is", "resolved", "from", "the", "array", "argument", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/ArraysUtil.java#L110-L114", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/ArraysUtil.java", "func_name": "ArraysUtil.join", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Joins arrays using provided component type.", "docstring_tokens": ["Joins", "arrays", "using", "provided", "component", "type", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/ArraysUtil.java#L119-L136", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/ArraysUtil.java", "func_name": "ArraysUtil.resize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resizes an array.", "docstring_tokens": ["Resizes", "an", "array", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/ArraysUtil.java#L352-L357", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/ArraysUtil.java", "func_name": "ArraysUtil.append", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Appends an element to array.", "docstring_tokens": ["Appends", "an", "element", "to", "array", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/ArraysUtil.java#L447-L451", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/ArraysUtil.java", "func_name": "ArraysUtil.remove", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes sub-array.", "docstring_tokens": ["Removes", "sub", "-", "array", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/ArraysUtil.java#L548-L555", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/ArraysUtil.java", "func_name": "ArraysUtil.indexOf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds the first occurrence of an element in an array.", "docstring_tokens": ["Finds", "the", "first", "occurrence", "of", "an", "element", "in", "an", "array", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/ArraysUtil.java#L1370-L1377", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/ArraysUtil.java", "func_name": "ArraysUtil.indexOf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds the first occurrence in an array.", "docstring_tokens": ["Finds", "the", "first", "occurrence", "in", "an", "array", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/ArraysUtil.java#L1652-L1659", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/ArraysUtil.java", "func_name": "ArraysUtil.indexOf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds the first occurrence in an array from specified given position.", "docstring_tokens": ["Finds", "the", "first", "occurrence", "in", "an", "array", "from", "specified", "given", "position", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/ArraysUtil.java#L1699-L1701", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/LagartoDOMBuilder.java", "func_name": "LagartoDOMBuilder.enableXhtmlMode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Enables XHTML mode.", "docstring_tokens": ["Enables", "XHTML", "mode", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/LagartoDOMBuilder.java#L101-L111", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/LagartoDOMBuilder.java", "func_name": "LagartoDOMBuilder.parse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates DOM tree from provided content.", "docstring_tokens": ["Creates", "DOM", "tree", "from", "provided", "content", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/LagartoDOMBuilder.java#L133-L137", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/LagartoDOMBuilder.java", "func_name": "LagartoDOMBuilder.doParse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses the content using provided lagarto parser.", "docstring_tokens": ["Parses", "the", "content", "using", "provided", "lagarto", "parser", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/LagartoDOMBuilder.java#L151-L160", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/MethodWriter.java", "func_name": "MethodWriter.computeMaxStackAndLocal", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Computes the maximum stack size of the method.", "docstring_tokens": ["Computes", "the", "maximum", "stack", "size", "of", "the", "method", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/MethodWriter.java#L1667-L1771", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/MethodWriter.java", "func_name": "MethodWriter.endCurrentBasicBlockWithNoSuccessor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Ends the current basic block. This method must be used in the case where the current basic\nblock does not have any successor.\n\n

WARNING: this method must be called after the currently visited instruction has been put in\n{@link #code} (if frames are computed, this method inserts a new Label to start a new basic\nblock after the current instruction).", "docstring_tokens": ["Ends", "the", "current", "basic", "block", ".", "This", "method", "must", "be", "used", "in", "the", "case", "where", "the", "current", "basic", "block", "does", "not", "have", "any", "successor", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/MethodWriter.java#L1800-L1812", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/MethodWriter.java", "func_name": "MethodWriter.collectAttributePrototypes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Collects the attributes of this method into the given set of attribute prototypes.\n\n@param attributePrototypes a set of attribute prototypes.", "docstring_tokens": ["Collects", "the", "attributes", "of", "this", "method", "into", "the", "given", "set", "of", "attribute", "prototypes", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/MethodWriter.java#L2437-L2440", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/component/ContextInjectorComponent.java", "func_name": "ContextInjectorComponent.injectContext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Inject context into target.", "docstring_tokens": ["Inject", "context", "into", "target", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/component/ContextInjectorComponent.java#L52-L70", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/csselly/selector/PseudoClassSelector.java", "func_name": "PseudoClassSelector.registerPseudoClass", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers pseudo class.", "docstring_tokens": ["Registers", "pseudo", "class", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/csselly/selector/PseudoClassSelector.java#L92-L100", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/csselly/selector/PseudoClassSelector.java", "func_name": "PseudoClassSelector.lookupPseudoClass", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Lookups pseudo class for given pseudo class name.", "docstring_tokens": ["Lookups", "pseudo", "class", "for", "given", "pseudo", "class", "name", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/csselly/selector/PseudoClassSelector.java#L105-L111", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/component/AsyncActionExecutor.java", "func_name": "AsyncActionExecutor.invoke", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Invokes an action asynchronously by submitting it to the thread pool.", "docstring_tokens": ["Invokes", "an", "action", "asynchronously", "by", "submitting", "it", "to", "the", "thread", "pool", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/component/AsyncActionExecutor.java#L62-L82", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-bean/src/main/java/jodd/bean/BeanVisitor.java", "func_name": "BeanVisitor.getAllBeanPropertyNames", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns all bean property names.", "docstring_tokens": ["Returns", "all", "bean", "property", "names", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-bean/src/main/java/jodd/bean/BeanVisitor.java#L90-L115", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-bean/src/main/java/jodd/bean/BeanVisitor.java", "func_name": "BeanVisitor.visit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Starts visiting properties.", "docstring_tokens": ["Starts", "visiting", "properties", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-bean/src/main/java/jodd/bean/BeanVisitor.java#L143-L179", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-bean/src/main/java/jodd/bean/BeanVisitor.java", "func_name": "BeanVisitor.accept", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compares property name to the rules.", "docstring_tokens": ["Compares", "property", "name", "to", "the", "rules", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-bean/src/main/java/jodd/bean/BeanVisitor.java#L190-L193", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/resolver/MethodResolver.java", "func_name": "MethodResolver.resolve", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolve method injection points in given class.", "docstring_tokens": ["Resolve", "method", "injection", "points", "in", "given", "class", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/resolver/MethodResolver.java#L53-L90", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-htmlstapler/src/main/java/jodd/htmlstapler/HtmlStaplerFilter.java", "func_name": "HtmlStaplerFilter.readFilterConfigParameters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads filter config parameters and set into destination target.", "docstring_tokens": ["Reads", "filter", "config", "parameters", "and", "set", "into", "destination", "target", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-htmlstapler/src/main/java/jodd/htmlstapler/HtmlStaplerFilter.java#L112-L120", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-htmlstapler/src/main/java/jodd/htmlstapler/HtmlStaplerFilter.java", "func_name": "HtmlStaplerFilter.sendBundleFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Outputs bundle file to the response.", "docstring_tokens": ["Outputs", "bundle", "file", "to", "the", "response", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-htmlstapler/src/main/java/jodd/htmlstapler/HtmlStaplerFilter.java#L220-L229", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-htmlstapler/src/main/java/jodd/htmlstapler/HtmlStaplerBundlesManager.java", "func_name": "HtmlStaplerBundlesManager.lookupBundleFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Lookups for bundle file.", "docstring_tokens": ["Lookups", "for", "bundle", "file", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-htmlstapler/src/main/java/jodd/htmlstapler/HtmlStaplerBundlesManager.java#L300-L309", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-htmlstapler/src/main/java/jodd/htmlstapler/HtmlStaplerBundlesManager.java", "func_name": "HtmlStaplerBundlesManager.lookupGzipBundleFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Locates gzipped version of bundle file. If gzip file\ndoes not exist, it will be created.", "docstring_tokens": ["Locates", "gzipped", "version", "of", "bundle", "file", ".", "If", "gzip", "file", "does", "not", "exist", "it", "will", "be", "created", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-htmlstapler/src/main/java/jodd/htmlstapler/HtmlStaplerBundlesManager.java#L315-L327", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-htmlstapler/src/main/java/jodd/htmlstapler/HtmlStaplerBundlesManager.java", "func_name": "HtmlStaplerBundlesManager.registerBundle", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers new bundle that consist of provided list of source paths.\nReturns the real bundle id, as provided one is just a temporary bundle id.", "docstring_tokens": ["Registers", "new", "bundle", "that", "consist", "of", "provided", "list", "of", "source", "paths", ".", "Returns", "the", "real", "bundle", "id", "as", "provided", "one", "is", "just", "a", "temporary", "bundle", "id", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-htmlstapler/src/main/java/jodd/htmlstapler/HtmlStaplerBundlesManager.java#L354-L393", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-htmlstapler/src/main/java/jodd/htmlstapler/HtmlStaplerBundlesManager.java", "func_name": "HtmlStaplerBundlesManager.createDigest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates digest i.e. bundle id from given string.\nReturned digest must be filename safe, for all platforms.", "docstring_tokens": ["Creates", "digest", "i", ".", "e", ".", "bundle", "id", "from", "given", "string", ".", "Returned", "digest", "must", "be", "filename", "safe", "for", "all", "platforms", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-htmlstapler/src/main/java/jodd/htmlstapler/HtmlStaplerBundlesManager.java#L399-L411", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-htmlstapler/src/main/java/jodd/htmlstapler/HtmlStaplerBundlesManager.java", "func_name": "HtmlStaplerBundlesManager.createBundle", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates bundle file by loading resource files content. If bundle file already\nexist it will not be recreated!", "docstring_tokens": ["Creates", "bundle", "file", "by", "loading", "resource", "files", "content", ".", "If", "bundle", "file", "already", "exist", "it", "will", "not", "be", "recreated!"], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-htmlstapler/src/main/java/jodd/htmlstapler/HtmlStaplerBundlesManager.java#L417-L496", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-htmlstapler/src/main/java/jodd/htmlstapler/HtmlStaplerBundlesManager.java", "func_name": "HtmlStaplerBundlesManager.reset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Clears all settings and removes all created bundle files from file system.", "docstring_tokens": ["Clears", "all", "settings", "and", "removes", "all", "created", "bundle", "files", "from", "file", "system", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-htmlstapler/src/main/java/jodd/htmlstapler/HtmlStaplerBundlesManager.java#L549-L568", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-htmlstapler/src/main/java/jodd/htmlstapler/HtmlStaplerBundlesManager.java", "func_name": "HtmlStaplerBundlesManager.fixCssRelativeUrls", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the content with all relative URLs fixed.", "docstring_tokens": ["Returns", "the", "content", "with", "all", "relative", "URLs", "fixed", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-htmlstapler/src/main/java/jodd/htmlstapler/HtmlStaplerBundlesManager.java#L585-L615", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/sqlgen/DbEntitySql.java", "func_name": "DbEntitySql.updateColumn", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads property value and updates the DB.", "docstring_tokens": ["Reads", "property", "value", "and", "updates", "the", "DB", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/sqlgen/DbEntitySql.java#L128-L131", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/sqlgen/DbEntitySql.java", "func_name": "DbEntitySql.createTableRefName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates table reference name from entity type.\nAlways appends an underscore to reference name in order\nto circumvent SQL compatibility issues when entity class name\nequals to a reserved word.", "docstring_tokens": ["Creates", "table", "reference", "name", "from", "entity", "type", ".", "Always", "appends", "an", "underscore", "to", "reference", "name", "in", "order", "to", "circumvent", "SQL", "compatibility", "issues", "when", "entity", "class", "name", "equals", "to", "a", "reserved", "word", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/sqlgen/DbEntitySql.java#L324-L328", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/jtx/DbJtxSessionProvider.java", "func_name": "DbJtxSessionProvider.getDbSession", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns session from JTX transaction manager and started transaction.", "docstring_tokens": ["Returns", "session", "from", "JTX", "transaction", "manager", "and", "started", "transaction", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/jtx/DbJtxSessionProvider.java#L55-L68", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-bean/src/main/java/jodd/typeconverter/impl/ArrayConverter.java", "func_name": "ArrayConverter.convertToSingleElementArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an array with single element.", "docstring_tokens": ["Creates", "an", "array", "with", "single", "element", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-bean/src/main/java/jodd/typeconverter/impl/ArrayConverter.java#L97-L103", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/GenericsReader.java", "func_name": "GenericsReader.parseSignatureForGenerics", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses signature for generic information and returns a map where key is generic name\nand value is raw type. Returns an empty map if signature does not define any generics.", "docstring_tokens": ["Parses", "signature", "for", "generic", "information", "and", "returns", "a", "map", "where", "key", "is", "generic", "name", "and", "value", "is", "raw", "type", ".", "Returns", "an", "empty", "map", "if", "signature", "does", "not", "define", "any", "generics", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/GenericsReader.java#L44-L76", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/resolver/SetResolver.java", "func_name": "SetResolver.resolve", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves all collections for given type.", "docstring_tokens": ["Resolves", "all", "collections", "for", "given", "type", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/resolver/SetResolver.java#L49-L93", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/JsonContext.java", "func_name": "JsonContext.matchIgnoredPropertyTypes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Matches property types that are ignored by default.", "docstring_tokens": ["Matches", "property", "types", "that", "are", "ignored", "by", "default", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/JsonContext.java#L221-L269", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/DbSession.java", "func_name": "DbSession.openConnectionForQuery", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Opens connection in auto-commit mode, if already not opened.", "docstring_tokens": ["Opens", "connection", "in", "auto", "-", "commit", "mode", "if", "already", "not", "opened", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/DbSession.java#L180-L190", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/DbSession.java", "func_name": "DbSession.openTx", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Opens a transaction.", "docstring_tokens": ["Opens", "a", "transaction", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/DbSession.java#L209-L223", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/DbSession.java", "func_name": "DbSession.closeTx", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Closes current transaction.", "docstring_tokens": ["Closes", "current", "transaction", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/DbSession.java#L228-L235", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/DbSession.java", "func_name": "DbSession.commitTransaction", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Commit the current transaction, writing any unflushed changes to the database.\nTransaction mode is closed.", "docstring_tokens": ["Commit", "the", "current", "transaction", "writing", "any", "unflushed", "changes", "to", "the", "database", ".", "Transaction", "mode", "is", "closed", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/DbSession.java#L253-L264", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/DbSession.java", "func_name": "DbSession.rollbackTransaction", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Roll back the current transaction. Transaction mode is closed.", "docstring_tokens": ["Roll", "back", "the", "current", "transaction", ".", "Transaction", "mode", "is", "closed", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/DbSession.java#L269-L281", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/PropertiesUtil.java", "func_name": "PropertiesUtil.createFromFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create properties from the file.\n\n@param file properties file to load", "docstring_tokens": ["Create", "properties", "from", "the", "file", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/PropertiesUtil.java#L62-L66", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/PropertiesUtil.java", "func_name": "PropertiesUtil.createFromString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates properties from string.", "docstring_tokens": ["Creates", "properties", "from", "string", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/PropertiesUtil.java#L150-L154", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/PropertiesUtil.java", "func_name": "PropertiesUtil.loadFromString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Loads properties from string.", "docstring_tokens": ["Loads", "properties", "from", "string", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/PropertiesUtil.java#L159-L163", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/PropertiesUtil.java", "func_name": "PropertiesUtil.subset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates new Properties object from the original one, by copying\nthose properties that have specified first part of the key name.\nPrefix may be optionally stripped during this process.\n\n@param p source properties, from which new object will be created\n@param prefix key names prefix\n\n@return subset properties", "docstring_tokens": ["Creates", "new", "Properties", "object", "from", "the", "original", "one", "by", "copying", "those", "properties", "that", "have", "specified", "first", "part", "of", "the", "key", "name", ".", "Prefix", "may", "be", "optionally", "stripped", "during", "this", "process", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/PropertiesUtil.java#L179-L195", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/PropertiesUtil.java", "func_name": "PropertiesUtil.createFromClasspath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates properties from classpath.", "docstring_tokens": ["Creates", "properties", "from", "classpath", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/PropertiesUtil.java#L203-L206", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/PropertiesUtil.java", "func_name": "PropertiesUtil.getProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns String property from a map.\n@see #getProperty(java.util.Map, String)", "docstring_tokens": ["Returns", "String", "property", "from", "a", "map", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/PropertiesUtil.java#L237-L240", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/PropertiesUtil.java", "func_name": "PropertiesUtil.resolveAllVariables", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves all variables.", "docstring_tokens": ["Resolves", "all", "variables", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/PropertiesUtil.java#L245-L251", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/PropertiesUtil.java", "func_name": "PropertiesUtil.resolveProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns property with resolved variables.", "docstring_tokens": ["Returns", "property", "with", "resolved", "variables", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/PropertiesUtil.java#L263-L271", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-jtx/src/main/java/jodd/jtx/proxy/AnnotationTxAdviceManager.java", "func_name": "AnnotationTxAdviceManager.resolveScope", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves tx scope from scope pattern.", "docstring_tokens": ["Resolves", "tx", "scope", "from", "scope", "pattern", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-jtx/src/main/java/jodd/jtx/proxy/AnnotationTxAdviceManager.java#L102-L110", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-jtx/src/main/java/jodd/jtx/proxy/AnnotationTxAdviceManager.java", "func_name": "AnnotationTxAdviceManager.getTxMode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads transaction mode from method annotation. Annotations are cached for better performances.\n@param type target class\n@param methodName target method name over which the transaction should be wrapped\n@param methodArgTypes types of arguments, used to find the method\n@param unique unique method fingerprint that contains return and arguments type information", "docstring_tokens": ["Reads", "transaction", "mode", "from", "method", "annotation", ".", "Annotations", "are", "cached", "for", "better", "performances", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-jtx/src/main/java/jodd/jtx/proxy/AnnotationTxAdviceManager.java#L119-L147", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-jtx/src/main/java/jodd/jtx/proxy/AnnotationTxAdviceManager.java", "func_name": "AnnotationTxAdviceManager.registerAnnotations", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers new TX annotations.", "docstring_tokens": ["Registers", "new", "TX", "annotations", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-jtx/src/main/java/jodd/jtx/proxy/AnnotationTxAdviceManager.java#L161-L170", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-jtx/src/main/java/jodd/jtx/proxy/AnnotationTxAdviceManager.java", "func_name": "AnnotationTxAdviceManager.readTransactionAnnotation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds TX annotation.", "docstring_tokens": ["Finds", "TX", "annotation", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-jtx/src/main/java/jodd/jtx/proxy/AnnotationTxAdviceManager.java#L175-L183", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/csselly/CssSelector.java", "func_name": "CssSelector.accept", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Accepts single node.", "docstring_tokens": ["Accepts", "single", "node", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/csselly/CssSelector.java#L224-L256", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/csselly/CssSelector.java", "func_name": "CssSelector.matchElement", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Matches element to css selector. All non-element types are ignored.", "docstring_tokens": ["Matches", "element", "to", "css", "selector", ".", "All", "non", "-", "element", "types", "are", "ignored", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/csselly/CssSelector.java#L261-L268", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/csselly/CssSelector.java", "func_name": "CssSelector.accept", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Accepts node within current results.", "docstring_tokens": ["Accepts", "node", "within", "current", "results", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/csselly/CssSelector.java#L276-L298", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/csselly/CssSelector.java", "func_name": "CssSelector.unescape", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Unescapes CSS string by removing all backslash characters from it.", "docstring_tokens": ["Unescapes", "CSS", "string", "by", "removing", "all", "backslash", "characters", "from", "it", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/csselly/CssSelector.java#L306-L312", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/system/JavaInfo.java", "func_name": "JavaInfo.buildJrePackages", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds a set of java core packages.", "docstring_tokens": ["Builds", "a", "set", "of", "java", "core", "packages", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/system/JavaInfo.java#L98-L146", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/Node.java", "func_name": "Node.cloneTo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copies all non-final values to the empty cloned object.\nCache-related values are not copied.", "docstring_tokens": ["Copies", "all", "non", "-", "final", "values", "to", "the", "empty", "cloned", "object", ".", "Cache", "-", "related", "values", "are", "not", "copied", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/Node.java#L94-L118", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/Node.java", "func_name": "Node.detachFromParent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes this node from DOM tree.", "docstring_tokens": ["Removes", "this", "node", "from", "DOM", "tree", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/Node.java#L172-L181", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/Node.java", "func_name": "Node.addChild", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Appends several child nodes at once.\nReindex is done only once, after all children are added.", "docstring_tokens": ["Appends", "several", "child", "nodes", "at", "once", ".", "Reindex", "is", "done", "only", "once", "after", "all", "children", "are", "added", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/Node.java#L199-L210", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/Node.java", "func_name": "Node.insertChild", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Inserts node at given index.", "docstring_tokens": ["Inserts", "node", "at", "given", "index", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/Node.java#L215-L225", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/Node.java", "func_name": "Node.insertBefore", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Inserts node before provided node.", "docstring_tokens": ["Inserts", "node", "before", "provided", "node", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/Node.java#L249-L252", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/Node.java", "func_name": "Node.insertBefore", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Inserts several child nodes before provided node.", "docstring_tokens": ["Inserts", "several", "child", "nodes", "before", "provided", "node", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/Node.java#L257-L263", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/Node.java", "func_name": "Node.insertAfter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Inserts node after provided node.", "docstring_tokens": ["Inserts", "node", "after", "provided", "node", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/Node.java#L268-L275", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/Node.java", "func_name": "Node.insertAfter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Inserts several child nodes after referent node.", "docstring_tokens": ["Inserts", "several", "child", "nodes", "after", "referent", "node", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/Node.java#L280-L291", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/Node.java", "func_name": "Node.removeAllChilds", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes all child nodes. Each child node will be detached from this parent.", "docstring_tokens": ["Removes", "all", "child", "nodes", ".", "Each", "child", "node", "will", "be", "detached", "from", "this", "parent", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/Node.java#L325-L337", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/Node.java", "func_name": "Node.findChildNodeWithName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds the first child node with given node name.", "docstring_tokens": ["Finds", "the", "first", "child", "node", "with", "given", "node", "name", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/Node.java#L551-L561", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/Node.java", "func_name": "Node.filterChildNodes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Filters child nodes.", "docstring_tokens": ["Filters", "child", "nodes", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/Node.java#L566-L573", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/Node.java", "func_name": "Node.check", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks the health of child nodes. Useful during complex tree manipulation,\nto check if everything is OK. Not optimized for speed, should be used just\nfor testing purposes.", "docstring_tokens": ["Checks", "the", "health", "of", "child", "nodes", ".", "Useful", "during", "complex", "tree", "manipulation", "to", "check", "if", "everything", "is", "OK", ".", "Not", "optimized", "for", "speed", "should", "be", "used", "just", "for", "testing", "purposes", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/Node.java#L719-L786", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/Node.java", "func_name": "Node.initChildElementNodes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Initializes list of child elements.", "docstring_tokens": ["Initializes", "list", "of", "child", "elements", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/Node.java#L841-L853", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/Node.java", "func_name": "Node.initSiblingNames", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Initializes siblings elements of the same name.", "docstring_tokens": ["Initializes", "siblings", "elements", "of", "the", "same", "name", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/Node.java#L858-L871", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/Node.java", "func_name": "Node.initChildNodes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Initializes child nodes list when needed.\nAlso fix owner document for new node, if needed.", "docstring_tokens": ["Initializes", "child", "nodes", "list", "when", "needed", ".", "Also", "fix", "owner", "document", "for", "new", "node", "if", "needed", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/Node.java#L886-L895", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/Node.java", "func_name": "Node.changeOwnerDocument", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Changes owner document for given node and all its children.", "docstring_tokens": ["Changes", "owner", "document", "for", "given", "node", "and", "all", "its", "children", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/Node.java#L900-L908", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/Node.java", "func_name": "Node.getPreviousSiblingName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns this node's previous sibling element with the same name.", "docstring_tokens": ["Returns", "this", "node", "s", "previous", "sibling", "element", "with", "the", "same", "name", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/Node.java#L1028-L1041", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/Node.java", "func_name": "Node.getTextContent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the text content of this node and its descendants.\n@see #appendTextContent(Appendable)", "docstring_tokens": ["Returns", "the", "text", "content", "of", "this", "node", "and", "its", "descendants", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/Node.java#L1049-L1053", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/Node.java", "func_name": "Node.getHtml", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates HTML.", "docstring_tokens": ["Generates", "HTML", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/Node.java#L1084-L1096", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/Node.java", "func_name": "Node.getInnerHtml", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates inner HTML.", "docstring_tokens": ["Generates", "inner", "HTML", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/Node.java#L1101-L1113", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/Node.java", "func_name": "Node.visitChildren", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Visits children nodes.", "docstring_tokens": ["Visits", "children", "nodes", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/Node.java#L1125-L1132", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/Node.java", "func_name": "Node.getCssPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns CSS path to this node from document root.", "docstring_tokens": ["Returns", "CSS", "path", "to", "this", "node", "from", "document", "root", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/Node.java#L1145-L1167", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-decora/src/main/java/jodd/decora/parser/DecoratorTagVisitor.java", "func_name": "DecoratorTagVisitor.onDecoraTag", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Handle Decora tags.", "docstring_tokens": ["Handle", "Decora", "tags", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-decora/src/main/java/jodd/decora/parser/DecoratorTagVisitor.java#L91-L115", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-decora/src/main/java/jodd/decora/parser/DecoratorTagVisitor.java", "func_name": "DecoratorTagVisitor.onIdAttrStart", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Handle open and empty ID attribute tags.", "docstring_tokens": ["Handle", "open", "and", "empty", "ID", "attribute", "tags", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-decora/src/main/java/jodd/decora/parser/DecoratorTagVisitor.java#L120-L154", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-decora/src/main/java/jodd/decora/parser/DecoratorTagVisitor.java", "func_name": "DecoratorTagVisitor.defineDecoraTag", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Defines Decora tag position inside decorator content.\nResets current Decora tag tracking.", "docstring_tokens": ["Defines", "Decora", "tag", "position", "inside", "decorator", "content", ".", "Resets", "current", "Decora", "tag", "tracking", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-decora/src/main/java/jodd/decora/parser/DecoratorTagVisitor.java#L168-L182", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-joy/src/main/java/jodd/joy/JoyProxetta.java", "func_name": "JoyProxetta.addProxyAspect", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a proxy aspect.", "docstring_tokens": ["Adds", "a", "proxy", "aspect", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-joy/src/main/java/jodd/joy/JoyProxetta.java#L57-L62", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/component/RootPackages.java", "func_name": "RootPackages.addRootPackage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds root package and its path mapping. Duplicate root packages\nare ignored, if mapping path is equals, otherwise exception is thrown.", "docstring_tokens": ["Adds", "root", "package", "and", "its", "path", "mapping", ".", "Duplicate", "root", "packages", "are", "ignored", "if", "mapping", "path", "is", "equals", "otherwise", "exception", "is", "thrown", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/component/RootPackages.java#L64-L97", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/component/RootPackages.java", "func_name": "RootPackages.addRootPackageOf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets root package to package of given class.", "docstring_tokens": ["Sets", "root", "package", "to", "package", "of", "given", "class", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/component/RootPackages.java#L102-L104", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/component/RootPackages.java", "func_name": "RootPackages.findRootPackageForActionPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds closest root package for the given action path.", "docstring_tokens": ["Finds", "closest", "root", "package", "for", "the", "given", "action", "path", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/component/RootPackages.java#L111-L146", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-joy/src/main/java/jodd/joy/vtor/VtorUtil.java", "func_name": "VtorUtil.resolveValidationMessage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Prepares validation messages.\nKey is either validation constraint class name or violation name.", "docstring_tokens": ["Prepares", "validation", "messages", ".", "Key", "is", "either", "validation", "constraint", "class", "name", "or", "violation", "name", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-joy/src/main/java/jodd/joy/vtor/VtorUtil.java#L69-L77", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/def/BeanReferences.java", "func_name": "BeanReferences.removeDuplicateNames", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes later duplicated references in an array.\nReturns new instance of BeanReferences if there was changes,\notherwise returns the same instance.", "docstring_tokens": ["Removes", "later", "duplicated", "references", "in", "an", "array", ".", "Returns", "new", "instance", "of", "BeanReferences", "if", "there", "was", "changes", "otherwise", "returns", "the", "same", "instance", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/def/BeanReferences.java#L77-L119", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-joy/src/main/java/jodd/joy/JoyProps.java", "func_name": "JoyProps.addPropsFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds props files or patterns.", "docstring_tokens": ["Adds", "props", "files", "or", "patterns", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-joy/src/main/java/jodd/joy/JoyProps.java#L64-L69", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/config/Targets.java", "func_name": "Targets.forEachTarget", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Iterates all targets.", "docstring_tokens": ["Iterates", "all", "targets", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/config/Targets.java#L65-L69", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/config/Targets.java", "func_name": "Targets.forEachTargetAndIn", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Iterates all targets and for each target iterates all IN injection points of given scope.", "docstring_tokens": ["Iterates", "all", "targets", "and", "for", "each", "target", "iterates", "all", "IN", "injection", "points", "of", "given", "scope", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/config/Targets.java#L74-L88", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/config/Targets.java", "func_name": "Targets.forEachTargetAndOut", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Iterates all targets and for each target iterates all OUT injection points of given scope.", "docstring_tokens": ["Iterates", "all", "targets", "and", "for", "each", "target", "iterates", "all", "OUT", "injection", "points", "of", "given", "scope", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/config/Targets.java#L93-L107", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/config/Targets.java", "func_name": "Targets.extractParametersValues", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Collects all parameters from target into an array.", "docstring_tokens": ["Collects", "all", "parameters", "from", "target", "into", "an", "array", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/config/Targets.java#L114-L122", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/config/Targets.java", "func_name": "Targets.makeTargets", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Joins action and parameters into one single array of Targets.", "docstring_tokens": ["Joins", "action", "and", "parameters", "into", "one", "single", "array", "of", "Targets", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/config/Targets.java#L127-L166", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/config/Targets.java", "func_name": "Targets.createActionMethodArgument", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates action method arguments.", "docstring_tokens": ["Creates", "action", "method", "arguments", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/config/Targets.java#L171-L186", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-servlet/src/main/java/jodd/servlet/SessionMonitor.java", "func_name": "SessionMonitor.sessionCreated", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Stores session in map and broadcasts event to registered listeners.", "docstring_tokens": ["Stores", "session", "in", "map", "and", "broadcasts", "event", "to", "registered", "listeners", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-servlet/src/main/java/jodd/servlet/SessionMonitor.java#L87-L95", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-servlet/src/main/java/jodd/servlet/SessionMonitor.java", "func_name": "SessionMonitor.sessionDestroyed", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes session from a map and broadcasts event to registered listeners.", "docstring_tokens": ["Removes", "session", "from", "a", "map", "and", "broadcasts", "event", "to", "registered", "listeners", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-servlet/src/main/java/jodd/servlet/SessionMonitor.java#L100-L108", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/JsonArray.java", "func_name": "JsonArray.add", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds an object to the JSON array.", "docstring_tokens": ["Adds", "an", "object", "to", "the", "JSON", "array", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/JsonArray.java#L304-L311", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/JsonArray.java", "func_name": "JsonArray.addAll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Appends all of the elements in the specified array to the end of this JSON array.", "docstring_tokens": ["Appends", "all", "of", "the", "elements", "in", "the", "specified", "array", "to", "the", "end", "of", "this", "JSON", "array", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/JsonArray.java#L316-L320", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/JsonArray.java", "func_name": "JsonArray.remove", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes the value at the specified position in the JSON array.", "docstring_tokens": ["Removes", "the", "value", "at", "the", "specified", "position", "in", "the", "JSON", "array", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/JsonArray.java#L341-L350", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/result/AbstractTemplateViewActionResult.java", "func_name": "AbstractTemplateViewActionResult.resolveTarget", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Locates the target file from action path and the result value.", "docstring_tokens": ["Locates", "the", "target", "file", "from", "action", "path", "and", "the", "result", "value", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/result/AbstractTemplateViewActionResult.java#L116-L179", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/result/AbstractTemplateViewActionResult.java", "func_name": "AbstractTemplateViewActionResult.targetNotFound", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Called when target not found. By default sends 404 to the response.", "docstring_tokens": ["Called", "when", "target", "not", "found", ".", "By", "default", "sends", "404", "to", "the", "response", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/result/AbstractTemplateViewActionResult.java#L201-L207", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/form/FormProcessorVisitor.java", "func_name": "FormProcessorVisitor.valueToString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts value to a string.", "docstring_tokens": ["Converts", "value", "to", "a", "string", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/form/FormProcessorVisitor.java#L184-L211", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/MadvocRouter.java", "func_name": "MadvocRouter.filter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns action filter instance for further configuration.", "docstring_tokens": ["Returns", "action", "filter", "instance", "for", "further", "configuration", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/MadvocRouter.java#L99-L103", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/csselly/selector/PseudoFunction.java", "func_name": "PseudoFunction.getPseudoFunctionName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns pseudo-function name.", "docstring_tokens": ["Returns", "pseudo", "-", "function", "name", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/csselly/selector/PseudoFunction.java#L285-L289", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/resolver/PropertyResolver.java", "func_name": "PropertyResolver.resolve", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves all properties for given type.", "docstring_tokens": ["Resolves", "all", "properties", "for", "given", "type", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/resolver/PropertyResolver.java#L55-L108", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/net/Socks4ProxySocketFactory.java", "func_name": "Socks4ProxySocketFactory.createSocks4ProxySocket", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Connects to the SOCKS4 proxy and returns proxified socket.", "docstring_tokens": ["Connects", "to", "the", "SOCKS4", "proxy", "and", "returns", "proxified", "socket", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/net/Socks4ProxySocketFactory.java#L76-L147", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/Attribute.java", "func_name": "Attribute.getAttributeCount", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the number of attributes of the attribute list that begins with this attribute.\n\n@return the number of attributes of the attribute list that begins with this attribute.", "docstring_tokens": ["Returns", "the", "number", "of", "attributes", "of", "the", "attribute", "list", "that", "begins", "with", "this", "attribute", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/Attribute.java#L167-L175", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/component/ResultsManager.java", "func_name": "ResultsManager.getAllActionResults", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns all action results as new set.", "docstring_tokens": ["Returns", "all", "action", "results", "as", "new", "set", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/component/ResultsManager.java#L63-L67", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/CharSequenceUtil.java", "func_name": "CharSequenceUtil.equalsOne", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Match if one character equals to any of the given character.\n\n@return true if characters match any character from given array,\notherwise false", "docstring_tokens": ["Match", "if", "one", "character", "equals", "to", "any", "of", "the", "given", "character", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/CharSequenceUtil.java#L113-L121", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/CharSequenceUtil.java", "func_name": "CharSequenceUtil.findFirstEqual", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds index of the first character in given charsequence the matches any from the\ngiven set of characters.\n\n@return index of matched character or -1", "docstring_tokens": ["Finds", "index", "of", "the", "first", "character", "in", "given", "charsequence", "the", "matches", "any", "from", "the", "given", "set", "of", "characters", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/CharSequenceUtil.java#L129-L136", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/CharSequenceUtil.java", "func_name": "CharSequenceUtil.findFirstEqual", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds index of the first character in given array the matches any from the\ngiven set of characters.\n\n@return index of matched character or -1", "docstring_tokens": ["Finds", "index", "of", "the", "first", "character", "in", "given", "array", "the", "matches", "any", "from", "the", "given", "set", "of", "characters", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/CharSequenceUtil.java#L144-L151", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/CommandLine.java", "func_name": "CommandLine.args", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds several arguments.", "docstring_tokens": ["Adds", "several", "arguments", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/CommandLine.java#L111-L117", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/CommandLine.java", "func_name": "CommandLine.env", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets environment variable.", "docstring_tokens": ["Sets", "environment", "variable", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/CommandLine.java#L148-L154", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/CommandLine.java", "func_name": "CommandLine.run", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Runs command and returns process result.", "docstring_tokens": ["Runs", "command", "and", "returns", "process", "result", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/CommandLine.java#L170-L222", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/component/MadvocComponentLifecycle.java", "func_name": "MadvocComponentLifecycle.invoke", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Invoke the listener based on type.\nNot very OOP, but works.", "docstring_tokens": ["Invoke", "the", "listener", "based", "on", "type", ".", "Not", "very", "OOP", "but", "works", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/component/MadvocComponentLifecycle.java#L78-L96", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/Frame.java", "func_name": "Frame.copyFrom", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets this frame to the value of the given frame.\n\n

WARNING: after this method is called the two frames share the same data structures. It is\nrecommended to discard the given frame to avoid unexpected side effects.\n\n@param frame The new frame value.", "docstring_tokens": ["Sets", "this", "frame", "to", "the", "value", "of", "the", "given", "frame", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/Frame.java#L247-L256", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/Frame.java", "func_name": "Frame.getAbstractTypeFromApiFormat", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the abstract type corresponding to the given public API frame element type.\n\n@param symbolTable the type table to use to lookup and store type {@link Symbol}.\n@param type a frame element type described using the same format as in {@link\nMethodVisitor#visitFrame}, i.e. either {@link Opcodes#TOP}, {@link Opcodes#INTEGER}, {@link\nOpcodes#FLOAT}, {@link Opcodes#LONG}, {@link Opcodes#DOUBLE}, {@link Opcodes#NULL}, or\n{@link Opcodes#UNINITIALIZED_THIS}, or the internal name of a class, or a Label designating\na NEW instruction (for uninitialized types).\n@return the abstract type corresponding to the given frame element type.", "docstring_tokens": ["Returns", "the", "abstract", "type", "corresponding", "to", "the", "given", "public", "API", "frame", "element", "type", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/Frame.java#L273-L283", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/Frame.java", "func_name": "Frame.getAbstractTypeFromDescriptor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the abstract type corresponding to the given type descriptor.\n\n@param symbolTable the type table to use to lookup and store type {@link Symbol}.\n@param buffer a string ending with a type descriptor.\n@param offset the start offset of the type descriptor in buffer.\n@return the abstract type corresponding to the given type descriptor.", "docstring_tokens": ["Returns", "the", "abstract", "type", "corresponding", "to", "the", "given", "type", "descriptor", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/Frame.java#L306-L369", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/Frame.java", "func_name": "Frame.setInputFrameFromApiFormat", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the input frame from the given public API frame description.\n\n@param symbolTable the type table to use to lookup and store type {@link Symbol}.\n@param numLocal the number of local variables.\n@param local the local variable types, described using the same format as in {@link\nMethodVisitor#visitFrame}.\n@param numStack the number of operand stack elements.\n@param stack the operand stack types, described using the same format as in {@link\nMethodVisitor#visitFrame}.", "docstring_tokens": ["Sets", "the", "input", "frame", "from", "the", "given", "public", "API", "frame", "description", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/Frame.java#L425-L457", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/Frame.java", "func_name": "Frame.getLocal", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the abstract type stored at the given local variable index in the output frame.\n\n@param localIndex the index of the local variable whose value must be returned.\n@return the abstract type stored at the given local variable index in the output frame.", "docstring_tokens": ["Returns", "the", "abstract", "type", "stored", "at", "the", "given", "local", "variable", "index", "in", "the", "output", "frame", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/Frame.java#L473-L487", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/Frame.java", "func_name": "Frame.setLocal", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Replaces the abstract type stored at the given local variable index in the output frame.\n\n@param localIndex the index of the output frame local variable that must be set.\n@param abstractType the value that must be set.", "docstring_tokens": ["Replaces", "the", "abstract", "type", "stored", "at", "the", "given", "local", "variable", "index", "in", "the", "output", "frame", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/Frame.java#L495-L508", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/Frame.java", "func_name": "Frame.push", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Pushes the given abstract type on the output frame stack.\n\n@param abstractType an abstract type.", "docstring_tokens": ["Pushes", "the", "given", "abstract", "type", "on", "the", "output", "frame", "stack", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/Frame.java#L515-L534", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/Frame.java", "func_name": "Frame.push", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Pushes the abstract type corresponding to the given descriptor on the output frame stack.\n\n@param symbolTable the type table to use to lookup and store type {@link Symbol}.\n@param descriptor a type or method descriptor (in which case its return type is pushed).", "docstring_tokens": ["Pushes", "the", "abstract", "type", "corresponding", "to", "the", "given", "descriptor", "on", "the", "output", "frame", "stack", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/Frame.java#L542-L551", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/Frame.java", "func_name": "Frame.pop", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Pops the given number of abstract types from the output frame stack.\n\n@param elements the number of abstract types that must be popped.", "docstring_tokens": ["Pops", "the", "given", "number", "of", "abstract", "types", "from", "the", "output", "frame", "stack", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/Frame.java#L572-L581", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/Frame.java", "func_name": "Frame.pop", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Pops as many abstract types from the output frame stack as described by the given descriptor.\n\n@param descriptor a type or method descriptor (in which case its argument types are popped).", "docstring_tokens": ["Pops", "as", "many", "abstract", "types", "from", "the", "output", "frame", "stack", "as", "described", "by", "the", "given", "descriptor", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/Frame.java#L588-L597", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/Frame.java", "func_name": "Frame.addInitializedType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds an abstract type to the list of types on which a constructor is invoked in the basic\nblock.\n\n@param abstractType an abstract type on a which a constructor is invoked.", "docstring_tokens": ["Adds", "an", "abstract", "type", "to", "the", "list", "of", "types", "on", "which", "a", "constructor", "is", "invoked", "in", "the", "basic", "block", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/Frame.java#L609-L623", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/Frame.java", "func_name": "Frame.getInitializedType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the \"initialized\" abstract type corresponding to the given abstract type.\n\n@param symbolTable the type table to use to lookup and store type {@link Symbol}.\n@param abstractType an abstract type.\n@return the REFERENCE_KIND abstract type corresponding to abstractType if it is\nUNINITIALIZED_THIS or an UNINITIALIZED_KIND abstract type for one of the types on which a\nconstructor is invoked in the basic block. Otherwise returns abstractType.", "docstring_tokens": ["Returns", "the", "initialized", "abstract", "type", "corresponding", "to", "the", "given", "abstract", "type", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/Frame.java#L634-L658", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/Frame.java", "func_name": "Frame.putAbstractType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Put the given abstract type in the given ByteVector, using the JVMS verification_type_info\nformat used in StackMapTable attributes.\n\n@param symbolTable the type table to use to lookup and store type {@link Symbol}.\n@param abstractType an abstract type, restricted to {@link Frame#CONSTANT_KIND}, {@link\nFrame#REFERENCE_KIND} or {@link Frame#UNINITIALIZED_KIND} types.\n@param output where the abstract type must be put.\n@see JVMS\n4.7.4", "docstring_tokens": ["Put", "the", "given", "abstract", "type", "in", "the", "given", "ByteVector", "using", "the", "JVMS", "verification_type_info", "format", "used", "in", "StackMapTable", "attributes", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/Frame.java#L1402-L1467", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/cache/TimedCache.java", "func_name": "TimedCache.pruneCache", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Prunes expired elements from the cache. Returns the number of removed objects.", "docstring_tokens": ["Prunes", "expired", "elements", "from", "the", "cache", ".", "Returns", "the", "number", "of", "removed", "objects", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/cache/TimedCache.java#L51-L63", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/cache/TimedCache.java", "func_name": "TimedCache.schedulePrune", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Schedules prune.", "docstring_tokens": ["Schedules", "prune", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/cache/TimedCache.java#L73-L86", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/ClassVisitor.java", "func_name": "ClassVisitor.visitModule", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Visit the module corresponding to the class.\n\n@param name the fully qualified name (using dots) of the module.\n@param access the module access flags, among {@code ACC_OPEN}, {@code ACC_SYNTHETIC} and {@code\nACC_MANDATED}.\n@param version the module version, or {@literal null}.\n@return a visitor to visit the module values, or {@literal null} if this visitor is not\ninterested in visiting this module.", "docstring_tokens": ["Visit", "the", "module", "corresponding", "to", "the", "class", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/ClassVisitor.java#L128-L136", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/ClassVisitor.java", "func_name": "ClassVisitor.visitNestHost", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Visits the nest host class of the class. A nest is a set of classes of the same package that\nshare access to their private members. One of these classes, called the host, lists the other\nmembers of the nest, which in turn should link to the host of their nest. This method must be\ncalled only once and only if the visited class is a non-host member of a nest. A class is\nimplicitly its own nest, so it's invalid to call this method with the visited class name as\nargument.\n\n@param nestHost the internal name of the host class of the nest.", "docstring_tokens": ["Visits", "the", "nest", "host", "class", "of", "the", "class", ".", "A", "nest", "is", "a", "set", "of", "classes", "of", "the", "same", "package", "that", "share", "access", "to", "their", "private", "members", ".", "One", "of", "these", "classes", "called", "the", "host", "lists", "the", "other", "members", "of", "the", "nest", "which", "in", "turn", "should", "link", "to", "the", "host", "of", "their", "nest", ".", "This", "method", "must", "be", "called", "only", "once", "and", "only", "if", "the", "visited", "class", "is", "a", "non", "-", "host", "member", "of", "a", "nest", ".", "A", "class", "is", "implicitly", "its", "own", "nest", "so", "it", "s", "invalid", "to", "call", "this", "method", "with", "the", "visited", "class", "name", "as", "argument", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/ClassVisitor.java#L148-L155", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/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 if the class has an\nenclosing class.\n\n@param owner internal name of the enclosing class of the class.\n@param name the name of the method that contains the class, or {@literal null} if the class is\nnot enclosed in a method of its enclosing class.\n@param descriptor the descriptor of the method that contains the class, or {@literal null} if\nthe class is not enclosed in a method of its enclosing class.", "docstring_tokens": ["Visits", "the", "enclosing", "class", "of", "the", "class", ".", "This", "method", "must", "be", "called", "only", "if", "the", "class", "has", "an", "enclosing", "class", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/ClassVisitor.java#L167-L171", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/ClassVisitor.java", "func_name": "ClassVisitor.visitAnnotation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Visits an annotation of the class.\n\n@param descriptor the class descriptor of the annotation class.\n@param visible {@literal true} if the annotation is visible at runtime.\n@return a visitor to visit the annotation values, or {@literal null} if this visitor is not\ninterested in visiting this annotation.", "docstring_tokens": ["Visits", "an", "annotation", "of", "the", "class", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/ClassVisitor.java#L181-L186", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/ClassVisitor.java", "func_name": "ClassVisitor.visitNestMember", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Visits a member of the nest. A nest is a set of classes of the same package that share access\nto their private members. One of these classes, called the host, lists the other members of the\nnest, which in turn should link to the host of their nest. This method must be called only if\nthe visited class is the host of a nest. A nest host is implicitly a member of its own nest, so\nit's invalid to call this method with the visited class name as argument.\n\n@param nestMember the internal name of a nest member.", "docstring_tokens": ["Visits", "a", "member", "of", "the", "nest", ".", "A", "nest", "is", "a", "set", "of", "classes", "of", "the", "same", "package", "that", "share", "access", "to", "their", "private", "members", ".", "One", "of", "these", "classes", "called", "the", "host", "lists", "the", "other", "members", "of", "the", "nest", "which", "in", "turn", "should", "link", "to", "the", "host", "of", "their", "nest", ".", "This", "method", "must", "be", "called", "only", "if", "the", "visited", "class", "is", "the", "host", "of", "a", "nest", ".", "A", "nest", "host", "is", "implicitly", "a", "member", "of", "its", "own", "nest", "so", "it", "s", "invalid", "to", "call", "this", "method", "with", "the", "visited", "class", "name", "as", "argument", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/ClassVisitor.java#L234-L241", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/ClassVisitor.java", "func_name": "ClassVisitor.visitInnerClass", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Visits information about an inner class. This inner class is not necessarily a member of the\nclass being visited.\n\n@param name the internal name of an inner class (see {@link Type#getInternalName()}).\n@param outerName the internal name of the class to which the inner class belongs (see {@link\nType#getInternalName()}). May be {@literal null} for not member classes.\n@param innerName the (simple) name of the inner class inside its enclosing class. May be\n{@literal null} for anonymous inner classes.\n@param access the access flags of the inner class as originally declared in the enclosing\nclass.", "docstring_tokens": ["Visits", "information", "about", "an", "inner", "class", ".", "This", "inner", "class", "is", "not", "necessarily", "a", "member", "of", "the", "class", "being", "visited", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/ClassVisitor.java#L255-L260", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/ClassVisitor.java", "func_name": "ClassVisitor.visitField", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Visits a field of the class.\n\n@param access the field's access flags (see {@link Opcodes}). This parameter also indicates if\nthe field is synthetic and/or deprecated.\n@param name the field's name.\n@param descriptor the field's descriptor (see {@link Type}).\n@param signature the field's signature. May be {@literal null} if the field's type does not use\ngeneric types.\n@param value the field's initial value. This parameter, which may be {@literal null} if the\nfield does not have an initial value, must be an {@link Integer}, a {@link Float}, a {@link\nLong}, a {@link Double} or a {@link String} (for {@code int}, {@code float}, {@code long}\nor {@code String} fields respectively). This parameter is only used for static\nfields. Its value is ignored for non static fields, which must be initialized through\nbytecode instructions in constructors or methods.\n@return a visitor to visit field annotations and attributes, or {@literal null} if this class\nvisitor is not interested in visiting these annotations and attributes.", "docstring_tokens": ["Visits", "a", "field", "of", "the", "class", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/ClassVisitor.java#L280-L290", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/DbThreadSession.java", "func_name": "DbThreadSession.getThreadSession", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns existing thread session, or new one if already not exist. If session doesn't exist, it will be created\nusing default connection provider.", "docstring_tokens": ["Returns", "existing", "thread", "session", "or", "new", "one", "if", "already", "not", "exist", ".", "If", "session", "doesn", "t", "exist", "it", "will", "be", "created", "using", "default", "connection", "provider", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/DbThreadSession.java#L89-L95", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/DbThreadSession.java", "func_name": "DbThreadSession.closeThreadSession", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Closes thread session.", "docstring_tokens": ["Closes", "thread", "session", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/DbThreadSession.java#L100-L105", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/ActionRequest.java", "func_name": "ActionRequest.createExecutionArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates execution array that will invoke all filters, actions and results\nin correct order.", "docstring_tokens": ["Creates", "execution", "array", "that", "will", "invoke", "all", "filters", "actions", "and", "results", "in", "correct", "order", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/ActionRequest.java#L191-L231", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/ActionRequest.java", "func_name": "ActionRequest.invokeActionMethod", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Invokes action method after starting all interceptors.\nAfter method invocation, all interceptors will finish, in opposite order.", "docstring_tokens": ["Invokes", "action", "method", "after", "starting", "all", "interceptors", ".", "After", "method", "invocation", "all", "interceptors", "will", "finish", "in", "opposite", "order", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/ActionRequest.java#L247-L260", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/ActionRequest.java", "func_name": "ActionRequest.readRequestBody", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads request body only once and returns it to user.", "docstring_tokens": ["Reads", "request", "body", "only", "once", "and", "returns", "it", "to", "user", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/ActionRequest.java#L269-L278", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-joy/src/main/java/jodd/joy/page/PageData.java", "func_name": "PageData.calcFirstItemIndexOfPage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculates the first item index of requested page.", "docstring_tokens": ["Calculates", "the", "first", "item", "index", "of", "requested", "page", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-joy/src/main/java/jodd/joy/page/PageData.java#L225-L237", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-joy/src/main/java/jodd/joy/page/PageData.java", "func_name": "PageData.calcFirstItemIndexOfPage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculates first item index of the page.", "docstring_tokens": ["Calculates", "first", "item", "index", "of", "the", "page", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-joy/src/main/java/jodd/joy/page/PageData.java#L242-L244", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/csselly/selector/PseudoFunctionExpression.java", "func_name": "PseudoFunctionExpression.match", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Matches expression with the value.", "docstring_tokens": ["Matches", "expression", "with", "the", "value", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/csselly/selector/PseudoFunctionExpression.java#L103-L119", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/CharUtil.java", "func_name": "CharUtil.toRawByteArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts char array into byte array by replacing each character with two bytes.", "docstring_tokens": ["Converts", "char", "array", "into", "byte", "array", "by", "replacing", "each", "character", "with", "two", "bytes", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/CharUtil.java#L117-L125", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/CharUtil.java", "func_name": "CharUtil.findFirstDiff", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds index of the first character in given array the differs from the\ngiven set of characters.\n\n@return index of matched character or -1", "docstring_tokens": ["Finds", "index", "of", "the", "first", "character", "in", "given", "array", "the", "differs", "from", "the", "given", "set", "of", "characters", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/CharUtil.java#L232-L239", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/LagartoHtmlRendererNodeVisitor.java", "func_name": "LagartoHtmlRendererNodeVisitor.resolveNodeName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Renders node name.", "docstring_tokens": ["Renders", "node", "name", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/LagartoHtmlRendererNodeVisitor.java#L170-L178", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/LagartoHtmlRendererNodeVisitor.java", "func_name": "LagartoHtmlRendererNodeVisitor.resolveAttributeName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Renders attribute name.", "docstring_tokens": ["Renders", "attribute", "name", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/LagartoHtmlRendererNodeVisitor.java#L183-L191", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/dom/LagartoHtmlRendererNodeVisitor.java", "func_name": "LagartoHtmlRendererNodeVisitor.renderAttribute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Renders attribute.", "docstring_tokens": ["Renders", "attribute", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/dom/LagartoHtmlRendererNodeVisitor.java#L196-L207", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-props/src/main/java/jodd/props/Props.java", "func_name": "Props.load", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Loads props from the file. Assumes UTF8 encoding unless\nthe file ends with '.properties', than it uses ISO 8859-1.", "docstring_tokens": ["Loads", "props", "from", "the", "file", ".", "Assumes", "UTF8", "encoding", "unless", "the", "file", "ends", "with", ".", "properties", "than", "it", "uses", "ISO", "8859", "-", "1", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-props/src/main/java/jodd/props/Props.java#L245-L255", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-props/src/main/java/jodd/props/Props.java", "func_name": "Props.load", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Loads properties from the file in provided encoding.", "docstring_tokens": ["Loads", "properties", "from", "the", "file", "in", "provided", "encoding", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-props/src/main/java/jodd/props/Props.java#L260-L263", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-props/src/main/java/jodd/props/Props.java", "func_name": "Props.load", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Loads properties from input stream. Stream is not closed at the end.", "docstring_tokens": ["Loads", "properties", "from", "input", "stream", ".", "Stream", "is", "not", "closed", "at", "the", "end", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-props/src/main/java/jodd/props/Props.java#L268-L273", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-props/src/main/java/jodd/props/Props.java", "func_name": "Props.load", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Loads base properties from the provided java properties.\nNull values are ignored.", "docstring_tokens": ["Loads", "base", "properties", "from", "the", "provided", "java", "properties", ".", "Null", "values", "are", "ignored", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-props/src/main/java/jodd/props/Props.java#L290-L300", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-props/src/main/java/jodd/props/Props.java", "func_name": "Props.load", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Loads base properties from java Map using provided prefix.\nNull values are ignored.", "docstring_tokens": ["Loads", "base", "properties", "from", "java", "Map", "using", "provided", "prefix", ".", "Null", "values", "are", "ignored", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-props/src/main/java/jodd/props/Props.java#L306-L319", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-props/src/main/java/jodd/props/Props.java", "func_name": "Props.loadFromClasspath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Loads props and properties from the classpath.", "docstring_tokens": ["Loads", "props", "and", "properties", "from", "the", "classpath", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-props/src/main/java/jodd/props/Props.java#L344-L363", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-props/src/main/java/jodd/props/Props.java", "func_name": "Props.getValueOrDefault", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns value of property, using active profiles or default value if not found.", "docstring_tokens": ["Returns", "value", "of", "property", "using", "active", "profiles", "or", "default", "value", "if", "not", "found", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-props/src/main/java/jodd/props/Props.java#L397-L404", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-props/src/main/java/jodd/props/Props.java", "func_name": "Props.setValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets value on some profile.", "docstring_tokens": ["Sets", "value", "on", "some", "profile", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-props/src/main/java/jodd/props/Props.java#L572-L579", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-props/src/main/java/jodd/props/Props.java", "func_name": "Props.extractProps", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extracts props belonging to active profiles.", "docstring_tokens": ["Extracts", "props", "belonging", "to", "active", "profiles", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-props/src/main/java/jodd/props/Props.java#L586-L589", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-props/src/main/java/jodd/props/Props.java", "func_name": "Props.extractProps", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extract props of given profiles.", "docstring_tokens": ["Extract", "props", "of", "given", "profiles", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-props/src/main/java/jodd/props/Props.java#L594-L597", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-props/src/main/java/jodd/props/Props.java", "func_name": "Props.extractSubProps", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extracts subset of properties that matches given wildcards.", "docstring_tokens": ["Extracts", "subset", "of", "properties", "that", "matches", "given", "wildcards", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-props/src/main/java/jodd/props/Props.java#L602-L605", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-props/src/main/java/jodd/props/Props.java", "func_name": "Props.innerMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns inner map from the props with given prefix. Keys in returned map\nwill not have the prefix.", "docstring_tokens": ["Returns", "inner", "map", "from", "the", "props", "with", "given", "prefix", ".", "Keys", "in", "returned", "map", "will", "not", "have", "the", "prefix", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-props/src/main/java/jodd/props/Props.java#L621-L625", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-props/src/main/java/jodd/props/Props.java", "func_name": "Props.addInnerMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds child map to the props on given prefix.", "docstring_tokens": ["Adds", "child", "map", "to", "the", "props", "on", "given", "prefix", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-props/src/main/java/jodd/props/Props.java#L637-L649", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-props/src/main/java/jodd/props/Props.java", "func_name": "Props.resolveActiveProfiles", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves active profiles from special property.\nThis property can be only a base property!\nIf default active property is not defined, nothing happens.\nOtherwise, it will replace currently active profiles.", "docstring_tokens": ["Resolves", "active", "profiles", "from", "special", "property", ".", "This", "property", "can", "be", "only", "a", "base", "property!", "If", "default", "active", "property", "is", "not", "defined", "nothing", "happens", ".", "Otherwise", "it", "will", "replace", "currently", "active", "profiles", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-props/src/main/java/jodd/props/Props.java#L675-L695", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-props/src/main/java/jodd/props/Props.java", "func_name": "Props.getAllProfiles", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns all profiles names.", "docstring_tokens": ["Returns", "all", "profiles", "names", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-props/src/main/java/jodd/props/Props.java#L702-L711", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-props/src/main/java/jodd/props/Props.java", "func_name": "Props.getProfilesFor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns all the profiles that define certain prop's key name.\nKey name is given as a wildcard, or it can be matched fully.", "docstring_tokens": ["Returns", "all", "the", "profiles", "that", "define", "certain", "prop", "s", "key", "name", ".", "Key", "name", "is", "given", "as", "a", "wildcard", "or", "it", "can", "be", "matched", "fully", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-props/src/main/java/jodd/props/Props.java#L717-L735", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/BeanDefinition.java", "func_name": "BeanDefinition.addPropertyInjectionPoint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds property injection point.", "docstring_tokens": ["Adds", "property", "injection", "point", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/BeanDefinition.java#L197-L204", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/BeanDefinition.java", "func_name": "BeanDefinition.addSetInjectionPoint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds set injection point.", "docstring_tokens": ["Adds", "set", "injection", "point", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/BeanDefinition.java#L209-L216", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/BeanDefinition.java", "func_name": "BeanDefinition.addMethodInjectionPoint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds method injection point.", "docstring_tokens": ["Adds", "method", "injection", "point", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/BeanDefinition.java#L221-L228", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/BeanDefinition.java", "func_name": "BeanDefinition.addInitMethodPoints", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds init methods.", "docstring_tokens": ["Adds", "init", "methods", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/BeanDefinition.java#L233-L239", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/BeanDefinition.java", "func_name": "BeanDefinition.addDestroyMethodPoints", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds destroy methods.", "docstring_tokens": ["Adds", "destroy", "methods", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/BeanDefinition.java#L244-L250", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/ProxettaUtil.java", "func_name": "ProxettaUtil.resolveTargetClass", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns target class if proxetta applied on given class.\nIf not, returns given class as result.", "docstring_tokens": ["Returns", "target", "class", "if", "proxetta", "applied", "on", "given", "class", ".", "If", "not", "returns", "given", "class", "as", "result", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/ProxettaUtil.java#L41-L53", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/ProxettaUtil.java", "func_name": "ProxettaUtil.injectTargetIntoWrapper", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Injects target instance into proxy using default target field name.\n@see #injectTargetIntoWrapper(Object, Object, String)", "docstring_tokens": ["Injects", "target", "instance", "into", "proxy", "using", "default", "target", "field", "name", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/ProxettaUtil.java#L74-L76", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/ProxettaUtil.java", "func_name": "ProxettaUtil.getTargetWrapperType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns wrapper target type.", "docstring_tokens": ["Returns", "wrapper", "target", "type", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/ProxettaUtil.java#L81-L88", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-bean/src/main/java/jodd/introspector/PropertyDescriptor.java", "func_name": "PropertyDescriptor.findField", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Locates property field. Field is being searched also in all\nsuperclasses of current class.", "docstring_tokens": ["Locates", "property", "field", ".", "Field", "is", "being", "searched", "also", "in", "all", "superclasses", "of", "current", "class", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-bean/src/main/java/jodd/introspector/PropertyDescriptor.java#L89-L114", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-bean/src/main/java/jodd/introspector/PropertyDescriptor.java", "func_name": "PropertyDescriptor.getType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns property type. Raw types are detected.", "docstring_tokens": ["Returns", "property", "type", ".", "Raw", "types", "are", "detected", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-bean/src/main/java/jodd/introspector/PropertyDescriptor.java#L177-L193", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-bean/src/main/java/jodd/introspector/PropertyDescriptor.java", "func_name": "PropertyDescriptor.resolveKeyType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves key type for given property descriptor.", "docstring_tokens": ["Resolves", "key", "type", "for", "given", "property", "descriptor", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-bean/src/main/java/jodd/introspector/PropertyDescriptor.java#L270-L288", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-bean/src/main/java/jodd/introspector/PropertyDescriptor.java", "func_name": "PropertyDescriptor.resolveComponentType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves component type for given property descriptor.", "docstring_tokens": ["Resolves", "component", "type", "for", "given", "property", "descriptor", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-bean/src/main/java/jodd/introspector/PropertyDescriptor.java#L293-L311", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/result/JsonResult.java", "func_name": "JsonResult.of", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates JSON result from given object. The object will be serialized to JSON.", "docstring_tokens": ["Creates", "JSON", "result", "from", "given", "object", ".", "The", "object", "will", "be", "serialized", "to", "JSON", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/result/JsonResult.java#L57-L60", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/result/JsonResult.java", "func_name": "JsonResult.of", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a JSON response from an exception. Response body will have information about the\nexception and response status will be set to 500.", "docstring_tokens": ["Creates", "a", "JSON", "response", "from", "an", "exception", ".", "Response", "body", "will", "have", "information", "about", "the", "exception", "and", "response", "status", "will", "be", "set", "to", "500", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/result/JsonResult.java#L73-L91", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/path/RestActionNamingStrategy.java", "func_name": "RestActionNamingStrategy.resolveHttpMethodFromMethodName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves HTTP method name from method name.\nIf method name or first camel-case word of a method equals to\na HTTP method, it will be used as that HTTP methods.", "docstring_tokens": ["Resolves", "HTTP", "method", "name", "from", "method", "name", ".", "If", "method", "name", "or", "first", "camel", "-", "case", "word", "of", "a", "method", "equals", "to", "a", "HTTP", "method", "it", "will", "be", "used", "as", "that", "HTTP", "methods", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/path/RestActionNamingStrategy.java#L108-L127", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/Wildcard.java", "func_name": "Wildcard.match", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Internal matching recursive function.", "docstring_tokens": ["Internal", "matching", "recursive", "function", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/Wildcard.java#L64-L133", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/cl/ExtendedURLClassLoader.java", "func_name": "ExtendedURLClassLoader.resolveLoading", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves loading rules.", "docstring_tokens": ["Resolves", "loading", "rules", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/cl/ExtendedURLClassLoader.java#L167-L189", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/cl/ExtendedURLClassLoader.java", "func_name": "ExtendedURLClassLoader.resolveResourceLoading", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves resources.", "docstring_tokens": ["Resolves", "resources", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/cl/ExtendedURLClassLoader.java#L194-L200", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/cl/ExtendedURLClassLoader.java", "func_name": "ExtendedURLClassLoader.loadClass", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Loads class using parent-first or parent-last strategy.", "docstring_tokens": ["Loads", "class", "using", "parent", "-", "first", "or", "parent", "-", "last", "strategy", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/cl/ExtendedURLClassLoader.java#L208-L269", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/cl/ExtendedURLClassLoader.java", "func_name": "ExtendedURLClassLoader.getResource", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a resource using parent-first or parent-last strategy.", "docstring_tokens": ["Returns", "a", "resource", "using", "parent", "-", "first", "or", "parent", "-", "last", "strategy", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/cl/ExtendedURLClassLoader.java#L274-L306", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/StreamGobbler.java", "func_name": "StreamGobbler.waitFor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Waits for gobbler to end.", "docstring_tokens": ["Waits", "for", "gobbler", "to", "end", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/StreamGobbler.java#L112-L123", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/component/ScopeDataInspector.java", "func_name": "ScopeDataInspector.detectAnnotationType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Scans annotation and returns type of Madvoc annotations.", "docstring_tokens": ["Scans", "annotation", "and", "returns", "type", "of", "Madvoc", "annotations", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/component/ScopeDataInspector.java#L67-L77", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/component/ScopeDataInspector.java", "func_name": "ScopeDataInspector.buildInjectionPoint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds injection point.", "docstring_tokens": ["Builds", "injection", "point", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/component/ScopeDataInspector.java#L164-L182", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/TypeJsonVisitor.java", "func_name": "TypeJsonVisitor.visit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Visits a type.", "docstring_tokens": ["Visits", "a", "type", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/TypeJsonVisitor.java#L65-L92", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/bridge/ClassPathURLs.java", "func_name": "ClassPathURLs.of", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns urls for the classloader\n\n@param classLoader classloader in which to find urls\n@return list of urls or {@code null} if not found", "docstring_tokens": ["Returns", "urls", "for", "the", "classloader"], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/bridge/ClassPathURLs.java#L43-L68", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-bean/src/main/java/jodd/bean/BeanProperty.java", "func_name": "BeanProperty.setBean", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets new bean instance.", "docstring_tokens": ["Sets", "new", "bean", "instance", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-bean/src/main/java/jodd/bean/BeanProperty.java#L77-L82", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-bean/src/main/java/jodd/bean/BeanProperty.java", "func_name": "BeanProperty.updateBean", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Updates the bean. Detects special case of suppliers.", "docstring_tokens": ["Updates", "the", "bean", ".", "Detects", "special", "case", "of", "suppliers", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-bean/src/main/java/jodd/bean/BeanProperty.java#L87-L94", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-bean/src/main/java/jodd/bean/BeanProperty.java", "func_name": "BeanProperty.loadPropertyDescriptor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Loads property descriptor, if property was updated.", "docstring_tokens": ["Loads", "property", "descriptor", "if", "property", "was", "updated", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-bean/src/main/java/jodd/bean/BeanProperty.java#L108-L117", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-bean/src/main/java/jodd/bean/BeanProperty.java", "func_name": "BeanProperty.getGetter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns getter.", "docstring_tokens": ["Returns", "getter", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-bean/src/main/java/jodd/bean/BeanProperty.java#L122-L125", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-bean/src/main/java/jodd/bean/BeanProperty.java", "func_name": "BeanProperty.getSetter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns setter.", "docstring_tokens": ["Returns", "setter", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-bean/src/main/java/jodd/bean/BeanProperty.java#L130-L133", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/DbOom.java", "func_name": "DbOom.connect", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Initializes the DbOom by connecting to the database. Database will be detected\nand DbOom will be configured to match it.", "docstring_tokens": ["Initializes", "the", "DbOom", "by", "connecting", "to", "the", "database", ".", "Database", "will", "be", "detected", "and", "DbOom", "will", "be", "configured", "to", "match", "it", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/DbOom.java#L158-L166", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/collection/CompositeIterator.java", "func_name": "CompositeIterator.add", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds an iterator to this composite.", "docstring_tokens": ["Adds", "an", "iterator", "to", "this", "composite", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/collection/CompositeIterator.java#L58-L63", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-joy/src/main/java/jodd/joy/JoddJoy.java", "func_name": "JoddJoy.printLogo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Prints a logo.", "docstring_tokens": ["Prints", "a", "logo", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-joy/src/main/java/jodd/joy/JoddJoy.java#L313-L315", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-joy/src/main/java/jodd/joy/JoddJoy.java", "func_name": "JoddJoy.stop", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Stops the Joy.", "docstring_tokens": ["Stops", "the", "Joy", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-joy/src/main/java/jodd/joy/JoddJoy.java#L320-L332", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/net/SocketHttpConnectionProvider.java", "func_name": "SocketHttpConnectionProvider.createSocket", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a socket using socket factory.", "docstring_tokens": ["Creates", "a", "socket", "using", "socket", "factory", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/net/SocketHttpConnectionProvider.java#L136-L150", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/net/SocketHttpConnectionProvider.java", "func_name": "SocketHttpConnectionProvider.createSSLSocket", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a SSL socket. Enables default secure enabled protocols if specified.", "docstring_tokens": ["Creates", "a", "SSL", "socket", ".", "Enables", "default", "secure", "enabled", "protocols", "if", "specified", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/net/SocketHttpConnectionProvider.java#L155-L227", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/net/SocketHttpConnectionProvider.java", "func_name": "SocketHttpConnectionProvider.getDefaultSSLSocketFactory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns default SSL socket factory allowing setting trust managers.", "docstring_tokens": ["Returns", "default", "SSL", "socket", "factory", "allowing", "setting", "trust", "managers", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/net/SocketHttpConnectionProvider.java#L232-L245", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/net/SocketHttpConnectionProvider.java", "func_name": "SocketHttpConnectionProvider.getSocketFactory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns socket factory based on proxy type and SSL requirements.", "docstring_tokens": ["Returns", "socket", "factory", "based", "on", "proxy", "type", "and", "SSL", "requirements", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/net/SocketHttpConnectionProvider.java#L250-L273", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/RandomString.java", "func_name": "RandomString.random", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates random string whose length is the number of characters specified.\nCharacters are chosen from the set of characters specified.", "docstring_tokens": ["Creates", "random", "string", "whose", "length", "is", "the", "number", "of", "characters", "specified", ".", "Characters", "are", "chosen", "from", "the", "set", "of", "characters", "specified", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/RandomString.java#L62-L71", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/RandomString.java", "func_name": "RandomString.random", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates random string whose length is the number of characters specified.\nCharacters are chosen from the provided range.", "docstring_tokens": ["Creates", "random", "string", "whose", "length", "is", "the", "number", "of", "characters", "specified", ".", "Characters", "are", "chosen", "from", "the", "provided", "range", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/RandomString.java#L87-L97", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/RandomString.java", "func_name": "RandomString.randomRanges", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates random string whose length is the number of characters specified.\nCharacters are chosen from the multiple sets defined by range pairs.\nAll ranges must be in acceding order.", "docstring_tokens": ["Creates", "random", "string", "whose", "length", "is", "the", "number", "of", "characters", "specified", ".", "Characters", "are", "chosen", "from", "the", "multiple", "sets", "defined", "by", "range", "pairs", ".", "All", "ranges", "must", "be", "in", "acceding", "order", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/RandomString.java#L120-L151", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/JsonParserBase.java", "func_name": "JsonParserBase.newArrayInstance", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates new type for JSON array objects.\nIt returns a collection.\nLater, the collection will be converted into the target type.", "docstring_tokens": ["Creates", "new", "type", "for", "JSON", "array", "objects", ".", "It", "returns", "a", "collection", ".", "Later", "the", "collection", "will", "be", "converted", "into", "the", "target", "type", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/JsonParserBase.java#L80-L99", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/JsonParserBase.java", "func_name": "JsonParserBase.injectValueIntoObject", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Injects value into the targets property.", "docstring_tokens": ["Injects", "value", "into", "the", "targets", "property", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/JsonParserBase.java#L129-L146", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-json/src/main/java/jodd/json/JsonParserBase.java", "func_name": "JsonParserBase.convertType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts type of the given value.", "docstring_tokens": ["Converts", "type", "of", "the", "given", "value", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-json/src/main/java/jodd/json/JsonParserBase.java#L151-L167", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/ModuleVisitor.java", "func_name": "ModuleVisitor.visitProvide", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Visit an implementation of a service.\n\n@param service the internal name of the service.\n@param providers the internal names of the implementations of the service (there is at least\none provider).", "docstring_tokens": ["Visit", "an", "implementation", "of", "a", "service", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/ModuleVisitor.java#L159-L163", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/cache/TypeCache.java", "func_name": "TypeCache.createDefault", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates default implementation of the type cache.", "docstring_tokens": ["Creates", "default", "implementation", "of", "the", "type", "cache", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/cache/TypeCache.java#L70-L73", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/cache/TypeCache.java", "func_name": "TypeCache.put", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add values to the map.", "docstring_tokens": ["Add", "values", "to", "the", "map", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/cache/TypeCache.java#L156-L158", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-bean/src/main/java/jodd/introspector/Methods.java", "func_name": "Methods.getAllMethodDescriptors", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns all methods. Cached. Lazy.", "docstring_tokens": ["Returns", "all", "methods", ".", "Cached", ".", "Lazy", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-bean/src/main/java/jodd/introspector/Methods.java#L145-L160", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/NetUtil.java", "func_name": "NetUtil.resolveIpAddress", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves IP address from a hostname.", "docstring_tokens": ["Resolves", "IP", "address", "from", "a", "hostname", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/NetUtil.java#L55-L68", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/NetUtil.java", "func_name": "NetUtil.getIpAsInt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns IP address as integer.", "docstring_tokens": ["Returns", "IP", "address", "as", "integer", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/NetUtil.java#L73-L83", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/NetUtil.java", "func_name": "NetUtil.validateAgaintIPAdressV4Format", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks given string against IP address v4 format.\n\n@param input an ip address - may be null\n@return true if param has a valid ip v4 format false otherwise\n@see ip address v4", "docstring_tokens": ["Checks", "given", "string", "against", "IP", "address", "v4", "format", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/NetUtil.java#L108-L136", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/NetUtil.java", "func_name": "NetUtil.resolveHostName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves host name from IP address bytes.", "docstring_tokens": ["Resolves", "host", "name", "from", "IP", "address", "bytes", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/NetUtil.java#L141-L148", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/NetUtil.java", "func_name": "NetUtil.downloadBytes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Downloads resource as byte array.", "docstring_tokens": ["Downloads", "resource", "as", "byte", "array", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/NetUtil.java#L155-L159", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/NetUtil.java", "func_name": "NetUtil.downloadString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Downloads resource as String.", "docstring_tokens": ["Downloads", "resource", "as", "String", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/NetUtil.java#L164-L168", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/io/NetUtil.java", "func_name": "NetUtil.downloadFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Downloads resource to a file, potentially very efficiently.", "docstring_tokens": ["Downloads", "resource", "to", "a", "file", "potentially", "very", "efficiently", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/io/NetUtil.java#L182-L194", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/interceptor/ServletConfigInterceptor.java", "func_name": "ServletConfigInterceptor.inject", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Performs injection.", "docstring_tokens": ["Performs", "injection", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/interceptor/ServletConfigInterceptor.java#L89-L96", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/interceptor/ServletConfigInterceptor.java", "func_name": "ServletConfigInterceptor.outject", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Performs outjection.", "docstring_tokens": ["Performs", "outjection", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/interceptor/ServletConfigInterceptor.java#L101-L105", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/Sockets.java", "func_name": "Sockets.connect", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a socket.", "docstring_tokens": ["Creates", "a", "socket", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/Sockets.java#L40-L44", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/Sockets.java", "func_name": "Sockets.connect", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a socket with a timeout.", "docstring_tokens": ["Creates", "a", "socket", "with", "a", "timeout", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/Sockets.java#L49-L58", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/cl/DefaultClassLoaderStrategy.java", "func_name": "DefaultClassLoaderStrategy.getPrimitiveClassNameIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Detects if provided class name is a primitive type.\nReturns >= 0 number if so.", "docstring_tokens": ["Detects", "if", "provided", "class", "name", "is", "a", "primitive", "type", ".", "Returns", ">", "=", "0", "number", "if", "so", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/cl/DefaultClassLoaderStrategy.java#L119-L125", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/cl/DefaultClassLoaderStrategy.java", "func_name": "DefaultClassLoaderStrategy.loadClass", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Loads class by name.", "docstring_tokens": ["Loads", "class", "by", "name", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/cl/DefaultClassLoaderStrategy.java#L132-L186", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/cl/DefaultClassLoaderStrategy.java", "func_name": "DefaultClassLoaderStrategy.loadArrayClassByComponentType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Loads array class using component type.", "docstring_tokens": ["Loads", "array", "class", "using", "component", "type", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/cl/DefaultClassLoaderStrategy.java#L218-L241", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/scope/SingletonScope.java", "func_name": "SingletonScope.shutdown", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Iterate all beans and invokes registered destroy methods.", "docstring_tokens": ["Iterate", "all", "beans", "and", "invokes", "registered", "destroy", "methods", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/scope/SingletonScope.java#L90-L96", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/BinarySearch.java", "func_name": "BinarySearch.forArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates binary search wrapper over an array.", "docstring_tokens": ["Creates", "binary", "search", "wrapper", "over", "an", "array", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/BinarySearch.java#L77-L90", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/BinarySearch.java", "func_name": "BinarySearch.forArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates binary search wrapper over an array with given comparator.", "docstring_tokens": ["Creates", "binary", "search", "wrapper", "over", "an", "array", "with", "given", "comparator", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/BinarySearch.java#L95-L108", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-bean/src/main/java/jodd/bean/BeanVisitorImplBase.java", "func_name": "BeanVisitorImplBase.exclude", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Defines excluded property names.", "docstring_tokens": ["Defines", "excluded", "property", "names", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-bean/src/main/java/jodd/bean/BeanVisitorImplBase.java#L50-L55", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-bean/src/main/java/jodd/bean/BeanVisitorImplBase.java", "func_name": "BeanVisitorImplBase.include", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Defines included property names.", "docstring_tokens": ["Defines", "included", "property", "names", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-bean/src/main/java/jodd/bean/BeanVisitorImplBase.java#L68-L73", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-bean/src/main/java/jodd/bean/BeanVisitorImplBase.java", "func_name": "BeanVisitorImplBase.includeAs", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Defines included property names as public properties\nof given template class. Sets to black list mode.", "docstring_tokens": ["Defines", "included", "property", "names", "as", "public", "properties", "of", "given", "template", "class", ".", "Sets", "to", "black", "list", "mode", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-bean/src/main/java/jodd/bean/BeanVisitorImplBase.java#L87-L95", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/ParsedTag.java", "func_name": "ParsedTag.start", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Starts the tag with the index of first '<'.\nResets all tag data.", "docstring_tokens": ["Starts", "the", "tag", "with", "the", "index", "of", "first", "<", ".", "Resets", "all", "tag", "data", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/ParsedTag.java#L76-L85", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/component/MadvocContainer.java", "func_name": "MadvocContainer.registerComponent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers Madvoc component with given name.", "docstring_tokens": ["Registers", "Madvoc", "component", "with", "given", "name", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/component/MadvocContainer.java#L93-L98", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/DbOomQuery.java", "func_name": "DbOomQuery.resolveColumnDbSqlType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves column db sql type and populates it in column descriptor if missing.", "docstring_tokens": ["Resolves", "column", "db", "sql", "type", "and", "populates", "it", "in", "column", "descriptor", "if", "missing", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/DbOomQuery.java#L177-L202", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/DbOomQuery.java", "func_name": "DbOomQuery.preprocessSql", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Pre-process SQL before using it. If string starts with a non-ascii char\nor it has no spaces, it will be loaded from the query map.", "docstring_tokens": ["Pre", "-", "process", "SQL", "before", "using", "it", ".", "If", "string", "starts", "with", "a", "non", "-", "ascii", "char", "or", "it", "has", "no", "spaces", "it", "will", "be", "loaded", "from", "the", "query", "map", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/DbOomQuery.java#L208-L229", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/DbOomQuery.java", "func_name": "DbOomQuery.createResultSetMapper", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Factory for result sets mapper.", "docstring_tokens": ["Factory", "for", "result", "sets", "mapper", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/DbOomQuery.java#L293-L297", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/DbOomQuery.java", "func_name": "DbOomQuery.findGeneratedKey", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds generated key column of given type.", "docstring_tokens": ["Finds", "generated", "key", "column", "of", "given", "type", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/DbOomQuery.java#L495-L497", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/DbOomQuery.java", "func_name": "DbOomQuery.populateGeneratedKeys", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Populates entity with generated column values from executed query.", "docstring_tokens": ["Populates", "entity", "with", "generated", "column", "values", "from", "executed", "query", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/DbOomQuery.java#L510-L538", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/petite/PetiteInterceptorManager.java", "func_name": "PetiteInterceptorManager.createWrapper", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Acquires interceptor from Petite container.", "docstring_tokens": ["Acquires", "interceptor", "from", "Petite", "container", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/petite/PetiteInterceptorManager.java#L44-L47", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/DbQuery.java", "func_name": "DbQuery.setBean", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets bean parameters from bean. Non-existing bean properties are ignored.", "docstring_tokens": ["Sets", "bean", "parameters", "from", "bean", ".", "Non", "-", "existing", "bean", "properties", "are", "ignored", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/DbQuery.java#L957-L979", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/DbQuery.java", "func_name": "DbQuery.setMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets properties from the map.", "docstring_tokens": ["Sets", "properties", "from", "the", "map", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/DbQuery.java#L986-L996", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/DbQuery.java", "func_name": "DbQuery.setObjects", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets an array of objects parameters in given order.", "docstring_tokens": ["Sets", "an", "array", "of", "objects", "parameters", "in", "given", "order", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/DbQuery.java#L1136-L1142", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/sqlgen/chunks/SqlChunk.java", "func_name": "SqlChunk.insertChunkAfter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Appends chunk to previous one and maintains the double-linked list of the previous chunk.\nCurrent surrounding connections of this chunk will be cut-off.", "docstring_tokens": ["Appends", "chunk", "to", "previous", "one", "and", "maintains", "the", "double", "-", "linked", "list", "of", "the", "previous", "chunk", ".", "Current", "surrounding", "connections", "of", "this", "chunk", "will", "be", "cut", "-", "off", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/sqlgen/chunks/SqlChunk.java#L89-L97", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/sqlgen/chunks/SqlChunk.java", "func_name": "SqlChunk.lookupType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Lookups for entity name and throws an exception if entity type is invalid.", "docstring_tokens": ["Lookups", "for", "entity", "name", "and", "throws", "an", "exception", "if", "entity", "type", "is", "invalid", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/sqlgen/chunks/SqlChunk.java#L171-L177", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/sqlgen/chunks/SqlChunk.java", "func_name": "SqlChunk.findColumnRef", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds a table that contains given column.", "docstring_tokens": ["Finds", "a", "table", "that", "contains", "given", "column", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/sqlgen/chunks/SqlChunk.java#L202-L208", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/sqlgen/chunks/SqlChunk.java", "func_name": "SqlChunk.resolveTable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves table name or alias that will be used in the query.", "docstring_tokens": ["Resolves", "table", "name", "or", "alias", "that", "will", "be", "used", "in", "the", "query", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/sqlgen/chunks/SqlChunk.java#L215-L221", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/sqlgen/chunks/SqlChunk.java", "func_name": "SqlChunk.resolveClass", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves object to a class.", "docstring_tokens": ["Resolves", "object", "to", "a", "class", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/sqlgen/chunks/SqlChunk.java#L237-L240", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-db/src/main/java/jodd/db/oom/sqlgen/chunks/SqlChunk.java", "func_name": "SqlChunk.appendMissingSpace", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Appends missing space if the output doesn't end with whitespace.", "docstring_tokens": ["Appends", "missing", "space", "if", "the", "output", "doesn", "t", "end", "with", "whitespace", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-db/src/main/java/jodd/db/oom/sqlgen/chunks/SqlChunk.java#L289-L298", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-servlet/src/main/java/jodd/servlet/upload/MultipartRequestWrapper.java", "func_name": "MultipartRequestWrapper.getFileParameterNames", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get an enumeration of the parameter names for uploaded files", "docstring_tokens": ["Get", "an", "enumeration", "of", "the", "parameter", "names", "for", "uploaded", "files"], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-servlet/src/main/java/jodd/servlet/upload/MultipartRequestWrapper.java#L91-L96", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-servlet/src/main/java/jodd/servlet/DispatcherUtil.java", "func_name": "DispatcherUtil.include", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Include page which path is relative to the current HTTP request.", "docstring_tokens": ["Include", "page", "which", "path", "is", "relative", "to", "the", "current", "HTTP", "request", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-servlet/src/main/java/jodd/servlet/DispatcherUtil.java#L49-L56", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-servlet/src/main/java/jodd/servlet/DispatcherUtil.java", "func_name": "DispatcherUtil.getUrl", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns url, without context path, convenient for request dispatcher.", "docstring_tokens": ["Returns", "url", "without", "context", "path", "convenient", "for", "request", "dispatcher", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-servlet/src/main/java/jodd/servlet/DispatcherUtil.java#L194-L201", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-servlet/src/main/java/jodd/servlet/DispatcherUtil.java", "func_name": "DispatcherUtil.getRequestUri", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get current request uri.", "docstring_tokens": ["Get", "current", "request", "uri", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-servlet/src/main/java/jodd/servlet/DispatcherUtil.java#L293-L299", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/component/ActionMethodParamNameResolver.java", "func_name": "ActionMethodParamNameResolver.resolveParamNames", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns method parameter names.", "docstring_tokens": ["Returns", "method", "parameter", "names", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/component/ActionMethodParamNameResolver.java#L43-L53", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-joy/src/main/java/jodd/joy/JoyPetite.java", "func_name": "JoyPetite.start", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates and initializes Petite container.\nIt will be auto-magically configured by scanning the classpath.", "docstring_tokens": ["Creates", "and", "initializes", "Petite", "container", ".", "It", "will", "be", "auto", "-", "magically", "configured", "by", "scanning", "the", "classpath", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-joy/src/main/java/jodd/joy/JoyPetite.java#L108-L142", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-joy/src/main/java/jodd/joy/JoyPetite.java", "func_name": "JoyPetite.stop", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Stops Petite container.", "docstring_tokens": ["Stops", "Petite", "container", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-joy/src/main/java/jodd/joy/JoyPetite.java#L151-L160", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/EmailFilter.java", "func_name": "EmailFilter.subject", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Defines filter for SUBJECT field.\n\n@param subject The SUBJECT.\n@return this", "docstring_tokens": ["Defines", "filter", "for", "SUBJECT", "field", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/EmailFilter.java#L87-L91", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/EmailFilter.java", "func_name": "EmailFilter.messageId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Defines filter for message id.\n\n@param messageId The message ID.\n@return this", "docstring_tokens": ["Defines", "filter", "for", "message", "id", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/EmailFilter.java#L99-L103", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/EmailFilter.java", "func_name": "EmailFilter.from", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Defines filter for FROM field.\n\n@param fromAddress The FROM address\n@return this", "docstring_tokens": ["Defines", "filter", "for", "FROM", "field", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/EmailFilter.java#L123-L127", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/EmailFilter.java", "func_name": "EmailFilter.to", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Defines filter for TO field.\n\n@param toAddress The TO address.\n@return this", "docstring_tokens": ["Defines", "filter", "for", "TO", "field", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/EmailFilter.java#L135-L139", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/EmailFilter.java", "func_name": "EmailFilter.cc", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Defines filter for CC field.\n\n@param ccAddress CC addreses.\n@return this", "docstring_tokens": ["Defines", "filter", "for", "CC", "field", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/EmailFilter.java#L147-L151", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/EmailFilter.java", "func_name": "EmailFilter.bcc", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Defines filter for BCC field.\n\n@param bccAddress BCC address.\n@return this", "docstring_tokens": ["Defines", "filter", "for", "BCC", "field", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/EmailFilter.java#L159-L163", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/EmailFilter.java", "func_name": "EmailFilter.flags", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Defines filter for many flags at once.\n\n@param flags The {@link Flags} to filter on.\n@param value The {@link Flag} setting to check for.\n@return this", "docstring_tokens": ["Defines", "filter", "for", "many", "flags", "at", "once", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/EmailFilter.java#L172-L176", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/EmailFilter.java", "func_name": "EmailFilter.flag", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Defines filter for single flag.\n\n@param flag The flag to filter on.\n@param value The {@link Flag} setting to check for.\n@return this", "docstring_tokens": ["Defines", "filter", "for", "single", "flag", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/EmailFilter.java#L185-L189", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/EmailFilter.java", "func_name": "EmailFilter.receivedDate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Defines filter for received date.\n\n@return this", "docstring_tokens": ["Defines", "filter", "for", "received", "date", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/EmailFilter.java#L196-L200", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/EmailFilter.java", "func_name": "EmailFilter.sentDate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Defines filter for sent date.\n\n@param operator {@link Operator} to use.\n@param milliseconds the milliseconds since January 1, 1970, 00:00:00 GMT.\n@return this", "docstring_tokens": ["Defines", "filter", "for", "sent", "date", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/EmailFilter.java#L209-L213", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/EmailFilter.java", "func_name": "EmailFilter.size", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Defines filter for message size.\n\n@param comparison {@link Operator}.\n@param size size of message.\n@return this", "docstring_tokens": ["Defines", "filter", "for", "message", "size", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/EmailFilter.java#L248-L252", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/EmailFilter.java", "func_name": "EmailFilter.and", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Defines AND group of filters.\n\n@param emailFilters array of {@link EmailFilter}s to AND.\n@return this", "docstring_tokens": ["Defines", "AND", "group", "of", "filters", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/EmailFilter.java#L310-L319", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/EmailFilter.java", "func_name": "EmailFilter.or", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Defines OR group of filters.\n\n@param emailFilters array of {@link EmailFilter}s to OR.\n@return this", "docstring_tokens": ["Defines", "OR", "group", "of", "filters", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/EmailFilter.java#L327-L336", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/EmailFilter.java", "func_name": "EmailFilter.not", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Appends single filter as NOT.\n\n@param emailFilter {@link EmailFilter} to append.\n@return this", "docstring_tokens": ["Appends", "single", "filter", "as", "NOT", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/EmailFilter.java#L344-L348", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/EmailFilter.java", "func_name": "EmailFilter.concat", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Concatenates last search term with new one.\n\n@param searchTerm searchTerm {@link SearchTerm} concatenate.\n@see #and(SearchTerm)\n@see #or(SearchTerm)", "docstring_tokens": ["Concatenates", "last", "search", "term", "with", "new", "one", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/EmailFilter.java#L359-L369", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/Base32.java", "func_name": "Base32.encode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Encode an array of binary bytes into a Base32 string.", "docstring_tokens": ["Encode", "an", "array", "of", "binary", "bytes", "into", "a", "Base32", "string", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/Base32.java#L51-L101", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-bean/src/main/java/jodd/typeconverter/impl/ByteArrayConverter.java", "func_name": "ByteArrayConverter.convertValueToArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts non-array value to array. Detects various\ntypes and collections, iterates them to make conversion\nand to create target array.", "docstring_tokens": ["Converts", "non", "-", "array", "value", "to", "array", ".", "Detects", "various", "types", "and", "collections", "iterates", "them", "to", "make", "conversion", "and", "to", "create", "target", "array", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-bean/src/main/java/jodd/typeconverter/impl/ByteArrayConverter.java#L88-L150", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-servlet/src/main/java/jodd/servlet/filter/GzipFilter.java", "func_name": "GzipFilter.isGzipEligible", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determine if request is eligible for GZipping.", "docstring_tokens": ["Determine", "if", "request", "is", "eligible", "for", "GZipping", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-servlet/src/main/java/jodd/servlet/filter/GzipFilter.java#L192-L260", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-vtor/src/main/java/jodd/vtor/Vtor.java", "func_name": "Vtor.validate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Validate object using context from the annotations.", "docstring_tokens": ["Validate", "object", "using", "context", "from", "the", "annotations", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-vtor/src/main/java/jodd/vtor/Vtor.java#L82-L84", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-vtor/src/main/java/jodd/vtor/Vtor.java", "func_name": "Vtor.validate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Performs validation of provided validation context and appends violations.", "docstring_tokens": ["Performs", "validation", "of", "provided", "validation", "context", "and", "appends", "violations", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-vtor/src/main/java/jodd/vtor/Vtor.java#L96-L119", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-vtor/src/main/java/jodd/vtor/Vtor.java", "func_name": "Vtor.useProfile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Enables single profile.", "docstring_tokens": ["Enables", "single", "profile", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-vtor/src/main/java/jodd/vtor/Vtor.java#L155-L163", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-vtor/src/main/java/jodd/vtor/Vtor.java", "func_name": "Vtor.useProfiles", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Enables list of profiles.", "docstring_tokens": ["Enables", "list", "of", "profiles", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-vtor/src/main/java/jodd/vtor/Vtor.java#L168-L176", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-vtor/src/main/java/jodd/vtor/Vtor.java", "func_name": "Vtor.matchProfiles", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determine if any of checks profiles is among enabled profiles.", "docstring_tokens": ["Determine", "if", "any", "of", "checks", "profiles", "is", "among", "enabled", "profiles", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-vtor/src/main/java/jodd/vtor/Vtor.java#L191-L244", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/scope/JsonBodyScope.java", "func_name": "JsonBodyScope.parseRequestBody", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses request body into the target type.", "docstring_tokens": ["Parses", "request", "body", "into", "the", "target", "type", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/scope/JsonBodyScope.java#L79-L81", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/time/JulianDate.java", "func_name": "JulianDate.toMilliseconds", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts to milliseconds.", "docstring_tokens": ["Converts", "to", "milliseconds", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/time/JulianDate.java#L273-L278", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/time/JulianDate.java", "func_name": "JulianDate.add", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a JD to current instance.", "docstring_tokens": ["Adds", "a", "JD", "to", "current", "instance", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/time/JulianDate.java#L349-L353", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/time/JulianDate.java", "func_name": "JulianDate.sub", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Subtracts a JD from current instance.", "docstring_tokens": ["Subtracts", "a", "JD", "from", "current", "instance", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/time/JulianDate.java#L366-L370", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/time/JulianDate.java", "func_name": "JulianDate.set", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets integer and fractional part with normalization.\nNormalization means that if double is out of range,\nvalues will be correctly fixed.", "docstring_tokens": ["Sets", "integer", "and", "fractional", "part", "with", "normalization", ".", "Normalization", "means", "that", "if", "double", "is", "out", "of", "range", "values", "will", "be", "correctly", "fixed", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/time/JulianDate.java#L384-L394", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/LagartoParser.java", "func_name": "LagartoParser.initialize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Initializes parser.", "docstring_tokens": ["Initializes", "parser", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/LagartoParser.java#L88-L96", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/LagartoParser.java", "func_name": "LagartoParser.emitComment", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Emits a comment. Also checks for conditional comments!", "docstring_tokens": ["Emits", "a", "comment", ".", "Also", "checks", "for", "conditional", "comments!"], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/LagartoParser.java#L2971-L3007", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-lagarto/src/main/java/jodd/lagarto/LagartoParser.java", "func_name": "LagartoParser._error", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Prepares error message and reports it to the visitor.", "docstring_tokens": ["Prepares", "error", "message", "and", "reports", "it", "to", "the", "visitor", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-lagarto/src/main/java/jodd/lagarto/LagartoParser.java#L3063-L3077", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/crypt/PBKDF2Hash.java", "func_name": "PBKDF2Hash.createHash", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a salted PBKDF2 hash of the password.\n\n@param password the password to hash\n@return a salted PBKDF2 hash of the password", "docstring_tokens": ["Returns", "a", "salted", "PBKDF2", "hash", "of", "the", "password", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/crypt/PBKDF2Hash.java#L73-L85", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/crypt/PBKDF2Hash.java", "func_name": "PBKDF2Hash.pbkdf2", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Computes the PBKDF2 hash of a password.\n\n@param password the password to hash.\n@param salt the salt\n@param iterations the iteration count (slowness factor)\n@param bytes the length of the hash to compute in bytes\n@return the PBDKF2 hash of the password", "docstring_tokens": ["Computes", "the", "PBKDF2", "hash", "of", "a", "password", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/crypt/PBKDF2Hash.java#L145-L157", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/crypt/PBKDF2Hash.java", "func_name": "PBKDF2Hash.fromHex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts a string of hexadecimal characters into a byte array.\n\n@param hex the hex string\n@return the hex string decoded into a byte array", "docstring_tokens": ["Converts", "a", "string", "of", "hexadecimal", "characters", "into", "a", "byte", "array", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/crypt/PBKDF2Hash.java#L165-L171", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/PetiteResolvers.java", "func_name": "PetiteResolvers.resolveProviderDefinitions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves provider definition defined in a bean.", "docstring_tokens": ["Resolves", "provider", "definition", "defined", "in", "a", "bean", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/PetiteResolvers.java#L116-L118", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/EmailAttachmentBuilder.java", "func_name": "EmailAttachmentBuilder.name", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets file name.\n\n@param name File name to set.\n@return this", "docstring_tokens": ["Sets", "file", "name", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/EmailAttachmentBuilder.java#L89-L94", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/EmailAttachmentBuilder.java", "func_name": "EmailAttachmentBuilder.setContentIdFromNameIfMissing", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set content ID if it is missing.\n\n@return this\n@see #contentId(String)", "docstring_tokens": ["Set", "content", "ID", "if", "it", "is", "missing", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/EmailAttachmentBuilder.java#L262-L271", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/EmailAttachmentBuilder.java", "func_name": "EmailAttachmentBuilder.resolveContentType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves content type from all data.\n\n@param contentType Content type if we know it. {@code null} is fine to use.\n@return content type", "docstring_tokens": ["Resolves", "content", "type", "from", "all", "data", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/EmailAttachmentBuilder.java#L279-L289", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/signature/SignatureReader.java", "func_name": "SignatureReader.parseType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses a JavaTypeSignature and makes the given visitor visit it.\n\n@param signature a string containing the signature that must be parsed.\n@param startOffset index of the first character of the signature to parsed.\n@param signatureVisitor the visitor that must visit this signature.\n@return the index of the first character after the parsed signature.", "docstring_tokens": ["Parses", "a", "JavaTypeSignature", "and", "makes", "the", "given", "visitor", "visit", "it", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/signature/SignatureReader.java#L151-L251", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/ModuleWriter.java", "func_name": "ModuleWriter.computeAttributesSize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the size of the Module, ModulePackages and ModuleMainClass attributes generated by this\nModuleWriter. Also add the names of these attributes in the constant pool.\n\n@return the size in bytes of the Module, ModulePackages and ModuleMainClass attributes.", "docstring_tokens": ["Returns", "the", "size", "of", "the", "Module", "ModulePackages", "and", "ModuleMainClass", "attributes", "generated", "by", "this", "ModuleWriter", ".", "Also", "add", "the", "names", "of", "these", "attributes", "in", "the", "constant", "pool", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/ModuleWriter.java#L195-L211", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/asm7/ModuleWriter.java", "func_name": "ModuleWriter.putAttributes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Puts the Module, ModulePackages and ModuleMainClass attributes generated by this ModuleWriter\nin the given ByteVector.\n\n@param output where the attributes must be put.", "docstring_tokens": ["Puts", "the", "Module", "ModulePackages", "and", "ModuleMainClass", "attributes", "generated", "by", "this", "ModuleWriter", "in", "the", "given", "ByteVector", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/asm7/ModuleWriter.java#L219-L252", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/net/URLDecoder.java", "func_name": "URLDecoder.decode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Decodes URL elements. This method may be used for all\nparts of URL, except for the query parts, since it does\nnot decode the '+' character.\n@see #decodeQuery(String, String)", "docstring_tokens": ["Decodes", "URL", "elements", ".", "This", "method", "may", "be", "used", "for", "all", "parts", "of", "URL", "except", "for", "the", "query", "parts", "since", "it", "does", "not", "decode", "the", "+", "character", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/net/URLDecoder.java#L51-L53", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/net/URLDecoder.java", "func_name": "URLDecoder.decodeQuery", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Decodes query name or value.", "docstring_tokens": ["Decodes", "query", "name", "or", "value", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/net/URLDecoder.java#L65-L67", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-joy/src/main/java/jodd/joy/JoyDb.java", "func_name": "JoyDb.start", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Initializes database. First, creates connection pool.\nand transaction manager. Then, Jodds DbEntityManager is\nconfigured. It is also configured automagically, by scanning\nthe class path for entities.", "docstring_tokens": ["Initializes", "database", ".", "First", "creates", "connection", "pool", ".", "and", "transaction", "manager", ".", "Then", "Jodds", "DbEntityManager", "is", "configured", ".", "It", "is", "also", "configured", "automagically", "by", "scanning", "the", "class", "path", "for", "entities", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-joy/src/main/java/jodd/joy/JoyDb.java#L155-L233", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-joy/src/main/java/jodd/joy/JoyDb.java", "func_name": "JoyDb.checkConnectionProvider", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks if connection provider can return a connection.", "docstring_tokens": ["Checks", "if", "connection", "provider", "can", "return", "a", "connection", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-joy/src/main/java/jodd/joy/JoyDb.java#L256-L271", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/asm/TargetClassInfoReader.java", "func_name": "TargetClassInfoReader.visitMethod", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Stores method signature for target method.", "docstring_tokens": ["Stores", "method", "signature", "for", "target", "method", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/asm/TargetClassInfoReader.java#L175-L185", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/asm/TargetClassInfoReader.java", "func_name": "TargetClassInfoReader.visitEnd", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Stores signatures for all super public methods not already overridden by target class.\nAll this methods will be accepted for proxyfication.", "docstring_tokens": ["Stores", "signatures", "for", "all", "super", "public", "methods", "not", "already", "overridden", "by", "target", "class", ".", "All", "this", "methods", "will", "be", "accepted", "for", "proxyfication", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/asm/TargetClassInfoReader.java#L191-L277", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/asm/TargetClassInfoReader.java", "func_name": "TargetClassInfoReader.createMethodSignature", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates method signature from method name.", "docstring_tokens": ["Creates", "method", "signature", "from", "method", "name", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/asm/TargetClassInfoReader.java#L283-L294", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/CsvUtil.java", "func_name": "CsvUtil.toCsvString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse fields as csv string,", "docstring_tokens": ["Parse", "fields", "as", "csv", "string"], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/CsvUtil.java#L45-L87", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/util/CsvUtil.java", "func_name": "CsvUtil.toStringArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts CSV line to string array.", "docstring_tokens": ["Converts", "CSV", "line", "to", "string", "array", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/util/CsvUtil.java#L93-L126", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/resolver/CtorResolver.java", "func_name": "CtorResolver.resolve", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves constructor injection point from type. Looks for single annotated constructor.\nIf no annotated constructors found, the total number of constructors will be checked.\nIf there is only one constructor, that one will be used as injection point. If more\nconstructors exist, the default one will be used as injection point. Otherwise, exception\nis thrown.", "docstring_tokens": ["Resolves", "constructor", "injection", "point", "from", "type", ".", "Looks", "for", "single", "annotated", "constructor", ".", "If", "no", "annotated", "constructors", "found", "the", "total", "number", "of", "constructors", "will", "be", "checked", ".", "If", "there", "is", "only", "one", "constructor", "that", "one", "will", "be", "used", "as", "injection", "point", ".", "If", "more", "constructors", "exist", "the", "default", "one", "will", "be", "used", "as", "injection", "point", ".", "Otherwise", "exception", "is", "thrown", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/resolver/CtorResolver.java#L55-L110", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxyAspectData.java", "func_name": "ProxyAspectData.createAdviceClassReader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates advice's class reader.", "docstring_tokens": ["Creates", "advice", "s", "class", "reader", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxyAspectData.java#L104-L114", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxyAspectData.java", "func_name": "ProxyAspectData.getCachedAdviceClassReader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns class reader for advice.", "docstring_tokens": ["Returns", "class", "reader", "for", "advice", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-proxetta/src/main/java/jodd/proxetta/asm/ProxyAspectData.java#L119-L129", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/crypt/PBKDF2Encryptor.java", "func_name": "PBKDF2Encryptor.encrypt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Symmetrically encrypts the string.", "docstring_tokens": ["Symmetrically", "encrypts", "the", "string", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/crypt/PBKDF2Encryptor.java#L83-L91", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-core/src/main/java/jodd/crypt/PBKDF2Encryptor.java", "func_name": "PBKDF2Encryptor.decrypt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Symmetrically decrypts the string.", "docstring_tokens": ["Symmetrically", "decrypts", "the", "string", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-core/src/main/java/jodd/crypt/PBKDF2Encryptor.java#L104-L113", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-log/src/main/java/jodd/log/LoggerFactory.java", "func_name": "LoggerFactory.getLogger", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns logger for given name. Repeated calls to this method with the\nsame argument should return the very same instance of the logger.", "docstring_tokens": ["Returns", "logger", "for", "given", "name", ".", "Repeated", "calls", "to", "this", "method", "with", "the", "same", "argument", "should", "return", "the", "very", "same", "instance", "of", "the", "logger", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-log/src/main/java/jodd/log/LoggerFactory.java#L83-L88", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-http/src/main/java/jodd/http/Cookie.java", "func_name": "Cookie.setName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the cookie name and checks for validity.", "docstring_tokens": ["Sets", "the", "cookie", "name", "and", "checks", "for", "validity", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-http/src/main/java/jodd/http/Cookie.java#L128-L140", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/component/MadvocController.java", "func_name": "MadvocController.createActionRequest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates new action request.\n@param actionPath\t\taction path\n@param actionRuntime\t\taction runtime\n@param action\t\t\taction object\n@param servletRequest\thttp request\n@param servletResponse\thttp response\n@return action request", "docstring_tokens": ["Creates", "new", "action", "request", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/component/MadvocController.java#L229-L238", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-madvoc/src/main/java/jodd/madvoc/petite/PetiteFilterManager.java", "func_name": "PetiteFilterManager.createWrapper", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Acquires filter from Petite container.", "docstring_tokens": ["Acquires", "filter", "from", "Petite", "container", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-madvoc/src/main/java/jodd/madvoc/petite/PetiteFilterManager.java#L44-L47", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/scope/ShutdownAwareScope.java", "func_name": "ShutdownAwareScope.destroyBean", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes destroyable bean from the list and calls it destroy methods.\nIf bean is not destroyable, does nothing. Bean gets destroyed only once.", "docstring_tokens": ["Removes", "destroyable", "bean", "from", "the", "list", "and", "calls", "it", "destroy", "methods", ".", "If", "bean", "is", "not", "destroyable", "does", "nothing", ".", "Bean", "gets", "destroyed", "only", "once", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/scope/ShutdownAwareScope.java#L78-L88", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-petite/src/main/java/jodd/petite/scope/ShutdownAwareScope.java", "func_name": "ShutdownAwareScope.shutdown", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Shutdowns the scope and calls all collected destroyable beans.", "docstring_tokens": ["Shutdowns", "the", "scope", "and", "calls", "all", "collected", "destroyable", "beans", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-petite/src/main/java/jodd/petite/scope/ShutdownAwareScope.java#L93-L104", "partition": "test"} +{"repo": "oblac/jodd", "path": "jodd-mail/src/main/java/jodd/mail/ReceiverBuilder.java", "func_name": "ReceiverBuilder.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Receives the emails as specified by the builder.", "docstring_tokens": ["Receives", "the", "emails", "as", "specified", "by", "the", "builder", "."], "sha": "85ad7f813ec0e07ecd27042aeb47ff2047631fa5", "url": "https://github.com/oblac/jodd/blob/85ad7f813ec0e07ecd27042aeb47ff2047631fa5/jodd-mail/src/main/java/jodd/mail/ReceiverBuilder.java#L116-L130", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-cluster/src/main/java/io/aeron/cluster/service/ClusteredServiceContainer.java", "func_name": "ClusteredServiceContainer.main", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Launch the clustered service container and await a shutdown signal.\n\n@param args command line argument which is a list for properties files as URLs or filenames.", "docstring_tokens": ["Launch", "the", "clustered", "service", "container", "and", "await", "a", "shutdown", "signal", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-cluster/src/main/java/io/aeron/cluster/service/ClusteredServiceContainer.java#L64-L74", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-samples/src/main/java/io/aeron/samples/RateReporter.java", "func_name": "RateReporter.run", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Run loop for the rate reporter", "docstring_tokens": ["Run", "loop", "for", "the", "rate", "reporter"], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-samples/src/main/java/io/aeron/samples/RateReporter.java#L69-L92", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-samples/src/main/java/io/aeron/samples/SamplesUtil.java", "func_name": "SamplesUtil.printError", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generic error handler that just prints message to stdout.\n\n@param channel for the error\n@param streamId for the error\n@param sessionId for the error, if source\n@param message indicating what the error was\n@param cause of the error", "docstring_tokens": ["Generic", "error", "handler", "that", "just", "prints", "message", "to", "stdout", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-samples/src/main/java/io/aeron/samples/SamplesUtil.java#L134-L143", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-samples/src/main/java/io/aeron/samples/SamplesUtil.java", "func_name": "SamplesUtil.printRate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Print the rates to stdout\n\n@param messagesPerSec being reported\n@param bytesPerSec being reported\n@param totalMessages being reported\n@param totalBytes being reported", "docstring_tokens": ["Print", "the", "rates", "to", "stdout"], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-samples/src/main/java/io/aeron/samples/SamplesUtil.java#L153-L162", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-samples/src/main/java/io/aeron/samples/SamplesUtil.java", "func_name": "SamplesUtil.mapExistingFileReadOnly", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Map an existing file as a read only buffer.\n\n@param location of file to map.\n@return the mapped file.", "docstring_tokens": ["Map", "an", "existing", "file", "as", "a", "read", "only", "buffer", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-samples/src/main/java/io/aeron/samples/SamplesUtil.java#L196-L216", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-archive/src/main/java/io/aeron/archive/client/ReplayMerge.java", "func_name": "ReplayMerge.close", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Close the merge and stop any active replay. Will remove the replay destination from the subscription. Will\nNOT remove the live destination if it has been added.", "docstring_tokens": ["Close", "the", "merge", "and", "stop", "any", "active", "replay", ".", "Will", "remove", "the", "replay", "destination", "from", "the", "subscription", ".", "Will", "NOT", "remove", "the", "live", "destination", "if", "it", "has", "been", "added", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-archive/src/main/java/io/aeron/archive/client/ReplayMerge.java#L118-L136", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-archive/src/main/java/io/aeron/archive/client/ReplayMerge.java", "func_name": "ReplayMerge.doWork", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Process the operation of the merge. Do not call the processing of fragments on the subscription.\n\n@return indication of work done processing the merge.", "docstring_tokens": ["Process", "the", "operation", "of", "the", "merge", ".", "Do", "not", "call", "the", "processing", "of", "fragments", "on", "the", "subscription", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-archive/src/main/java/io/aeron/archive/client/ReplayMerge.java#L143-L171", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/Publication.java", "func_name": "Publication.position", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the current position to which the publication has advanced for this stream.\n\n@return the current position to which the publication has advanced for this stream or {@link #CLOSED}.", "docstring_tokens": ["Get", "the", "current", "position", "to", "which", "the", "publication", "has", "advanced", "for", "this", "stream", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/Publication.java#L324-L335", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/ExclusivePublication.java", "func_name": "ExclusivePublication.offer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Non-blocking publish by gathering buffer vectors into a message.\n\n@param vectors which make up the message.\n@param reservedValueSupplier {@link ReservedValueSupplier} for the frame.\n@return The new stream position, otherwise a negative error value of {@link #NOT_CONNECTED},\n{@link #BACK_PRESSURED}, {@link #ADMIN_ACTION}, {@link #CLOSED}, or {@link #MAX_POSITION_EXCEEDED}.", "docstring_tokens": ["Non", "-", "blocking", "publish", "by", "gathering", "buffer", "vectors", "into", "a", "message", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/ExclusivePublication.java#L245-L286", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/ExclusivePublication.java", "func_name": "ExclusivePublication.appendPadding", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Append a padding record log of a given length to make up the log to a position.\n\n@param length of the range to claim, in bytes..\n@return The new stream position, otherwise a negative error value of {@link #NOT_CONNECTED},\n{@link #BACK_PRESSURED}, {@link #ADMIN_ACTION}, {@link #CLOSED}, or {@link #MAX_POSITION_EXCEEDED}.\n@throws IllegalArgumentException if the length is greater than {@link #maxMessageLength()}.", "docstring_tokens": ["Append", "a", "padding", "record", "log", "of", "a", "given", "length", "to", "make", "up", "the", "log", "to", "a", "position", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/ExclusivePublication.java#L356-L380", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-archive/src/main/java/io/aeron/archive/client/AeronArchive.java", "func_name": "AeronArchive.close", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Notify the archive that this control session is closed so it can promptly release resources then close the\nlocal resources associated with the client.", "docstring_tokens": ["Notify", "the", "archive", "that", "this", "control", "session", "is", "closed", "so", "it", "can", "promptly", "release", "resources", "then", "close", "the", "local", "resources", "associated", "with", "the", "client", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-archive/src/main/java/io/aeron/archive/client/AeronArchive.java#L107-L130", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-archive/src/main/java/io/aeron/archive/client/AeronArchive.java", "func_name": "AeronArchive.pollForErrorResponse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Poll the response stream once for an error. If another message is present then it will be skipped over\nso only call when not expecting another response.\n\n@return the error String otherwise null if no error is found.", "docstring_tokens": ["Poll", "the", "response", "stream", "once", "for", "an", "error", ".", "If", "another", "message", "is", "present", "then", "it", "will", "be", "skipped", "over", "so", "only", "call", "when", "not", "expecting", "another", "response", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-archive/src/main/java/io/aeron/archive/client/AeronArchive.java#L322-L345", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-archive/src/main/java/io/aeron/archive/client/AeronArchive.java", "func_name": "AeronArchive.stopReplay", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Stop a replay session.\n\n@param replaySessionId to stop replay for.", "docstring_tokens": ["Stop", "a", "replay", "session", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-archive/src/main/java/io/aeron/archive/client/AeronArchive.java#L662-L682", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-samples/src/main/java/io/aeron/samples/MultipleSubscribersWithFragmentAssembly.java", "func_name": "MultipleSubscribersWithFragmentAssembly.eventAvailableImage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Print the information for an available image to stdout.\n\n@param image that has been created", "docstring_tokens": ["Print", "the", "information", "for", "an", "available", "image", "to", "stdout", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-samples/src/main/java/io/aeron/samples/MultipleSubscribersWithFragmentAssembly.java#L93-L99", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-samples/src/main/java/io/aeron/samples/MultipleSubscribersWithFragmentAssembly.java", "func_name": "MultipleSubscribersWithFragmentAssembly.eventUnavailableImage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This handler is called when image is unavailable\n\n@param image that has gone inactive", "docstring_tokens": ["This", "handler", "is", "called", "when", "image", "is", "unavailable"], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-samples/src/main/java/io/aeron/samples/MultipleSubscribersWithFragmentAssembly.java#L106-L112", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-driver/src/main/java/io/aeron/driver/status/StatusUtil.java", "func_name": "StatusUtil.sendChannelStatus", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the read-only status indicator for the given send channel URI.\n\n@param countersReader that holds the status indicator.\n@param channel for the send channel.\n@return read-only status indicator that can be used to query the status of the send channel or null\n@see ChannelEndpointStatus for status values and indications.", "docstring_tokens": ["Return", "the", "read", "-", "only", "status", "indicator", "for", "the", "given", "send", "channel", "URI", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-driver/src/main/java/io/aeron/driver/status/StatusUtil.java#L68-L91", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-driver/src/main/java/io/aeron/driver/status/StatusUtil.java", "func_name": "StatusUtil.receiveChannelStatus", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the read-only status indicator for the given receive channel URI.\n\n@param countersReader that holds the status indicator.\n@param channel for the receive channel.\n@return read-only status indicator that can be used to query the status of the receive channel or null.\n@see ChannelEndpointStatus for status values and indications.", "docstring_tokens": ["Return", "the", "read", "-", "only", "status", "indicator", "for", "the", "given", "receive", "channel", "URI", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-driver/src/main/java/io/aeron/driver/status/StatusUtil.java#L101-L124", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/BufferBuilder.java", "func_name": "BufferBuilder.limit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set this limit for this buffer as the position at which the next append operation will occur.\n\n@param limit to be the new value.", "docstring_tokens": ["Set", "this", "limit", "for", "this", "buffer", "as", "the", "position", "at", "which", "the", "next", "append", "operation", "will", "occur", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/BufferBuilder.java#L104-L113", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/BufferBuilder.java", "func_name": "BufferBuilder.append", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Append a source buffer to the end of the internal buffer, resizing the internal buffer as required.\n\n@param srcBuffer from which to copy.\n@param srcOffset in the source buffer from which to copy.\n@param length in bytes to copy from the source buffer.\n@return the builder for fluent API usage.", "docstring_tokens": ["Append", "a", "source", "buffer", "to", "the", "end", "of", "the", "internal", "buffer", "resizing", "the", "internal", "buffer", "as", "required", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/BufferBuilder.java#L156-L164", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-archive/src/main/java/io/aeron/archive/client/ControlResponsePoller.java", "func_name": "ControlResponsePoller.poll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Poll for control response events.\n\n@return the number of fragments read during the operation. Zero if no events are available.", "docstring_tokens": ["Poll", "for", "control", "response", "events", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-archive/src/main/java/io/aeron/archive/client/ControlResponsePoller.java#L88-L98", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-driver/src/main/java/io/aeron/driver/reports/LossReportUtil.java", "func_name": "LossReportUtil.mapLossReport", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Map a new loss report in the Aeron directory for a given length.\n\n@param aeronDirectoryName in which to create the file.\n@param reportFileLength for the file.\n@return the newly mapped buffer for the file.", "docstring_tokens": ["Map", "a", "new", "loss", "report", "in", "the", "Aeron", "directory", "for", "a", "given", "length", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-driver/src/main/java/io/aeron/driver/reports/LossReportUtil.java#L48-L51", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-samples/src/main/java/io/aeron/samples/StreamStat.java", "func_name": "StreamStat.snapshot", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Take a snapshot of all the counters and group them by streams.\n\n@return a snapshot of all the counters and group them by streams.", "docstring_tokens": ["Take", "a", "snapshot", "of", "all", "the", "counters", "and", "group", "them", "by", "streams", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-samples/src/main/java/io/aeron/samples/StreamStat.java#L61-L88", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/protocol/DataHeaderFlyweight.java", "func_name": "DataHeaderFlyweight.createDefaultHeader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return an initialised default Data Frame Header.\n\n@param sessionId for the header\n@param streamId for the header\n@param termId for the header\n@return byte array containing the header", "docstring_tokens": ["Return", "an", "initialised", "default", "Data", "Frame", "Header", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/protocol/DataHeaderFlyweight.java#L263-L277", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/command/CounterMessageFlyweight.java", "func_name": "CounterMessageFlyweight.keyBuffer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Fill the key buffer.\n\n@param keyBuffer containing the optional key for the counter.\n@param keyOffset within the keyBuffer at which the key begins.\n@param keyLength of the key in the keyBuffer.\n@return flyweight", "docstring_tokens": ["Fill", "the", "key", "buffer", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/command/CounterMessageFlyweight.java#L107-L116", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/command/CounterMessageFlyweight.java", "func_name": "CounterMessageFlyweight.labelBuffer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Fill the label buffer.\n\n@param labelBuffer containing the mandatory label for the counter.\n@param labelOffset within the labelBuffer at which the label begins.\n@param labelLength of the label in the labelBuffer.\n@return flyweight", "docstring_tokens": ["Fill", "the", "label", "buffer", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/command/CounterMessageFlyweight.java#L146-L153", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-archive/src/main/java/io/aeron/archive/client/ArchiveProxy.java", "func_name": "ArchiveProxy.connect", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Connect to an archive on its control interface providing the response stream details.\n\n@param responseChannel for the control message responses.\n@param responseStreamId for the control message responses.\n@param correlationId for this request.\n@return true if successfully offered otherwise false.", "docstring_tokens": ["Connect", "to", "an", "archive", "on", "its", "control", "interface", "providing", "the", "response", "stream", "details", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-archive/src/main/java/io/aeron/archive/client/ArchiveProxy.java#L128-L138", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-archive/src/main/java/io/aeron/archive/client/ArchiveProxy.java", "func_name": "ArchiveProxy.tryConnect", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Try Connect to an archive on its control interface providing the response stream details. Only one attempt will\nbe made to offer the request.\n\n@param responseChannel for the control message responses.\n@param responseStreamId for the control message responses.\n@param correlationId for this request.\n@return true if successfully offered otherwise false.", "docstring_tokens": ["Try", "Connect", "to", "an", "archive", "on", "its", "control", "interface", "providing", "the", "response", "stream", "details", ".", "Only", "one", "attempt", "will", "be", "made", "to", "offer", "the", "request", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-archive/src/main/java/io/aeron/archive/client/ArchiveProxy.java#L149-L161", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-archive/src/main/java/io/aeron/archive/client/ArchiveProxy.java", "func_name": "ArchiveProxy.closeSession", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Close this control session with the archive.\n\n@param controlSessionId with the archive.\n@return true if successfully offered otherwise false.", "docstring_tokens": ["Close", "this", "control", "session", "with", "the", "archive", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-archive/src/main/java/io/aeron/archive/client/ArchiveProxy.java#L194-L201", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-archive/src/main/java/io/aeron/archive/client/ArchiveProxy.java", "func_name": "ArchiveProxy.startRecording", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Start recording streams for a given channel and stream id pairing.\n\n@param channel to be recorded.\n@param streamId to be recorded.\n@param sourceLocation of the publication to be recorded.\n@param correlationId for this request.\n@param controlSessionId for this request.\n@return true if successfully offered otherwise false.", "docstring_tokens": ["Start", "recording", "streams", "for", "a", "given", "channel", "and", "stream", "id", "pairing", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-archive/src/main/java/io/aeron/archive/client/ArchiveProxy.java#L213-L229", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-archive/src/main/java/io/aeron/archive/client/ArchiveProxy.java", "func_name": "ArchiveProxy.stopRecording", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Stop an active recording.\n\n@param channel to be stopped.\n@param streamId to be stopped.\n@param correlationId for this request.\n@param controlSessionId for this request.\n@return true if successfully offered otherwise false.", "docstring_tokens": ["Stop", "an", "active", "recording", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-archive/src/main/java/io/aeron/archive/client/ArchiveProxy.java#L240-L254", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-archive/src/main/java/io/aeron/archive/client/ArchiveProxy.java", "func_name": "ArchiveProxy.replay", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Replay a recording from a given position.\n\n@param recordingId to be replayed.\n@param position from which the replay should be started.\n@param length of the stream to be replayed. Use {@link Long#MAX_VALUE} to follow a live stream.\n@param replayChannel to which the replay should be sent.\n@param replayStreamId to which the replay should be sent.\n@param correlationId for this request.\n@param controlSessionId for this request.\n@return true if successfully offered otherwise false.", "docstring_tokens": ["Replay", "a", "recording", "from", "a", "given", "position", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-archive/src/main/java/io/aeron/archive/client/ArchiveProxy.java#L290-L310", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-archive/src/main/java/io/aeron/archive/client/ArchiveProxy.java", "func_name": "ArchiveProxy.stopReplay", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Stop an existing replay session.\n\n@param replaySessionId that should be stopped.\n@param correlationId for this request.\n@param controlSessionId for this request.\n@return true if successfully offered otherwise false.", "docstring_tokens": ["Stop", "an", "existing", "replay", "session", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-archive/src/main/java/io/aeron/archive/client/ArchiveProxy.java#L320-L329", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-archive/src/main/java/io/aeron/archive/client/ArchiveProxy.java", "func_name": "ArchiveProxy.listRecordings", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "List a range of recording descriptors.\n\n@param fromRecordingId at which to begin listing.\n@param recordCount for the number of descriptors to be listed.\n@param correlationId for this request.\n@param controlSessionId for this request.\n@return true if successfully offered otherwise false.", "docstring_tokens": ["List", "a", "range", "of", "recording", "descriptors", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-archive/src/main/java/io/aeron/archive/client/ArchiveProxy.java#L340-L351", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-archive/src/main/java/io/aeron/archive/client/ArchiveProxy.java", "func_name": "ArchiveProxy.listRecordingsForUri", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "List a range of recording descriptors which match a channel URI fragment and stream id.\n\n@param fromRecordingId at which to begin listing.\n@param recordCount for the number of descriptors to be listed.\n@param channelFragment to match recordings on from the original channel URI in the archive descriptor.\n@param streamId to match recordings on.\n@param correlationId for this request.\n@param controlSessionId for this request.\n@return true if successfully offered otherwise false.", "docstring_tokens": ["List", "a", "range", "of", "recording", "descriptors", "which", "match", "a", "channel", "URI", "fragment", "and", "stream", "id", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-archive/src/main/java/io/aeron/archive/client/ArchiveProxy.java#L364-L382", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-archive/src/main/java/io/aeron/archive/client/ArchiveProxy.java", "func_name": "ArchiveProxy.listRecording", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "List a recording descriptor for a given recording id.\n\n@param recordingId at which to begin listing.\n@param correlationId for this request.\n@param controlSessionId for this request.\n@return true if successfully offered otherwise false.", "docstring_tokens": ["List", "a", "recording", "descriptor", "for", "a", "given", "recording", "id", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-archive/src/main/java/io/aeron/archive/client/ArchiveProxy.java#L392-L401", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-archive/src/main/java/io/aeron/archive/client/ArchiveProxy.java", "func_name": "ArchiveProxy.extendRecording", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extend an existing, non-active, recorded stream for a the same channel and stream id.\n\nThe channel must be configured for the initial position from which it will be extended. This can be done\nwith {@link ChannelUriStringBuilder#initialPosition(long, int, int)}. The details required to initialise can\nbe found by calling {@link #listRecording(long, long, long)}.\n\n@param channel to be recorded.\n@param streamId to be recorded.\n@param sourceLocation of the publication to be recorded.\n@param recordingId to be extended.\n@param correlationId for this request.\n@param controlSessionId for this request.\n@return true if successfully offered otherwise false.", "docstring_tokens": ["Extend", "an", "existing", "non", "-", "active", "recorded", "stream", "for", "a", "the", "same", "channel", "and", "stream", "id", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-archive/src/main/java/io/aeron/archive/client/ArchiveProxy.java#L418-L436", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-archive/src/main/java/io/aeron/archive/client/ArchiveProxy.java", "func_name": "ArchiveProxy.getRecordingPosition", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the recorded position of an active recording.\n\n@param recordingId of the active recording that the position is being requested for.\n@param correlationId for this request.\n@param controlSessionId for this request.\n@return true if successfully offered otherwise false.", "docstring_tokens": ["Get", "the", "recorded", "position", "of", "an", "active", "recording", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-archive/src/main/java/io/aeron/archive/client/ArchiveProxy.java#L446-L455", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-archive/src/main/java/io/aeron/archive/client/ArchiveProxy.java", "func_name": "ArchiveProxy.getStopPosition", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the stop position of a recording.\n\n@param recordingId of the recording that the stop position is being requested for.\n@param correlationId for this request.\n@param controlSessionId for this request.\n@return true if successfully offered otherwise false.", "docstring_tokens": ["Get", "the", "stop", "position", "of", "a", "recording", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-archive/src/main/java/io/aeron/archive/client/ArchiveProxy.java#L488-L497", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-archive/src/main/java/io/aeron/archive/client/ArchiveProxy.java", "func_name": "ArchiveProxy.listRecordingSubscriptions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "List registered subscriptions in the archive which have been used to record streams.\n\n@param pseudoIndex in the list of active recording subscriptions.\n@param subscriptionCount for the number of descriptors to be listed.\n@param channelFragment for a contains match on the stripped channel used with the registered subscription.\n@param streamId for the subscription.\n@param applyStreamId when matching.\n@param correlationId for this request.\n@param controlSessionId for this request.\n@return true if successfully offered otherwise false.", "docstring_tokens": ["List", "registered", "subscriptions", "in", "the", "archive", "which", "have", "been", "used", "to", "record", "streams", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-archive/src/main/java/io/aeron/archive/client/ArchiveProxy.java#L542-L562", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-driver/src/main/java/io/aeron/driver/media/UdpChannel.java", "func_name": "UdpChannel.matchesTag", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Does this channel have a tag match to another channel including endpoints.\n\n@param udpChannel to match against.\n@return true if there is a match otherwise false.", "docstring_tokens": ["Does", "this", "channel", "have", "a", "tag", "match", "to", "another", "channel", "including", "endpoints", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-driver/src/main/java/io/aeron/driver/media/UdpChannel.java#L430-L446", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-driver/src/main/java/io/aeron/driver/media/UdpChannel.java", "func_name": "UdpChannel.destinationAddress", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the endpoint address from the URI.\n\n@param uri to check\n@return endpoint address for URI", "docstring_tokens": ["Get", "the", "endpoint", "address", "from", "the", "URI", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-driver/src/main/java/io/aeron/driver/media/UdpChannel.java#L454-L465", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-driver/src/main/java/io/aeron/driver/media/UdpChannel.java", "func_name": "UdpChannel.description", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Used for debugging to get a human readable description of the channel.\n\n@return a human readable description of the channel.", "docstring_tokens": ["Used", "for", "debugging", "to", "get", "a", "human", "readable", "description", "of", "the", "channel", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-driver/src/main/java/io/aeron/driver/media/UdpChannel.java#L472-L489", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-driver/src/main/java/io/aeron/driver/PublicationImage.java", "func_name": "PublicationImage.addDestination", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a destination to this image so it can merge streams.\n\n@param transportIndex from which packets will arrive.\n@param transport from which packets will arrive.", "docstring_tokens": ["Add", "a", "destination", "to", "this", "image", "so", "it", "can", "merge", "streams", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-driver/src/main/java/io/aeron/driver/PublicationImage.java#L420-L434", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-driver/src/main/java/io/aeron/driver/PublicationImage.java", "func_name": "PublicationImage.insertPacket", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Insert frame into term buffer.\n\n@param termId for the data packet to insert into the appropriate term.\n@param termOffset for the start of the packet in the term.\n@param buffer for the data packet to insert into the appropriate term.\n@param length of the data packet\n@param transportIndex which the packet came from.\n@param srcAddress which the packet came from.\n@return number of bytes applied as a result of this insertion.", "docstring_tokens": ["Insert", "frame", "into", "term", "buffer", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-driver/src/main/java/io/aeron/driver/PublicationImage.java#L538-L575", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-cluster/src/main/java/io/aeron/cluster/ClusterControl.java", "func_name": "ClusterControl.findControlToggle", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find the control toggle counter or return null if not found.\n\n@param counters to search for the control toggle.\n@return the control toggle counter or return null if not found.", "docstring_tokens": ["Find", "the", "control", "toggle", "counter", "or", "return", "null", "if", "not", "found", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-cluster/src/main/java/io/aeron/cluster/ClusterControl.java#L205-L221", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/ChannelUri.java", "func_name": "ChannelUri.put", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Put a key and value pair in the map of params.\n\n@param key of the param to be put.\n@param value of the param to be put.\n@return the existing value otherwise null.", "docstring_tokens": ["Put", "a", "key", "and", "value", "pair", "in", "the", "map", "of", "params", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/ChannelUri.java#L186-L189", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/ChannelUri.java", "func_name": "ChannelUri.channelTag", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the channel tag, if it exists, that refers to an another channel.\n\n@return channel tag if it exists or null if not in this URI.\n@see CommonContext#TAGS_PARAM_NAME\n@see CommonContext#TAG_PREFIX", "docstring_tokens": ["Get", "the", "channel", "tag", "if", "it", "exists", "that", "refers", "to", "an", "another", "channel", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/ChannelUri.java#L220-L223", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/ChannelUri.java", "func_name": "ChannelUri.entityTag", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the entity tag, if it exists, that refers to an entity such as subscription or publication.\n\n@return entity tag if it exists or null if not in this URI.\n@see CommonContext#TAGS_PARAM_NAME\n@see CommonContext#TAG_PREFIX", "docstring_tokens": ["Get", "the", "entity", "tag", "if", "it", "exists", "that", "refers", "to", "an", "entity", "such", "as", "subscription", "or", "publication", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/ChannelUri.java#L232-L235", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/ChannelUri.java", "func_name": "ChannelUri.addSessionId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a sessionId to a given channel.\n\n@param channel to add sessionId to.\n@param sessionId to add to channel.\n@return new string that represents channel with sessionId added.", "docstring_tokens": ["Add", "a", "sessionId", "to", "a", "given", "channel", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/ChannelUri.java#L413-L419", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/ChannelUri.java", "func_name": "ChannelUri.getTag", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the value of the tag from a given parameter value.\n\n@param paramValue to extract the tag value from.\n@return the value of the tag or {@link #INVALID_TAG} if not tagged.\n@see CommonContext#TAGS_PARAM_NAME\n@see CommonContext#TAG_PREFIX", "docstring_tokens": ["Get", "the", "value", "of", "the", "tag", "from", "a", "given", "parameter", "value", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/ChannelUri.java#L442-L446", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/logbuffer/ExclusiveTermAppender.java", "func_name": "ExclusiveTermAppender.appendPadding", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Pad a length of the term buffer with a padding record.\n\n@param termId for the current term.\n@param termOffset in the term at which to append.\n@param header for writing the default header.\n@param length of the padding to be written.\n@return the resulting offset of the term after success otherwise {@link #FAILED}.", "docstring_tokens": ["Pad", "a", "length", "of", "the", "term", "buffer", "with", "a", "padding", "record", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/logbuffer/ExclusiveTermAppender.java#L120-L146", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-driver/src/main/java/io/aeron/driver/NetworkPublication.java", "func_name": "NetworkPublication.updatePublisherLimit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Update the publishers limit for flow control as part of the conductor duty cycle.\n\n@return 1 if the limit has been updated otherwise 0.", "docstring_tokens": ["Update", "the", "publishers", "limit", "for", "flow", "control", "as", "part", "of", "the", "conductor", "duty", "cycle", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-driver/src/main/java/io/aeron/driver/NetworkPublication.java#L503-L529", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-driver/src/main/java/io/aeron/driver/status/StreamCounter.java", "func_name": "StreamCounter.allocate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Allocate a counter for tracking a position on a stream of messages.\n\n@param tempBuffer to be used for labels and key.\n@param name of the counter for the label.\n@param typeId of the counter for classification.\n@param countersManager from which to allocated the underlying storage.\n@param registrationId to be associated with the counter.\n@param sessionId for the stream of messages.\n@param streamId for the stream of messages.\n@param channel for the stream of messages.\n@return a new {@link UnsafeBufferPosition} for tracking the stream.", "docstring_tokens": ["Allocate", "a", "counter", "for", "tracking", "a", "position", "on", "a", "stream", "of", "messages", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-driver/src/main/java/io/aeron/driver/status/StreamCounter.java#L86-L100", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-driver/src/main/java/io/aeron/driver/status/StreamCounter.java", "func_name": "StreamCounter.labelName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the label name for a counter type identifier.\n\n@param typeId of the counter.\n@return the label name as a String.", "docstring_tokens": ["Return", "the", "label", "name", "for", "a", "counter", "type", "identifier", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-driver/src/main/java/io/aeron/driver/status/StreamCounter.java#L215-L246", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/logbuffer/TermScanner.java", "func_name": "TermScanner.scanForAvailability", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Scan the term buffer for availability of new message fragments from a given offset up to a maxLength of bytes.\n\n@param termBuffer to be scanned for new message fragments.\n@param offset at which the scan should begin.\n@param maxLength in bytes of how much should be scanned.\n@return resulting status of the scan which packs the available bytes and padding into a long.", "docstring_tokens": ["Scan", "the", "term", "buffer", "for", "availability", "of", "new", "message", "fragments", "from", "a", "given", "offset", "up", "to", "a", "maxLength", "of", "bytes", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/logbuffer/TermScanner.java#L41-L75", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/ChannelUriStringBuilder.java", "func_name": "ChannelUriStringBuilder.clear", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Clear out all the values thus setting back to the initial state.\n\n@return this for a fluent API.", "docstring_tokens": ["Clear", "out", "all", "the", "values", "thus", "setting", "back", "to", "the", "initial", "state", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/ChannelUriStringBuilder.java#L64-L89", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/ChannelUriStringBuilder.java", "func_name": "ChannelUriStringBuilder.validate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Validates that the collection of set parameters are valid together.\n\n@return this for a fluent API.\n@throws IllegalStateException if the combination of params is invalid.", "docstring_tokens": ["Validates", "that", "the", "collection", "of", "set", "parameters", "are", "valid", "together", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/ChannelUriStringBuilder.java#L97-L135", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/ChannelUriStringBuilder.java", "func_name": "ChannelUriStringBuilder.prefix", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the prefix for taking an addition action such as spying on an outgoing publication with \"aeron-spy\".\n\n@param prefix to be applied to the URI before the the scheme.\n@return this for a fluent API.\n@see ChannelUri#SPY_QUALIFIER", "docstring_tokens": ["Set", "the", "prefix", "for", "taking", "an", "addition", "action", "such", "as", "spying", "on", "an", "outgoing", "publication", "with", "aeron", "-", "spy", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/ChannelUriStringBuilder.java#L144-L153", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/ChannelUriStringBuilder.java", "func_name": "ChannelUriStringBuilder.media", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the media for this channel. Valid values are \"udp\" and \"ipc\".\n\n@param media for this channel.\n@return this for a fluent API.", "docstring_tokens": ["Set", "the", "media", "for", "this", "channel", ".", "Valid", "values", "are", "udp", "and", "ipc", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/ChannelUriStringBuilder.java#L171-L185", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/ChannelUriStringBuilder.java", "func_name": "ChannelUriStringBuilder.controlMode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the control mode for multi-destination-cast. Set to \"manual\" for allowing control from the publication API.\n\n@param controlMode for taking control of MDC.\n@return this for a fluent API.\n@see Publication#addDestination(String)\n@see Publication#removeDestination(String)\n@see CommonContext#MDC_CONTROL_MODE_PARAM_NAME\n@see CommonContext#MDC_CONTROL_MODE_MANUAL\n@see CommonContext#MDC_CONTROL_MODE_DYNAMIC", "docstring_tokens": ["Set", "the", "control", "mode", "for", "multi", "-", "destination", "-", "cast", ".", "Set", "to", "manual", "for", "allowing", "control", "from", "the", "publication", "API", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/ChannelUriStringBuilder.java#L281-L292", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/ChannelUriStringBuilder.java", "func_name": "ChannelUriStringBuilder.termLength", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the length of buffer used for each term of the log. Valid values are powers of 2 in the 64K - 1G range.\n\n@param termLength of the buffer used for each term of the log.\n@return this for a fluent API.\n@see CommonContext#TERM_LENGTH_PARAM_NAME", "docstring_tokens": ["Set", "the", "length", "of", "buffer", "used", "for", "each", "term", "of", "the", "log", ".", "Valid", "values", "are", "powers", "of", "2", "in", "the", "64K", "-", "1G", "range", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/ChannelUriStringBuilder.java#L407-L416", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/ChannelUriStringBuilder.java", "func_name": "ChannelUriStringBuilder.termOffset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the offset within a term at which a publication will start. This when combined with the term id can establish\na starting position.\n\n@param termOffset within a term at which a publication will start.\n@return this for a fluent API.\n@see CommonContext#TERM_OFFSET_PARAM_NAME", "docstring_tokens": ["Set", "the", "offset", "within", "a", "term", "at", "which", "a", "publication", "will", "start", ".", "This", "when", "combined", "with", "the", "term", "id", "can", "establish", "a", "starting", "position", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/ChannelUriStringBuilder.java#L486-L503", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/ChannelUriStringBuilder.java", "func_name": "ChannelUriStringBuilder.linger", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the time a network publication will linger in nanoseconds after being drained. This time is so that tail loss\ncan be recovered.\n\n@param lingerNs time for the publication after it is drained.\n@return this for a fluent API.\n@see CommonContext#LINGER_PARAM_NAME", "docstring_tokens": ["Set", "the", "time", "a", "network", "publication", "will", "linger", "in", "nanoseconds", "after", "being", "drained", ".", "This", "time", "is", "so", "that", "tail", "loss", "can", "be", "recovered", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/ChannelUriStringBuilder.java#L548-L557", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-driver/src/main/java/io/aeron/driver/media/UdpChannelTransport.java", "func_name": "UdpChannelTransport.openDatagramChannel", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create the underlying channel for reading and writing.\n\n@param statusIndicator to set for error status", "docstring_tokens": ["Create", "the", "underlying", "channel", "for", "reading", "and", "writing", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-driver/src/main/java/io/aeron/driver/media/UdpChannelTransport.java#L90-L164", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-driver/src/main/java/io/aeron/driver/media/UdpChannelTransport.java", "func_name": "UdpChannelTransport.close", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Close transport, canceling any pending read operations and closing channel", "docstring_tokens": ["Close", "transport", "canceling", "any", "pending", "read", "operations", "and", "closing", "channel"], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-driver/src/main/java/io/aeron/driver/media/UdpChannelTransport.java#L210-L248", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-driver/src/main/java/io/aeron/driver/media/UdpChannelTransport.java", "func_name": "UdpChannelTransport.isValidFrame", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Is the received frame valid. This method will do some basic checks on the header and can be\noverridden in a subclass for further validation.\n\n@param buffer containing the frame.\n@param length of the frame.\n@return true if the frame is believed valid otherwise false.", "docstring_tokens": ["Is", "the", "received", "frame", "valid", ".", "This", "method", "will", "do", "some", "basic", "checks", "on", "the", "header", "and", "can", "be", "overridden", "in", "a", "subclass", "for", "further", "validation", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-driver/src/main/java/io/aeron/driver/media/UdpChannelTransport.java#L268-L284", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-driver/src/main/java/io/aeron/driver/media/UdpChannelTransport.java", "func_name": "UdpChannelTransport.receive", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Receive a datagram from the media layer.\n\n@param buffer into which the datagram will be received.\n@return the source address of the datagram if one is available otherwise false.", "docstring_tokens": ["Receive", "a", "datagram", "from", "the", "media", "layer", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-driver/src/main/java/io/aeron/driver/media/UdpChannelTransport.java#L302-L323", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-driver/src/main/java/io/aeron/driver/RetransmitHandler.java", "func_name": "RetransmitHandler.onNak", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Called on reception of a NAK to start retransmits handling.\n\n@param termId from the NAK and the term id of the buffer to retransmit from\n@param termOffset from the NAK and the offset of the data to retransmit\n@param length of the missing data\n@param termLength of the term buffer.\n@param retransmitSender to call if an immediate retransmit is required", "docstring_tokens": ["Called", "on", "reception", "of", "a", "NAK", "to", "start", "retransmits", "handling", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-driver/src/main/java/io/aeron/driver/RetransmitHandler.java#L76-L107", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-driver/src/main/java/io/aeron/driver/RetransmitHandler.java", "func_name": "RetransmitHandler.processTimeouts", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Called to process any outstanding timeouts.\n\n@param nowNs time in nanoseconds\n@param retransmitSender to call on retransmissions", "docstring_tokens": ["Called", "to", "process", "any", "outstanding", "timeouts", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-driver/src/main/java/io/aeron/driver/RetransmitHandler.java#L135-L153", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/status/ChannelEndpointStatus.java", "func_name": "ChannelEndpointStatus.status", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "String representation of the channel status.\n\n@param status to be converted.\n@return representation of the channel status.", "docstring_tokens": ["String", "representation", "of", "the", "channel", "status", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/status/ChannelEndpointStatus.java#L68-L91", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/status/ChannelEndpointStatus.java", "func_name": "ChannelEndpointStatus.allocate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Allocate an indicator for tracking the status of a channel endpoint.\n\n@param tempBuffer to be used for labels and metadata.\n@param name of the counter for the label.\n@param typeId of the counter for classification.\n@param countersManager from which to allocated the underlying storage.\n@param channel for the stream of messages.\n@return a new {@link AtomicCounter} for tracking the status.", "docstring_tokens": ["Allocate", "an", "indicator", "for", "tracking", "the", "status", "of", "a", "channel", "endpoint", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/status/ChannelEndpointStatus.java#L108-L126", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/DirectBufferVector.java", "func_name": "DirectBufferVector.reset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reset the values.\n\n@param buffer which is the super set.\n@param offset at which the vector begins.\n@param length of the vector.\n@return this for a fluent API.", "docstring_tokens": ["Reset", "the", "values", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/DirectBufferVector.java#L60-L67", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/DirectBufferVector.java", "func_name": "DirectBufferVector.validate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Ensure the vector is valid for the buffer.\n\n@throws NullPointerException if the buffer is null.\n@throws IllegalArgumentException if the offset is out of range for the buffer.\n@throws IllegalArgumentException if the length is out of range for the buffer.\n@return this for a fluent API.", "docstring_tokens": ["Ensure", "the", "vector", "is", "valid", "for", "the", "buffer", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/DirectBufferVector.java#L143-L157", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/DirectBufferVector.java", "func_name": "DirectBufferVector.validateAndComputeLength", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Validate an array of vectors to make up a message and compute the total length.\n\n@param vectors to be validated summed.\n@return the sum of the vector lengths.", "docstring_tokens": ["Validate", "an", "array", "of", "vectors", "to", "make", "up", "a", "message", "and", "compute", "the", "total", "length", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/DirectBufferVector.java#L174-L189", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-driver/src/main/java/io/aeron/driver/Configuration.java", "func_name": "Configuration.producerWindowLength", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "How far ahead a producer can get from a consumer position.\n\n@param termBufferLength for when default is not set and considering an appropriate minimum.\n@param defaultTermWindowLength to take priority.\n@return the length to be used for the producer window.", "docstring_tokens": ["How", "far", "ahead", "a", "producer", "can", "get", "from", "a", "consumer", "position", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-driver/src/main/java/io/aeron/driver/Configuration.java#L740-L750", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-driver/src/main/java/io/aeron/driver/Configuration.java", "func_name": "Configuration.validateSocketBufferLengths", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Validate that the socket buffer lengths are sufficient for the media driver configuration.\n\n@param ctx to be validated.", "docstring_tokens": ["Validate", "that", "the", "socket", "buffer", "lengths", "are", "sufficient", "for", "the", "media", "driver", "configuration", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-driver/src/main/java/io/aeron/driver/Configuration.java#L1168-L1220", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-driver/src/main/java/io/aeron/driver/Configuration.java", "func_name": "Configuration.validatePageSize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Validate that page size is valid and alignment is valid.\n\n@param pageSize to be checked.\n@throws ConfigurationException if the size is not as expected.", "docstring_tokens": ["Validate", "that", "page", "size", "is", "valid", "and", "alignment", "is", "valid", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-driver/src/main/java/io/aeron/driver/Configuration.java#L1228-L1246", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-driver/src/main/java/io/aeron/driver/Configuration.java", "func_name": "Configuration.validateSessionIdRange", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Validate the range of session ids based on a high and low value provided which accounts for the values wrapping.\n\n@param low value in the range.\n@param high value in the range.\n@throws ConfigurationException if the values are not valid.", "docstring_tokens": ["Validate", "the", "range", "of", "session", "ids", "based", "on", "a", "high", "and", "low", "value", "provided", "which", "accounts", "for", "the", "values", "wrapping", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-driver/src/main/java/io/aeron/driver/Configuration.java#L1255-L1266", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-driver/src/main/java/io/aeron/driver/Configuration.java", "func_name": "Configuration.validateUnblockTimeout", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Validate that the timeouts for unblocking publications from a client are valid.\n\n@param publicationUnblockTimeoutNs after which an uncommitted publication will be unblocked.\n@param clientLivenessTimeoutNs after which a client will be considered not alive.\n@param timerIntervalNs interval at which the driver will check timeouts.\n@throws ConfigurationException if the values are not valid.", "docstring_tokens": ["Validate", "that", "the", "timeouts", "for", "unblocking", "publications", "from", "a", "client", "are", "valid", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-driver/src/main/java/io/aeron/driver/Configuration.java#L1288-L1304", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/command/ErrorResponseFlyweight.java", "func_name": "ErrorResponseFlyweight.errorCode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the error code for the command.\n\n@param code for the error\n@return flyweight", "docstring_tokens": ["Set", "the", "error", "code", "for", "the", "command", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/command/ErrorResponseFlyweight.java#L111-L115", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-cluster/src/main/java/io/aeron/cluster/ClusterMember.java", "func_name": "ClusterMember.reset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reset the state of a cluster member so it can be canvassed and reestablished.", "docstring_tokens": ["Reset", "the", "state", "of", "a", "cluster", "member", "so", "it", "can", "be", "canvassed", "and", "reestablished", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-cluster/src/main/java/io/aeron/cluster/ClusterMember.java#L90-L100", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-cluster/src/main/java/io/aeron/cluster/ClusterMember.java", "func_name": "ClusterMember.encodeAsString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Encode member details from a cluster members array to a string.\n\n@param clusterMembers to fill the details from\n@return String representation suitable for use with {@link ClusterMember#parse}", "docstring_tokens": ["Encode", "member", "details", "from", "a", "cluster", "members", "array", "to", "a", "string", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-cluster/src/main/java/io/aeron/cluster/ClusterMember.java#L566-L586", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-cluster/src/main/java/io/aeron/cluster/ClusterMember.java", "func_name": "ClusterMember.addMemberStatusPublications", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add the publications for sending status messages to the other members of the cluster.\n\n@param members of the cluster.\n@param exclude this member when adding publications.\n@param channelUri for the publication.\n@param streamId for the publication.\n@param aeron to add the publications to.", "docstring_tokens": ["Add", "the", "publications", "for", "sending", "status", "messages", "to", "the", "other", "members", "of", "the", "cluster", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-cluster/src/main/java/io/aeron/cluster/ClusterMember.java#L597-L612", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-cluster/src/main/java/io/aeron/cluster/ClusterMember.java", "func_name": "ClusterMember.closeMemberPublications", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Close the publications associated with members of the cluster.\n\n@param clusterMembers to close the publications for.", "docstring_tokens": ["Close", "the", "publications", "associated", "with", "members", "of", "the", "cluster", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-cluster/src/main/java/io/aeron/cluster/ClusterMember.java#L619-L625", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-cluster/src/main/java/io/aeron/cluster/ClusterMember.java", "func_name": "ClusterMember.hasActiveQuorum", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if the cluster leader has an active quorum of cluster followers.\n\n@param clusterMembers for the current cluster.\n@param nowMs for the current time.\n@param timeoutMs after which a follower is not considered active.\n@return true if quorum of cluster members are considered active.", "docstring_tokens": ["Check", "if", "the", "cluster", "leader", "has", "an", "active", "quorum", "of", "cluster", "followers", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-cluster/src/main/java/io/aeron/cluster/ClusterMember.java#L665-L682", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-cluster/src/main/java/io/aeron/cluster/ClusterMember.java", "func_name": "ClusterMember.quorumPosition", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculate the position reached by a quorum of cluster members.\n\n@param members of the cluster.\n@param rankedPositions temp array to be used for sorting the positions to avoid allocation.\n@return the position reached by a quorum of cluster members.", "docstring_tokens": ["Calculate", "the", "position", "reached", "by", "a", "quorum", "of", "cluster", "members", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-cluster/src/main/java/io/aeron/cluster/ClusterMember.java#L702-L727", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-cluster/src/main/java/io/aeron/cluster/ClusterMember.java", "func_name": "ClusterMember.resetLogPositions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reset the log position of all the members to the provided value.\n\n@param clusterMembers to be reset.\n@param logPosition to set for them all.", "docstring_tokens": ["Reset", "the", "log", "position", "of", "all", "the", "members", "to", "the", "provided", "value", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-cluster/src/main/java/io/aeron/cluster/ClusterMember.java#L735-L741", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-cluster/src/main/java/io/aeron/cluster/ClusterMember.java", "func_name": "ClusterMember.haveVotersReachedPosition", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Has the members of the cluster the voted reached the provided position in their log.\n\n@param clusterMembers to check.\n@param position to compare the {@link #logPosition()} against.\n@param leadershipTermId expected of the members.\n@return true if all members have reached this position otherwise false.", "docstring_tokens": ["Has", "the", "members", "of", "the", "cluster", "the", "voted", "reached", "the", "provided", "position", "in", "their", "log", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-cluster/src/main/java/io/aeron/cluster/ClusterMember.java#L751-L763", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-cluster/src/main/java/io/aeron/cluster/ClusterMember.java", "func_name": "ClusterMember.hasWonVoteOnFullCount", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Has the candidate got unanimous support of the cluster?\n\n@param members to check for votes.\n@param candidateTermId for the vote.\n@return false if any member has not voted for the candidate.", "docstring_tokens": ["Has", "the", "candidate", "got", "unanimous", "support", "of", "the", "cluster?"], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-cluster/src/main/java/io/aeron/cluster/ClusterMember.java#L812-L827", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-cluster/src/main/java/io/aeron/cluster/ClusterMember.java", "func_name": "ClusterMember.hasMajorityVote", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Has sufficient votes being counted for a majority?\n\n@param clusterMembers to check for votes.\n@param candidateTermId for the vote.\n@return true if a majority of positive votes.", "docstring_tokens": ["Has", "sufficient", "votes", "being", "counted", "for", "a", "majority?"], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-cluster/src/main/java/io/aeron/cluster/ClusterMember.java#L862-L874", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-cluster/src/main/java/io/aeron/cluster/ClusterMember.java", "func_name": "ClusterMember.determineMember", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determine which member of a cluster this is and check endpoints.\n\n@param clusterMembers for the current cluster which can be null.\n@param memberId for this member.\n@param memberEndpoints for this member.\n@return the {@link ClusterMember} determined.", "docstring_tokens": ["Determine", "which", "member", "of", "a", "cluster", "this", "is", "and", "check", "endpoints", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-cluster/src/main/java/io/aeron/cluster/ClusterMember.java#L884-L907", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-cluster/src/main/java/io/aeron/cluster/ClusterMember.java", "func_name": "ClusterMember.validateMemberEndpoints", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check the member with the memberEndpoints\n\n@param member to check memberEndpoints against\n@param memberEndpoints to check member against\n@see ConsensusModule.Context#memberEndpoints()\n@see ConsensusModule.Context#clusterMembers()", "docstring_tokens": ["Check", "the", "member", "with", "the", "memberEndpoints"], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-cluster/src/main/java/io/aeron/cluster/ClusterMember.java#L917-L926", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-cluster/src/main/java/io/aeron/cluster/ClusterMember.java", "func_name": "ClusterMember.areSameEndpoints", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Are two cluster members using the same endpoints?\n\n@param lhs to check\n@param rhs to check\n@return true if both are using the same endpoints or false if not.", "docstring_tokens": ["Are", "two", "cluster", "members", "using", "the", "same", "endpoints?"], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-cluster/src/main/java/io/aeron/cluster/ClusterMember.java#L935-L942", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-cluster/src/main/java/io/aeron/cluster/ClusterMember.java", "func_name": "ClusterMember.isUnanimousCandidate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Has the member achieved a unanimous view to be a suitable candidate in an election.\n\n@param clusterMembers to compare the candidate against.\n@param candidate for leadership.\n@return true if the candidate is suitable otherwise false.", "docstring_tokens": ["Has", "the", "member", "achieved", "a", "unanimous", "view", "to", "be", "a", "suitable", "candidate", "in", "an", "election", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-cluster/src/main/java/io/aeron/cluster/ClusterMember.java#L951-L962", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-cluster/src/main/java/io/aeron/cluster/ClusterMember.java", "func_name": "ClusterMember.isQuorumCandidate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Has the member achieved a quorum view to be a suitable candidate in an election.\n\n@param clusterMembers to compare the candidate against.\n@param candidate for leadership.\n@return true if the candidate is suitable otherwise false.", "docstring_tokens": ["Has", "the", "member", "achieved", "a", "quorum", "view", "to", "be", "a", "suitable", "candidate", "in", "an", "election", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-cluster/src/main/java/io/aeron/cluster/ClusterMember.java#L971-L985", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-cluster/src/main/java/io/aeron/cluster/ClusterMember.java", "func_name": "ClusterMember.isNotDuplicateEndpoints", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Is the string of member endpoints not duplicated in the members.\n\n@param members to check if the provided endpoints have a duplicate.\n@param memberEndpoints to check for duplicates.\n@return true if no duplicate is found otherwise false.", "docstring_tokens": ["Is", "the", "string", "of", "member", "endpoints", "not", "duplicated", "in", "the", "members", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-cluster/src/main/java/io/aeron/cluster/ClusterMember.java#L1045-L1056", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-cluster/src/main/java/io/aeron/cluster/ClusterMember.java", "func_name": "ClusterMember.findMemberIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find the index at which a member id is present.\n\n@param clusterMembers to be searched.\n@param memberId to search for.\n@return the index at which the member id is found otherwise {@link ArrayUtil#UNKNOWN_INDEX}.", "docstring_tokens": ["Find", "the", "index", "at", "which", "a", "member", "id", "is", "present", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-cluster/src/main/java/io/aeron/cluster/ClusterMember.java#L1065-L1079", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-cluster/src/main/java/io/aeron/cluster/ClusterMember.java", "func_name": "ClusterMember.removeMember", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove a member from an array if found, otherwise return the array unmodified.\n\n@param oldMembers to remove a member from.\n@param memberId of the member to remove.\n@return a new array with the member removed or the existing array if not found.", "docstring_tokens": ["Remove", "a", "member", "from", "an", "array", "if", "found", "otherwise", "return", "the", "array", "unmodified", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-cluster/src/main/java/io/aeron/cluster/ClusterMember.java#L1120-L1123", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-cluster/src/main/java/io/aeron/cluster/ClusterMember.java", "func_name": "ClusterMember.highMemberId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find the highest member id in an array of members.\n\n@param clusterMembers to search for the highest id.\n@return the highest id otherwise {@link Aeron#NULL_VALUE} if empty.", "docstring_tokens": ["Find", "the", "highest", "member", "id", "in", "an", "array", "of", "members", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-cluster/src/main/java/io/aeron/cluster/ClusterMember.java#L1131-L1141", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/CommonContext.java", "func_name": "CommonContext.mapExistingCncFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Map the CnC file if it exists.\n\n@param logger for feedback\n@return a new mapping for the file if it exists otherwise null;", "docstring_tokens": ["Map", "the", "CnC", "file", "if", "it", "exists", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/CommonContext.java#L451-L466", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/CommonContext.java", "func_name": "CommonContext.isDriverActive", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Is a media driver active in the given directory?\n\n@param directory to check\n@param driverTimeoutMs for the driver liveness check.\n@param logger for feedback as liveness checked.\n@return true if a driver is active or false if not.", "docstring_tokens": ["Is", "a", "media", "driver", "active", "in", "the", "given", "directory?"], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/CommonContext.java#L476-L497", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/CommonContext.java", "func_name": "CommonContext.isDriverActive", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Is a media driver active in the current Aeron directory?\n\n@param driverTimeoutMs for the driver liveness check.\n@param logger for feedback as liveness checked.\n@return true if a driver is active or false if not.", "docstring_tokens": ["Is", "a", "media", "driver", "active", "in", "the", "current", "Aeron", "directory?"], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/CommonContext.java#L506-L517", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/CommonContext.java", "func_name": "CommonContext.isDriverActive", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Is a media driver active in the current mapped CnC buffer? If the driver is mid start then it will wait for\nup to the driverTimeoutMs by checking for the cncVersion being set.\n\n@param driverTimeoutMs for the driver liveness check.\n@param logger for feedback as liveness checked.\n@param cncByteBuffer for the existing CnC file.\n@return true if a driver is active or false if not.", "docstring_tokens": ["Is", "a", "media", "driver", "active", "in", "the", "current", "mapped", "CnC", "buffer?", "If", "the", "driver", "is", "mid", "start", "then", "it", "will", "wait", "for", "up", "to", "the", "driverTimeoutMs", "by", "checking", "for", "the", "cncVersion", "being", "set", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/CommonContext.java#L528-L566", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/CommonContext.java", "func_name": "CommonContext.requestDriverTermination", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Request a driver to run its termination hook.\n\n@param directory for the driver.\n@param tokenBuffer containing the optional token for the request.\n@param tokenOffset within the tokenBuffer at which the token begins.\n@param tokenLength of the token in the tokenBuffer.\n@return true if request was sent or false if request could not be sent.", "docstring_tokens": ["Request", "a", "driver", "to", "run", "its", "termination", "hook", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/CommonContext.java#L577-L614", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/logbuffer/FrameDescriptor.java", "func_name": "FrameDescriptor.frameLengthVolatile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the length of a frame from the header as a volatile read.\n\n@param buffer containing the frame.\n@param termOffset at which a frame begins.\n@return the value for the frame length.", "docstring_tokens": ["Get", "the", "length", "of", "a", "frame", "from", "the", "header", "as", "a", "volatile", "read", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/logbuffer/FrameDescriptor.java#L253-L263", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/logbuffer/FrameDescriptor.java", "func_name": "FrameDescriptor.frameLengthOrdered", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write the length header for a frame in a memory ordered fashion.\n\n@param buffer containing the frame.\n@param termOffset at which a frame begins.\n@param frameLength field to be set for the frame.", "docstring_tokens": ["Write", "the", "length", "header", "for", "a", "frame", "in", "a", "memory", "ordered", "fashion", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/logbuffer/FrameDescriptor.java#L272-L281", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/logbuffer/FrameDescriptor.java", "func_name": "FrameDescriptor.frameType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write the type field for a frame.\n\n@param buffer containing the frame.\n@param termOffset at which a frame begins.\n@param type type value for the frame.", "docstring_tokens": ["Write", "the", "type", "field", "for", "a", "frame", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/logbuffer/FrameDescriptor.java#L290-L293", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/logbuffer/FrameDescriptor.java", "func_name": "FrameDescriptor.frameFlags", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write the flags field for a frame.\n\n@param buffer containing the frame.\n@param termOffset at which a frame begins.\n@param flags value for the frame.", "docstring_tokens": ["Write", "the", "flags", "field", "for", "a", "frame", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/logbuffer/FrameDescriptor.java#L302-L305", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/logbuffer/FrameDescriptor.java", "func_name": "FrameDescriptor.frameTermOffset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write the term offset field for a frame.\n\n@param buffer containing the frame.\n@param termOffset at which a frame begins.", "docstring_tokens": ["Write", "the", "term", "offset", "field", "for", "a", "frame", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/logbuffer/FrameDescriptor.java#L313-L316", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/logbuffer/FrameDescriptor.java", "func_name": "FrameDescriptor.frameTermId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write the term id field for a frame.\n\n@param buffer containing the frame.\n@param termOffset at which a frame begins.\n@param termId value for the frame.", "docstring_tokens": ["Write", "the", "term", "id", "field", "for", "a", "frame", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/logbuffer/FrameDescriptor.java#L325-L328", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-archive/src/main/java/io/aeron/archive/status/RecordingPos.java", "func_name": "RecordingPos.findCounterIdByRecording", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find the active counter id for a stream based on the recording id.\n\n@param countersReader to search within.\n@param recordingId for the active recording.\n@return the counter id if found otherwise {@link CountersReader#NULL_COUNTER_ID}.", "docstring_tokens": ["Find", "the", "active", "counter", "id", "for", "a", "stream", "based", "on", "the", "recording", "id", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-archive/src/main/java/io/aeron/archive/status/RecordingPos.java#L110-L129", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-archive/src/main/java/io/aeron/archive/status/RecordingPos.java", "func_name": "RecordingPos.findCounterIdBySession", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find the active counter id for a stream based on the session id.\n\n@param countersReader to search within.\n@param sessionId for the active recording.\n@return the counter id if found otherwise {@link CountersReader#NULL_COUNTER_ID}.", "docstring_tokens": ["Find", "the", "active", "counter", "id", "for", "a", "stream", "based", "on", "the", "session", "id", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-archive/src/main/java/io/aeron/archive/status/RecordingPos.java#L138-L157", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-archive/src/main/java/io/aeron/archive/status/RecordingPos.java", "func_name": "RecordingPos.getRecordingId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the recording id for a given counter id.\n\n@param countersReader to search within.\n@param counterId for the active recording.\n@return the counter id if found otherwise {@link #NULL_RECORDING_ID}.", "docstring_tokens": ["Get", "the", "recording", "id", "for", "a", "given", "counter", "id", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-archive/src/main/java/io/aeron/archive/status/RecordingPos.java#L166-L181", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-archive/src/main/java/io/aeron/archive/status/RecordingPos.java", "func_name": "RecordingPos.isActive", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Is the recording counter still active.\n\n@param countersReader to search within.\n@param counterId to search for.\n@param recordingId to confirm it is still the same value.\n@return true if the counter is still active otherwise false.", "docstring_tokens": ["Is", "the", "recording", "counter", "still", "active", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-archive/src/main/java/io/aeron/archive/status/RecordingPos.java#L215-L229", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/protocol/StatusMessageFlyweight.java", "func_name": "StatusMessageFlyweight.applicationSpecificFeedback", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the Application Specific Feedback for the Status Message.\n\n@param source of the feedback to set\n@param offset of the feedback in the source\n@param length of the feedback in bytes\n@return flyweight", "docstring_tokens": ["Set", "the", "Application", "Specific", "Feedback", "for", "the", "Status", "Message", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/protocol/StatusMessageFlyweight.java#L292-L298", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-cluster/src/main/java/io/aeron/cluster/RecordingLog.java", "func_name": "RecordingLog.reload", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reload the log from disk.", "docstring_tokens": ["Reload", "the", "log", "from", "disk", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-cluster/src/main/java/io/aeron/cluster/RecordingLog.java#L444-L482", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-cluster/src/main/java/io/aeron/cluster/RecordingLog.java", "func_name": "RecordingLog.findLastTerm", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find the last leadership term in the recording log.\n\n@return the last leadership term in the recording log.", "docstring_tokens": ["Find", "the", "last", "leadership", "term", "in", "the", "recording", "log", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-cluster/src/main/java/io/aeron/cluster/RecordingLog.java#L508-L520", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-cluster/src/main/java/io/aeron/cluster/RecordingLog.java", "func_name": "RecordingLog.createRecoveryPlan", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a recovery plan for the cluster that when the steps are replayed will bring the cluster back to the\nlatest stable state.\n\n@param archive to lookup recording descriptors.\n@param serviceCount of services that may have snapshots.\n@return a new {@link RecoveryPlan} for the cluster.", "docstring_tokens": ["Create", "a", "recovery", "plan", "for", "the", "cluster", "that", "when", "the", "steps", "are", "replayed", "will", "bring", "the", "cluster", "back", "to", "the", "latest", "stable", "state", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-cluster/src/main/java/io/aeron/cluster/RecordingLog.java#L567-L606", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-cluster/src/main/java/io/aeron/cluster/RecordingLog.java", "func_name": "RecordingLog.createRecoveryPlan", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a recovery plan that has only snapshots. Used for dynamicJoin snapshot load.\n\n@param snapshots to construct plan from\n@return a new {@link RecoveryPlan} for the cluster", "docstring_tokens": ["Create", "a", "recovery", "plan", "that", "has", "only", "snapshots", ".", "Used", "for", "dynamicJoin", "snapshot", "load", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-cluster/src/main/java/io/aeron/cluster/RecordingLog.java#L614-L639", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-cluster/src/main/java/io/aeron/cluster/RecordingLog.java", "func_name": "RecordingLog.appendTerm", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Append a log entry for a leadership term.\n\n@param recordingId of the log.\n@param leadershipTermId for the current term.\n@param termBaseLogPosition reached at the beginning of the term.\n@param timestamp at the beginning of the term.", "docstring_tokens": ["Append", "a", "log", "entry", "for", "a", "leadership", "term", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-cluster/src/main/java/io/aeron/cluster/RecordingLog.java#L660-L685", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-cluster/src/main/java/io/aeron/cluster/RecordingLog.java", "func_name": "RecordingLog.appendSnapshot", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Append a log entry for a snapshot.\n\n@param recordingId in the archive for the snapshot.\n@param leadershipTermId for the current term\n@param termBaseLogPosition at the beginning of the leadership term.\n@param logPosition for the position in the current term or length so far for that term.\n@param timestamp at which the snapshot was taken.\n@param serviceId for which the snapshot is recorded.", "docstring_tokens": ["Append", "a", "log", "entry", "for", "a", "snapshot", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-cluster/src/main/java/io/aeron/cluster/RecordingLog.java#L697-L725", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-cluster/src/main/java/io/aeron/cluster/RecordingLog.java", "func_name": "RecordingLog.commitLogPosition", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Commit the position reached in a leadership term before a clean shutdown.\n\n@param leadershipTermId for committing the term position reached.\n@param logPosition reached in the leadership term.", "docstring_tokens": ["Commit", "the", "position", "reached", "in", "a", "leadership", "term", "before", "a", "clean", "shutdown", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-cluster/src/main/java/io/aeron/cluster/RecordingLog.java#L733-L748", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-cluster/src/main/java/io/aeron/cluster/RecordingLog.java", "func_name": "RecordingLog.tombstoneEntry", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Tombstone an entry in the log so it is no longer valid.\n\n@param leadershipTermId to match for validation.\n@param entryIndex reached in the leadership term.", "docstring_tokens": ["Tombstone", "an", "entry", "in", "the", "log", "so", "it", "is", "no", "longer", "valid", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-cluster/src/main/java/io/aeron/cluster/RecordingLog.java#L756-L795", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-cluster/src/main/java/io/aeron/cluster/client/AeronCluster.java", "func_name": "AeronCluster.close", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Close session and release associated resources.", "docstring_tokens": ["Close", "session", "and", "release", "associated", "resources", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-cluster/src/main/java/io/aeron/cluster/client/AeronCluster.java#L224-L238", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-cluster/src/main/java/io/aeron/cluster/client/AeronCluster.java", "func_name": "AeronCluster.offer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Non-blocking publish by gathering buffer vectors into a message. The first vector will be replaced by the cluster\ningress header so must be left unused.\n\n@param vectors which make up the message.\n@return the same as {@link Publication#offer(DirectBufferVector[])}.\n@see Publication#offer(DirectBufferVector[])", "docstring_tokens": ["Non", "-", "blocking", "publish", "by", "gathering", "buffer", "vectors", "into", "a", "message", ".", "The", "first", "vector", "will", "be", "replaced", "by", "the", "cluster", "ingress", "header", "so", "must", "be", "left", "unused", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-cluster/src/main/java/io/aeron/cluster/client/AeronCluster.java#L329-L337", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/logbuffer/LogBufferUnblocker.java", "func_name": "LogBufferUnblocker.unblock", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Attempt to unblock a log buffer at given position\n\n@param termBuffers for current blockedOffset\n@param logMetaDataBuffer for log buffer\n@param blockedPosition to attempt to unblock\n@param termLength of the buffer for each term in the log\n@return whether unblocked or not", "docstring_tokens": ["Attempt", "to", "unblock", "a", "log", "buffer", "at", "given", "position"], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/logbuffer/LogBufferUnblocker.java#L36-L69", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/command/ImageMessageFlyweight.java", "func_name": "ImageMessageFlyweight.channel", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the channel field as ASCII\n\n@return channel field", "docstring_tokens": ["Get", "the", "channel", "field", "as", "ASCII"], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/command/ImageMessageFlyweight.java#L144-L150", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/command/ImageMessageFlyweight.java", "func_name": "ImageMessageFlyweight.channel", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the channel field as ASCII\n\n@param channel field value\n@return flyweight", "docstring_tokens": ["Set", "the", "channel", "field", "as", "ASCII"], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/command/ImageMessageFlyweight.java#L158-L163", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/logbuffer/LogBufferDescriptor.java", "func_name": "LogBufferDescriptor.checkTermLength", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check that term length is valid and alignment is valid.\n\n@param termLength to be checked.\n@throws IllegalStateException if the length is not as expected.", "docstring_tokens": ["Check", "that", "term", "length", "is", "valid", "and", "alignment", "is", "valid", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/logbuffer/LogBufferDescriptor.java#L220-L238", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/logbuffer/LogBufferDescriptor.java", "func_name": "LogBufferDescriptor.checkPageSize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check that page size is valid and alignment is valid.\n\n@param pageSize to be checked.\n@throws IllegalStateException if the size is not as expected.", "docstring_tokens": ["Check", "that", "page", "size", "is", "valid", "and", "alignment", "is", "valid", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/logbuffer/LogBufferDescriptor.java#L246-L264", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/logbuffer/LogBufferDescriptor.java", "func_name": "LogBufferDescriptor.casActiveTermCount", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compare and set the value of the current active term count.\n\n@param metadataBuffer containing the meta data.\n@param expectedTermCount value of the active term count expected in the log\n@param updateTermCount value of the active term count to be updated in the log\n@return true if successful otherwise false.", "docstring_tokens": ["Compare", "and", "set", "the", "value", "of", "the", "current", "active", "term", "count", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/logbuffer/LogBufferDescriptor.java#L452-L456", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/logbuffer/LogBufferDescriptor.java", "func_name": "LogBufferDescriptor.computePosition", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compute the current position in absolute number of bytes.\n\n@param activeTermId active term id.\n@param termOffset in the term.\n@param positionBitsToShift number of times to left shift the term count\n@param initialTermId the initial term id that this stream started on\n@return the absolute position in bytes", "docstring_tokens": ["Compute", "the", "current", "position", "in", "absolute", "number", "of", "bytes", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/logbuffer/LogBufferDescriptor.java#L524-L530", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/logbuffer/LogBufferDescriptor.java", "func_name": "LogBufferDescriptor.computeLogLength", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compute the total length of a log file given the term length.\n\nAssumes {@link #TERM_MAX_LENGTH} is 1GB and that filePageSize is 1GB or less and a power of 2.\n\n@param termLength on which to base the calculation.\n@param filePageSize to use for log.\n@return the total length of the log file.", "docstring_tokens": ["Compute", "the", "total", "length", "of", "a", "log", "file", "given", "the", "term", "length", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/logbuffer/LogBufferDescriptor.java#L571-L579", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/logbuffer/LogBufferDescriptor.java", "func_name": "LogBufferDescriptor.storeDefaultFrameHeader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Store the default frame header to the log meta data buffer.\n\n@param metadataBuffer into which the default headers should be stored.\n@param defaultHeader to be stored.\n@throws IllegalArgumentException if the defaultHeader larger than {@link #LOG_DEFAULT_FRAME_HEADER_MAX_LENGTH}", "docstring_tokens": ["Store", "the", "default", "frame", "header", "to", "the", "log", "meta", "data", "buffer", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/logbuffer/LogBufferDescriptor.java#L588-L598", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/logbuffer/LogBufferDescriptor.java", "func_name": "LogBufferDescriptor.applyDefaultHeader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Apply the default header for a message in a term.\n\n@param metadataBuffer containing the default headers.\n@param termBuffer to which the default header should be applied.\n@param termOffset at which the default should be applied.", "docstring_tokens": ["Apply", "the", "default", "header", "for", "a", "message", "in", "a", "term", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/logbuffer/LogBufferDescriptor.java#L618-L622", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/logbuffer/LogBufferDescriptor.java", "func_name": "LogBufferDescriptor.rotateLog", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Rotate the log and update the tail counter for the new term.\n\nThis method is safe for concurrent use.\n\n@param metadataBuffer for the log.\n@param termCount from which to rotate.\n@param termId to be used in the default headers.\n@return true if log was rotated.", "docstring_tokens": ["Rotate", "the", "log", "and", "update", "the", "tail", "counter", "for", "the", "new", "term", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/logbuffer/LogBufferDescriptor.java#L634-L653", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/logbuffer/LogBufferDescriptor.java", "func_name": "LogBufferDescriptor.initialiseTailWithTermId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the initial value for the termId in the upper bits of the tail counter.\n\n@param metadataBuffer contain the tail counter.\n@param partitionIndex to be initialised.\n@param termId to be set.", "docstring_tokens": ["Set", "the", "initial", "value", "for", "the", "termId", "in", "the", "upper", "bits", "of", "the", "tail", "counter", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/logbuffer/LogBufferDescriptor.java#L662-L666", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/logbuffer/LogBufferDescriptor.java", "func_name": "LogBufferDescriptor.termOffset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read the termOffset from a packed raw tail value.\n\n@param rawTail containing the termOffset.\n@param termLength that the offset cannot exceed.\n@return the termOffset value.", "docstring_tokens": ["Read", "the", "termOffset", "from", "a", "packed", "raw", "tail", "value", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/logbuffer/LogBufferDescriptor.java#L686-L691", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/logbuffer/LogBufferDescriptor.java", "func_name": "LogBufferDescriptor.rawTailVolatile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the raw value of the tail for the current active partition.\n\n@param metadataBuffer containing the tail counters.\n@return the raw value of the tail for the current active partition.", "docstring_tokens": ["Get", "the", "raw", "value", "of", "the", "tail", "for", "the", "current", "active", "partition", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/logbuffer/LogBufferDescriptor.java#L770-L774", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/logbuffer/LogBufferDescriptor.java", "func_name": "LogBufferDescriptor.casRawTail", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compare and set the raw value of the tail for the given partition.\n\n@param metadataBuffer containing the tail counters.\n@param partitionIndex for the tail counter.\n@param expectedRawTail expected current value.\n@param updateRawTail to be applied.\n@return true if the update was successful otherwise false.", "docstring_tokens": ["Compare", "and", "set", "the", "raw", "value", "of", "the", "tail", "for", "the", "given", "partition", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/logbuffer/LogBufferDescriptor.java#L785-L793", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/command/TerminateDriverFlyweight.java", "func_name": "TerminateDriverFlyweight.tokenBuffer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Fill the token buffer.\n\n@param tokenBuffer containing the optional token for the request.\n@param tokenOffset within the tokenBuffer at which the token begins.\n@param tokenLength of the token in the tokenBuffer.\n@return flyweight", "docstring_tokens": ["Fill", "the", "token", "buffer", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/command/TerminateDriverFlyweight.java#L73-L83", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-cluster/src/main/java/io/aeron/cluster/service/RecoveryState.java", "func_name": "RecoveryState.allocate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Allocate a counter to represent the snapshot services should load on start.\n\n@param aeron to allocate the counter.\n@param tempBuffer to use for building the key and label without allocation.\n@param leadershipTermId at which the snapshot was taken.\n@param logPosition at which the snapshot was taken.\n@param timestamp the snapshot was taken.\n@param hasReplay flag is true if all or part of the log must be replayed.\n@param snapshotRecordingIds for the services to use during recovery indexed by service id.\n@return the {@link Counter} for the recovery state.", "docstring_tokens": ["Allocate", "a", "counter", "to", "represent", "the", "snapshot", "services", "should", "load", "on", "start", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-cluster/src/main/java/io/aeron/cluster/service/RecoveryState.java#L91-L128", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-cluster/src/main/java/io/aeron/cluster/service/RecoveryState.java", "func_name": "RecoveryState.findCounterId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find the active counter id for recovery state.\n\n@param counters to search within.\n@return the counter id if found otherwise {@link CountersReader#NULL_COUNTER_ID}.", "docstring_tokens": ["Find", "the", "active", "counter", "id", "for", "recovery", "state", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-cluster/src/main/java/io/aeron/cluster/service/RecoveryState.java#L136-L154", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-cluster/src/main/java/io/aeron/cluster/service/RecoveryState.java", "func_name": "RecoveryState.hasReplay", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Has the recovery process got a log to replay?\n\n@param counters to search within.\n@param counterId for the active recovery counter.\n@return true if a replay is required.", "docstring_tokens": ["Has", "the", "recovery", "process", "got", "a", "log", "to", "replay?"], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-cluster/src/main/java/io/aeron/cluster/service/RecoveryState.java#L235-L250", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-cluster/src/main/java/io/aeron/cluster/service/RecoveryState.java", "func_name": "RecoveryState.getSnapshotRecordingId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the recording id of the snapshot for a service.\n\n@param counters to search within.\n@param counterId for the active recovery counter.\n@param serviceId for the snapshot required.\n@return the count of replay terms if found otherwise {@link Aeron#NULL_VALUE}.", "docstring_tokens": ["Get", "the", "recording", "id", "of", "the", "snapshot", "for", "a", "service", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-cluster/src/main/java/io/aeron/cluster/service/RecoveryState.java#L260-L282", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/protocol/HeaderFlyweight.java", "func_name": "HeaderFlyweight.flagsToChars", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert header flags to an array of chars to be human readable.\n\n@param flags to be converted.\n@return header flags converted to an array of chars to be human readable.", "docstring_tokens": ["Convert", "header", "flags", "to", "an", "array", "of", "chars", "to", "be", "human", "readable", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/protocol/HeaderFlyweight.java#L202-L219", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/command/PublicationMessageFlyweight.java", "func_name": "PublicationMessageFlyweight.channel", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the channel field in ASCII\n\n@param channel field value\n@return flyweight", "docstring_tokens": ["Set", "the", "channel", "field", "in", "ASCII"], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/command/PublicationMessageFlyweight.java#L85-L90", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-cluster/src/main/java/io/aeron/cluster/service/ClientSession.java", "func_name": "ClientSession.offer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Non-blocking publish of a partial buffer containing a message to a cluster.\n\n@param buffer containing message.\n@param offset offset in the buffer at which the encoded message begins.\n@param length in bytes of the encoded message.\n@return the same as {@link Publication#offer(DirectBuffer, int, int)} when in {@link Cluster.Role#LEADER}\notherwise {@link #MOCKED_OFFER}.", "docstring_tokens": ["Non", "-", "blocking", "publish", "of", "a", "partial", "buffer", "containing", "a", "message", "to", "a", "cluster", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-cluster/src/main/java/io/aeron/cluster/service/ClientSession.java#L130-L133", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/logbuffer/BufferClaim.java", "func_name": "BufferClaim.wrap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Wrap a region of an underlying log buffer so can can represent a claimed space for use by a publisher.\n\n@param buffer to be wrapped.\n@param offset at which the claimed region begins including space for the header.\n@param length length of the underlying claimed region including space for the header.", "docstring_tokens": ["Wrap", "a", "region", "of", "an", "underlying", "log", "buffer", "so", "can", "can", "represent", "a", "claimed", "space", "for", "use", "by", "a", "publisher", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/logbuffer/BufferClaim.java#L49-L52", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/logbuffer/BufferClaim.java", "func_name": "BufferClaim.commit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Commit the message to the log buffer so that is it available to subscribers.", "docstring_tokens": ["Commit", "the", "message", "to", "the", "log", "buffer", "so", "that", "is", "it", "available", "to", "subscribers", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/logbuffer/BufferClaim.java#L178-L187", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/logbuffer/BufferClaim.java", "func_name": "BufferClaim.abort", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Abort a claim of the message space to the log buffer so that the log can progress by ignoring this claim.", "docstring_tokens": ["Abort", "a", "claim", "of", "the", "message", "space", "to", "the", "log", "buffer", "so", "that", "the", "log", "can", "progress", "by", "ignoring", "this", "claim", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/logbuffer/BufferClaim.java#L192-L202", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-driver/src/main/java/io/aeron/driver/MediaDriver.java", "func_name": "MediaDriver.main", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Start Media Driver as a stand-alone process.\n\n@param args command line arguments", "docstring_tokens": ["Start", "Media", "Driver", "as", "a", "stand", "-", "alone", "process", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-driver/src/main/java/io/aeron/driver/MediaDriver.java#L81-L96", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-driver/src/main/java/io/aeron/driver/MediaDriver.java", "func_name": "MediaDriver.close", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Shutdown the media driver by stopping all threads and freeing resources.", "docstring_tokens": ["Shutdown", "the", "media", "driver", "by", "stopping", "all", "threads", "and", "freeing", "resources", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-driver/src/main/java/io/aeron/driver/MediaDriver.java#L251-L267", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/logbuffer/Header.java", "func_name": "Header.position", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the current position to which the image has advanced on reading this message.\n\n@return the current position to which the image has advanced on reading this message.", "docstring_tokens": ["Get", "the", "current", "position", "to", "which", "the", "image", "has", "advanced", "on", "reading", "this", "message", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/logbuffer/Header.java#L80-L84", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-cluster/src/main/java/io/aeron/cluster/service/ServiceHeartbeat.java", "func_name": "ServiceHeartbeat.allocate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Allocate a counter to represent the heartbeat of a clustered service.\n\n@param aeron to allocate the counter.\n@param tempBuffer to use for building the key and label without allocation.\n@param serviceId of the service heartbeat.\n@return the {@link Counter} for the commit position.", "docstring_tokens": ["Allocate", "a", "counter", "to", "represent", "the", "heartbeat", "of", "a", "clustered", "service", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-cluster/src/main/java/io/aeron/cluster/service/ServiceHeartbeat.java#L64-L78", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-cluster/src/main/java/io/aeron/cluster/service/ServiceHeartbeat.java", "func_name": "ServiceHeartbeat.findCounterId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find the active counter id for heartbeat of a given service id.\n\n@param counters to search within.\n@param serviceId to search for.\n@return the counter id if found otherwise {@link CountersReader#NULL_COUNTER_ID}.", "docstring_tokens": ["Find", "the", "active", "counter", "id", "for", "heartbeat", "of", "a", "given", "service", "id", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-cluster/src/main/java/io/aeron/cluster/service/ServiceHeartbeat.java#L87-L106", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-samples/src/main/java/io/aeron/samples/BacklogStat.java", "func_name": "BacklogStat.snapshot", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Take a snapshot of all the backlog information and group by stream.\n\n@return a snapshot of all the backlog information and group by stream.", "docstring_tokens": ["Take", "a", "snapshot", "of", "all", "the", "backlog", "information", "and", "group", "by", "stream", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-samples/src/main/java/io/aeron/samples/BacklogStat.java#L74-L132", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/status/HeartbeatStatus.java", "func_name": "HeartbeatStatus.allocate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Allocate a counter for tracking the last heartbeat of an entity.\n\n@param tempBuffer to be used for labels and key.\n@param name of the counter for the label.\n@param typeId of the counter for classification.\n@param countersManager from which to allocated the underlying storage.\n@param registrationId to be associated with the counter.\n@return a new {@link AtomicCounter} for tracking the last heartbeat.", "docstring_tokens": ["Allocate", "a", "counter", "for", "tracking", "the", "last", "heartbeat", "of", "an", "entity", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/status/HeartbeatStatus.java#L46-L57", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-client/src/main/java/io/aeron/Aeron.java", "func_name": "Context.close", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Clean up all resources that the client uses to communicate with the Media Driver.", "docstring_tokens": ["Clean", "up", "all", "resources", "that", "the", "client", "uses", "to", "communicate", "with", "the", "Media", "Driver", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-client/src/main/java/io/aeron/Aeron.java#L1042-L1048", "partition": "test"} +{"repo": "real-logic/aeron", "path": "aeron-archive/src/main/java/io/aeron/archive/client/ControlResponseAdapter.java", "func_name": "ControlResponseAdapter.dispatchDescriptor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Dispatch a descriptor message to a consumer by reading the fields in the correct order.\n\n@param decoder which wraps the encoded message ready for reading.\n@param consumer to which the decoded fields should be passed.", "docstring_tokens": ["Dispatch", "a", "descriptor", "message", "to", "a", "consumer", "by", "reading", "the", "fields", "in", "the", "correct", "order", "."], "sha": "045c32f0256d1ea35d562520216affc281a41239", "url": "https://github.com/real-logic/aeron/blob/045c32f0256d1ea35d562520216affc281a41239/aeron-archive/src/main/java/io/aeron/archive/client/ControlResponseAdapter.java#L75-L95", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-common/src/main/java/org/apache/parquet/bytes/CapacityByteArrayOutputStream.java", "func_name": "CapacityByteArrayOutputStream.addSlab", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "the new slab is guaranteed to be at least minimumSize\n@param minimumSize the size of the data we want to copy in the new slab", "docstring_tokens": ["the", "new", "slab", "is", "guaranteed", "to", "be", "at", "least", "minimumSize"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-common/src/main/java/org/apache/parquet/bytes/CapacityByteArrayOutputStream.java#L164-L188", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-common/src/main/java/org/apache/parquet/bytes/CapacityByteArrayOutputStream.java", "func_name": "CapacityByteArrayOutputStream.setByte", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Replace the byte stored at position index in this stream with value\n\n@param index which byte to replace\n@param value the value to replace it with", "docstring_tokens": ["Replace", "the", "byte", "stored", "at", "position", "index", "in", "this", "stream", "with", "value"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-common/src/main/java/org/apache/parquet/bytes/CapacityByteArrayOutputStream.java#L302-L315", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-column/src/main/java/org/apache/parquet/internal/column/columnindex/ColumnIndexBuilder.java", "func_name": "ColumnIndexBuilder.add", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds the data from the specified statistics to this builder\n\n@param stats\nthe statistics to be added", "docstring_tokens": ["Adds", "the", "data", "from", "the", "specified", "statistics", "to", "this", "builder"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-column/src/main/java/org/apache/parquet/internal/column/columnindex/ColumnIndexBuilder.java#L485-L499", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-column/src/main/java/org/apache/parquet/internal/filter2/columnindex/ColumnIndexFilter.java", "func_name": "ColumnIndexFilter.calculateRowRanges", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculates the row ranges containing the indexes of the rows might match the specified filter.\n\n@param filter\nto be used for filtering the rows\n@param columnIndexStore\nthe store for providing column/offset indexes\n@param paths\nthe paths of the columns used in the actual projection; a column not being part of the projection will be\nhandled as containing {@code null} values only even if the column has values written in the file\n@param rowCount\nthe total number of rows in the row-group\n@return the ranges of the possible matching row indexes; the returned ranges will contain all the rows if any of\nthe required offset index is missing", "docstring_tokens": ["Calculates", "the", "row", "ranges", "containing", "the", "indexes", "of", "the", "rows", "might", "match", "the", "specified", "filter", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-column/src/main/java/org/apache/parquet/internal/filter2/columnindex/ColumnIndexFilter.java#L79-L103", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-hive/parquet-hive-storage-handler/src/main/java/org/apache/hadoop/hive/ql/io/parquet/convert/HiveSchemaConverter.java", "func_name": "HiveSchemaConverter.convertArrayType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "1 anonymous element \"array_element\"", "docstring_tokens": ["1", "anonymous", "element", "array_element"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-hive/parquet-hive-storage-handler/src/main/java/org/apache/hadoop/hive/ql/io/parquet/convert/HiveSchemaConverter.java#L109-L113", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-hive/parquet-hive-storage-handler/src/main/java/org/apache/hadoop/hive/ql/io/parquet/convert/HiveSchemaConverter.java", "func_name": "HiveSchemaConverter.convertStructType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "An optional group containing multiple elements", "docstring_tokens": ["An", "optional", "group", "containing", "multiple", "elements"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-hive/parquet-hive-storage-handler/src/main/java/org/apache/hadoop/hive/ql/io/parquet/convert/HiveSchemaConverter.java#L116-L121", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-common/src/main/java/org/apache/parquet/glob/GlobParser.java", "func_name": "GlobParser.annotateMessage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "for pretty printing which character had the error", "docstring_tokens": ["for", "pretty", "printing", "which", "character", "had", "the", "error"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-common/src/main/java/org/apache/parquet/glob/GlobParser.java#L202-L210", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-column/src/main/java/org/apache/parquet/column/values/rle/RunLengthBitPackingHybridEncoder.java", "func_name": "RunLengthBitPackingHybridEncoder.endPreviousBitPackedRun", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If we are currently writing a bit-packed-run, update the\nbit-packed-header and consider this run to be over\n\ndoes nothing if we're not currently writing a bit-packed run", "docstring_tokens": ["If", "we", "are", "currently", "writing", "a", "bit", "-", "packed", "-", "run", "update", "the", "bit", "-", "packed", "-", "header", "and", "consider", "this", "run", "to", "be", "over"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-column/src/main/java/org/apache/parquet/column/values/rle/RunLengthBitPackingHybridEncoder.java#L216-L233", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-thrift/src/main/java/org/apache/parquet/thrift/ProtocolReadToWrite.java", "func_name": "ProtocolReadToWrite.readOne", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "reads one record from in and writes it to out\nexceptions are not recoverable as record might be halfway written\n@param in input protocol\n@param out output protocol\n@throws TException if there is an error while reading or writing", "docstring_tokens": ["reads", "one", "record", "from", "in", "and", "writes", "it", "to", "out", "exceptions", "are", "not", "recoverable", "as", "record", "might", "be", "halfway", "written"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-thrift/src/main/java/org/apache/parquet/thrift/ProtocolReadToWrite.java#L42-L45", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileReader.java", "func_name": "ParquetFileReader.readFooters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "this always returns the row groups\n@param configuration a configuration\n@param pathStatus a file status to read footers from\n@return a list of footers\n@throws IOException if an exception is thrown while reading the footers\n@deprecated will be removed in 2.0.0;\nuse {@link ParquetFileReader#open(InputFile, ParquetReadOptions)}", "docstring_tokens": ["this", "always", "returns", "the", "row", "groups"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileReader.java#L345-L348", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileReader.java", "func_name": "ParquetFileReader.readSummaryFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Specifically reads a given summary file\n@param configuration a configuration\n@param summaryStatus file status for a summary file\n@return the metadata translated for each file\n@throws IOException if an exception is thrown while reading the summary file\n@deprecated metadata files are not recommended and will be removed in 2.0.0", "docstring_tokens": ["Specifically", "reads", "a", "given", "summary", "file"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileReader.java#L389-L394", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileReader.java", "func_name": "ParquetFileReader.readFooter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads the meta data block in the footer of the file using provided input stream\n@param file a {@link InputFile} to read\n@param filter the filter to apply to row groups\n@return the metadata blocks in the footer\n@throws IOException if an error occurs while reading the file\n@deprecated will be removed in 2.0.0;\nuse {@link ParquetFileReader#open(InputFile, ParquetReadOptions)}", "docstring_tokens": ["Reads", "the", "meta", "data", "block", "in", "the", "footer", "of", "the", "file", "using", "provided", "input", "stream"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileReader.java#L498-L511", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileReader.java", "func_name": "ParquetFileReader.readNextRowGroup", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads all the columns requested from the row group at the current file position.\n@throws IOException if an error occurs while reading\n@return the PageReadStore which can provide PageReaders for each column.", "docstring_tokens": ["Reads", "all", "the", "columns", "requested", "from", "the", "row", "group", "at", "the", "current", "file", "position", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileReader.java#L817-L860", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileReader.java", "func_name": "ParquetFileReader.readNextFilteredRowGroup", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads all the columns requested from the row group at the current file position. It may skip specific pages based\non the column indexes according to the actual filter. As the rows are not aligned among the pages of the different\ncolumns row synchronization might be required. See the documentation of the class SynchronizingColumnReader for\ndetails.\n\n@return the PageReadStore which can provide PageReaders for each column\n@throws IOException\nif any I/O error occurs while reading", "docstring_tokens": ["Reads", "all", "the", "columns", "requested", "from", "the", "row", "group", "at", "the", "current", "file", "position", ".", "It", "may", "skip", "specific", "pages", "based", "on", "the", "column", "indexes", "according", "to", "the", "actual", "filter", ".", "As", "the", "rows", "are", "not", "aligned", "among", "the", "pages", "of", "the", "different", "columns", "row", "synchronization", "might", "be", "required", ".", "See", "the", "documentation", "of", "the", "class", "SynchronizingColumnReader", "for", "details", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileReader.java#L872-L940", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileReader.java", "func_name": "ParquetFileReader.readDictionary", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads and decompresses a dictionary page for the given column chunk.\n\nReturns null if the given column chunk has no dictionary page.\n\n@param meta a column's ColumnChunkMetaData to read the dictionary from\n@return an uncompressed DictionaryPage or null\n@throws IOException if there is an error while reading the dictionary", "docstring_tokens": ["Reads", "and", "decompresses", "a", "dictionary", "page", "for", "the", "given", "column", "chunk", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileReader.java#L1004-L1027", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-hadoop/src/main/java/org/apache/parquet/hadoop/MemoryManager.java", "func_name": "MemoryManager.addWriter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a new writer and its memory allocation to the memory manager.\n@param writer the new created writer\n@param allocation the requested buffer size", "docstring_tokens": ["Add", "a", "new", "writer", "and", "its", "memory", "allocation", "to", "the", "memory", "manager", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/MemoryManager.java#L78-L88", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-hadoop/src/main/java/org/apache/parquet/hadoop/MemoryManager.java", "func_name": "MemoryManager.removeWriter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove the given writer from the memory manager.\n@param writer the writer that has been closed", "docstring_tokens": ["Remove", "the", "given", "writer", "from", "the", "memory", "manager", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/MemoryManager.java#L94-L101", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-hadoop/src/main/java/org/apache/parquet/hadoop/MemoryManager.java", "func_name": "MemoryManager.updateAllocation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Update the allocated size of each writer based on the current allocations and pool size.", "docstring_tokens": ["Update", "the", "allocated", "size", "of", "each", "writer", "based", "on", "the", "current", "allocations", "and", "pool", "size", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/MemoryManager.java#L106-L141", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-hadoop/src/main/java/org/apache/parquet/hadoop/MemoryManager.java", "func_name": "MemoryManager.registerScaleCallBack", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Register callback and deduplicate it if any.\n@param callBackName the name of callback. It should be identical.\n@param callBack the callback passed in from upper layer, such as Hive.", "docstring_tokens": ["Register", "callback", "and", "deduplicate", "it", "if", "any", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/MemoryManager.java#L172-L182", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileWriter.java", "func_name": "ParquetFileWriter.start", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "start the file\n@throws IOException if there is an error while writing", "docstring_tokens": ["start", "the", "file"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileWriter.java#L319-L323", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileWriter.java", "func_name": "ParquetFileWriter.startBlock", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "start a block\n@param recordCount the record count in this block\n@throws IOException if there is an error while writing", "docstring_tokens": ["start", "a", "block"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileWriter.java#L330-L342", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileWriter.java", "func_name": "ParquetFileWriter.startColumn", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "start a column inside a block\n@param descriptor the column descriptor\n@param valueCount the value count in this column\n@param compressionCodecName a compression codec name\n@throws IOException if there is an error while writing", "docstring_tokens": ["start", "a", "column", "inside", "a", "block"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileWriter.java#L351-L370", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileWriter.java", "func_name": "ParquetFileWriter.writeDictionaryPage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "writes a dictionary page page\n@param dictionaryPage the dictionary page\n@throws IOException if there is an error while writing", "docstring_tokens": ["writes", "a", "dictionary", "page", "page"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileWriter.java#L377-L396", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileWriter.java", "func_name": "ParquetFileWriter.writeDataPage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes a single page\n@param valueCount count of values\n@param uncompressedPageSize the size of the data once uncompressed\n@param bytes the compressed data for the page without header\n@param statistics the statistics of the page\n@param rowCount the number of rows in the page\n@param rlEncoding encoding of the repetition level\n@param dlEncoding encoding of the definition level\n@param valuesEncoding encoding of values\n@throws IOException if any I/O error occurs during writing the file", "docstring_tokens": ["Writes", "a", "single", "page"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileWriter.java#L480-L492", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileWriter.java", "func_name": "ParquetFileWriter.writeColumnChunk", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes a column chunk at once\n@param descriptor the descriptor of the column\n@param valueCount the value count in this column\n@param compressionCodecName the name of the compression codec used for compressing the pages\n@param dictionaryPage the dictionary page for this column chunk (might be null)\n@param bytes the encoded pages including page headers to be written as is\n@param uncompressedTotalPageSize total uncompressed size (without page headers)\n@param compressedTotalPageSize total compressed size (without page headers)\n@param totalStats accumulated statistics for the column chunk\n@param columnIndexBuilder the builder object for the column index\n@param offsetIndexBuilder the builder object for the offset index\n@param rlEncodings the RL encodings used in this column chunk\n@param dlEncodings the DL encodings used in this column chunk\n@param dataEncodings the data encodings used in this column chunk\n@throws IOException if there is an error while writing", "docstring_tokens": ["Writes", "a", "column", "chunk", "at", "once"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileWriter.java#L553-L592", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileWriter.java", "func_name": "ParquetFileWriter.endBlock", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "ends a block once all column chunks have been written\n@throws IOException if there is an error while writing", "docstring_tokens": ["ends", "a", "block", "once", "all", "column", "chunks", "have", "been", "written"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileWriter.java#L630-L640", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileWriter.java", "func_name": "ParquetFileWriter.copy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copy from a FS input stream to an output stream. Thread-safe\n\n@param from a {@link SeekableInputStream}\n@param to any {@link PositionOutputStream}\n@param start where in the from stream to start copying\n@param length the number of bytes to copy\n@throws IOException if there is an error while reading or writing", "docstring_tokens": ["Copy", "from", "a", "FS", "input", "stream", "to", "an", "output", "stream", ".", "Thread", "-", "safe"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileWriter.java#L797-L814", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileWriter.java", "func_name": "ParquetFileWriter.end", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "ends a file once all blocks have been written.\ncloses the file.\n@param extraMetaData the extra meta data to write in the footer\n@throws IOException if there is an error while writing", "docstring_tokens": ["ends", "a", "file", "once", "all", "blocks", "have", "been", "written", ".", "closes", "the", "file", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileWriter.java#L822-L830", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileWriter.java", "func_name": "ParquetFileWriter.mergeMetadataFiles", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Given a list of metadata files, merge them into a single ParquetMetadata\nRequires that the schemas be compatible, and the extraMetadata be exactly equal.\n@param files a list of files to merge metadata from\n@param conf a configuration\n@return merged parquet metadata for the files\n@throws IOException if there is an error while writing\n@deprecated metadata files are not recommended and will be removed in 2.0.0", "docstring_tokens": ["Given", "a", "list", "of", "metadata", "files", "merge", "them", "into", "a", "single", "ParquetMetadata", "Requires", "that", "the", "schemas", "be", "compatible", "and", "the", "extraMetadata", "be", "exactly", "equal", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileWriter.java#L898-L914", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileWriter.java", "func_name": "ParquetFileWriter.writeMergedMetadataFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Given a list of metadata files, merge them into a single metadata file.\nRequires that the schemas be compatible, and the extraMetaData be exactly equal.\nThis is useful when merging 2 directories of parquet files into a single directory, as long\nas both directories were written with compatible schemas and equal extraMetaData.\n@param files a list of files to merge metadata from\n@param outputPath path to write merged metadata to\n@param conf a configuration\n@throws IOException if there is an error while reading or writing\n@deprecated metadata files are not recommended and will be removed in 2.0.0", "docstring_tokens": ["Given", "a", "list", "of", "metadata", "files", "merge", "them", "into", "a", "single", "metadata", "file", ".", "Requires", "that", "the", "schemas", "be", "compatible", "and", "the", "extraMetaData", "be", "exactly", "equal", ".", "This", "is", "useful", "when", "merging", "2", "directories", "of", "parquet", "files", "into", "a", "single", "directory", "as", "long", "as", "both", "directories", "were", "written", "with", "compatible", "schemas", "and", "equal", "extraMetaData", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileWriter.java#L927-L931", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileWriter.java", "func_name": "ParquetFileWriter.writeMetadataFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "writes a _metadata and _common_metadata file\n@param configuration the configuration to use to get the FileSystem\n@param outputPath the directory to write the _metadata file to\n@param footers the list of footers to merge\n@throws IOException if there is an error while writing\n@deprecated metadata files are not recommended and will be removed in 2.0.0", "docstring_tokens": ["writes", "a", "_metadata", "and", "_common_metadata", "file"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileWriter.java#L941-L944", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileWriter.java", "func_name": "ParquetFileWriter.mergeInto", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Will return the result of merging toMerge into mergedMetadata\n@param toMerge the metadata toMerge\n@param mergedMetadata the reference metadata to merge into\n@return the result of the merge", "docstring_tokens": ["Will", "return", "the", "result", "of", "merging", "toMerge", "into", "mergedMetadata"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileWriter.java#L1052-L1056", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-column/src/main/java/org/apache/parquet/column/impl/ColumnReaderBase.java", "func_name": "ColumnReaderBase.readValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads the value into the binding.", "docstring_tokens": ["Reads", "the", "value", "into", "the", "binding", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-column/src/main/java/org/apache/parquet/column/impl/ColumnReaderBase.java#L500-L531", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-cli/src/main/java/org/apache/parquet/cli/util/Schemas.java", "func_name": "Schemas.nullOk", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns whether null is allowed by the schema.\n\n@param schema a Schema\n@return true if schema allows the value to be null", "docstring_tokens": ["Returns", "whether", "null", "is", "allowed", "by", "the", "schema", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-cli/src/main/java/org/apache/parquet/cli/util/Schemas.java#L103-L114", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-cli/src/main/java/org/apache/parquet/cli/util/Schemas.java", "func_name": "Schemas.coalesce", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the first non-null object that is passed in.", "docstring_tokens": ["Returns", "the", "first", "non", "-", "null", "object", "that", "is", "passed", "in", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-cli/src/main/java/org/apache/parquet/cli/util/Schemas.java#L492-L500", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-cli/src/main/java/org/apache/parquet/cli/csv/RecordBuilder.java", "func_name": "RecordBuilder.makeValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a the value as the first matching schema type or null.\n\nNote that if the value may be null even if the schema does not allow the\nvalue to be null.\n\n@param string a String representation of the value\n@param schema a Schema\n@return the string coerced to the correct type from the schema or null", "docstring_tokens": ["Returns", "a", "the", "value", "as", "the", "first", "matching", "schema", "type", "or", "null", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-cli/src/main/java/org/apache/parquet/cli/csv/RecordBuilder.java#L145-L199", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-thrift/src/main/java/org/apache/parquet/thrift/ThriftMetaData.java", "func_name": "ThriftMetaData.fromExtraMetaData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads ThriftMetadata from the parquet file footer.\n\n@param extraMetaData extraMetaData field of the parquet footer\n@return the ThriftMetaData used to write a data file", "docstring_tokens": ["Reads", "ThriftMetadata", "from", "the", "parquet", "file", "footer", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-thrift/src/main/java/org/apache/parquet/thrift/ThriftMetaData.java#L89-L98", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-thrift/src/main/java/org/apache/parquet/thrift/ThriftMetaData.java", "func_name": "ThriftMetaData.fromThriftClass", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates ThriftMetaData from a Thrift-generated class.\n\n@param thriftClass a Thrift-generated class\n@return ThriftMetaData for the given class", "docstring_tokens": ["Creates", "ThriftMetaData", "from", "a", "Thrift", "-", "generated", "class", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-thrift/src/main/java/org/apache/parquet/thrift/ThriftMetaData.java#L106-L114", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-thrift/src/main/java/org/apache/parquet/thrift/ThriftMetaData.java", "func_name": "ThriftMetaData.toExtraMetaData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "generates a map of key values to store in the footer\n@return the key values", "docstring_tokens": ["generates", "a", "map", "of", "key", "values", "to", "store", "in", "the", "footer"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-thrift/src/main/java/org/apache/parquet/thrift/ThriftMetaData.java#L128-L133", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-column/src/main/java/org/apache/parquet/column/impl/ColumnWriterBase.java", "func_name": "ColumnWriterBase.writeNull", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes the current null value\n\n@param repetitionLevel\n@param definitionLevel", "docstring_tokens": ["Writes", "the", "current", "null", "value"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-column/src/main/java/org/apache/parquet/column/impl/ColumnWriterBase.java#L99-L107", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-column/src/main/java/org/apache/parquet/column/impl/ColumnWriterBase.java", "func_name": "ColumnWriterBase.writePage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes the current data to a new page in the page store", "docstring_tokens": ["Writes", "the", "current", "data", "to", "a", "new", "page", "in", "the", "page", "store"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-column/src/main/java/org/apache/parquet/column/impl/ColumnWriterBase.java#L307-L325", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-column/src/main/java/org/apache/parquet/column/values/delta/DeltaBinaryPackingValuesReader.java", "func_name": "DeltaBinaryPackingValuesReader.initFromPage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "eagerly loads all the data into memory", "docstring_tokens": ["eagerly", "loads", "all", "the", "data", "into", "memory"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-column/src/main/java/org/apache/parquet/column/values/delta/DeltaBinaryPackingValuesReader.java#L59-L75", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-column/src/main/java/org/apache/parquet/column/values/delta/DeltaBinaryPackingValuesReader.java", "func_name": "DeltaBinaryPackingValuesReader.allocateValuesBuffer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "the value buffer is allocated so that the size of it is multiple of mini block\nbecause when writing, data is flushed on a mini block basis", "docstring_tokens": ["the", "value", "buffer", "is", "allocated", "so", "that", "the", "size", "of", "it", "is", "multiple", "of", "mini", "block", "because", "when", "writing", "data", "is", "flushed", "on", "a", "mini", "block", "basis"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-column/src/main/java/org/apache/parquet/column/values/delta/DeltaBinaryPackingValuesReader.java#L81-L85", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-thrift/src/main/java/org/apache/parquet/thrift/BufferedProtocolReadToWrite.java", "func_name": "BufferedProtocolReadToWrite.checkEnum", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "In thrift enum values are written as ints, this method checks if the enum index is defined.\n\n@param expectedType\n@param i", "docstring_tokens": ["In", "thrift", "enum", "values", "are", "written", "as", "ints", "this", "method", "checks", "if", "the", "enum", "index", "is", "defined", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-thrift/src/main/java/org/apache/parquet/thrift/BufferedProtocolReadToWrite.java#L536-L543", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-column/src/main/java/org/apache/parquet/column/values/delta/DeltaBinaryPackingValuesWriterForInteger.java", "func_name": "DeltaBinaryPackingValuesWriterForInteger.calculateBitWidthsForDeltaBlockBuffer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "iterate through values in each mini block and calculate the bitWidths of max values.\n\n@param miniBlocksToFlush number of miniblocks", "docstring_tokens": ["iterate", "through", "values", "in", "each", "mini", "block", "and", "calculate", "the", "bitWidths", "of", "max", "values", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-column/src/main/java/org/apache/parquet/column/values/delta/DeltaBinaryPackingValuesWriterForInteger.java#L152-L165", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-common/src/main/java/org/apache/parquet/Exceptions.java", "func_name": "Exceptions.throwIfInstance", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If the given throwable is an instance of E, throw it as an E.\n\n@param t an exception instance\n@param excClass an exception class t may be an instance of\n@param the type of exception that will be thrown if throwable is an instance\n@throws E if t is an instance of E", "docstring_tokens": ["If", "the", "given", "throwable", "is", "an", "instance", "of", "E", "throw", "it", "as", "an", "E", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-common/src/main/java/org/apache/parquet/Exceptions.java#L31-L38", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-column/src/main/java/org/apache/parquet/column/statistics/Statistics.java", "func_name": "Statistics.getStatsBasedOnType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the typed statistics object based on the passed type parameter\n@param type PrimitiveTypeName type of the column\n@return instance of a typed statistics class\n@deprecated Use {@link #createStats(Type)} instead", "docstring_tokens": ["Returns", "the", "typed", "statistics", "object", "based", "on", "the", "passed", "type", "parameter"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-column/src/main/java/org/apache/parquet/column/statistics/Statistics.java#L162-L184", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-column/src/main/java/org/apache/parquet/column/statistics/Statistics.java", "func_name": "Statistics.getBuilderForReading", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a builder to create new statistics object. Used to read the statistics from the parquet file.\n\n@param type\ntype of the column\n@return builder to create new statistics object", "docstring_tokens": ["Returns", "a", "builder", "to", "create", "new", "statistics", "object", ".", "Used", "to", "read", "the", "statistics", "from", "the", "parquet", "file", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-column/src/main/java/org/apache/parquet/column/statistics/Statistics.java#L223-L232", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-column/src/main/java/org/apache/parquet/column/statistics/Statistics.java", "func_name": "Statistics.mergeStatistics", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Method to merge this statistics object with the object passed\nas parameter. Merging keeps the smallest of min values, largest of max\nvalues and combines the number of null counts.\n@param stats Statistics object to merge with", "docstring_tokens": ["Method", "to", "merge", "this", "statistics", "object", "with", "the", "object", "passed", "as", "parameter", ".", "Merging", "keeps", "the", "smallest", "of", "min", "values", "largest", "of", "max", "values", "and", "combines", "the", "number", "of", "null", "counts", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-column/src/main/java/org/apache/parquet/column/statistics/Statistics.java#L316-L329", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-avro/src/main/java/org/apache/parquet/avro/AvroSchemaConverter.java", "func_name": "AvroSchemaConverter.getNonNull", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Given a schema, check to see if it is a union of a null type and a regular schema,\nand then return the non-null sub-schema. Otherwise, return the given schema.\n\n@param schema The schema to check\n@return The non-null portion of a union schema, or the given schema", "docstring_tokens": ["Given", "a", "schema", "check", "to", "see", "if", "it", "is", "a", "union", "of", "a", "null", "type", "and", "a", "regular", "schema", "and", "then", "return", "the", "non", "-", "null", "sub", "-", "schema", ".", "Otherwise", "return", "the", "given", "schema", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-avro/src/main/java/org/apache/parquet/avro/AvroSchemaConverter.java#L101-L118", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-hadoop/src/main/java/org/apache/parquet/hadoop/util/ContextUtil.java", "func_name": "ContextUtil.newTaskAttemptContext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates TaskAttemptContext from a JobConf and jobId using the correct\nconstructor for based on Hadoop version.\n\n@param conf a configuration\n@param taskAttemptId a task attempt id\n@return a task attempt context", "docstring_tokens": ["Creates", "TaskAttemptContext", "from", "a", "JobConf", "and", "jobId", "using", "the", "correct", "constructor", "for", "based", "on", "Hadoop", "version", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/util/ContextUtil.java#L226-L238", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-hadoop/src/main/java/org/apache/parquet/hadoop/util/ContextUtil.java", "func_name": "ContextUtil.invoke", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Invokes a method and rethrows any exception as runtime exceptions.\n\n@param method a method\n@param obj an object to run method on\n@param args an array of arguments to the method\n@return the result of the method call", "docstring_tokens": ["Invokes", "a", "method", "and", "rethrows", "any", "exception", "as", "runtime", "exceptions", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/util/ContextUtil.java#L314-L322", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-column/src/main/java/org/apache/parquet/schema/GroupType.java", "func_name": "GroupType.membersDisplayString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "appends a display string for of the members of this group to sb\n@param sb where to append\n@param indent the indentation level", "docstring_tokens": ["appends", "a", "display", "string", "for", "of", "the", "members", "of", "this", "group", "to", "sb"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-column/src/main/java/org/apache/parquet/schema/GroupType.java#L223-L231", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-column/src/main/java/org/apache/parquet/schema/GroupType.java", "func_name": "GroupType.mergeFields", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "produces the list of fields resulting from merging toMerge into the fields of this\n@param toMerge the group containing the fields to merge\n@param strict should schema primitive types match\n@return the merged list", "docstring_tokens": ["produces", "the", "list", "of", "fields", "resulting", "from", "merging", "toMerge", "into", "the", "fields", "of", "this"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-column/src/main/java/org/apache/parquet/schema/GroupType.java#L396-L419", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-hadoop/src/main/java/org/apache/parquet/hadoop/util/counters/BenchmarkCounter.java", "func_name": "BenchmarkCounter.initCounterFromReporter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Init counters in hadoop's mapred API, which is used by cascading and Hive.\n\n@param reporter a reporter\n@param configuration a configuration", "docstring_tokens": ["Init", "counters", "in", "hadoop", "s", "mapred", "API", "which", "is", "used", "by", "cascading", "and", "Hive", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/util/counters/BenchmarkCounter.java#L60-L63", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetInputFormat.java", "func_name": "ParquetInputFormat.getFilter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a non-null Filter, which is a wrapper around either a\nFilterPredicate, an UnboundRecordFilter, or a no-op filter.\n\n@param conf a configuration\n@return a filter for the unbound record filter specified in conf", "docstring_tokens": ["Returns", "a", "non", "-", "null", "Filter", "which", "is", "a", "wrapper", "around", "either", "a", "FilterPredicate", "an", "UnboundRecordFilter", "or", "a", "no", "-", "op", "filter", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetInputFormat.java#L235-L237", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetInputFormat.java", "func_name": "ParquetInputFormat.getFooters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "the footers for the files\n@param configuration to connect to the file system\n@param statuses the files to open\n@return the footers of the files\n@throws IOException if there is an error while reading", "docstring_tokens": ["the", "footers", "for", "the", "files"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetInputFormat.java#L489-L493", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetInputFormat.java", "func_name": "ClientSideMetadataSplitStrategy.generateSplits", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "groups together all the data blocks for the same HDFS block\n\n@param rowGroupBlocks data blocks (row groups)\n@param hdfsBlocksArray hdfs blocks\n@param fileStatus the containing file\n@param requestedSchema the schema requested by the user\n@param readSupportMetadata the metadata provided by the readSupport implementation in init\n@param minSplitSize the mapred.min.split.size\n@param maxSplitSize the mapred.max.split.size\n@return the splits (one per HDFS block)\n@throws IOException If hosts can't be retrieved for the HDFS block", "docstring_tokens": ["groups", "together", "all", "the", "data", "blocks", "for", "the", "same", "HDFS", "block"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetInputFormat.java#L762-L779", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-protobuf/src/main/java/org/apache/parquet/proto/ProtoWriteSupport.java", "func_name": "ProtoWriteSupport.write", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes Protocol buffer to parquet file.\n@param record instance of Message.Builder or Message.", "docstring_tokens": ["Writes", "Protocol", "buffer", "to", "parquet", "file", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-protobuf/src/main/java/org/apache/parquet/proto/ProtoWriteSupport.java#L93-L104", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-protobuf/src/main/java/org/apache/parquet/proto/ProtoWriteSupport.java", "func_name": "ProtoWriteSupport.validatedMapping", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "validates mapping between protobuffer fields and parquet fields.", "docstring_tokens": ["validates", "mapping", "between", "protobuffer", "fields", "and", "parquet", "fields", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-protobuf/src/main/java/org/apache/parquet/proto/ProtoWriteSupport.java#L365-L377", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-protobuf/src/main/java/org/apache/parquet/proto/ProtoWriteSupport.java", "func_name": "ProtoWriteSupport.serializeDescriptor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns message descriptor as JSON String", "docstring_tokens": ["Returns", "message", "descriptor", "as", "JSON", "String"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-protobuf/src/main/java/org/apache/parquet/proto/ProtoWriteSupport.java#L483-L487", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-hadoop/src/main/java/org/apache/parquet/hadoop/CodecFactory.java", "func_name": "CodecFactory.createDirectCodecFactory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a codec factory that will provide compressors and decompressors\nthat will work natively with ByteBuffers backed by direct memory.\n\n@param config configuration options for different compression codecs\n@param allocator an allocator for creating result buffers during compression\nand decompression, must provide buffers backed by Direct\nmemory and return true for the isDirect() method\non the ByteBufferAllocator interface\n@param pageSize the default page size. This does not set a hard limit on the\nsize of buffers that can be compressed, but performance may\nbe improved by setting it close to the expected size of buffers\n(in the case of parquet, pages) that will be compressed. This\nsetting is unused in the case of decompressing data, as parquet\nalways records the uncompressed size of a buffer. If this\nCodecFactory is only going to be used for decompressors, this\nparameter will not impact the function of the factory.\n@return a configured direct codec factory", "docstring_tokens": ["Create", "a", "codec", "factory", "that", "will", "provide", "compressors", "and", "decompressors", "that", "will", "work", "natively", "with", "ByteBuffers", "backed", "by", "direct", "memory", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/CodecFactory.java#L86-L88", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-thrift/src/main/java/org/apache/parquet/thrift/projection/amend/ProtocolEventsAmender.java", "func_name": "ProtocolEventsAmender.amendMissingRequiredFields", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Given a thrift definition, protocols events, it checks all the required fields,\nand create default value if a required field is missing\n\n@param recordThriftType the Thrift Struct definition for events\n@return a list of events\n@throws TException if there is an error while amending events", "docstring_tokens": ["Given", "a", "thrift", "definition", "protocols", "events", "it", "checks", "all", "the", "required", "fields", "and", "create", "default", "value", "if", "a", "required", "field", "is", "missing"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-thrift/src/main/java/org/apache/parquet/thrift/projection/amend/ProtocolEventsAmender.java#L48-L52", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-thrift/src/main/java/org/apache/parquet/thrift/projection/amend/ProtocolEventsAmender.java", "func_name": "ProtocolEventsAmender.checkSet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "check each element of the Set, make sure all the element contain required fields\n\n@param eventIter\n@param setFieldDefinition\n@throws TException", "docstring_tokens": ["check", "each", "element", "of", "the", "Set", "make", "sure", "all", "the", "element", "contain", "required", "fields"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-thrift/src/main/java/org/apache/parquet/thrift/projection/amend/ProtocolEventsAmender.java#L117-L125", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-format-structures/src/main/java/org/apache/parquet/format/Util.java", "func_name": "Util.readFileMetaData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "reads the meta data from the stream\n@param from the stream to read the metadata from\n@param skipRowGroups whether row groups should be skipped\n@return the resulting metadata\n@throws IOException if any I/O error occurs during the reading", "docstring_tokens": ["reads", "the", "meta", "data", "from", "the", "stream"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-format-structures/src/main/java/org/apache/parquet/format/Util.java#L95-L103", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-thrift/src/main/java/org/apache/parquet/hadoop/thrift/ThriftToParquetFileWriter.java", "func_name": "ThriftToParquetFileWriter.close", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "close the file\n\n@see java.io.Closeable#close()", "docstring_tokens": ["close", "the", "file"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-thrift/src/main/java/org/apache/parquet/hadoop/thrift/ThriftToParquetFileWriter.java#L114-L122", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-hadoop/src/main/java/org/apache/parquet/hadoop/example/ExampleOutputFormat.java", "func_name": "ExampleOutputFormat.setSchema", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "set the schema being written to the job conf\n@param job a job\n@param schema the schema of the data", "docstring_tokens": ["set", "the", "schema", "being", "written", "to", "the", "job", "conf"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/example/ExampleOutputFormat.java#L42-L44", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-column/src/main/java/org/apache/parquet/filter2/predicate/ValidTypeMap.java", "func_name": "ValidTypeMap.add", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "set up the mapping in both directions", "docstring_tokens": ["set", "up", "the", "mapping", "in", "both", "directions"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-column/src/main/java/org/apache/parquet/filter2/predicate/ValidTypeMap.java#L48-L62", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-column/src/main/java/org/apache/parquet/filter2/predicate/ValidTypeMap.java", "func_name": "ValidTypeMap.assertTypeValid", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Asserts that foundColumn was declared as a type that is compatible with the type for this column found\nin the schema of the parquet file.\n\n@throws java.lang.IllegalArgumentException if the types do not align\n\n@param foundColumn the column as declared by the user\n@param primitiveType the primitive type according to the schema\n@param the java Type of values in the column, must be Comparable", "docstring_tokens": ["Asserts", "that", "foundColumn", "was", "declared", "as", "a", "type", "that", "is", "compatible", "with", "the", "type", "for", "this", "column", "found", "in", "the", "schema", "of", "the", "parquet", "file", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-column/src/main/java/org/apache/parquet/filter2/predicate/ValidTypeMap.java#L86-L127", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-common/src/main/java/org/apache/parquet/Ints.java", "func_name": "Ints.checkedCast", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Cast value to a an int, or throw an exception\nif there is an overflow.\n\n@param value a long to be casted to an int\n@return an int that is == to value\n@throws IllegalArgumentException if value can't be casted to an int\n@deprecated replaced by {@link java.lang.Math#toIntExact(long)}", "docstring_tokens": ["Cast", "value", "to", "a", "an", "int", "or", "throw", "an", "exception", "if", "there", "is", "an", "overflow", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-common/src/main/java/org/apache/parquet/Ints.java#L37-L43", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-arrow/src/main/java/org/apache/parquet/arrow/schema/SchemaConverter.java", "func_name": "SchemaConverter.fromArrow", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a Parquet Schema from an Arrow one and returns the mapping\n@param arrowSchema the provided Arrow Schema\n@return the mapping between the 2", "docstring_tokens": ["Creates", "a", "Parquet", "Schema", "from", "an", "Arrow", "one", "and", "returns", "the", "mapping"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-arrow/src/main/java/org/apache/parquet/arrow/schema/SchemaConverter.java#L109-L114", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-arrow/src/main/java/org/apache/parquet/arrow/schema/SchemaConverter.java", "func_name": "SchemaConverter.fromParquet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an Arrow Schema from an Parquet one and returns the mapping\n@param parquetSchema the provided Parquet Schema\n@return the mapping between the 2", "docstring_tokens": ["Creates", "an", "Arrow", "Schema", "from", "an", "Parquet", "one", "and", "returns", "the", "mapping"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-arrow/src/main/java/org/apache/parquet/arrow/schema/SchemaConverter.java#L324-L329", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-arrow/src/main/java/org/apache/parquet/arrow/schema/SchemaConverter.java", "func_name": "SchemaConverter.map", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Maps a Parquet and Arrow Schema\nFor now does not validate primitive type compatibility\n@param arrowSchema an Arrow schema\n@param parquetSchema a Parquet message type\n@return the mapping between the 2", "docstring_tokens": ["Maps", "a", "Parquet", "and", "Arrow", "Schema", "For", "now", "does", "not", "validate", "primitive", "type", "compatibility"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-arrow/src/main/java/org/apache/parquet/arrow/schema/SchemaConverter.java#L567-L570", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-hadoop/src/main/java/org/apache/parquet/format/converter/ParquetMetadataConverter.java", "func_name": "ParquetMetadataConverter.writeDataPageV2Header", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Statistics are no longer saved in page headers", "docstring_tokens": ["Statistics", "are", "no", "longer", "saved", "in", "page", "headers"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-hadoop/src/main/java/org/apache/parquet/format/converter/ParquetMetadataConverter.java#L1384-L1398", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-column/src/main/java/org/apache/parquet/io/FilteredRecordReader.java", "func_name": "FilteredRecordReader.skipToMatch", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Skips forwards until the filter finds the first match. Returns false\nif none found.", "docstring_tokens": ["Skips", "forwards", "until", "the", "filter", "finds", "the", "first", "match", ".", "Returns", "false", "if", "none", "found", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-column/src/main/java/org/apache/parquet/io/FilteredRecordReader.java#L77-L96", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-hadoop/src/main/java/org/apache/parquet/hadoop/util/SerializationUtil.java", "func_name": "SerializationUtil.writeObjectToConfAsBase64", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes an object to a configuration.\n\n@param key for the configuration\n@param obj the object to write\n@param conf to read from\n@throws IOException if there is an error while writing", "docstring_tokens": ["Writes", "an", "object", "to", "a", "configuration", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/util/SerializationUtil.java#L55-L63", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-hadoop/src/main/java/org/apache/parquet/hadoop/LruCache.java", "func_name": "LruCache.remove", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes the mapping for the specified key from this cache if present.\n@param key key whose mapping is to be removed from the cache\n@return the previous value associated with key, or null if there was no\nmapping for key.", "docstring_tokens": ["Removes", "the", "mapping", "for", "the", "specified", "key", "from", "this", "cache", "if", "present", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/LruCache.java#L85-L91", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-hadoop/src/main/java/org/apache/parquet/hadoop/LruCache.java", "func_name": "LruCache.put", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Associates the specified value with the specified key in this cache. The\nvalue is only inserted if it is not null and it is considered current. If\nthe cache previously contained a mapping for the key, the old value is\nreplaced only if the new value is \"newer\" than the old one.\n@param key key with which the specified value is to be associated\n@param newValue value to be associated with the specified key", "docstring_tokens": ["Associates", "the", "specified", "value", "with", "the", "specified", "key", "in", "this", "cache", ".", "The", "value", "is", "only", "inserted", "if", "it", "is", "not", "null", "and", "it", "is", "considered", "current", ".", "If", "the", "cache", "previously", "contained", "a", "mapping", "for", "the", "key", "the", "old", "value", "is", "replaced", "only", "if", "the", "new", "value", "is", "newer", "than", "the", "old", "one", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/LruCache.java#L101-L128", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-hadoop/src/main/java/org/apache/parquet/hadoop/LruCache.java", "func_name": "LruCache.getCurrentValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the value to which the specified key is mapped, or null if 1) the\nvalue is not current or 2) this cache contains no mapping for the key.\n@param key the key whose associated value is to be returned\n@return the value to which the specified key is mapped, or null if 1) the\nvalue is not current or 2) this cache contains no mapping for the key", "docstring_tokens": ["Returns", "the", "value", "to", "which", "the", "specified", "key", "is", "mapped", "or", "null", "if", "1", ")", "the", "value", "is", "not", "current", "or", "2", ")", "this", "cache", "contains", "no", "mapping", "for", "the", "key", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/LruCache.java#L145-L155", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-avro/src/main/java/org/apache/parquet/avro/AvroWriteSupport.java", "func_name": "AvroWriteSupport.writeValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calls an appropriate write method based on the value.\nValue MUST not be null.\n\n@param type the Parquet type\n@param avroSchema the Avro schema\n@param value a non-null value to write", "docstring_tokens": ["Calls", "an", "appropriate", "write", "method", "based", "on", "the", "value", ".", "Value", "MUST", "not", "be", "null", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-avro/src/main/java/org/apache/parquet/avro/AvroWriteSupport.java#L269-L280", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-avro/src/main/java/org/apache/parquet/avro/AvroWriteSupport.java", "func_name": "AvroWriteSupport.writeValueWithoutConversion", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calls an appropriate write method based on the value.\nValue must not be null and the schema must not be nullable.\n\n@param type a Parquet type\n@param avroSchema a non-nullable Avro schema\n@param value a non-null value to write", "docstring_tokens": ["Calls", "an", "appropriate", "write", "method", "based", "on", "the", "value", ".", "Value", "must", "not", "be", "null", "and", "the", "schema", "must", "not", "be", "nullable", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-avro/src/main/java/org/apache/parquet/avro/AvroWriteSupport.java#L313-L363", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-thrift/src/main/java/org/apache/parquet/thrift/projection/deprecated/PathGlobPattern.java", "func_name": "PathGlobPattern.set", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set and compile a glob pattern\n\n@param glob the glob pattern string", "docstring_tokens": ["Set", "and", "compile", "a", "glob", "pattern"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-thrift/src/main/java/org/apache/parquet/thrift/projection/deprecated/PathGlobPattern.java#L84-L172", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-cli/src/main/java/org/apache/parquet/cli/BaseCommand.java", "func_name": "BaseCommand.output", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Output content to the console or a file.\n\nThis will not produce checksum files.\n\n@param content String content to write\n@param console A {@link Logger} for writing to the console\n@param filename The destination {@link Path} as a String\n@throws IOException if there is an error while writing", "docstring_tokens": ["Output", "content", "to", "the", "console", "or", "a", "file", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-cli/src/main/java/org/apache/parquet/cli/BaseCommand.java#L95-L107", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-cli/src/main/java/org/apache/parquet/cli/BaseCommand.java", "func_name": "BaseCommand.open", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Opens an existing file or resource.\n\nIf the file does not have a file system scheme, this uses the default FS.\n\n@param filename The filename to open.\n@return An open InputStream with the file contents\n@throws IOException if there is an error opening the file\n@throws IllegalArgumentException If the file does not exist", "docstring_tokens": ["Opens", "an", "existing", "file", "or", "resource", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-cli/src/main/java/org/apache/parquet/cli/BaseCommand.java#L196-L210", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-column/src/main/java/org/apache/parquet/filter/ColumnRecordFilter.java", "func_name": "ColumnRecordFilter.column", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Factory method for record filter which applies the supplied predicate to the specified column.\nNote that if searching for a repeated sub-attribute it will only ever match against the\nfirst instance of it in the object.\n\n@param columnPath Dot separated path specifier, e.g. \"engine.capacity\"\n@param predicate Should call getBinary etc. and check the value\n@return a column filter", "docstring_tokens": ["Factory", "method", "for", "record", "filter", "which", "applies", "the", "supplied", "predicate", "to", "the", "specified", "column", ".", "Note", "that", "if", "searching", "for", "a", "repeated", "sub", "-", "attribute", "it", "will", "only", "ever", "match", "against", "the", "first", "instance", "of", "it", "in", "the", "object", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-column/src/main/java/org/apache/parquet/filter/ColumnRecordFilter.java#L42-L58", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-thrift/src/main/java/org/apache/parquet/thrift/ThriftSchemaConverter.java", "func_name": "ThriftSchemaConverter.convert", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "struct is assumed to contain valid structOrUnionType metadata when used with this method.\nThis method may throw if structOrUnionType is unknown.\n\nUse convertWithoutProjection below to convert a StructType to MessageType\n\n@param struct the thrift type descriptor\n@return the struct as a Parquet message type", "docstring_tokens": ["struct", "is", "assumed", "to", "contain", "valid", "structOrUnionType", "metadata", "when", "used", "with", "this", "method", ".", "This", "method", "may", "throw", "if", "structOrUnionType", "is", "unknown", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-thrift/src/main/java/org/apache/parquet/thrift/ThriftSchemaConverter.java#L74-L78", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-column/src/main/java/org/apache/parquet/schema/ConversionPatterns.java", "func_name": "ConversionPatterns.listWrapper", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "to preserve the difference between empty list and null when optional\n\n@param repetition repetition for the list or map\n@param alias name of the field\n@param logicalTypeAnnotation logical type for the list or map\n@param nested the nested repeated field\n@return a group type", "docstring_tokens": ["to", "preserve", "the", "difference", "between", "empty", "list", "and", "null", "when", "optional"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-column/src/main/java/org/apache/parquet/schema/ConversionPatterns.java#L44-L49", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-column/src/main/java/org/apache/parquet/schema/ConversionPatterns.java", "func_name": "ConversionPatterns.listOfElements", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a 3-level list structure annotated with LIST with elements of the\ngiven elementType. The repeated level is inserted automatically and the\nelementType's repetition should be the correct repetition of the elements,\nrequired for non-null and optional for nullable.\n\n@param listRepetition the repetition of the entire list structure\n@param name the name of the list structure type\n@param elementType the type of elements contained by the list\n@return a GroupType that represents the list", "docstring_tokens": ["Creates", "a", "3", "-", "level", "list", "structure", "annotated", "with", "LIST", "with", "elements", "of", "the", "given", "elementType", ".", "The", "repeated", "level", "is", "inserted", "automatically", "and", "the", "elementType", "s", "repetition", "should", "be", "the", "correct", "repetition", "of", "the", "elements", "required", "for", "non", "-", "null", "and", "optional", "for", "nullable", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-column/src/main/java/org/apache/parquet/schema/ConversionPatterns.java#L122-L131", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-hadoop/src/main/java/org/apache/parquet/hadoop/api/InitContext.java", "func_name": "InitContext.getMergedKeyValueMetaData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If there is a conflicting value when reading from multiple files,\nan exception will be thrown\n@return the merged key values metadata form the file footers", "docstring_tokens": ["If", "there", "is", "a", "conflicting", "value", "when", "reading", "from", "multiple", "files", "an", "exception", "will", "be", "thrown"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/api/InitContext.java#L61-L74", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-hive/parquet-hive-storage-handler/src/main/java/org/apache/hadoop/hive/ql/io/parquet/read/ParquetRecordReaderWrapper.java", "func_name": "ParquetRecordReaderWrapper.getSplit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "gets a ParquetInputSplit corresponding to a split given by Hive\n\n@param oldSplit The split given by Hive\n@param conf The JobConf of the Hive job\n@return a ParquetInputSplit corresponding to the oldSplit\n@throws IOException if the config cannot be enhanced or if the footer cannot be read from the file", "docstring_tokens": ["gets", "a", "ParquetInputSplit", "corresponding", "to", "a", "split", "given", "by", "Hive"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-hive/parquet-hive-storage-handler/src/main/java/org/apache/hadoop/hive/ql/io/parquet/read/ParquetRecordReaderWrapper.java#L197-L227", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-avro/src/main/java/org/apache/parquet/avro/AvroRecordConverter.java", "func_name": "AvroRecordConverter.getFieldsByName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "this was taken from Avro's ReflectData", "docstring_tokens": ["this", "was", "taken", "from", "Avro", "s", "ReflectData"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-avro/src/main/java/org/apache/parquet/avro/AvroRecordConverter.java#L177-L207", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-hive/parquet-hive-storage-handler/src/main/java/org/apache/hadoop/hive/ql/io/parquet/read/DataWritableReadSupport.java", "func_name": "DataWritableReadSupport.resolveSchemaAccess", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determine the file column names based on the position within the requested columns and\nuse that as the requested schema.", "docstring_tokens": ["Determine", "the", "file", "column", "names", "based", "on", "the", "position", "within", "the", "requested", "columns", "and", "use", "that", "as", "the", "requested", "schema", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-hive/parquet-hive-storage-handler/src/main/java/org/apache/hadoop/hive/ql/io/parquet/read/DataWritableReadSupport.java#L139-L155", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-tools/src/main/java/org/apache/parquet/tools/command/MergeCommand.java", "func_name": "MergeCommand.getInputFiles", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get all input files.\n@param input input files or directory.\n@return ordered input files.", "docstring_tokens": ["Get", "all", "input", "files", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-tools/src/main/java/org/apache/parquet/tools/command/MergeCommand.java#L115-L133", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-tools/src/main/java/org/apache/parquet/tools/command/MergeCommand.java", "func_name": "MergeCommand.checkParquetFiles", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check input files basically.\nParquetFileReader will throw exception when reading an illegal parquet file.\n\n@param inputFiles files to be merged.\n@throws IOException", "docstring_tokens": ["Check", "input", "files", "basically", ".", "ParquetFileReader", "will", "throw", "exception", "when", "reading", "an", "illegal", "parquet", "file", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-tools/src/main/java/org/apache/parquet/tools/command/MergeCommand.java#L142-L155", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-tools/src/main/java/org/apache/parquet/tools/command/MergeCommand.java", "func_name": "MergeCommand.getInputFilesFromDirectory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get all parquet files under partition directory.\n@param partitionDir partition directory.\n@return parquet files to be merged.", "docstring_tokens": ["Get", "all", "parquet", "files", "under", "partition", "directory", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-tools/src/main/java/org/apache/parquet/tools/command/MergeCommand.java#L162-L171", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-column/src/main/java/org/apache/parquet/filter/PagedRecordFilter.java", "func_name": "PagedRecordFilter.page", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns builder for creating a paged query.\n@param startPos The record to start from, numbering starts at 1.\n@param pageSize The size of the page.\n@return a paged record filter", "docstring_tokens": ["Returns", "builder", "for", "creating", "a", "paged", "query", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-column/src/main/java/org/apache/parquet/filter/PagedRecordFilter.java#L38-L45", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-format-structures/src/main/java/org/apache/parquet/format/event/Consumers.java", "func_name": "Consumers.listOf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "To consume a list of elements\n@param c the class of the list content\n@param consumer the consumer that will receive the list\n@param the type of the list content\n@return a ListConsumer that can be passed to the DelegatingFieldConsumer", "docstring_tokens": ["To", "consume", "a", "list", "of", "elements"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-format-structures/src/main/java/org/apache/parquet/format/event/Consumers.java#L112-L130", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-hive/parquet-hive-binding/parquet-hive-0.10-binding/src/main/java/org/apache/parquet/hive/internal/Hive010Binding.java", "func_name": "Hive010Binding.init", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Initialize the mrwork variable in order to get all the partition and start to update the jobconf\n\n@param job", "docstring_tokens": ["Initialize", "the", "mrwork", "variable", "in", "order", "to", "get", "all", "the", "partition", "and", "start", "to", "update", "the", "jobconf"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-hive/parquet-hive-binding/parquet-hive-0.10-binding/src/main/java/org/apache/parquet/hive/internal/Hive010Binding.java#L64-L73", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-pig/src/main/java/org/apache/parquet/pig/summary/Summary.java", "func_name": "Summary.merge", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "the input tuple contains a bag of string representations of TupleSummaryData\n\n@param t\n@return\n@throws ExecException\n@throws JsonParseException\n@throws JsonMappingException\n@throws IOException", "docstring_tokens": ["the", "input", "tuple", "contains", "a", "bag", "of", "string", "representations", "of", "TupleSummaryData"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-pig/src/main/java/org/apache/parquet/pig/summary/Summary.java#L183-L190", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-pig/src/main/java/org/apache/parquet/pig/summary/Summary.java", "func_name": "Summary.sumUp", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The input tuple contains a bag of Tuples to sum up\n\n@param t\n@return\n@throws ExecException", "docstring_tokens": ["The", "input", "tuple", "contains", "a", "bag", "of", "Tuples", "to", "sum", "up"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-pig/src/main/java/org/apache/parquet/pig/summary/Summary.java#L199-L206", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-format-structures/src/main/java/org/apache/parquet/format/event/EventBasedThriftReader.java", "func_name": "EventBasedThriftReader.readStruct", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "reads a Struct from the underlying protocol and passes the field events to the FieldConsumer\n@param c the field consumer\n@throws TException if any thrift related error occurs during the reading", "docstring_tokens": ["reads", "a", "Struct", "from", "the", "underlying", "protocol", "and", "passes", "the", "field", "events", "to", "the", "FieldConsumer"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-format-structures/src/main/java/org/apache/parquet/format/event/EventBasedThriftReader.java#L52-L56", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-format-structures/src/main/java/org/apache/parquet/format/event/EventBasedThriftReader.java", "func_name": "EventBasedThriftReader.readMapEntry", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "reads a key-value pair\n@param keyType the type of the key\n@param keyConsumer the consumer for the key\n@param valueType the type of the value\n@param valueConsumer the consumer for the value\n@throws TException if any thrift related error occurs during the reading", "docstring_tokens": ["reads", "a", "key", "-", "value", "pair"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-format-structures/src/main/java/org/apache/parquet/format/event/EventBasedThriftReader.java#L108-L112", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-encoding/src/main/java/org/apache/parquet/column/values/bitpacking/ByteBasedBitPackingEncoder.java", "func_name": "ByteBasedBitPackingEncoder.writeInt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "writes an int using the requested number of bits.\naccepts only values less than 2^bitWidth\n@param value the value to write\n@throws IOException if there is an exception while writing", "docstring_tokens": ["writes", "an", "int", "using", "the", "requested", "number", "of", "bits", ".", "accepts", "only", "values", "less", "than", "2^bitWidth"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-encoding/src/main/java/org/apache/parquet/column/values/bitpacking/ByteBasedBitPackingEncoder.java#L73-L87", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-common/src/main/java/org/apache/parquet/bytes/BytesUtils.java", "func_name": "BytesUtils.readIntLittleEndian", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "reads an int in little endian at the given position\n@param in a byte buffer\n@param offset an offset into the byte buffer\n@return the integer at position offset read using little endian byte order\n@throws IOException if there is an exception reading from the byte buffer", "docstring_tokens": ["reads", "an", "int", "in", "little", "endian", "at", "the", "given", "position"], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-common/src/main/java/org/apache/parquet/bytes/BytesUtils.java#L58-L64", "partition": "test"} +{"repo": "apache/parquet-mr", "path": "parquet-avro/src/main/java/org/apache/parquet/avro/AvroParquetOutputFormat.java", "func_name": "AvroParquetOutputFormat.setSchema", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the Avro schema to use for writing. The schema is translated into a Parquet\nschema so that the records can be written in Parquet format. It is also\nstored in the Parquet metadata so that records can be reconstructed as Avro\nobjects at read time without specifying a read schema.\n@param job a job\n@param schema a schema for the data that will be written\n@see org.apache.parquet.avro.AvroParquetInputFormat#setAvroReadSchema(org.apache.hadoop.mapreduce.Job, org.apache.avro.Schema)", "docstring_tokens": ["Set", "the", "Avro", "schema", "to", "use", "for", "writing", ".", "The", "schema", "is", "translated", "into", "a", "Parquet", "schema", "so", "that", "the", "records", "can", "be", "written", "in", "Parquet", "format", ".", "It", "is", "also", "stored", "in", "the", "Parquet", "metadata", "so", "that", "records", "can", "be", "reconstructed", "as", "Avro", "objects", "at", "read", "time", "without", "specifying", "a", "read", "schema", "."], "sha": "62dcc68acaf64012bf731e103be780956f1f446d", "url": "https://github.com/apache/parquet-mr/blob/62dcc68acaf64012bf731e103be780956f1f446d/parquet-avro/src/main/java/org/apache/parquet/avro/AvroParquetOutputFormat.java#L42-L44", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "sdc-kafka_0_9_mapr_5_2/src/main/java/com/streamsets/pipeline/kafka/impl/MapR52StreamsValidationUtil09.java", "func_name": "MapR52StreamsValidationUtil09.createTopicIfNotExists", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Should be called only by MapR Streams Producer. It creates a topic using KafkaProducer.\n@param topic\n@param kafkaClientConfigs\n@param metadataBrokerList\n@throws StageException", "docstring_tokens": ["Should", "be", "called", "only", "by", "MapR", "Streams", "Producer", ".", "It", "creates", "a", "topic", "using", "KafkaProducer", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/sdc-kafka_0_9_mapr_5_2/src/main/java/com/streamsets/pipeline/kafka/impl/MapR52StreamsValidationUtil09.java#L104-L149", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/creation/PipelineBeanCreator.java", "func_name": "PipelineBeanCreator.duplicatePipelineStageBeans", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates additional PipelineStageBeans for additional runners. Stages will share stage definition and thus\nclass loader with the first given runner. That includes stages with private class loader as well.\n\n@param pipelineStageBeans First runner that should be duplicated.\n@param interceptorCreatorContextBuilder Builder for interceptor context\n@param constants Pipeline constants\n@param errors Any generated errors will be stored in this list\n\n@return PipelineStageBeans with new instances of the given stages", "docstring_tokens": ["Creates", "additional", "PipelineStageBeans", "for", "additional", "runners", ".", "Stages", "will", "share", "stage", "definition", "and", "thus", "class", "loader", "with", "the", "first", "given", "runner", ".", "That", "includes", "stages", "with", "private", "class", "loader", "as", "well", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/creation/PipelineBeanCreator.java#L359-L392", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/creation/PipelineBeanCreator.java", "func_name": "PipelineBeanCreator.createStageBean", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create new instance of StageBean.\n\nThis method can be used outside of pipeline context (for example for detached stage).\n\n@param forExecution If the instance is going to be used for execution (and for example private classloaders must be respected)\n@param library Stage Library from which a definition will be loaded\n@param stageConf Stage configuration\n@param errorStage True if the stage needs to be declared as error stage\n@param pipelineLifecycleStage True if the stage needs to be declared as pipeline lifecycle stage\n@param constants Pipeline constants (runtime parameters)\n@param errors List where all errors will be persisted\n@return New StageBean instance or null on any error", "docstring_tokens": ["Create", "new", "instance", "of", "StageBean", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/creation/PipelineBeanCreator.java#L444-L498", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/creation/PipelineBeanCreator.java", "func_name": "PipelineBeanCreator.createInterceptors", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create interceptors for given stage.", "docstring_tokens": ["Create", "interceptors", "for", "given", "stage", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/creation/PipelineBeanCreator.java#L694-L715", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/creation/PipelineBeanCreator.java", "func_name": "PipelineBeanCreator.createInterceptor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a default interceptor for given InterceptorDefinition. This method might\nreturn null as the underlying interface for default creation allows it as well -\nin such case no interceptor is needed.", "docstring_tokens": ["Create", "a", "default", "interceptor", "for", "given", "InterceptorDefinition", ".", "This", "method", "might", "return", "null", "as", "the", "underlying", "interface", "for", "default", "creation", "allows", "it", "as", "well", "-", "in", "such", "case", "no", "interceptor", "is", "needed", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/creation/PipelineBeanCreator.java#L722-L765", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "commonlib/src/main/java/com/streamsets/pipeline/lib/util/AvroTypeUtil.java", "func_name": "AvroTypeUtil.parseSchema", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse JSON representation of Avro schema to Avro's Schema JAVA object", "docstring_tokens": ["Parse", "JSON", "representation", "of", "Avro", "schema", "to", "Avro", "s", "Schema", "JAVA", "object"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/commonlib/src/main/java/com/streamsets/pipeline/lib/util/AvroTypeUtil.java#L84-L98", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "commonlib/src/main/java/com/streamsets/pipeline/lib/util/AvroTypeUtil.java", "func_name": "AvroTypeUtil.millisToDays", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return number of days since the unix epoch.\n\nThis function has been copied from Apache Hive project.", "docstring_tokens": ["Return", "number", "of", "days", "since", "the", "unix", "epoch", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/commonlib/src/main/java/com/streamsets/pipeline/lib/util/AvroTypeUtil.java#L118-L129", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "commonlib/src/main/java/com/streamsets/pipeline/lib/util/AvroTypeUtil.java", "func_name": "AvroTypeUtil.getAvroSchemaFromHeader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retrieves avro schema from given header. Throws an exception if the header is missing or is empty.", "docstring_tokens": ["Retrieves", "avro", "schema", "from", "given", "header", ".", "Throws", "an", "exception", "if", "the", "header", "is", "missing", "or", "is", "empty", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/commonlib/src/main/java/com/streamsets/pipeline/lib/util/AvroTypeUtil.java#L134-L140", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "jms-lib/src/main/java/com/streamsets/pipeline/stage/destination/jms/JmsTargetUpgrader.java", "func_name": "JmsTargetUpgrader.upgradeV1ToV2", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Migrating to service for data format library.", "docstring_tokens": ["Migrating", "to", "service", "for", "data", "format", "library", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/jms-lib/src/main/java/com/streamsets/pipeline/stage/destination/jms/JmsTargetUpgrader.java#L44-L59", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "hdfs-protolib/src/main/java/com/streamsets/pipeline/stage/destination/hdfs/writer/RecordWriter.java", "func_name": "RecordWriter.getLength", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "buffer size.", "docstring_tokens": ["buffer", "size", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/hdfs-protolib/src/main/java/com/streamsets/pipeline/stage/destination/hdfs/writer/RecordWriter.java#L197-L205", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/cluster/BaseClusterProvider.java", "func_name": "BaseClusterProvider.copyBlobstore", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copy BlobStore resources to data directory", "docstring_tokens": ["Copy", "BlobStore", "resources", "to", "data", "directory"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/cluster/BaseClusterProvider.java#L865-L891", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/parser/sql/SQLListener.java", "func_name": "SQLListener.reset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reset the listener to use with the next statement. All column information is cleared.", "docstring_tokens": ["Reset", "the", "listener", "to", "use", "with", "the", "next", "statement", ".", "All", "column", "information", "is", "cleared", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/parser/sql/SQLListener.java#L182-L189", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/execution/runner/common/ThreadHealthReporter.java", "func_name": "ThreadHealthReporter.reportHealth", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Updates gauge for the registered thread with the given details.\nNote that the value of the threadName argument must match the one used to register.\n@param threadName\n@param scheduledDelay\n@param timestamp\n@return", "docstring_tokens": ["Updates", "gauge", "for", "the", "registered", "thread", "with", "the", "given", "details", ".", "Note", "that", "the", "value", "of", "the", "threadName", "argument", "must", "match", "the", "one", "used", "to", "register", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/execution/runner/common/ThreadHealthReporter.java#L54-L61", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/execution/runner/common/ThreadHealthReporter.java", "func_name": "ThreadHealthReporter.register", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates and registers a Gauge with the given thread name.\nThe same name must be used to report health.\n@param threadName\n@return", "docstring_tokens": ["Creates", "and", "registers", "a", "Gauge", "with", "the", "given", "thread", "name", ".", "The", "same", "name", "must", "be", "used", "to", "report", "health", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/execution/runner/common/ThreadHealthReporter.java#L69-L77", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container-common/src/main/java/com/streamsets/datacollector/main/RuntimeInfo.java", "func_name": "RuntimeInfo.storeControlHubConfigs", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Store configuration from control hub in persistent manner inside data directory. This configuration will be\nloaded on data collector start and will override any configuration from sdc.properties.\n\nThis method call is able to remove existing properties if the value is \"null\". Please note that the removal will\nonly happen from the 'override' file. This method does not have the capability to remove configuration directly\nfrom sdc.properties.\n\n@param runtimeInfo RuntimeInfo instance\n@param newConfigs New set of config properties\n@throws IOException", "docstring_tokens": ["Store", "configuration", "from", "control", "hub", "in", "persistent", "manner", "inside", "data", "directory", ".", "This", "configuration", "will", "be", "loaded", "on", "data", "collector", "start", "and", "will", "override", "any", "configuration", "from", "sdc", ".", "properties", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container-common/src/main/java/com/streamsets/datacollector/main/RuntimeInfo.java#L375-L402", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container-common/src/main/java/com/streamsets/datacollector/http/LdapLoginModule.java", "func_name": "LdapLoginModule.credentialLogin", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "password supplied authentication check\n\n@param webCredential\n@return true if authenticated\n@throws LoginException", "docstring_tokens": ["password", "supplied", "authentication", "check"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container-common/src/main/java/com/streamsets/datacollector/http/LdapLoginModule.java#L465-L473", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/configupgrade/PipelineConfigurationUpgrader.java", "func_name": "PipelineConfigurationUpgrader.upgradeIfNecessary", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Upgrade whole pipeline at once and return updated variant.\n\n@param library Stage Library\n@param pipelineConf Existing Pipeline Configuration\n@param issues Issues\n@return Upgraded pipeline configuration or null on any error", "docstring_tokens": ["Upgrade", "whole", "pipeline", "at", "once", "and", "return", "updated", "variant", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/configupgrade/PipelineConfigurationUpgrader.java#L70-L96", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/configupgrade/PipelineConfigurationUpgrader.java", "func_name": "PipelineConfigurationUpgrader.upgradeIfNeeded", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Upgrade whole Stage configuration, including all services if needed. Convenience method that will lookup stage\ndefinition from the library.\n\nThis method is idempotent.", "docstring_tokens": ["Upgrade", "whole", "Stage", "configuration", "including", "all", "services", "if", "needed", ".", "Convenience", "method", "that", "will", "lookup", "stage", "definition", "from", "the", "library", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/configupgrade/PipelineConfigurationUpgrader.java#L444-L451", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/configupgrade/PipelineConfigurationUpgrader.java", "func_name": "PipelineConfigurationUpgrader.upgradeIfNeeded", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Upgrade whole Stage configuration, including all services if needed.\n\nThis method is idempotent.", "docstring_tokens": ["Upgrade", "whole", "Stage", "configuration", "including", "all", "services", "if", "needed", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/configupgrade/PipelineConfigurationUpgrader.java#L458-L486", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/configupgrade/PipelineConfigurationUpgrader.java", "func_name": "PipelineConfigurationUpgrader.upgradeServicesIfNeeded", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Internal method that will upgrade service configuration if needed.\n\nThis method is idempotent.", "docstring_tokens": ["Internal", "method", "that", "will", "upgrade", "service", "configuration", "if", "needed", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/configupgrade/PipelineConfigurationUpgrader.java#L493-L540", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/configupgrade/PipelineConfigurationUpgrader.java", "func_name": "PipelineConfigurationUpgrader.upgradeStageIfNeeded", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Internal method that will upgrade only Stage configuration - not the associated services - and only if needed.\n\nThis method is idempotent.", "docstring_tokens": ["Internal", "method", "that", "will", "upgrade", "only", "Stage", "configuration", "-", "not", "the", "associated", "services", "-", "and", "only", "if", "needed", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/configupgrade/PipelineConfigurationUpgrader.java#L547-L595", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/fieldvaluereplacer/FieldValueReplacerProcessor.java", "func_name": "FieldValueReplacerProcessor.getFieldsToNull", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "should be replaced by null.", "docstring_tokens": ["should", "be", "replaced", "by", "null", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/fieldvaluereplacer/FieldValueReplacerProcessor.java#L215-L270", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "bootstrap/src/main/java/com/streamsets/pipeline/SystemPackage.java", "func_name": "SystemPackage.isSystemClass", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks if a class should be included as a system class.\n\nA class is a system class if and only if it matches one of the positive\npatterns and none of the negative ones.\n\n@param name the class name to check\n@param packageList a list of system class configurations.\n@return true if the class is a system class", "docstring_tokens": ["Checks", "if", "a", "class", "should", "be", "included", "as", "a", "system", "class", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/bootstrap/src/main/java/com/streamsets/pipeline/SystemPackage.java#L47-L72", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "common/src/main/java/com/streamsets/pipeline/lib/queue/XEvictingQueue.java", "func_name": "XEvictingQueue.add", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds the given element to this queue. If the queue is currently full, the element at the head\nof the queue is evicted to make room.\n\n@return {@code true} always", "docstring_tokens": ["Adds", "the", "given", "element", "to", "this", "queue", ".", "If", "the", "queue", "is", "currently", "full", "the", "element", "at", "the", "head", "of", "the", "queue", "is", "evicted", "to", "make", "room", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/common/src/main/java/com/streamsets/pipeline/lib/queue/XEvictingQueue.java#L86-L96", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "common/src/main/java/com/streamsets/pipeline/lib/queue/XEvictingQueue.java", "func_name": "XEvictingQueue.addAndGetEvicted", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds the given element to this queue. If the queue is currently full, the element at the head\nof the queue is evicted to make room and returns the evicted element.\n\n@return the evicted element, NULL if none.", "docstring_tokens": ["Adds", "the", "given", "element", "to", "this", "queue", ".", "If", "the", "queue", "is", "currently", "full", "the", "element", "at", "the", "head", "of", "the", "queue", "is", "evicted", "to", "make", "room", "and", "returns", "the", "evicted", "element", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/common/src/main/java/com/streamsets/pipeline/lib/queue/XEvictingQueue.java#L104-L115", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "lookup-protolib/src/main/java/com/streamsets/pipeline/stage/processor/kv/OptionalLoadingCache.java", "func_name": "OptionalLoadingCache.valueOrDefault", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Internal method to ensure that we return and not cache the default value if needed", "docstring_tokens": ["Internal", "method", "to", "ensure", "that", "we", "return", "and", "not", "cache", "the", "default", "value", "if", "needed"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/lookup-protolib/src/main/java/com/streamsets/pipeline/stage/processor/kv/OptionalLoadingCache.java#L51-L62", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/runner/preview/PreviewPipelineRunner.java", "func_name": "PreviewPipelineRunner.addReportedErrorsIfNeeded", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Preview only returns data associated with batches, however errors are reported outside of batch context for\nmulti-threaded pipelines. Thus we 'emulate' the behavior by simply adding into the current batch all 'so-far'\nreported errors.", "docstring_tokens": ["Preview", "only", "returns", "data", "associated", "with", "batches", "however", "errors", "are", "reported", "outside", "of", "batch", "context", "for", "multi", "-", "threaded", "pipelines", ".", "Thus", "we", "emulate", "the", "behavior", "by", "simply", "adding", "into", "the", "current", "batch", "all", "so", "-", "far", "reported", "errors", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/runner/preview/PreviewPipelineRunner.java#L384-L404", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "commonlib/src/main/java/com/streamsets/pipeline/lib/util/ProtobufTypeUtil.java", "func_name": "ProtobufTypeUtil.getDescriptor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a protobuf descriptor instance from the provided descriptor file.\n\n@param context Stage context used for finding the SDC resources directory\n@param protoDescriptorFile Path to descriptor file relative to SDC_RESOURCES\n@param messageType The name of the message to decode\n@param messageTypeToExtensionMap Map of protobuf extensions required for decoding\n@param defaultValueMap Map of default values to use for the message\n@return protobuf descriptor instance\n@throws StageException", "docstring_tokens": ["Returns", "a", "protobuf", "descriptor", "instance", "from", "the", "provided", "descriptor", "file", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/commonlib/src/main/java/com/streamsets/pipeline/lib/util/ProtobufTypeUtil.java#L88-L122", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "commonlib/src/main/java/com/streamsets/pipeline/lib/util/ProtobufTypeUtil.java", "func_name": "ProtobufTypeUtil.getAllFileDescriptors", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Loads a Protobuf file descriptor set into an ubermap of file descriptors.\n\n@param set FileDescriptorSet\n@param dependenciesMap FileDescriptor dependency map\n@param fileDescriptorMap The populated map of FileDescriptors\n@throws StageException", "docstring_tokens": ["Loads", "a", "Protobuf", "file", "descriptor", "set", "into", "an", "ubermap", "of", "file", "descriptors", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/commonlib/src/main/java/com/streamsets/pipeline/lib/util/ProtobufTypeUtil.java#L132-L157", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "commonlib/src/main/java/com/streamsets/pipeline/lib/util/ProtobufTypeUtil.java", "func_name": "ProtobufTypeUtil.populateDefaultsAndExtensions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Populates a map of protobuf extensions and map with the default values for\neach message field from a map of file descriptors.\n\n@param fileDescriptorMap Map of file descriptors\n@param typeToExtensionMap Map of extensions to populate\n@param defaultValueMap Map of default values to populate", "docstring_tokens": ["Populates", "a", "map", "of", "protobuf", "extensions", "and", "map", "with", "the", "default", "values", "for", "each", "message", "field", "from", "a", "map", "of", "file", "descriptors", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/commonlib/src/main/java/com/streamsets/pipeline/lib/util/ProtobufTypeUtil.java#L167-L191", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "commonlib/src/main/java/com/streamsets/pipeline/lib/util/ProtobufTypeUtil.java", "func_name": "ProtobufTypeUtil.getDescriptor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates a protobuf descriptor instance from a FileDescriptor set.\n\n@param set set of file descriptors\n@param fileDescriptorMap map of message types to file descriptors\n@param descriptorFile descriptor file for message to be decoded\n@param qualifiedMessageType the name of the message to be decoded\n@return protobuf descriptor instance\n@throws StageException", "docstring_tokens": ["Generates", "a", "protobuf", "descriptor", "instance", "from", "a", "FileDescriptor", "set", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/commonlib/src/main/java/com/streamsets/pipeline/lib/util/ProtobufTypeUtil.java#L203-L230", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "commonlib/src/main/java/com/streamsets/pipeline/lib/util/ProtobufTypeUtil.java", "func_name": "ProtobufTypeUtil.protobufToSdcField", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts a protobuf message to an SDC Record Field.\n\n@param record SDC Record to add field to\n@param fieldPath location in record where to insert field.\n@param descriptor protobuf descriptor instance\n@param messageTypeToExtensionMap protobuf extensions map\n@param message message to decode and insert into the specified field path\n@return new Field instance representing the decoded message\n@throws DataParserException", "docstring_tokens": ["Converts", "a", "protobuf", "message", "to", "an", "SDC", "Record", "Field", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/commonlib/src/main/java/com/streamsets/pipeline/lib/util/ProtobufTypeUtil.java#L288-L346", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "commonlib/src/main/java/com/streamsets/pipeline/lib/util/ProtobufTypeUtil.java", "func_name": "ProtobufTypeUtil.sdcFieldToProtobufMsg", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Serializes a record to a protobuf message using the specified descriptor.\n\n@param record Record to serialize\n@param desc Protobuf descriptor\n@param messageTypeToExtensionMap Protobuf extension map\n@param defaultValueMap Protobuf default field values\n@return serialized message\n@throws DataGeneratorException", "docstring_tokens": ["Serializes", "a", "record", "to", "a", "protobuf", "message", "using", "the", "specified", "descriptor", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/commonlib/src/main/java/com/streamsets/pipeline/lib/util/ProtobufTypeUtil.java#L630-L637", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "commonlib/src/main/java/com/streamsets/pipeline/lib/util/ProtobufTypeUtil.java", "func_name": "ProtobufTypeUtil.sdcFieldToProtobufMsg", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Serializes a field path in a record to a protobuf message using the specified descriptor.\n\n@param record Record with the field to serialize\n@param field The field to serialize\n@param fieldPath The field path of the specified field\n@param desc Protobuf descriptor\n@param messageTypeToExtensionMap Protobuf extension map\n@param defaultValueMap Protobuf default field values\n@return serialized message\n@throws DataGeneratorException", "docstring_tokens": ["Serializes", "a", "field", "path", "in", "a", "record", "to", "a", "protobuf", "message", "using", "the", "specified", "descriptor", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/commonlib/src/main/java/com/streamsets/pipeline/lib/util/ProtobufTypeUtil.java#L651-L714", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "httpcommonlib/src/main/java/com/streamsets/pipeline/lib/http/JerseyClientUtil.java", "func_name": "JerseyClientUtil.upgradeToJerseyConfigBean", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Helper method to upgrade both HTTP stages to the JerseyConfigBean\n@param configs List of configs to upgrade.", "docstring_tokens": ["Helper", "method", "to", "upgrade", "both", "HTTP", "stages", "to", "the", "JerseyConfigBean"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/httpcommonlib/src/main/java/com/streamsets/pipeline/lib/http/JerseyClientUtil.java#L122-L146", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "kudu-protolib/src/main/java/com/streamsets/pipeline/stage/lib/kudu/KuduUtils.java", "func_name": "KuduUtils.checkConnection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check network connection to the kudu master.\n@param kuduClient AsyncKuduClient\n@param context\n@param KUDU_MASTER\n@param issues", "docstring_tokens": ["Check", "network", "connection", "to", "the", "kudu", "master", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/kudu-protolib/src/main/java/com/streamsets/pipeline/stage/lib/kudu/KuduUtils.java#L41-L59", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "kudu-protolib/src/main/java/com/streamsets/pipeline/stage/lib/kudu/KuduUtils.java", "func_name": "KuduUtils.convertFromKuduType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert from Kudu type to SDC Field type\n@param kuduType\n@return Field.Type", "docstring_tokens": ["Convert", "from", "Kudu", "type", "to", "SDC", "Field", "type"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/kudu-protolib/src/main/java/com/streamsets/pipeline/stage/lib/kudu/KuduUtils.java#L66-L84", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "kudu-protolib/src/main/java/com/streamsets/pipeline/stage/lib/kudu/KuduUtils.java", "func_name": "KuduUtils.createField", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a field and assign a value off of RowResult.\n@param result Result obtained from scan\n@param fieldName Field name to create\n@param type Kudu Type for the field\n@return Generated field\n@throws StageException", "docstring_tokens": ["Create", "a", "field", "and", "assign", "a", "value", "off", "of", "RowResult", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/kudu-protolib/src/main/java/com/streamsets/pipeline/stage/lib/kudu/KuduUtils.java#L94-L127", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/runner/FullPipeBatch.java", "func_name": "FullPipeBatch.intercept", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Intercept given records with all the interceptors.\n\nWe're not cloning records during interception as we aim at changing their original form.", "docstring_tokens": ["Intercept", "given", "records", "with", "all", "the", "interceptors", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/runner/FullPipeBatch.java#L389-L395", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "commonlib/src/main/java/com/streamsets/pipeline/lib/io/FileLine.java", "func_name": "FileLine.getText", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the text of the line.\n\n@return the text of the line.", "docstring_tokens": ["Returns", "the", "text", "of", "the", "line", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/commonlib/src/main/java/com/streamsets/pipeline/lib/io/FileLine.java#L57-L62", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/validation/ValidationUtil.java", "func_name": "ValidationUtil.addMissingConfigsToStage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add any missing configs to the stage configuration.", "docstring_tokens": ["Add", "any", "missing", "configs", "to", "the", "stage", "configuration", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/validation/ValidationUtil.java#L111-L133", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/http/HttpProcessor.java", "func_name": "HttpProcessor.parseResponse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses the HTTP response text from a request into SDC Records\n\n@param response HTTP response\n@return an SDC record resulting from the response text\n@throws StageException if the response could not be parsed", "docstring_tokens": ["Parses", "the", "HTTP", "response", "text", "from", "a", "request", "into", "SDC", "Records"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/http/HttpProcessor.java#L307-L327", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/http/HttpProcessor.java", "func_name": "HttpProcessor.addResponseHeaders", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Populates HTTP response headers to the configured location\n\n@param record current record to populate\n@param response HTTP response\n@throws StageException when writing headers to a field path that already exists", "docstring_tokens": ["Populates", "HTTP", "response", "headers", "to", "the", "configured", "location"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/http/HttpProcessor.java#L336-L348", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/http/HttpProcessor.java", "func_name": "HttpProcessor.writeResponseHeaderToField", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes HTTP response headers to the SDC Record at the configured field path.\n\n@param record Record to populate with response headers.\n@param response HTTP response\n@throws StageException if the field path already exists", "docstring_tokens": ["Writes", "HTTP", "response", "headers", "to", "the", "SDC", "Record", "at", "the", "configured", "field", "path", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/http/HttpProcessor.java#L357-L371", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/http/HttpProcessor.java", "func_name": "HttpProcessor.writeResponseHeaderToRecordHeader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes HTTP response headers to the SDC Record header with the configured optional prefix.\n\n@param response HTTP response\n@param header SDC Record header", "docstring_tokens": ["Writes", "HTTP", "response", "headers", "to", "the", "SDC", "Record", "header", "with", "the", "configured", "optional", "prefix", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/http/HttpProcessor.java#L379-L386", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/blobstore/BlobStoreTaskImpl.java", "func_name": "BlobStoreTaskImpl.saveMetadata", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Commit metadata content to a file to disk.\n\nThis method does three-phased commit:\n1) New content is written into a new temporary file.\n2) Old metadata is dropped\n3) Rename from new to old is done", "docstring_tokens": ["Commit", "metadata", "content", "to", "a", "file", "to", "disk", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/blobstore/BlobStoreTaskImpl.java#L295-L325", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "basic-lib/src/main/java/com/streamsets/pipeline/stage/origin/http/HttpClientSource.java", "func_name": "HttpClientSource.configureClient", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Helper method to apply Jersey client configuration properties.", "docstring_tokens": ["Helper", "method", "to", "apply", "Jersey", "client", "configuration", "properties", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/basic-lib/src/main/java/com/streamsets/pipeline/stage/origin/http/HttpClientSource.java#L244-L253", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "basic-lib/src/main/java/com/streamsets/pipeline/stage/origin/http/HttpClientSource.java", "func_name": "HttpClientSource.parseHeadersOnly", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Used only for HEAD requests. Sets up a record for output based on headers only\nwith an empty body.\n\n@param batchMaker batch to add records to.\n@return the next source offset to commit\n@throws StageException if an unhandled error is encountered", "docstring_tokens": ["Used", "only", "for", "HEAD", "requests", ".", "Sets", "up", "a", "record", "for", "output", "based", "on", "headers", "only", "with", "an", "empty", "body", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/basic-lib/src/main/java/com/streamsets/pipeline/stage/origin/http/HttpClientSource.java#L685-L703", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "basic-lib/src/main/java/com/streamsets/pipeline/stage/origin/http/HttpClientSource.java", "func_name": "HttpClientSource.incrementSourceOffset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Increments the current source offset's startAt portion by the specified amount.\nThis is the number of records parsed when paging BY_OFFSET or 1 if incrementing\nBY_PAGE.\n\n@param sourceOffset the source offset\n@param increment the amount to increment the offset by", "docstring_tokens": ["Increments", "the", "current", "source", "offset", "s", "startAt", "portion", "by", "the", "specified", "amount", ".", "This", "is", "the", "number", "of", "records", "parsed", "when", "paging", "BY_OFFSET", "or", "1", "if", "incrementing", "BY_PAGE", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/basic-lib/src/main/java/com/streamsets/pipeline/stage/origin/http/HttpClientSource.java#L714-L720", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "basic-lib/src/main/java/com/streamsets/pipeline/stage/origin/http/HttpClientSource.java", "func_name": "HttpClientSource.parsePaginatedResult", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses a paginated result from the configured field.\n\n@param batchMaker batch to add records to\n@param sourceOffset to use as a base when creating records\n@param record the source record containing an array to be converted to records\n@return number of records parsed\n@throws StageException if an unhandled error is encountered", "docstring_tokens": ["Parses", "a", "paginated", "result", "from", "the", "configured", "field", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/basic-lib/src/main/java/com/streamsets/pipeline/stage/origin/http/HttpClientSource.java#L783-L818", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "basic-lib/src/main/java/com/streamsets/pipeline/stage/origin/http/HttpClientSource.java", "func_name": "HttpClientSource.addResponseHeaders", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds the HTTP response headers to the record header.\n@param header an SDC record header to populate", "docstring_tokens": ["Adds", "the", "HTTP", "response", "headers", "to", "the", "record", "header", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/basic-lib/src/main/java/com/streamsets/pipeline/stage/origin/http/HttpClientSource.java#L824-L836", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "basic-lib/src/main/java/com/streamsets/pipeline/stage/origin/http/HttpClientSource.java", "func_name": "HttpClientSource.resolveHeaders", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves any expressions in the Header value entries of the request.\n@return map of evaluated headers to add to the request\n@throws StageException if an unhandled error is encountered", "docstring_tokens": ["Resolves", "any", "expressions", "in", "the", "Header", "value", "entries", "of", "the", "request", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/basic-lib/src/main/java/com/streamsets/pipeline/stage/origin/http/HttpClientSource.java#L863-L875", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "basic-lib/src/main/java/com/streamsets/pipeline/stage/origin/http/HttpClientSource.java", "func_name": "HttpClientSource.processResponse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Verifies that the response was a successful one and has data and continues to parse the response.\n@param maxRecords maximum number of records to add to the batch\n@param batchMaker batch of records to populate\n@return a new source offset if the response was successful\n@throws StageException if an unhandled error is encountered", "docstring_tokens": ["Verifies", "that", "the", "response", "was", "a", "successful", "one", "and", "has", "data", "and", "continues", "to", "parse", "the", "response", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/basic-lib/src/main/java/com/streamsets/pipeline/stage/origin/http/HttpClientSource.java#L884-L925", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "mapreduce-protolib/src/main/java/com/streamsets/pipeline/stage/destination/mapreduce/jobtype/avroconvert/AvroConversionBaseMapper.java", "func_name": "AvroConversionBaseMapper.propertyDefined", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return true if and only if given property is defined with non empty non default value", "docstring_tokens": ["Return", "true", "if", "and", "only", "if", "given", "property", "is", "defined", "with", "non", "empty", "non", "default", "value"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/mapreduce-protolib/src/main/java/com/streamsets/pipeline/stage/destination/mapreduce/jobtype/avroconvert/AvroConversionBaseMapper.java#L45-L49", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "dataformats-lib/src/main/java/com/streamsets/service/lib/ShimUtil.java", "func_name": "ShimUtil.convert", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Change package name for DataParserException.\n\n@param original Original exception from *.lib.* package\n@return New exception from *.api.* package", "docstring_tokens": ["Change", "package", "name", "for", "DataParserException", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/dataformats-lib/src/main/java/com/streamsets/service/lib/ShimUtil.java#L34-L49", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "dataformats-lib/src/main/java/com/streamsets/service/lib/ShimUtil.java", "func_name": "ShimUtil.convert", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Change package name for DataGeneratorException.\n\n@param original Original exception from *.lib.* package\n@return New exception from *.api.* package", "docstring_tokens": ["Change", "package", "name", "for", "DataGeneratorException", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/dataformats-lib/src/main/java/com/streamsets/service/lib/ShimUtil.java#L57-L64", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "google-cloud-lib/src/main/java/com/streamsets/pipeline/stage/lib/GoogleCloudCredentialsConfig.java", "func_name": "GoogleCloudCredentialsConfig.getCredentials", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads a JSON credentials file for a service account from and returns any errors.\n\n@param issues list to append any discovered issues.\n@return a generic credentials object", "docstring_tokens": ["Reads", "a", "JSON", "credentials", "file", "for", "a", "service", "account", "from", "and", "returns", "any", "errors", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/google-cloud-lib/src/main/java/com/streamsets/pipeline/stage/lib/GoogleCloudCredentialsConfig.java#L111-L142", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "client-api/src/main/java/com/streamsets/datacollector/client/api/PreviewApi.java", "func_name": "PreviewApi.previewWithOverride", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Run Pipeline preview\n\n@param pipelineId\n@param stageOutputsToOverrideJson\n@param rev\n@param batchSize\n@param batches\n@param skipTargets\n@param endStage\n@param timeout\n@return PreviewInfoJson", "docstring_tokens": ["Run", "Pipeline", "preview"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/client-api/src/main/java/com/streamsets/datacollector/client/api/PreviewApi.java#L66-L132", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "common/src/main/java/com/streamsets/pipeline/lib/io/AbstractOverrunDelimitedReader.java", "func_name": "AbstractOverrunDelimitedReader.copyToBuffer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "we use this to trim the output in case of overruns", "docstring_tokens": ["we", "use", "this", "to", "trim", "the", "output", "in", "case", "of", "overruns"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/common/src/main/java/com/streamsets/pipeline/lib/io/AbstractOverrunDelimitedReader.java#L128-L144", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "bootstrap/src/main/java/com/streamsets/pipeline/ApplicationPackage.java", "func_name": "ApplicationPackage.removeLogicalDuplicates", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Traverses sorted list of packages and removes logical duplicates. For example\nif the set contains akka., akka.io., and akka.util. only akka. will remain.\nNote that if the set contains only akka.io. and akka.util. both will remain.\nOtherwise all of the org.apache. would devolve to org.", "docstring_tokens": ["Traverses", "sorted", "list", "of", "packages", "and", "removes", "logical", "duplicates", ".", "For", "example", "if", "the", "set", "contains", "akka", ".", "akka", ".", "io", ".", "and", "akka", ".", "util", ".", "only", "akka", ".", "will", "remain", ".", "Note", "that", "if", "the", "set", "contains", "only", "akka", ".", "io", ".", "and", "akka", ".", "util", ".", "both", "will", "remain", ".", "Otherwise", "all", "of", "the", "org", ".", "apache", ".", "would", "devolve", "to", "org", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/bootstrap/src/main/java/com/streamsets/pipeline/ApplicationPackage.java#L188-L202", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "hdfs-protolib/src/main/java/com/streamsets/pipeline/stage/destination/hdfs/HdfsTarget.java", "func_name": "HdfsTarget.emptyBatch", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "new data.", "docstring_tokens": ["new", "data", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/hdfs-protolib/src/main/java/com/streamsets/pipeline/stage/destination/hdfs/HdfsTarget.java#L143-L159", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "commonlib/src/main/java/com/streamsets/pipeline/lib/io/MultiLineLiveFileReader.java", "func_name": "MultiLineLiveFileReader.findNextMainLine", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "finds the first main line in the chunk from the specified index position onwards", "docstring_tokens": ["finds", "the", "first", "main", "line", "in", "the", "chunk", "from", "the", "specified", "index", "position", "onwards"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/commonlib/src/main/java/com/streamsets/pipeline/lib/io/MultiLineLiveFileReader.java#L108-L117", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "commonlib/src/main/java/com/streamsets/pipeline/lib/io/MultiLineLiveFileReader.java", "func_name": "MultiLineLiveFileReader.resolveChunk", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "it there is an incomplete multiline from a previous chunk it starts from it.", "docstring_tokens": ["it", "there", "is", "an", "incomplete", "multiline", "from", "a", "previous", "chunk", "it", "starts", "from", "it", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/commonlib/src/main/java/com/streamsets/pipeline/lib/io/MultiLineLiveFileReader.java#L121-L173", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/multithread/ConnectionManager.java", "func_name": "ConnectionManager.closeConnection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Close the current thread's connection", "docstring_tokens": ["Close", "the", "current", "thread", "s", "connection"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/multithread/ConnectionManager.java#L78-L88", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/fieldrenamer/FieldRenamerProcessor.java", "func_name": "FieldRenamerProcessor.escapeQuotedSubstring", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add backslash to escape the | character within quoted sections of the\ninput string. This prevents the | from being processed as part of a regex.\n@param input Contains the field name to process.\n@return New string", "docstring_tokens": ["Add", "backslash", "to", "escape", "the", "|", "character", "within", "quoted", "sections", "of", "the", "input", "string", ".", "This", "prevents", "the", "|", "from", "being", "processed", "as", "part", "of", "a", "regex", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/fieldrenamer/FieldRenamerProcessor.java#L94-L105", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "google-cloud-lib/src/main/java/com/streamsets/pipeline/stage/pubsub/origin/PubSubSource.java", "func_name": "PubSubSource.getFlowControlSettings", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a flow control setting such that a subscriber will block if it has buffered more messages than can be\nprocessed in a single batch times the number of record processors. Since the flow control settings are per\nsubscriber, we should divide by the number of subscribers to avoid buffering too much data in each subscriber.\n\n@return settings based on the stage configuration.", "docstring_tokens": ["Returns", "a", "flow", "control", "setting", "such", "that", "a", "subscriber", "will", "block", "if", "it", "has", "buffered", "more", "messages", "than", "can", "be", "processed", "in", "a", "single", "batch", "times", "the", "number", "of", "record", "processors", ".", "Since", "the", "flow", "control", "settings", "are", "per", "subscriber", "we", "should", "divide", "by", "the", "number", "of", "subscribers", "to", "avoid", "buffering", "too", "much", "data", "in", "each", "subscriber", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/google-cloud-lib/src/main/java/com/streamsets/pipeline/stage/pubsub/origin/PubSubSource.java#L305-L310", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "google-cloud-lib/src/main/java/com/streamsets/pipeline/stage/pubsub/origin/PubSubSource.java", "func_name": "PubSubSource.getChannelProvider", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a channel provider shared by each subscriber. It is basically the default ChannelProvider with the\nexception that it can be configured with a custom endpoint, for example when running against the PubSub Emulator.\n\n@return channel provider based on the stage configuration.", "docstring_tokens": ["Creates", "a", "channel", "provider", "shared", "by", "each", "subscriber", ".", "It", "is", "basically", "the", "default", "ChannelProvider", "with", "the", "exception", "that", "it", "can", "be", "configured", "with", "a", "custom", "endpoint", "for", "example", "when", "running", "against", "the", "PubSub", "Emulator", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/google-cloud-lib/src/main/java/com/streamsets/pipeline/stage/pubsub/origin/PubSubSource.java#L318-L325", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "cluster-common/src/main/java/com/streamsets/pipeline/cluster/Producer.java", "func_name": "Producer.put", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Queues the batch for the consumer and waits until the consumer\nsuccessfully commits the batch. While waiting processes any\ncontrol messages from the consumer. Throws an exception\nwhen the consumer has indicated it encountered an error.", "docstring_tokens": ["Queues", "the", "batch", "for", "the", "consumer", "and", "waits", "until", "the", "consumer", "successfully", "commits", "the", "batch", ".", "While", "waiting", "processes", "any", "control", "messages", "from", "the", "consumer", ".", "Throws", "an", "exception", "when", "the", "consumer", "has", "indicated", "it", "encountered", "an", "error", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/cluster-common/src/main/java/com/streamsets/pipeline/cluster/Producer.java#L55-L93", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "common/src/main/java/com/streamsets/pipeline/lib/parser/shaded/org/aicer/grok/dictionary/GrokDictionary.java", "func_name": "GrokDictionary.compileExpression", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compiles the expression into a pattern\n\nThis uses the internal dictionary of named regular expressions\n\n@param expression\n@return The compiled expression", "docstring_tokens": ["Compiles", "the", "expression", "into", "a", "pattern"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/common/src/main/java/com/streamsets/pipeline/lib/parser/shaded/org/aicer/grok/dictionary/GrokDictionary.java#L103-L111", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "common/src/main/java/com/streamsets/pipeline/lib/parser/shaded/org/aicer/grok/dictionary/GrokDictionary.java", "func_name": "GrokDictionary.digestExpressionAux", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Digests the original expression into a pure named regex\n\n@param originalExpression", "docstring_tokens": ["Digests", "the", "original", "expression", "into", "a", "pure", "named", "regex"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/common/src/main/java/com/streamsets/pipeline/lib/parser/shaded/org/aicer/grok/dictionary/GrokDictionary.java#L153-L205", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "common/src/main/java/com/streamsets/pipeline/lib/parser/shaded/org/aicer/grok/dictionary/GrokDictionary.java", "func_name": "GrokDictionary.addDictionary", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Loads dictionary from an input stream\n\nThis can be used to load dictionaries available in the class path

\n\n@param inputStream", "docstring_tokens": ["Loads", "dictionary", "from", "an", "input", "stream"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/common/src/main/java/com/streamsets/pipeline/lib/parser/shaded/org/aicer/grok/dictionary/GrokDictionary.java#L229-L236", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "common/src/main/java/com/streamsets/pipeline/lib/parser/shaded/org/aicer/grok/dictionary/GrokDictionary.java", "func_name": "GrokDictionary.addDictionary", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a dictionary entry via a Reader object\n\n@param reader", "docstring_tokens": ["Adds", "a", "dictionary", "entry", "via", "a", "Reader", "object"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/common/src/main/java/com/streamsets/pipeline/lib/parser/shaded/org/aicer/grok/dictionary/GrokDictionary.java#L275-L284", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/aggregation/aggregator/AggregatorDataProvider.java", "func_name": "AggregatorDataProvider.stop", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Stops the AggregatorDataProvider instance.", "docstring_tokens": ["Stops", "the", "AggregatorDataProvider", "instance", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/aggregation/aggregator/AggregatorDataProvider.java#L169-L180", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/aggregation/aggregator/AggregatorDataProvider.java", "func_name": "AggregatorDataProvider.roll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Atomically rolls the DataWindow of all aggregators associated with the AggregatorDataProvider.\n\n@param newDataWindowEndTimeMillis ending time of the new DataWindow.\n@return a Map with all the Aggregators data of the DataWindow that closed.", "docstring_tokens": ["Atomically", "rolls", "the", "DataWindow", "of", "all", "aggregators", "associated", "with", "the", "AggregatorDataProvider", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/aggregation/aggregator/AggregatorDataProvider.java#L188-L213", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "client-api/src/main/java/com/streamsets/datacollector/client/JSON.java", "func_name": "JSON.serialize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Serialize the given Java object into JSON string.", "docstring_tokens": ["Serialize", "the", "given", "Java", "object", "into", "JSON", "string", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/client-api/src/main/java/com/streamsets/datacollector/client/JSON.java#L40-L49", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "client-api/src/main/java/com/streamsets/datacollector/client/JSON.java", "func_name": "JSON.deserialize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Deserialize the given JSON string to Java object.\n\n@param body The JSON string\n@param returnType The type to deserialize inot\n@return The deserialized Java object", "docstring_tokens": ["Deserialize", "the", "given", "JSON", "string", "to", "Java", "object", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/client-api/src/main/java/com/streamsets/datacollector/client/JSON.java#L58-L68", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "client-api/src/main/java/com/streamsets/datacollector/client/JSON.java", "func_name": "JSON.deserialize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Deserialize the given File to Java object.\n\n@param file The File path\n@param returnType The type to deserialize inot\n@return The deserialized Java object", "docstring_tokens": ["Deserialize", "the", "given", "File", "to", "Java", "object", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/client-api/src/main/java/com/streamsets/datacollector/client/JSON.java#L77-L84", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "stage-lib-archetype/src/main/resources/archetype-resources/src/main/java/stage/destination/sample/SampleTarget.java", "func_name": "SampleTarget.write", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes a single record to the destination.\n\n@param record the record to write to the destination.\n@throws OnRecordErrorException when a record cannot be written.", "docstring_tokens": ["Writes", "a", "single", "record", "to", "the", "destination", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/stage-lib-archetype/src/main/resources/archetype-resources/src/main/java/stage/destination/sample/SampleTarget.java#L98-L107", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "hive-protolib/src/main/java/com/streamsets/pipeline/stage/lib/hive/HiveMetastoreUtil.java", "func_name": "HiveMetastoreUtil.resolveEL", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolve expression from record", "docstring_tokens": ["Resolve", "expression", "from", "record"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/hive-protolib/src/main/java/com/streamsets/pipeline/stage/lib/hive/HiveMetastoreUtil.java#L167-L169", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "hive-protolib/src/main/java/com/streamsets/pipeline/stage/lib/hive/HiveMetastoreUtil.java", "func_name": "HiveMetastoreUtil.generateInnerFieldFromTheList", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Opposite operation of extractInnerMapFromTheList.\nIt takes LinkedHashMap and generate a Field that contains the list.\nThis is to send metadata record to HMS target.\nThis function is called to for partition type list and partition value list.", "docstring_tokens": ["Opposite", "operation", "of", "extractInnerMapFromTheList", ".", "It", "takes", "LinkedHashMap", "and", "generate", "a", "Field", "that", "contains", "the", "list", ".", "This", "is", "to", "send", "metadata", "record", "to", "HMS", "target", ".", "This", "function", "is", "called", "to", "for", "partition", "type", "list", "and", "partition", "value", "list", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/hive-protolib/src/main/java/com/streamsets/pipeline/stage/lib/hive/HiveMetastoreUtil.java#L240-L262", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "hive-protolib/src/main/java/com/streamsets/pipeline/stage/lib/hive/HiveMetastoreUtil.java", "func_name": "HiveMetastoreUtil.getTableName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get Table Name from the metadata record.\n@param metadataRecord the metadata record\n@return Table Name\n@throws HiveStageCheckedException if the table field does not exist in the metadata record.", "docstring_tokens": ["Get", "Table", "Name", "from", "the", "metadata", "record", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/hive-protolib/src/main/java/com/streamsets/pipeline/stage/lib/hive/HiveMetastoreUtil.java#L414-L419", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "hive-protolib/src/main/java/com/streamsets/pipeline/stage/lib/hive/HiveMetastoreUtil.java", "func_name": "HiveMetastoreUtil.getDatabaseName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get Database Name from the metadata record.\n@param metadataRecord the metadata record\n@return Database Name\n@throws HiveStageCheckedException if the database name does not exist in the metadata record.", "docstring_tokens": ["Get", "Database", "Name", "from", "the", "metadata", "record", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/hive-protolib/src/main/java/com/streamsets/pipeline/stage/lib/hive/HiveMetastoreUtil.java#L427-L433", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "hive-protolib/src/main/java/com/streamsets/pipeline/stage/lib/hive/HiveMetastoreUtil.java", "func_name": "HiveMetastoreUtil.getInternalField", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get internal field from the metadata record.\n@param metadataRecord the metadata record\n@return internal field value\n@throws HiveStageCheckedException if the internal field does not exist in the metadata record.", "docstring_tokens": ["Get", "internal", "field", "from", "the", "metadata", "record", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/hive-protolib/src/main/java/com/streamsets/pipeline/stage/lib/hive/HiveMetastoreUtil.java#L441-L446", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "hive-protolib/src/main/java/com/streamsets/pipeline/stage/lib/hive/HiveMetastoreUtil.java", "func_name": "HiveMetastoreUtil.getLocation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get Location from the metadata record.\n@param metadataRecord the metadata record\n@return location\n@throws HiveStageCheckedException if the location field does not exist in the metadata record.", "docstring_tokens": ["Get", "Location", "from", "the", "metadata", "record", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/hive-protolib/src/main/java/com/streamsets/pipeline/stage/lib/hive/HiveMetastoreUtil.java#L454-L459", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "hive-protolib/src/main/java/com/streamsets/pipeline/stage/lib/hive/HiveMetastoreUtil.java", "func_name": "HiveMetastoreUtil.getCustomLocation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the customLocation flag from the metadata record. This flag marks whether or not the Hive database object\nis stored into a custom path on the Hadoop filesystem. In both cases, the path is stored in the 'location'\nfield of the metadata record.\n\nThe customLocation flag is included in partition metadata records with version > 2. For previous versions this\nfunction returns {@code DEFAULT_CUSTOM_LOCATION} to keep the previous behavior.\n\n@param metadataRecord the metadata record.\n@return true if the location has been customized, false otherwise.\n@throws HiveStageCheckedException", "docstring_tokens": ["Get", "the", "customLocation", "flag", "from", "the", "metadata", "record", ".", "This", "flag", "marks", "whether", "or", "not", "the", "Hive", "database", "object", "is", "stored", "into", "a", "custom", "path", "on", "the", "Hadoop", "filesystem", ".", "In", "both", "cases", "the", "path", "is", "stored", "in", "the", "location", "field", "of", "the", "metadata", "record", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/hive-protolib/src/main/java/com/streamsets/pipeline/stage/lib/hive/HiveMetastoreUtil.java#L473-L482", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "hive-protolib/src/main/java/com/streamsets/pipeline/stage/lib/hive/HiveMetastoreUtil.java", "func_name": "HiveMetastoreUtil.getAvroSchema", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get Avro Schema from Metadata Record.\n@param metadataRecord the metadata record.\n@return Avro Schema\n@throws HiveStageCheckedException if the avro schema field does not exist in the metadata record.", "docstring_tokens": ["Get", "Avro", "Schema", "from", "Metadata", "Record", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/hive-protolib/src/main/java/com/streamsets/pipeline/stage/lib/hive/HiveMetastoreUtil.java#L490-L495", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "hive-protolib/src/main/java/com/streamsets/pipeline/stage/lib/hive/HiveMetastoreUtil.java", "func_name": "HiveMetastoreUtil.getDataFormat", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get DataFormat from Metadata Record.\n@param metadataRecord the metadata record\n@return the label of dataFormat", "docstring_tokens": ["Get", "DataFormat", "from", "Metadata", "Record", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/hive-protolib/src/main/java/com/streamsets/pipeline/stage/lib/hive/HiveMetastoreUtil.java#L502-L511", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "hive-protolib/src/main/java/com/streamsets/pipeline/stage/lib/hive/HiveMetastoreUtil.java", "func_name": "HiveMetastoreUtil.newSchemaMetadataFieldBuilder", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Fill in metadata to Record. This is for new schema creation.", "docstring_tokens": ["Fill", "in", "metadata", "to", "Record", ".", "This", "is", "for", "new", "schema", "creation", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/hive-protolib/src/main/java/com/streamsets/pipeline/stage/lib/hive/HiveMetastoreUtil.java#L550-L593", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "hive-protolib/src/main/java/com/streamsets/pipeline/stage/lib/hive/HiveMetastoreUtil.java", "func_name": "HiveMetastoreUtil.validatePartitionInformation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks whether the number of partition columns and names match w.r.t hive.\n@param typeInfo {@link com.streamsets.pipeline.stage.lib.hive.cache.TypeInfoCacheSupport.TypeInfo}\n@param partitionValMap Map of partition name to values\n@param qualifiedTableName Qualified table name.\n@throws HiveStageCheckedException if there is a mismatch w.r.t hive", "docstring_tokens": ["Checks", "whether", "the", "number", "of", "partition", "columns", "and", "names", "match", "w", ".", "r", ".", "t", "hive", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/hive-protolib/src/main/java/com/streamsets/pipeline/stage/lib/hive/HiveMetastoreUtil.java#L780-L796", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "hive-protolib/src/main/java/com/streamsets/pipeline/stage/lib/hive/HiveMetastoreUtil.java", "func_name": "HiveMetastoreUtil.generatePartitionPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Build a partition path for the external table.\n@param partitions A list of key-value pair to build a partition path\n@return String that represents partition path", "docstring_tokens": ["Build", "a", "partition", "path", "for", "the", "external", "table", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/hive-protolib/src/main/java/com/streamsets/pipeline/stage/lib/hive/HiveMetastoreUtil.java#L803-L809", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "hive-protolib/src/main/java/com/streamsets/pipeline/stage/lib/hive/HiveMetastoreUtil.java", "func_name": "HiveMetastoreUtil.serializeSchemaToHDFS", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the hdfs paths where the avro schema is stored after serializing.\nPath is appended with current time so as to have an ordering.\n@param schemaFolder Schema Folder (If this starts with '/' it is considered absolute)\n@return Hdfs Path String.", "docstring_tokens": ["Returns", "the", "hdfs", "paths", "where", "the", "avro", "schema", "is", "stored", "after", "serializing", ".", "Path", "is", "appended", "with", "current", "time", "so", "as", "to", "have", "an", "ordering", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/hive-protolib/src/main/java/com/streamsets/pipeline/stage/lib/hive/HiveMetastoreUtil.java#L817-L866", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/JdbcGenericRecordWriter.java", "func_name": "JdbcGenericRecordWriter.setParameters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set parameters and primary keys in query.\n@param opCode\n@param columnsToParameters\n@param record\n@param connection\n@param statement\n@return", "docstring_tokens": ["Set", "parameters", "and", "primary", "keys", "in", "query", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/JdbcGenericRecordWriter.java#L269-L289", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "client-api/src/main/java/com/streamsets/datacollector/client/api/SystemApi.java", "func_name": "SystemApi.getConfiguration", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns ALL SDC Configuration\n\n@return Map", "docstring_tokens": ["Returns", "ALL", "SDC", "Configuration"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/client-api/src/main/java/com/streamsets/datacollector/client/api/SystemApi.java#L55-L82", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "net-commonlib/src/main/java/com/streamsets/pipeline/lib/parser/net/syslog/SyslogDecoder.java", "func_name": "SyslogDecoder.parseRfc3164Time", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse the RFC3164 date format. This is trickier than it sounds because this\nformat does not specify a year so we get weird edge cases at year\nboundaries. This implementation tries to \"do what I mean\".\n@param ts RFC3164-compatible timestamp to be parsed\n@return Typical (for Java) milliseconds since the UNIX epoch", "docstring_tokens": ["Parse", "the", "RFC3164", "date", "format", ".", "This", "is", "trickier", "than", "it", "sounds", "because", "this", "format", "does", "not", "specify", "a", "year", "so", "we", "get", "weird", "edge", "cases", "at", "year", "boundaries", ".", "This", "implementation", "tries", "to", "do", "what", "I", "mean", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/net-commonlib/src/main/java/com/streamsets/pipeline/lib/parser/net/syslog/SyslogDecoder.java#L376-L409", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "cluster-bootstrap-api/src/main/java/com/streamsets/pipeline/Utils.java", "func_name": "Utils.format", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "no escaping is supported, no array content printing either.", "docstring_tokens": ["no", "escaping", "is", "supported", "no", "array", "content", "printing", "either", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/cluster-bootstrap-api/src/main/java/com/streamsets/pipeline/Utils.java#L81-L96", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/runner/StageRuntime.java", "func_name": "StageRuntime.startBatch", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "For all PushSource callbacks we have to make sure that we get back to a security context\nof SDC container module, otherwise we won't be able to update state files with new offsets\nand other stuff.", "docstring_tokens": ["For", "all", "PushSource", "callbacks", "we", "have", "to", "make", "sure", "that", "we", "get", "back", "to", "a", "security", "context", "of", "SDC", "container", "module", "otherwise", "we", "won", "t", "be", "able", "to", "update", "state", "files", "with", "new", "offsets", "and", "other", "stuff", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/runner/StageRuntime.java#L350-L362", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "solr-protolib/src/main/java/com/streamsets/pipeline/stage/destination/solr/SolrTarget.java", "func_name": "SolrTarget.checkRecordContainsSolrFields", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks whether the record contains solr fields in solrFieldsMap or not.\n\n@param recordFieldMap Fields contained in the reocrd\n@param record The whole record\n@param solrFieldsMap Solr fields that will be searched in record fields\n@param errorToThrow error to use if missing Solr fields are detected\n@return true if record contains all solr fields in solrFieldsMap otherwise false\n@throws StageException Exception thrown by handleError method call", "docstring_tokens": ["Checks", "whether", "the", "record", "contains", "solr", "fields", "in", "solrFieldsMap", "or", "not", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/solr-protolib/src/main/java/com/streamsets/pipeline/stage/destination/solr/SolrTarget.java#L346-L376", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "solr-protolib/src/main/java/com/streamsets/pipeline/stage/destination/solr/SolrTarget.java", "func_name": "SolrTarget.filterAutogeneratedFieldNames", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Filter auto-generated fields from the list passed as argument.\n\n@param fieldNames List of Solr field names.\n@return A copy of {@code fieldNames} with all the auto-generated fields removed.", "docstring_tokens": ["Filter", "auto", "-", "generated", "fields", "from", "the", "list", "passed", "as", "argument", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/solr-protolib/src/main/java/com/streamsets/pipeline/stage/destination/solr/SolrTarget.java#L384-L392", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "solr-protolib/src/main/java/com/streamsets/pipeline/stage/destination/solr/SolrTarget.java", "func_name": "SolrTarget.sendOnRecordErrorExceptionToHandler", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Send exception ex to errorRecordHandler in order to let the handler process it.\n\n@param record The record which was being processed when the exception was thrown\n@param error The error template\n@param ex The exception that was thrown\n@throws StageException Exception thrown by the errorRecordHandler when handling the exception ex", "docstring_tokens": ["Send", "exception", "ex", "to", "errorRecordHandler", "in", "order", "to", "let", "the", "handler", "process", "it", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/solr-protolib/src/main/java/com/streamsets/pipeline/stage/destination/solr/SolrTarget.java#L455-L464", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/classpath/DependencyParser.java", "func_name": "DependencyParser.parseJarName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generate dependency from a jar file name.", "docstring_tokens": ["Generate", "dependency", "from", "a", "jar", "file", "name", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/classpath/DependencyParser.java#L165-L182", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/classpath/DependencyParser.java", "func_name": "DependencyParser.parseURL", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generate dependency from a URL.", "docstring_tokens": ["Generate", "dependency", "from", "a", "URL", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/classpath/DependencyParser.java#L187-L189", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "couchbase-protolib/src/main/java/com/streamsets/pipeline/lib/couchbase/CouchbaseConnector.java", "func_name": "CouchbaseConnector.getInstance", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Maintains a singleton instance of the CouchbaseConnector object per pipeline\n\n@param config the stage configuration\n@param issues the list of configuration issues\n@param context the context for the stage\n@return a singleton instance for Couchbase connections", "docstring_tokens": ["Maintains", "a", "singleton", "instance", "of", "the", "CouchbaseConnector", "object", "per", "pipeline"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/couchbase-protolib/src/main/java/com/streamsets/pipeline/lib/couchbase/CouchbaseConnector.java#L186-L202", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "couchbase-protolib/src/main/java/com/streamsets/pipeline/lib/couchbase/CouchbaseConnector.java", "func_name": "CouchbaseConnector.close", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Disconnects from Couchbase and releases all resources", "docstring_tokens": ["Disconnects", "from", "Couchbase", "and", "releases", "all", "resources"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/couchbase-protolib/src/main/java/com/streamsets/pipeline/lib/couchbase/CouchbaseConnector.java#L223-L247", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "couchbase-protolib/src/main/java/com/streamsets/pipeline/lib/couchbase/CouchbaseConnector.java", "func_name": "CouchbaseConnector.validateConfig", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Validates connection configurations that don't require runtime exception handling\n@param config the stage configuration\n@param issues the list of configuration issues\n@param context the context for the stage", "docstring_tokens": ["Validates", "connection", "configurations", "that", "don", "t", "require", "runtime", "exception", "handling"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/couchbase-protolib/src/main/java/com/streamsets/pipeline/lib/couchbase/CouchbaseConnector.java#L255-L289", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "stagesupport/src/main/java/com/streamsets/pipeline/lib/operation/OperationType.java", "func_name": "OperationType.getLabelFromStringCode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert from code in String type to label\n@param code\n@return", "docstring_tokens": ["Convert", "from", "code", "in", "String", "type", "to", "label"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/stagesupport/src/main/java/com/streamsets/pipeline/lib/operation/OperationType.java#L82-L91", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/definition/ConfigDefinitionExtractor.java", "func_name": "ConfigDefinitionExtractor.verifyDependencyExists", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Verify that the config definition's dependency actually maps to a valid config definition", "docstring_tokens": ["Verify", "that", "the", "config", "definition", "s", "dependency", "actually", "maps", "to", "a", "valid", "config", "definition"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/definition/ConfigDefinitionExtractor.java#L343-L352", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "vault-credentialstore-lib/src/main/java/com/streamsets/datacollector/vault/Vault.java", "func_name": "Vault.read", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads a secret from the local cache if it hasn't expired and returns the value for the specified key.\nIf the secret isn't cached or has expired, it requests it from Vault again.\n\nThis version of the method will also add the specified delay in milliseconds before returning, but only\nif the value wasn't already locally cached. This is because certain backends such as AWS will return\na secret (access keys for example) before they have propagated to all AWS services. For AWS a delay of up to 5\nor 10 seconds may be necessary. If you receive a 403 from AWS services you probably need to increase the delay.\n\n@param path path in Vault to read\n@param key key of the property of the secret represented by the path to return\n@param delay delay in milliseconds to wait before returning the value if it wasn't already cached.\n@return value of the specified key for the requested secret.", "docstring_tokens": ["Reads", "a", "secret", "from", "the", "local", "cache", "if", "it", "hasn", "t", "expired", "and", "returns", "the", "value", "for", "the", "specified", "key", ".", "If", "the", "secret", "isn", "t", "cached", "or", "has", "expired", "it", "requests", "it", "from", "Vault", "again", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/vault-credentialstore-lib/src/main/java/com/streamsets/datacollector/vault/Vault.java#L334-L370", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "couchbase-protolib/src/main/java/com/streamsets/pipeline/stage/destination/couchbase/CouchbaseTarget.java", "func_name": "CouchbaseTarget.getOperationFromHeader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Evaluates the sdc.operation.type header for a record and returns the equivalent Couchbase write operation type.\n\n@param record the record being evaluated\n@param key the document key, used for logging\n@return the equivalent WriteOperationType or the default write operation if sdc.operation.type is not configured.", "docstring_tokens": ["Evaluates", "the", "sdc", ".", "operation", ".", "type", "header", "for", "a", "record", "and", "returns", "the", "equivalent", "Couchbase", "write", "operation", "type", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/couchbase-protolib/src/main/java/com/streamsets/pipeline/stage/destination/couchbase/CouchbaseTarget.java#L252-L292", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "couchbase-protolib/src/main/java/com/streamsets/pipeline/stage/destination/couchbase/CouchbaseTarget.java", "func_name": "CouchbaseTarget.writeDoc", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Executes a document write operation.\n\n@param key the document key\n@param ttl the document expiry ttl\n@param cas the compare-and-swap (CAS) value to apply to the write\n@param baos the raw document content\n@param record the record being written\n@return an observable for the document write or an empty observable on error", "docstring_tokens": ["Executes", "a", "document", "write", "operation", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/couchbase-protolib/src/main/java/com/streamsets/pipeline/stage/destination/couchbase/CouchbaseTarget.java#L304-L348", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "couchbase-protolib/src/main/java/com/streamsets/pipeline/stage/destination/couchbase/CouchbaseTarget.java", "func_name": "CouchbaseTarget.buildSubdocMutation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Applies standard options to sub-document mutations\n\n@param mutation the mutation to be augmented\n@param ttl the time to live to be set on the parent document\n@param cas the compare-and-swap (CAS) value to apply to the write\n@param upsertDoc defines whether the parent document should be created if it does not exist\n@return an augmented mutation", "docstring_tokens": ["Applies", "standard", "options", "to", "sub", "-", "document", "mutations"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/couchbase-protolib/src/main/java/com/streamsets/pipeline/stage/destination/couchbase/CouchbaseTarget.java#L466-L476", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/schemawriter/H2SchemaWriter.java", "func_name": "H2SchemaWriter.makeAlterTableSqlString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "H2 wants an ALTER TABLE command per column", "docstring_tokens": ["H2", "wants", "an", "ALTER", "TABLE", "command", "per", "column"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/schemawriter/H2SchemaWriter.java#L50-L81", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "apache-kafka_0_10-lib/src/main/java/org/apache/kafka/common/security/kerberos/KerberosLogin.java", "func_name": "KerberosLogin.configure", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Login constructor. The constructor starts the thread used\nto periodically re-login to the Kerberos Ticket Granting Server.\n@param loginContextName\nname of section in JAAS file that will be use to login.\nPassed as first param to javax.security.auth.login.LoginContext().\n@param configs configure Login with the given key-value pairs.\n@throws javax.security.auth.login.LoginException\nThrown if authentication fails.", "docstring_tokens": ["Login", "constructor", ".", "The", "constructor", "starts", "the", "thread", "used", "to", "periodically", "re", "-", "login", "to", "the", "Kerberos", "Ticket", "Granting", "Server", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/apache-kafka_0_10-lib/src/main/java/org/apache/kafka/common/security/kerberos/KerberosLogin.java#L96-L104", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "cluster-common/src/main/java/com/streamsets/pipeline/cluster/Consumer.java", "func_name": "Consumer.take", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Consumes messages off the queue. Returns null when the producer\nhas indicated it is complete and throws an exception\nwhen the consumer producer has indicated it is in error.", "docstring_tokens": ["Consumes", "messages", "off", "the", "queue", ".", "Returns", "null", "when", "the", "producer", "has", "indicated", "it", "is", "complete", "and", "throws", "an", "exception", "when", "the", "consumer", "producer", "has", "indicated", "it", "is", "in", "error", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/cluster-common/src/main/java/com/streamsets/pipeline/cluster/Consumer.java#L56-L99", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "cluster-common/src/main/java/com/streamsets/pipeline/cluster/Consumer.java", "func_name": "Consumer.commit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Commit the offset. Required after take has returned a non-null value.", "docstring_tokens": ["Commit", "the", "offset", ".", "Required", "after", "take", "has", "returned", "a", "non", "-", "null", "value", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/cluster-common/src/main/java/com/streamsets/pipeline/cluster/Consumer.java#L104-L110", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "cluster-common/src/main/java/com/streamsets/pipeline/cluster/Consumer.java", "func_name": "Consumer.error", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Send a control message indicating the consumer has encountered an error.", "docstring_tokens": ["Send", "a", "control", "message", "indicating", "the", "consumer", "has", "encountered", "an", "error", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/cluster-common/src/main/java/com/streamsets/pipeline/cluster/Consumer.java#L115-L120", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/creation/ConfigInjector.java", "func_name": "ConfigInjector.injectStage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Inject config values to given Stage.\n\n@param stage Stage instance\n@param stageDef Definition for given stage\n@param stageConf Actual configuration values\n@param constants Pipeline constants (parameters)\n@param issues List into which issues will be added", "docstring_tokens": ["Inject", "config", "values", "to", "given", "Stage", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/creation/ConfigInjector.java#L268-L270", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "client-api/src/main/java/com/streamsets/datacollector/client/api/DefinitionsApi.java", "func_name": "DefinitionsApi.getDefinitions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns pipeline & stage configuration definitions\nThis will fetch defintions based on the hideStage filter\n\n@return DefinitionsJson", "docstring_tokens": ["Returns", "pipeline", "&", ";", "stage", "configuration", "definitions", "This", "will", "fetch", "defintions", "based", "on", "the", "hideStage", "filter"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/client-api/src/main/java/com/streamsets/datacollector/client/api/DefinitionsApi.java#L69-L99", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/lineage/LineagePublisherTaskImpl.java", "func_name": "LineagePublisherTaskImpl.getDefinition", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse given configuration declaration of lineage plugin and return appropriate definition.\n\nThis method will throw exceptions on all error paths.", "docstring_tokens": ["Parse", "given", "configuration", "declaration", "of", "lineage", "plugin", "and", "return", "appropriate", "definition", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/lineage/LineagePublisherTaskImpl.java#L142-L166", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/parser/sql/SQLParserUtils.java", "func_name": "SQLParserUtils.formatName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Format column names based on whether they are case-sensitive", "docstring_tokens": ["Format", "column", "names", "based", "on", "whether", "they", "are", "case", "-", "sensitive"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/parser/sql/SQLParserUtils.java#L109-L115", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/parser/sql/SQLParserUtils.java", "func_name": "SQLParserUtils.formatValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Unescapes strings and returns them.", "docstring_tokens": ["Unescapes", "strings", "and", "returns", "them", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/parser/sql/SQLParserUtils.java#L120-L127", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "client-api/src/main/java/com/streamsets/datacollector/client/api/StoreApi.java", "func_name": "StoreApi.getPipelineInfo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find Pipeline Configuration by name and revision\n\n@param pipelineId\n@param rev\n@param get\n@param attachment\n@return PipelineConfigurationJson", "docstring_tokens": ["Find", "Pipeline", "Configuration", "by", "name", "and", "revision"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/client-api/src/main/java/com/streamsets/datacollector/client/api/StoreApi.java#L69-L111", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "client-api/src/main/java/com/streamsets/datacollector/client/api/StoreApi.java", "func_name": "StoreApi.createDraftPipelineFragment", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a new Pipeline Fragment Configuration to the store\n\n@param fragmentId Frgament Id\n@param description Description\n@return PipelineFragmentEnvelopeJson", "docstring_tokens": ["Add", "a", "new", "Pipeline", "Fragment", "Configuration", "to", "the", "store"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/client-api/src/main/java/com/streamsets/datacollector/client/api/StoreApi.java#L187-L227", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "client-api/src/main/java/com/streamsets/datacollector/client/api/StoreApi.java", "func_name": "StoreApi.getPipelines", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns all Pipeline Configuration Info\n\n@return List", "docstring_tokens": ["Returns", "all", "Pipeline", "Configuration", "Info"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/client-api/src/main/java/com/streamsets/datacollector/client/api/StoreApi.java#L500-L541", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "client-api/src/main/java/com/streamsets/datacollector/client/api/StoreApi.java", "func_name": "StoreApi.importPipelineFragment", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Import Pipeline Fragment Configuration & Rules\n\n@param fragmentId Fragment Id\n@return fragmentEnvelope", "docstring_tokens": ["Import", "Pipeline", "Fragment", "Configuration", "&", "Rules"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/client-api/src/main/java/com/streamsets/datacollector/client/api/StoreApi.java#L674-L724", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "azure-lib/src/main/java/com/streamsets/pipeline/stage/destination/datalake/writer/DataLakeGeneratorManager.java", "func_name": "DataLakeGeneratorManager.getFilePath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the temp file path to write records to\n@param dirPathTemplate Directory Template\n@param record Record for which file path is calculated\n@param recordTime Record time\n@return Temporary File Path to write records to\n@throws StageException", "docstring_tokens": ["Returns", "the", "temp", "file", "path", "to", "write", "records", "to"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/azure-lib/src/main/java/com/streamsets/pipeline/stage/destination/datalake/writer/DataLakeGeneratorManager.java#L139-L160", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/JdbcRecordReader.java", "func_name": "JdbcRecordReader.getOperationFromRecord", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the numeric operation code from record header. The default code is\nused if the operation code is not found in the header. This can be\noverwritten in inherited classes.\n\n@param record the record to find the operation code\n@param defaultOpCode the default operation code\n@param unsupportedAction the action to take for unsupported code\n@param errorRecords the list to take error records\n@return the numeric operation code or -1 for unsupported operation", "docstring_tokens": ["Get", "the", "numeric", "operation", "code", "from", "record", "header", ".", "The", "default", "code", "is", "used", "if", "the", "operation", "code", "is", "not", "found", "in", "the", "header", ".", "This", "can", "be", "overwritten", "in", "inherited", "classes", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/JdbcRecordReader.java#L68-L104", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/JdbcRecordReader.java", "func_name": "JdbcRecordReader.getFieldPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This function simply returns field path in record for the corresponding column name.\nThis is needed because records generated by CDC origins store data in different location\nfor different operation. Subclasses will override this function and implement special handling.\n@param columnName column name\n@param columnsToField mapping of column name to field path\n@param op Not used here but is used in subclass.\n@return", "docstring_tokens": ["This", "function", "simply", "returns", "field", "path", "in", "record", "for", "the", "corresponding", "column", "name", ".", "This", "is", "needed", "because", "records", "generated", "by", "CDC", "origins", "store", "data", "in", "different", "location", "for", "different", "operation", ".", "Subclasses", "will", "override", "this", "function", "and", "implement", "special", "handling", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/JdbcRecordReader.java#L147-L149", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "mysql-binlog-lib/src/main/java/com/streamsets/pipeline/stage/origin/mysql/EventBuffer.java", "func_name": "EventBuffer.poll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read next event from buffer with respect to maximum timeout.\n@param timeout timeout.\n@param unit timeout time unit.\n@return next event of null\n@throws StageException", "docstring_tokens": ["Read", "next", "event", "from", "buffer", "with", "respect", "to", "maximum", "timeout", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/mysql-binlog-lib/src/main/java/com/streamsets/pipeline/stage/origin/mysql/EventBuffer.java#L49-L57", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/runner/RunnerPool.java", "func_name": "RunnerPool.getRunner", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get exclusive runner for use.\n\n@return Runner that is not being used by anyone else.\n@throws PipelineRuntimeException Thrown in case that current thread is unexpectedly interrupted", "docstring_tokens": ["Get", "exclusive", "runner", "for", "use", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/runner/RunnerPool.java#L98-L109", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/runner/RunnerPool.java", "func_name": "RunnerPool.getIdleRunner", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return a runner that haven't been used at least for the configured number of milliseconds.\n\n@param idleTime Number of milliseconds when a runner is considered an \"idle\"\n@return First runner that fits such criteria or null if there is no such runner", "docstring_tokens": ["Return", "a", "runner", "that", "haven", "t", "been", "used", "at", "least", "for", "the", "configured", "number", "of", "milliseconds", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/runner/RunnerPool.java#L117-L135", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/runner/RunnerPool.java", "func_name": "RunnerPool.returnRunner", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return given runner back to the pool.\n\n@param runner Runner to be returned", "docstring_tokens": ["Return", "given", "runner", "back", "to", "the", "pool", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/runner/RunnerPool.java#L142-L148", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/runner/RunnerPool.java", "func_name": "RunnerPool.destroy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Destroy only the pool itself - not the individual pipe runners.\n\nThis method will also validate that all runners were properly returned to the pool. PipelineRuntimeException will\nbe thrown if some runners are still running.\n\n@throws PipelineRuntimeException", "docstring_tokens": ["Destroy", "only", "the", "pool", "itself", "-", "not", "the", "individual", "pipe", "runners", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/runner/RunnerPool.java#L158-L167", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/runner/RunnerPool.java", "func_name": "RunnerPool.validateNotDestroyed", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Throw an exception if the runner was already destroyed.\n\n@throws PipelineRuntimeException", "docstring_tokens": ["Throw", "an", "exception", "if", "the", "runner", "was", "already", "destroyed", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/runner/RunnerPool.java#L174-L178", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "kinesis-lib/src/main/java/com/streamsets/pipeline/stage/lib/kinesis/KinesisUtil.java", "func_name": "KinesisUtil.checkStreamExists", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks for existence of the requested stream and adds\nany configuration issues to the list.\n@param conf\n@param streamName\n@param issues\n@param context", "docstring_tokens": ["Checks", "for", "existence", "of", "the", "requested", "stream", "and", "adds", "any", "configuration", "issues", "to", "the", "list", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/kinesis-lib/src/main/java/com/streamsets/pipeline/stage/lib/kinesis/KinesisUtil.java#L66-L85", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "kinesis-lib/src/main/java/com/streamsets/pipeline/stage/lib/kinesis/KinesisUtil.java", "func_name": "KinesisUtil.getLastShardId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the last shard Id in the given stream\nIn preview mode, kinesis source uses the last Shard Id to get records from kinesis\n@param awsClientConfig generic AWS client configuration\n@param conf\n@param streamName", "docstring_tokens": ["Get", "the", "last", "shard", "Id", "in", "the", "given", "stream", "In", "preview", "mode", "kinesis", "source", "uses", "the", "last", "Shard", "Id", "to", "get", "records", "from", "kinesis"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/kinesis-lib/src/main/java/com/streamsets/pipeline/stage/lib/kinesis/KinesisUtil.java#L148-L175", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/JdbcMultiRowRecordWriter.java", "func_name": "JdbcMultiRowRecordWriter.processQueue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Process all records in queue. All records have same operation to same table.\nGenerate a query and set parameters from each record. INSERT and DELETE can be multi-row operation\nbut UPDATE is single-row operation.\nIf maxStatement\n@param errorRecords\n@param connection\n@param maxRowsPerBatch\n@param opCode\n@param queue\n@return\n@throws OnRecordErrorException", "docstring_tokens": ["Process", "all", "records", "in", "queue", ".", "All", "records", "have", "same", "operation", "to", "same", "table", ".", "Generate", "a", "query", "and", "set", "parameters", "from", "each", "record", ".", "INSERT", "and", "DELETE", "can", "be", "multi", "-", "row", "operation", "but", "UPDATE", "is", "single", "-", "row", "operation", ".", "If", "maxStatement"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/JdbcMultiRowRecordWriter.java#L192-L291", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/JdbcMultiRowRecordWriter.java", "func_name": "JdbcMultiRowRecordWriter.handleSqlException", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Handle SQLException in a smart way, detecting if the exception is data oriented or not.", "docstring_tokens": ["Handle", "SQLException", "in", "a", "smart", "way", "detecting", "if", "the", "exception", "is", "data", "oriented", "or", "not", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/JdbcMultiRowRecordWriter.java#L320-L336", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/JdbcMultiRowRecordWriter.java", "func_name": "JdbcMultiRowRecordWriter.getColumnHash", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates a hash for the fields present in a record and their mappings.\nA specific implementation of the hash function is not guaranteed.\n\n@param record The record to generate a hash for.\n@return A Guava HashCode of the fields.", "docstring_tokens": ["Generates", "a", "hash", "for", "the", "fields", "present", "in", "a", "record", "and", "their", "mappings", ".", "A", "specific", "implementation", "of", "the", "hash", "function", "is", "not", "guaranteed", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/JdbcMultiRowRecordWriter.java#L359-L364", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "dir-spooler-protolib/src/main/java/com/streamsets/pipeline/lib/dirspooler/SpoolDirUtil.java", "func_name": "SpoolDirUtil.compareFiles", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "True if f1 is \"newer\" than f2.", "docstring_tokens": ["True", "if", "f1", "is", "newer", "than", "f2", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/dir-spooler-protolib/src/main/java/com/streamsets/pipeline/lib/dirspooler/SpoolDirUtil.java#L45-L71", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "basic-lib/src/main/java/com/streamsets/pipeline/stage/executor/shell/ShellExecutor.java", "func_name": "ShellExecutor.retrievePidIfFeasible", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Attempts to retrieve PID from internal JVM classes. This method is not guaranteed to work as JVM is free\nto change their implementation at will. Hence the return value should be only used for troubleshooting or\ndebug and not for main functionality.", "docstring_tokens": ["Attempts", "to", "retrieve", "PID", "from", "internal", "JVM", "classes", ".", "This", "method", "is", "not", "guaranteed", "to", "work", "as", "JVM", "is", "free", "to", "change", "their", "implementation", "at", "will", ".", "Hence", "the", "return", "value", "should", "be", "only", "used", "for", "troubleshooting", "or", "debug", "and", "not", "for", "main", "functionality", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/basic-lib/src/main/java/com/streamsets/pipeline/stage/executor/shell/ShellExecutor.java#L219-L236", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/fieldhasher/FieldHasherProcessor.java", "func_name": "FieldHasherProcessor.validateAndExtractFieldsToHash", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Basically throw out map, list map, list and null values fields.", "docstring_tokens": ["Basically", "throw", "out", "map", "list", "map", "list", "and", "null", "values", "fields", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/fieldhasher/FieldHasherProcessor.java#L218-L241", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "hadoop-common/src/main/java/com/streamsets/datacollector/security/HadoopSecurityUtil.java", "func_name": "HadoopSecurityUtil.getProxyUser", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return UGI object that should be used for any remote operation.\n\nThis object will be impersonate according to the configuration. This method is meant to be called once during\ninitialization and it's expected that caller will cache the result for a lifetime of the stage execution.", "docstring_tokens": ["Return", "UGI", "object", "that", "should", "be", "used", "for", "any", "remote", "operation", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/hadoop-common/src/main/java/com/streamsets/datacollector/security/HadoopSecurityUtil.java#L48-L84", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/usagestats/ActiveStats.java", "func_name": "ActiveStats.roll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "returns fresh bean with same UsageTimers just reset to zero accumulated time to be used as the new live stats", "docstring_tokens": ["returns", "fresh", "bean", "with", "same", "UsageTimers", "just", "reset", "to", "zero", "accumulated", "time", "to", "be", "used", "as", "the", "new", "live", "stats"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/usagestats/ActiveStats.java#L203-L216", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/usagestats/ActiveStats.java", "func_name": "ActiveStats.snapshot", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "returns a snapshot for persistency", "docstring_tokens": ["returns", "a", "snapshot", "for", "persistency"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/usagestats/ActiveStats.java#L219-L228", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "hdfs-protolib/src/main/java/com/streamsets/pipeline/stage/destination/hdfs/metadataexecutor/HdfsMetadataExecutor.java", "func_name": "HdfsMetadataExecutor.ensureDirectoryExists", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Ensure that given directory exists.\n\nCreates the directory if it doesn't exists. No-op if it does.", "docstring_tokens": ["Ensure", "that", "given", "directory", "exists", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/hdfs-protolib/src/main/java/com/streamsets/pipeline/stage/destination/hdfs/metadataexecutor/HdfsMetadataExecutor.java#L200-L207", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/JdbcUtil.java", "func_name": "JdbcUtil.write", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write records to potentially different schemas and tables using EL expressions, and handle errors.\n\n@param batch batch of SDC records\n@param schemaTableClassifier classifier to group records according to the schema and table names, resolving the\nEL expressions involved.\n@param recordWriters JDBC record writer cache\n@param errorRecordHandler error record handler\n@param perRecord indicate record or batch update\n@throws StageException", "docstring_tokens": ["Write", "records", "to", "potentially", "different", "schemas", "and", "tables", "using", "EL", "expressions", "and", "handle", "errors", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/JdbcUtil.java#L923-L936", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/JdbcUtil.java", "func_name": "JdbcUtil.write", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write records to the evaluated tables and handle errors.\n\n@param batch batch of SDC records\n@param tableNameEval table name EL eval\n@param tableNameVars table name EL vars\n@param tableNameTemplate table name template\n@param recordWriters JDBC record writer cache\n@param errorRecordHandler error record handler\n@param perRecord indicate record or batch update\n@throws StageException", "docstring_tokens": ["Write", "records", "to", "the", "evaluated", "tables", "and", "handle", "errors", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/JdbcUtil.java#L950-L969", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/JdbcUtil.java", "func_name": "JdbcUtil.write", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write records to a JDBC destination using the recordWriter specified by key, and handle errors\n\n@param recordIterator iterator of SDC records\n@param key key to select the recordWriter\n@param recordWriters JDBC record writer cache\n@param errorRecordHandler error record handler\n@param perRecord indicate record or batch update\n@throws StageException", "docstring_tokens": ["Write", "records", "to", "a", "JDBC", "destination", "using", "the", "recordWriter", "specified", "by", "key", "and", "handle", "errors"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/JdbcUtil.java#L981-L1017", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/JdbcUtil.java", "func_name": "JdbcUtil.generateNoMoreDataEvent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates the no-more-data event", "docstring_tokens": ["Generates", "the", "no", "-", "more", "-", "data", "event"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/JdbcUtil.java#L1170-L1175", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "hive-protolib/src/main/java/com/streamsets/pipeline/stage/processor/hive/HiveMetadataProcessor.java", "func_name": "HiveMetadataProcessor.detectNewPartition", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Using partition name and value that were obtained from record, compare them\nwith cached partition.\n@param partitionValues Partition representation\n@param pCache Cache that has existing partitions\n@return Diff of partitions if new partition is detected. Otherwise null.\n@throws StageException", "docstring_tokens": ["Using", "partition", "name", "and", "value", "that", "were", "obtained", "from", "record", "compare", "them", "with", "cached", "partition", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/hive-protolib/src/main/java/com/streamsets/pipeline/stage/processor/hive/HiveMetadataProcessor.java#L674-L688", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "hive-protolib/src/main/java/com/streamsets/pipeline/stage/processor/hive/HiveMetadataProcessor.java", "func_name": "HiveMetadataProcessor.updateRecordForHDFS", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add header information to send to HDFS", "docstring_tokens": ["Add", "header", "information", "to", "send", "to", "HDFS"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/hive-protolib/src/main/java/com/streamsets/pipeline/stage/processor/hive/HiveMetadataProcessor.java#L791-L804", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/aggregation/aggregator/GroupByAggregator.java", "func_name": "GroupByAggregator.process", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Processes the given value into the corresponding group-by element of the aggregator.\n\n@param group the group-by element.\n@param value the value to process.", "docstring_tokens": ["Processes", "the", "given", "value", "into", "the", "corresponding", "group", "-", "by", "element", "of", "the", "aggregator", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/aggregation/aggregator/GroupByAggregator.java#L227-L229", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "sdk/src/main/java/com/streamsets/pipeline/sdk/StageValidator.java", "func_name": "StageValidator.isSameVersion", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns if and only if both stage classes have defined the same version.", "docstring_tokens": ["Returns", "if", "and", "only", "if", "both", "stage", "classes", "have", "defined", "the", "same", "version", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/sdk/src/main/java/com/streamsets/pipeline/sdk/StageValidator.java#L33-L38", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "mesos-bootstrap/src/main/java/com/streamsets/pipeline/mesos/BootstrapMesosDriver.java", "func_name": "BootstrapMesosDriver.main", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Bootstrapping the Driver which starts a Spark job on Mesos", "docstring_tokens": ["Bootstrapping", "the", "Driver", "which", "starts", "a", "Spark", "job", "on", "Mesos"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/mesos-bootstrap/src/main/java/com/streamsets/pipeline/mesos/BootstrapMesosDriver.java#L29-L51", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "basic-lib/src/main/java/com/streamsets/pipeline/lib/http/HttpClientCommon.java", "func_name": "HttpClientCommon.configureAuthAndBuildClient", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Helper to apply authentication properties to Jersey client.\n\n@param clientBuilder Jersey Client builder to configure", "docstring_tokens": ["Helper", "to", "apply", "authentication", "properties", "to", "Jersey", "client", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/basic-lib/src/main/java/com/streamsets/pipeline/lib/http/HttpClientCommon.java#L185-L225", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "basic-lib/src/main/java/com/streamsets/pipeline/lib/http/HttpClientCommon.java", "func_name": "HttpClientCommon.resolveHeaders", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Evaluates any EL expressions in the headers section of the stage configuration.\n\n@param record current record in context for EL evaluation\n@return Map of headers that can be added to the Jersey Client request\n@throws StageException if an expression could not be evaluated", "docstring_tokens": ["Evaluates", "any", "EL", "expressions", "in", "the", "headers", "section", "of", "the", "stage", "configuration", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/basic-lib/src/main/java/com/streamsets/pipeline/lib/http/HttpClientCommon.java#L320-L335", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "basic-lib/src/main/java/com/streamsets/pipeline/lib/http/HttpClientCommon.java", "func_name": "HttpClientCommon.getHttpMethod", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determines the HTTP method to use for the next request. It may include an EL expression to evaluate.\n\n@param record Current record to set in context.\n@return the {@link HttpMethod} to use for the request\n@throws ELEvalException if an expression is supplied that cannot be evaluated", "docstring_tokens": ["Determines", "the", "HTTP", "method", "to", "use", "for", "the", "next", "request", ".", "It", "may", "include", "an", "EL", "expression", "to", "evaluate", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/basic-lib/src/main/java/com/streamsets/pipeline/lib/http/HttpClientCommon.java#L344-L354", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "scripting-protolib/src/main/java/com/streamsets/pipeline/stage/processor/scripting/ScriptTypedNullObject.java", "func_name": "ScriptTypedNullObject.fillNullTypes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add each object of typed null to SimpleBindings, so that script languages\ncan use constants such as \"NULL_INTEGER\", \"NULL_LONG\" without importing\nother files.\n@param bindings: initialized in AbstractScriptingProcessor", "docstring_tokens": ["Add", "each", "object", "of", "typed", "null", "to", "SimpleBindings", "so", "that", "script", "languages", "can", "use", "constants", "such", "as", "NULL_INTEGER", "NULL_LONG", "without", "importing", "other", "files", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/scripting-protolib/src/main/java/com/streamsets/pipeline/stage/processor/scripting/ScriptTypedNullObject.java#L48-L65", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "scripting-protolib/src/main/java/com/streamsets/pipeline/stage/processor/scripting/ScriptTypedNullObject.java", "func_name": "ScriptTypedNullObject.getFieldNull", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Receive record and fieldPath from scripting processor.\nIt resolves type of the field, and if value is null, it returns\none of the NULL_XXX objects defined in this class.\nIf field value is not null, it returns the value stored in the field.\n@param record Record\n@param fieldPath field Path\n@return One of the NULL_XXX objects if field has type but value is null.", "docstring_tokens": ["Receive", "record", "and", "fieldPath", "from", "scripting", "processor", ".", "It", "resolves", "type", "of", "the", "field", "and", "if", "value", "is", "null", "it", "returns", "one", "of", "the", "NULL_XXX", "objects", "defined", "in", "this", "class", ".", "If", "field", "value", "is", "not", "null", "it", "returns", "the", "value", "stored", "in", "the", "field", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/scripting-protolib/src/main/java/com/streamsets/pipeline/stage/processor/scripting/ScriptTypedNullObject.java#L76-L82", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "commonlib/src/main/java/com/streamsets/pipeline/lib/util/AvroSchemaHelper.java", "func_name": "AvroSchemaHelper.loadFromRegistry", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses and returns an Avro schema loaded from the schema registry using the provided schema ID\nif available, or the latest version of a schema for the specified subject.\n@param subject optional schema subject (if schema ID is provided)\n@param schemaId optional schema ID (if subject is provided)\n@return parsed avro schema\n@throws SchemaRegistryException if there is an error with the registry client", "docstring_tokens": ["Parses", "and", "returns", "an", "Avro", "schema", "loaded", "from", "the", "schema", "registry", "using", "the", "provided", "schema", "ID", "if", "available", "or", "the", "latest", "version", "of", "a", "schema", "for", "the", "specified", "subject", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/commonlib/src/main/java/com/streamsets/pipeline/lib/util/AvroSchemaHelper.java#L122-L132", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "commonlib/src/main/java/com/streamsets/pipeline/lib/util/AvroSchemaHelper.java", "func_name": "AvroSchemaHelper.registerSchema", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers a parsed schema with the schema registry under the specified subject.\n@param schema parsed avro schema\n@param subject subject to register the schema under\n@return schemaId if registration was successful\n@throws SchemaRegistryException if there is an error with the registry client", "docstring_tokens": ["Registers", "a", "parsed", "schema", "with", "the", "schema", "registry", "under", "the", "specified", "subject", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/commonlib/src/main/java/com/streamsets/pipeline/lib/util/AvroSchemaHelper.java#L150-L156", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "commonlib/src/main/java/com/streamsets/pipeline/lib/util/AvroSchemaHelper.java", "func_name": "AvroSchemaHelper.loadFromRegistry", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Loads and parses a schema for the specified subject from the schema registry\n@param subject subject for which to fetch the latest version of a schema.\n@return parsed avro schema\n@throws SchemaRegistryException if there is an error with the registry client", "docstring_tokens": ["Loads", "and", "parses", "a", "schema", "for", "the", "specified", "subject", "from", "the", "schema", "registry"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/commonlib/src/main/java/com/streamsets/pipeline/lib/util/AvroSchemaHelper.java#L164-L171", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "commonlib/src/main/java/com/streamsets/pipeline/lib/util/AvroSchemaHelper.java", "func_name": "AvroSchemaHelper.getSchemaIdFromSubject", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Looks up schema id for the specified subject from the schema registry\n@param subject subject for which schema Id must be looked up.\n@return the schema id\n@throws SchemaRegistryException if there is an error with the registry client", "docstring_tokens": ["Looks", "up", "schema", "id", "for", "the", "specified", "subject", "from", "the", "schema", "registry"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/commonlib/src/main/java/com/streamsets/pipeline/lib/util/AvroSchemaHelper.java#L179-L186", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "commonlib/src/main/java/com/streamsets/pipeline/lib/util/AvroSchemaHelper.java", "func_name": "AvroSchemaHelper.loadFromRegistry", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Loads and parses a schema for the specified schema ID from the schema registry\n@param id schema ID to fetch from the registry\n@return parsed avro schema\n@throws SchemaRegistryException if there is an error with the registry client", "docstring_tokens": ["Loads", "and", "parses", "a", "schema", "for", "the", "specified", "schema", "ID", "from", "the", "schema", "registry"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/commonlib/src/main/java/com/streamsets/pipeline/lib/util/AvroSchemaHelper.java#L194-L200", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "commonlib/src/main/java/com/streamsets/pipeline/lib/util/AvroSchemaHelper.java", "func_name": "AvroSchemaHelper.writeSchemaId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes the magic byte and schema ID to an output stream, replicating the functionality\nof the Confluent Kafka Avro Serializer\n@param os OutputStream to write to\n@return schema ID that was written\n@throws IOException if there is an error", "docstring_tokens": ["Writes", "the", "magic", "byte", "and", "schema", "ID", "to", "an", "output", "stream", "replicating", "the", "functionality", "of", "the", "Confluent", "Kafka", "Avro", "Serializer"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/commonlib/src/main/java/com/streamsets/pipeline/lib/util/AvroSchemaHelper.java#L209-L215", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "commonlib/src/main/java/com/streamsets/pipeline/lib/util/AvroSchemaHelper.java", "func_name": "AvroSchemaHelper.detectSchemaId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks for a magic byte in the data and if present extracts the schemaId\n@param data byte array representing a kafka message\n@return parsed schema ID", "docstring_tokens": ["Checks", "for", "a", "magic", "byte", "in", "the", "data", "and", "if", "present", "extracts", "the", "schemaId"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/commonlib/src/main/java/com/streamsets/pipeline/lib/util/AvroSchemaHelper.java#L222-L234", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "commonlib/src/main/java/com/streamsets/pipeline/lib/util/AvroSchemaHelper.java", "func_name": "AvroSchemaHelper.getDefaultValues", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Helper method to extract default values from a Schema. This is normally done\nin DataGeneratorFormat validation, however we have to do it at runtime for\nSchema Registry.\n@param schema schema to extract default values from\n@return map of default value\n@throws SchemaRegistryException", "docstring_tokens": ["Helper", "method", "to", "extract", "default", "values", "from", "a", "Schema", ".", "This", "is", "normally", "done", "in", "DataGeneratorFormat", "validation", "however", "we", "have", "to", "do", "it", "at", "runtime", "for", "Schema", "Registry", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/commonlib/src/main/java/com/streamsets/pipeline/lib/util/AvroSchemaHelper.java#L244-L252", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "stagesupport/src/main/java/com/streamsets/pipeline/support/service/ServicesUtil.java", "func_name": "ServicesUtil.parseAll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convenience method to parse all available records in given payload. This method assumes that the stage already\ndepends on DataFormatParserService service and loads the service instance from Stage.Context.\n\n@param stageContext Stage's context\n@param toErrorContext Error context for any parser errors\n@param produceSingleRecordPerMessage If set, then output will be list of exactly one record\n@param messageId Message id base to be used with generated records\n@param payload Binary payload to parse\n@return\n@throws StageException", "docstring_tokens": ["Convenience", "method", "to", "parse", "all", "available", "records", "in", "given", "payload", ".", "This", "method", "assumes", "that", "the", "stage", "already", "depends", "on", "DataFormatParserService", "service", "and", "loads", "the", "service", "instance", "from", "Stage", ".", "Context", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/stagesupport/src/main/java/com/streamsets/pipeline/support/service/ServicesUtil.java#L50-L89", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/classpath/ClasspathValidatorResult.java", "func_name": "ClasspathValidatorResult.logDetails", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generate small report into log.", "docstring_tokens": ["Generate", "small", "report", "into", "log", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/classpath/ClasspathValidatorResult.java#L72-L98", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/runner/production/BadRecordsHandler.java", "func_name": "BadRecordsHandler.getBadRecords", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generate list of error records from the error sink. What precise records will be returned depends on the error\nrecord policy configuration.\n\n@param errorSink Error sink with the error records\n@return List with records that should be sent to error stream", "docstring_tokens": ["Generate", "list", "of", "error", "records", "from", "the", "error", "sink", ".", "What", "precise", "records", "will", "be", "returned", "depends", "on", "the", "error", "record", "policy", "configuration", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/runner/production/BadRecordsHandler.java#L105-L129", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/schemagen/generators/SchemaGenerator.java", "func_name": "SchemaGenerator.init", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Initialize the schema generator\n\n@param config User configuration\n@param context Stage context\n@return Any validation issues this generator might have encounter", "docstring_tokens": ["Initialize", "the", "schema", "generator"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/schemagen/generators/SchemaGenerator.java#L45-L48", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/multithread/util/DirectedGraph.java", "func_name": "DirectedGraph.getOutwardEdgeVertices", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the outward flowing edge vertices.\n@param vertex vertex\n@return the outward flowing edge vertices.", "docstring_tokens": ["Returns", "the", "outward", "flowing", "edge", "vertices", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/multithread/util/DirectedGraph.java#L55-L58", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/multithread/util/DirectedGraph.java", "func_name": "DirectedGraph.getInwardEdgeVertices", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the inward flowing edge vertices.\n@param vertex vertex\n@return the inward flowing edge vertices.", "docstring_tokens": ["Returns", "the", "inward", "flowing", "edge", "vertices", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/multithread/util/DirectedGraph.java#L65-L68", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "stagesupport/src/main/java/com/streamsets/pipeline/lib/util/OffsetUtil.java", "func_name": "OffsetUtil.serializeOffsetMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Serialize the Map of table to offset to a String\n@param offsetMap Map of table to Offset.\n@return Serialized offset\n@throws StageException When Serialization exception happens", "docstring_tokens": ["Serialize", "the", "Map", "of", "table", "to", "offset", "to", "a", "String"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/stagesupport/src/main/java/com/streamsets/pipeline/lib/util/OffsetUtil.java#L37-L39", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "stagesupport/src/main/java/com/streamsets/pipeline/lib/util/OffsetUtil.java", "func_name": "OffsetUtil.deserializeOffsetMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Deserialize String offset to Map of table to offset\n@param lastSourceOffset Serialized offset String\n@return Map of table to lastOffset\n@throws StageException When Deserialization exception happens", "docstring_tokens": ["Deserialize", "String", "offset", "to", "Map", "of", "table", "to", "offset"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/stagesupport/src/main/java/com/streamsets/pipeline/lib/util/OffsetUtil.java#L47-L56", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "omniture-lib/src/main/java/com/streamsets/pipeline/stage/origin/omniture/OmniturePollingConsumer.java", "func_name": "OmniturePollingConsumer.queueReport", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Queue a report using the Report.Queue method. This will post a request with the report description\nto the Omniture API and return a report ID that can be used to retrieve the report once it's ready.\n@return report ID\n@throws IOException\n@throws InterruptedException\n@throws ExecutionException\n@throws TimeoutException", "docstring_tokens": ["Queue", "a", "report", "using", "the", "Report", ".", "Queue", "method", ".", "This", "will", "post", "a", "request", "with", "the", "report", "description", "to", "the", "Omniture", "API", "and", "return", "a", "report", "ID", "that", "can", "be", "used", "to", "retrieve", "the", "report", "once", "it", "s", "ready", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/omniture-lib/src/main/java/com/streamsets/pipeline/stage/origin/omniture/OmniturePollingConsumer.java#L145-L175", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "omniture-lib/src/main/java/com/streamsets/pipeline/stage/origin/omniture/OmniturePollingConsumer.java", "func_name": "OmniturePollingConsumer.getReport", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Posts a request to the Omniture API to get a report back. Reports may take a while to generate,\nso this will loop on the Report.Get request, and ignore any errors indicating that the report\nis not yet ready.\n@param reportId ID of report to get\n@throws InterruptedException\n@throws ExecutionException\n@throws TimeoutException\n@throws IOException", "docstring_tokens": ["Posts", "a", "request", "to", "the", "Omniture", "API", "to", "get", "a", "report", "back", ".", "Reports", "may", "take", "a", "while", "to", "generate", "so", "this", "will", "loop", "on", "the", "Report", ".", "Get", "request", "and", "ignore", "any", "errors", "indicating", "that", "the", "report", "is", "not", "yet", "ready", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/omniture-lib/src/main/java/com/streamsets/pipeline/stage/origin/omniture/OmniturePollingConsumer.java#L187-L224", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "cluster-bootstrap-api/src/main/java/com/streamsets/pipeline/SdcClusterOffsetHelper.java", "func_name": "SdcClusterOffsetHelper.isSDCCheckPointing", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This tell us SDC is check pointing", "docstring_tokens": ["This", "tell", "us", "SDC", "is", "check", "pointing"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/cluster-bootstrap-api/src/main/java/com/streamsets/pipeline/SdcClusterOffsetHelper.java#L61-L68", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "cluster-bootstrap-api/src/main/java/com/streamsets/pipeline/SdcClusterOffsetHelper.java", "func_name": "SdcClusterOffsetHelper.writeOffsetsToMainOffsetFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Or if the file is corrupted, we want to update the right offsets to the main offset file.", "docstring_tokens": ["Or", "if", "the", "file", "is", "corrupted", "we", "want", "to", "update", "the", "right", "offsets", "to", "the", "main", "offset", "file", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/cluster-bootstrap-api/src/main/java/com/streamsets/pipeline/SdcClusterOffsetHelper.java#L82-L100", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "google-cloud-lib/src/main/java/com/streamsets/pipeline/stage/cloudstorage/origin/GcsObjectPostProcessingHandler.java", "func_name": "GcsObjectPostProcessingHandler.delete", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Delete a blob for gcs\n@param blobId blobId", "docstring_tokens": ["Delete", "a", "blob", "for", "gcs"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/google-cloud-lib/src/main/java/com/streamsets/pipeline/stage/cloudstorage/origin/GcsObjectPostProcessingHandler.java#L44-L50", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "google-cloud-lib/src/main/java/com/streamsets/pipeline/stage/cloudstorage/origin/GcsObjectPostProcessingHandler.java", "func_name": "GcsObjectPostProcessingHandler.handleError", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Handle error Blob\n@param blobId blob id", "docstring_tokens": ["Handle", "error", "Blob"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/google-cloud-lib/src/main/java/com/streamsets/pipeline/stage/cloudstorage/origin/GcsObjectPostProcessingHandler.java#L90-L101", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "google-cloud-lib/src/main/java/com/streamsets/pipeline/stage/cloudstorage/origin/GcsObjectPostProcessingHandler.java", "func_name": "GcsObjectPostProcessingHandler.handleArchive", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Archive the blob\n@param blobId blobId", "docstring_tokens": ["Archive", "the", "blob"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/google-cloud-lib/src/main/java/com/streamsets/pipeline/stage/cloudstorage/origin/GcsObjectPostProcessingHandler.java#L106-L122", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "commonlib/src/main/java/com/streamsets/pipeline/lib/io/FileContext.java", "func_name": "FileContext.getReader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "prepares and gets the reader if available before a read.", "docstring_tokens": ["prepares", "and", "gets", "the", "reader", "if", "available", "before", "a", "read", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/commonlib/src/main/java/com/streamsets/pipeline/lib/io/FileContext.java#L102-L131", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "commonlib/src/main/java/com/streamsets/pipeline/lib/io/FileContext.java", "func_name": "FileContext.releaseReader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "updates reader and offsets after a read.", "docstring_tokens": ["updates", "reader", "and", "offsets", "after", "a", "read", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/commonlib/src/main/java/com/streamsets/pipeline/lib/io/FileContext.java#L134-L202", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "client-api/src/main/java/com/streamsets/datacollector/client/ApiClient.java", "func_name": "ApiClient.setDPMBaseURL", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Helper method to set dpmBaseURL for the first HTTP DPM authentication.", "docstring_tokens": ["Helper", "method", "to", "set", "dpmBaseURL", "for", "the", "first", "HTTP", "DPM", "authentication", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/client-api/src/main/java/com/streamsets/datacollector/client/ApiClient.java#L143-L148", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "client-api/src/main/java/com/streamsets/datacollector/client/ApiClient.java", "func_name": "ApiClient.addDefaultHeader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a default header.\n\n@param key The header's key\n@param value The header's value", "docstring_tokens": ["Add", "a", "default", "header", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/client-api/src/main/java/com/streamsets/datacollector/client/ApiClient.java#L164-L167", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "client-api/src/main/java/com/streamsets/datacollector/client/ApiClient.java", "func_name": "ApiClient.parseDate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse the given string into Date object.", "docstring_tokens": ["Parse", "the", "given", "string", "into", "Date", "object", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/client-api/src/main/java/com/streamsets/datacollector/client/ApiClient.java#L204-L210", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "client-api/src/main/java/com/streamsets/datacollector/client/ApiClient.java", "func_name": "ApiClient.escapeString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Escape the given string to be used as URL query value.", "docstring_tokens": ["Escape", "the", "given", "string", "to", "be", "used", "as", "URL", "query", "value", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/client-api/src/main/java/com/streamsets/datacollector/client/ApiClient.java#L330-L336", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "client-api/src/main/java/com/streamsets/datacollector/client/ApiClient.java", "func_name": "ApiClient.getClient", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get an existing client or create a new client to handle HTTP request.", "docstring_tokens": ["Get", "an", "existing", "client", "or", "create", "a", "new", "client", "to", "handle", "HTTP", "request", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/client-api/src/main/java/com/streamsets/datacollector/client/ApiClient.java#L547-L556", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "kinetica_6_2-lib/src/main/java/com/streamsets/pipeline/stage/kinetica/KineticaHelper.java", "func_name": "KineticaHelper.initConnection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Connect to the database", "docstring_tokens": ["Connect", "to", "the", "database"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/kinetica_6_2-lib/src/main/java/com/streamsets/pipeline/stage/kinetica/KineticaHelper.java#L92-L95", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "kinetica_6_2-lib/src/main/java/com/streamsets/pipeline/stage/kinetica/KineticaHelper.java", "func_name": "KineticaHelper.getTableMetadata", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get metadata for the table", "docstring_tokens": ["Get", "metadata", "for", "the", "table"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/kinetica_6_2-lib/src/main/java/com/streamsets/pipeline/stage/kinetica/KineticaHelper.java#L98-L101", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "kinetica_6_2-lib/src/main/java/com/streamsets/pipeline/stage/kinetica/KineticaHelper.java", "func_name": "KineticaHelper.createBulkInserter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a BulkInserter", "docstring_tokens": ["Create", "a", "BulkInserter"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/kinetica_6_2-lib/src/main/java/com/streamsets/pipeline/stage/kinetica/KineticaHelper.java#L104-L108", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "stagesupport/src/main/java/com/streamsets/pipeline/lib/event/EventCreator.java", "func_name": "EventCreator.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create new event record according for this stage context and event context.", "docstring_tokens": ["Create", "new", "event", "record", "according", "for", "this", "stage", "context", "and", "event", "context", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/stagesupport/src/main/java/com/streamsets/pipeline/lib/event/EventCreator.java#L115-L117", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "commonlib/src/main/java/com/streamsets/pipeline/lib/generator/avro/AvroSchemaGenerator.java", "func_name": "AvroSchemaGenerator.buildSchema", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Build a schema with type \"record\". This will be the top level schema and contains fields", "docstring_tokens": ["Build", "a", "schema", "with", "type", "record", ".", "This", "will", "be", "the", "top", "level", "schema", "and", "contains", "fields"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/commonlib/src/main/java/com/streamsets/pipeline/lib/generator/avro/AvroSchemaGenerator.java#L48-L68", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/OracleCDCOperationCode.java", "func_name": "OracleCDCOperationCode.convertFromOracleToSDCCode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This is called when JDBC target didn't find sdc.operation.code in record header\nbut found oracle.cdc.operation. Since oracle.cdc.operation contains Oracle specific\noperation code, we need to convert to SDC operation code.\n@param code Operation code defined by Oracle.\n@return Operation code defined by SDC.", "docstring_tokens": ["This", "is", "called", "when", "JDBC", "target", "didn", "t", "find", "sdc", ".", "operation", ".", "code", "in", "record", "header", "but", "found", "oracle", ".", "cdc", ".", "operation", ".", "Since", "oracle", ".", "cdc", ".", "operation", "contains", "Oracle", "specific", "operation", "code", "we", "need", "to", "convert", "to", "SDC", "operation", "code", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/OracleCDCOperationCode.java#L41-L58", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "mapreduce-protolib/src/main/java/com/streamsets/pipeline/stage/destination/mapreduce/MapreduceUtils.java", "func_name": "MapreduceUtils.addJarsToJob", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add jars containing the following classes to the job's classpath.", "docstring_tokens": ["Add", "jars", "containing", "the", "following", "classes", "to", "the", "job", "s", "classpath", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/mapreduce-protolib/src/main/java/com/streamsets/pipeline/stage/destination/mapreduce/MapreduceUtils.java#L54-L64", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "mapreduce-protolib/src/main/java/com/streamsets/pipeline/stage/destination/mapreduce/MapreduceUtils.java", "func_name": "MapreduceUtils.addJarsToJob", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add jars whose names contain the given patterns to the job's classpath.\n\nSearches the {@link ClassLoader} - which must be an instance of {@link URLClassLoader} or an\n{@link IllegalStateException} will be thrown - of the {@link MapreduceUtils} class itself for the jar matching\na pattern indicated each arguments.\n\nEach supplied jarPattern is treated as a case-insensitive substring for a full jar path. This method expects\nto find at least one jar matching each substring, or an {@link IllegalArgumentException} will be thrown. If more\nthan one jar is matched, then the result will depend on the allowMultiple parameter - if true, then all will be\nadded, while if false, an {@link IllegalArgumentException} will be thrown.\n\nCare has NOT been taken to optimize the performance of this method; the runtime is M * N where M is the\nnumber of entries on the classpath and N is the number of given jarPatterns. It is assumed that this method\nwill be called infrequently and with relatively few jarPatterns.\n\n@param conf the Hadoop conf for the MapReduce job\n@param allowMultiple whether multiple matching jars are allowed to be added for a single pattern\n@param jarPatterns the patterns to search for within the classpath", "docstring_tokens": ["Add", "jars", "whose", "names", "contain", "the", "given", "patterns", "to", "the", "job", "s", "classpath", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/mapreduce-protolib/src/main/java/com/streamsets/pipeline/stage/destination/mapreduce/MapreduceUtils.java#L86-L98", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "salesforce-lib/src/main/java/com/streamsets/pipeline/stage/origin/salesforce/ForceSource.java", "func_name": "ForceSource.checkFieldOrderByList", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if the first ORDER BY field matches fieldName", "docstring_tokens": ["Returns", "true", "if", "the", "first", "ORDER", "BY", "field", "matches", "fieldName"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/salesforce-lib/src/main/java/com/streamsets/pipeline/stage/origin/salesforce/ForceSource.java#L352-L354", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "salesforce-lib/src/main/java/com/streamsets/pipeline/stage/origin/salesforce/ForceSource.java", "func_name": "ForceSource.checkConditionExpressions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if any of the nested conditions contains fieldName", "docstring_tokens": ["Returns", "true", "if", "any", "of", "the", "nested", "conditions", "contains", "fieldName"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/salesforce-lib/src/main/java/com/streamsets/pipeline/stage/origin/salesforce/ForceSource.java#L357-L369", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "commonlib/src/main/java/com/streamsets/pipeline/lib/util/FileContextProviderUtil.java", "func_name": "FileContextProviderUtil.getOffsetLagForFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If passed a valid fileOffsetString, it will return what is the offset lag in the file.\n@param fileOffsetString\n@return offset lag for the live file.\n@throws IOException", "docstring_tokens": ["If", "passed", "a", "valid", "fileOffsetString", "it", "will", "return", "what", "is", "the", "offset", "lag", "in", "the", "file", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/commonlib/src/main/java/com/streamsets/pipeline/lib/util/FileContextProviderUtil.java#L48-L54", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "bootstrap/src/main/java/com/streamsets/pipeline/BootstrapMain.java", "func_name": "BootstrapMain.premain", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Visible due to JVM requirements only", "docstring_tokens": ["Visible", "due", "to", "JVM", "requirements", "only"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/bootstrap/src/main/java/com/streamsets/pipeline/BootstrapMain.java#L98-L104", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "kafka_source-protolib/src/main/java/com/streamsets/pipeline/stage/origin/kafka/BaseKafkaSource.java", "func_name": "BaseKafkaSource.getParallelism", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This API is being used by ClusterKafkaSource", "docstring_tokens": ["This", "API", "is", "being", "used", "by", "ClusterKafkaSource"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/kafka_source-protolib/src/main/java/com/streamsets/pipeline/stage/origin/kafka/BaseKafkaSource.java#L204-L219", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "google-cloud-lib/src/main/java/com/streamsets/pipeline/stage/bigquery/lib/BigQueryDelegate.java", "func_name": "BigQueryDelegate.runQuery", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Executes a query request and returns the results. A timeout is required to avoid\nwaiting for an indeterminate amount of time. If the query fails to complete within the\ntimeout it is aborted.\n\n@param queryConfig request describing the query to execute\n@param timeout maximum amount of time to wait for job completion before attempting to cancel\n@return result of the query.\n@throws StageException if the query does not complete within the requested timeout or\nthere is an error executing the query.", "docstring_tokens": ["Executes", "a", "query", "request", "and", "returns", "the", "results", ".", "A", "timeout", "is", "required", "to", "avoid", "waiting", "for", "an", "indeterminate", "amount", "of", "time", ".", "If", "the", "query", "fails", "to", "complete", "within", "the", "timeout", "it", "is", "aborted", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/google-cloud-lib/src/main/java/com/streamsets/pipeline/stage/bigquery/lib/BigQueryDelegate.java#L180-L228", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "google-cloud-lib/src/main/java/com/streamsets/pipeline/stage/bigquery/lib/BigQueryDelegate.java", "func_name": "BigQueryDelegate.fieldsToMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts a list of BigQuery fields to SDC Record fields.\nThe provided parameters must have matching lengths.\n\nIf not, an unchecked exception will be thrown. This method is called when the resulting\ncontainer type should be a {@link Field.Type#LIST_MAP}\n\n@param schema List of {@link com.google.cloud.bigquery.Field} representing the schema\nat the current level of nesting. For example, if processing a\n{@link LegacySQLTypeName#RECORD} or {@link StandardSQLTypeName#STRUCT}\nthis would only include the fields for that particular data structure and not the entire\nresult set.\n\n@param values List of {@link FieldValue} representing the values to set in the generated\nfields.\n@return Specifically, a LinkedHashMap as the return value of this method is expected to be\nused to create a\n{@link Field.Type#LIST_MAP} field.", "docstring_tokens": ["Converts", "a", "list", "of", "BigQuery", "fields", "to", "SDC", "Record", "fields", ".", "The", "provided", "parameters", "must", "have", "matching", "lengths", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/google-cloud-lib/src/main/java/com/streamsets/pipeline/stage/bigquery/lib/BigQueryDelegate.java#L261-L288", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "kinetica-protolib/src/main/java/com/streamsets/pipeline/stage/kinetica/util/KineticaTableUtils.java", "func_name": "KineticaTableUtils.getTableDescription", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the table description from the ShowTableResponse", "docstring_tokens": ["Get", "the", "table", "description", "from", "the", "ShowTableResponse"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/kinetica-protolib/src/main/java/com/streamsets/pipeline/stage/kinetica/util/KineticaTableUtils.java#L84-L90", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "kinetica-protolib/src/main/java/com/streamsets/pipeline/stage/kinetica/util/KineticaTableUtils.java", "func_name": "KineticaTableUtils.validateTableAcceptsInserts", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "if it is not", "docstring_tokens": ["if", "it", "is", "not"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/kinetica-protolib/src/main/java/com/streamsets/pipeline/stage/kinetica/util/KineticaTableUtils.java#L94-L106", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "kinetica-protolib/src/main/java/com/streamsets/pipeline/stage/kinetica/util/KineticaTableUtils.java", "func_name": "KineticaTableUtils.getColumnType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the Class for the column type", "docstring_tokens": ["Get", "the", "Class", "for", "the", "column", "type"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/kinetica-protolib/src/main/java/com/streamsets/pipeline/stage/kinetica/util/KineticaTableUtils.java#L162-L183", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "kinetica-protolib/src/main/java/com/streamsets/pipeline/stage/kinetica/util/KineticaTableUtils.java", "func_name": "KineticaTableUtils.typeIsNullable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "the Avro \"type\" field)", "docstring_tokens": ["the", "Avro", "type", "field", ")"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/kinetica-protolib/src/main/java/com/streamsets/pipeline/stage/kinetica/util/KineticaTableUtils.java#L187-L198", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "kinetica-protolib/src/main/java/com/streamsets/pipeline/stage/kinetica/util/KineticaTableUtils.java", "func_name": "KineticaTableUtils.getTableSchema", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the table's schema as a JSON Object", "docstring_tokens": ["Get", "the", "table", "s", "schema", "as", "a", "JSON", "Object"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/kinetica-protolib/src/main/java/com/streamsets/pipeline/stage/kinetica/util/KineticaTableUtils.java#L201-L210", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "kinetica-protolib/src/main/java/com/streamsets/pipeline/stage/kinetica/util/KineticaTableUtils.java", "func_name": "KineticaTableUtils.getColumnProperties", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the table's extended column properties", "docstring_tokens": ["Get", "the", "table", "s", "extended", "column", "properties"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/kinetica-protolib/src/main/java/com/streamsets/pipeline/stage/kinetica/util/KineticaTableUtils.java#L213-L223", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "kinetica-protolib/src/main/java/com/streamsets/pipeline/stage/kinetica/util/KineticaTableUtils.java", "func_name": "KineticaTableUtils.getClassForType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the Java type for a type name", "docstring_tokens": ["Get", "the", "Java", "type", "for", "a", "type", "name"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/kinetica-protolib/src/main/java/com/streamsets/pipeline/stage/kinetica/util/KineticaTableUtils.java#L226-L244", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "aerospike-lib/src/main/java/com/streamsets/pipeline/destination/aerospike/AerospikeBeanConfig.java", "func_name": "AerospikeBeanConfig.init", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "initialize and validate configuration options\n\n@param context\n@param issues", "docstring_tokens": ["initialize", "and", "validate", "configuration", "options"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/aerospike-lib/src/main/java/com/streamsets/pipeline/destination/aerospike/AerospikeBeanConfig.java#L64-L85", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "basic-lib/src/main/java/com/streamsets/pipeline/stage/destination/mqtt/MqttClientTarget.java", "func_name": "MqttClientTarget.getTopic", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the topic given the record.\n\nReturns the configured topic or statically evaluated topic in case runtime resolution is not required.\n\nIf runtime resolution is required then the following is done:\n1. Resolve the topic name by evaluating the topic expression\n2. If the white list does not contain topic name and white list is not configured with \"*\" throw StageException\nand the record will be handled based on the OnError configuration for the stage", "docstring_tokens": ["Returns", "the", "topic", "given", "the", "record", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/basic-lib/src/main/java/com/streamsets/pipeline/stage/destination/mqtt/MqttClientTarget.java#L159-L181", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "jms-lib/src/main/java/com/streamsets/pipeline/stage/origin/jms/JmsSourceUpgrader.java", "func_name": "JmsSourceUpgrader.upgradeV5ToV6", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Transition to services", "docstring_tokens": ["Transition", "to", "services"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/jms-lib/src/main/java/com/streamsets/pipeline/stage/origin/jms/JmsSourceUpgrader.java#L94-L111", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "utils/src/main/java/com/streamsets/datacollector/io/DataStore.java", "func_name": "DataStore.getInputStream", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an input stream for the requested file.\n\nAfter completing the read the stream must be closed. It is not necessary to call the {@link #release()}\nmethod after reading from the input stream.\n\nExample usage:\n\nDataStore dataStore = new DataStore(...);\ntry (InputStream is = dataStore.getInputStream()) {\n// read from is\n} catch (IOException e) {\n...\n}\n\n@return\n@throws IOException", "docstring_tokens": ["Returns", "an", "input", "stream", "for", "the", "requested", "file", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/utils/src/main/java/com/streamsets/datacollector/io/DataStore.java#L199-L228", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "utils/src/main/java/com/streamsets/datacollector/io/DataStore.java", "func_name": "DataStore.getOutputStream", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an output stream for the requested file.\n\nAfter completing the write the contents must be committed using the {@link #commit(java.io.OutputStream)}\nmethod and the stream must be released using the {@link #release()} method.\n\nExample usage:\n\nDataStore dataStore = new DataStore(...);\ntry (OutputStream os = dataStore.getOutputStream()) {\nos.write(..);\ndataStore.commit(os);\n} catch (IOException e) {\n...\n} finally {\ndataStore.release();\n}\n\n@return\n@throws IOException", "docstring_tokens": ["Returns", "an", "output", "stream", "for", "the", "requested", "file", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/utils/src/main/java/com/streamsets/datacollector/io/DataStore.java#L251-L283", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "utils/src/main/java/com/streamsets/datacollector/io/DataStore.java", "func_name": "DataStore.exists", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if the DataStore exists and contains data.\nThis method will check for the presence of the set of files that can be used to read data from the store.", "docstring_tokens": ["Check", "if", "the", "DataStore", "exists", "and", "contains", "data", ".", "This", "method", "will", "check", "for", "the", "presence", "of", "the", "set", "of", "files", "that", "can", "be", "used", "to", "read", "data", "from", "the", "store", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/utils/src/main/java/com/streamsets/datacollector/io/DataStore.java#L365-L373", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "hdfs-protolib/src/main/java/com/streamsets/pipeline/stage/destination/hdfs/util/HdfsUtils.java", "func_name": "HdfsUtils.parseFsPermission", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse String representation of permissions into HDFS FsPermission class.\n\nThis method accepts the following formats:\n* Octal like '777' or '770'\n* HDFS style changes like 'a-rwx'\n* Unix style write up with 9 characters like 'rwxrwx---'\n\n@param permissions String representing the permissions\n@return Parsed FsPermission object", "docstring_tokens": ["Parse", "String", "representation", "of", "permissions", "into", "HDFS", "FsPermission", "class", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/hdfs-protolib/src/main/java/com/streamsets/pipeline/stage/destination/hdfs/util/HdfsUtils.java#L36-L52", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/stagelibrary/ClassLoaderStageLibraryTask.java", "func_name": "ClassLoaderStageLibraryTask.validateAllServicesAvailable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Validate service dependencies.\n\nAny error is considered fatal and RuntimeException() will be thrown that will terminate the SDC start up procedure.", "docstring_tokens": ["Validate", "service", "dependencies", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/stagelibrary/ClassLoaderStageLibraryTask.java#L399-L424", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/aggregation/aggregator/Aggregators.java", "func_name": "Aggregators.createSimple", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a simple Aggregator.\n\n@param name name of the aggregator.\n@param klass Aggregator class\n@return a simple aggregator instance.", "docstring_tokens": ["Creates", "a", "simple", "Aggregator", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/aggregation/aggregator/Aggregators.java#L93-L104", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/aggregation/aggregator/Aggregators.java", "func_name": "Aggregators.getAggregatorUnit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the unit type of an aggregator value. Typically Long or Double.\n\n@param klass the aggregator class.\n@return the unit type of an aggregator value.", "docstring_tokens": ["Returns", "the", "unit", "type", "of", "an", "aggregator", "value", ".", "Typically", "Long", "or", "Double", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/aggregation/aggregator/Aggregators.java#L112-L119", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/aggregation/aggregator/Aggregators.java", "func_name": "Aggregators.createAggregatorData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an AggregatorData.\n\n@param klass aggregator type the AggregatorData is for.\n@param name name of the AggregatorData instance.\n@param timeWindowMillis timewindow of the AggregatorData instance.\n@return the new AggregatorData instance.", "docstring_tokens": ["Creates", "an", "AggregatorData", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/aggregation/aggregator/Aggregators.java#L129-L139", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/aggregation/aggregator/Aggregators.java", "func_name": "Aggregators.createGroupBy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a group-by Agregator.\n\n@param name name of the group-by Aggregator.\n@param aKlass simple aggregator class backing each group-by element.\n@return a group-by aggregator.", "docstring_tokens": ["Creates", "a", "group", "-", "by", "Agregator", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/aggregation/aggregator/Aggregators.java#L148-L157", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/aggregation/aggregator/Aggregators.java", "func_name": "Aggregators.start", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Starts the Aggregators instance.\n\n@param newDataWindowEndTimeMillis ending time of the new DataWindow.", "docstring_tokens": ["Starts", "the", "Aggregators", "instance", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/aggregation/aggregator/Aggregators.java#L164-L169", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/aggregation/aggregator/Aggregators.java", "func_name": "Aggregators.stop", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Stops the Aggregators instance.", "docstring_tokens": ["Stops", "the", "Aggregators", "instance", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/aggregation/aggregator/Aggregators.java#L174-L180", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/aggregation/aggregator/Aggregators.java", "func_name": "Aggregators.roll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Atomically rolls the DataWindow of all aggregators associated with the Aggregators instance.\n\n@param newDataWindowEndTimeMillis ending time of the new DataWindow.\n@return a Map with all the aggregators data of the DataWindow that closed.", "docstring_tokens": ["Atomically", "rolls", "the", "DataWindow", "of", "all", "aggregators", "associated", "with", "the", "Aggregators", "instance", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/aggregation/aggregator/Aggregators.java#L188-L192", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "apache-kafka_0_9-lib/src/main/java/org/apache/kafka/common/security/kerberos/LoginManager.java", "func_name": "LoginManager.acquireLoginManager", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an instance of `LoginManager` and increases its reference count.\n\n`release()` should be invoked when the `LoginManager` is no longer needed. This method will try to reuse an\nexisting `LoginManager` for the provided `mode` if available. However, it expects `configs` to be the same for\nevery invocation and it will ignore them in the case where it's returning a cached instance of `LoginManager`.\n\nThis is a bit ugly and it would be nicer if we could pass the `LoginManager` to `ChannelBuilders.create` and\nshut it down when the broker or clients are closed. It's straightforward to do the former, but it's more\ncomplicated to do the latter without making the consumer API more complex.\n\n@param loginType the type of the login context, it should be SERVER for the broker and CLIENT for the clients\n(i.e. consumer and producer)\n@param configs configuration as key/value pairs", "docstring_tokens": ["Returns", "an", "instance", "of", "LoginManager", "and", "increases", "its", "reference", "count", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/apache-kafka_0_9-lib/src/main/java/org/apache/kafka/common/security/kerberos/LoginManager.java#L94-L103", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "apache-kafka_0_9-lib/src/main/java/org/apache/kafka/common/security/kerberos/LoginManager.java", "func_name": "LoginManager.release", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Decrease the reference count for this instance and release resources if it reaches 0.", "docstring_tokens": ["Decrease", "the", "reference", "count", "for", "this", "instance", "and", "release", "resources", "if", "it", "reaches", "0", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/apache-kafka_0_9-lib/src/main/java/org/apache/kafka/common/security/kerberos/LoginManager.java#L121-L131", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "basic-lib/src/main/java/com/streamsets/pipeline/stage/origin/remote/FileFilter.java", "func_name": "FileFilter.globToRegex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert a limited file glob into a simple regex.\n\n@param glob file specification glob\n@return regex.", "docstring_tokens": ["Convert", "a", "limited", "file", "glob", "into", "a", "simple", "regex", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/basic-lib/src/main/java/com/streamsets/pipeline/stage/origin/remote/FileFilter.java#L82-L93", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "aws-lib/src/main/java/com/streamsets/pipeline/stage/origin/s3/AmazonS3Util.java", "func_name": "AmazonS3Util.listObjectsLexicographically", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Lists objects from AmazonS3 in lexicographical order\n\n@param s3Client\n@param s3ConfigBean\n@param pathMatcher glob patterns to match file name against\n@param s3Offset current offset which provides the key name of the previous object\n@param fetchSize number of objects to fetch in one go\n@return\n@throws AmazonClientException", "docstring_tokens": ["Lists", "objects", "from", "AmazonS3", "in", "lexicographical", "order"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/aws-lib/src/main/java/com/streamsets/pipeline/stage/origin/s3/AmazonS3Util.java#L61-L103", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/execution/runner/common/ProductionPipelineRunner.java", "func_name": "ProductionPipelineRunner.stop", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Stops execution of the pipeline after the current batch completes", "docstring_tokens": ["Stops", "execution", "of", "the", "pipeline", "after", "the", "current", "batch", "completes"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/execution/runner/common/ProductionPipelineRunner.java#L766-L772", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/execution/runner/common/ProductionPipelineRunner.java", "func_name": "ProductionPipelineRunner.produceEmptyBatchesForIdleRunners", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method should be called periodically from a scheduler if the pipeline should not allow runners to be \"idle\"\nfor more then idleTime.\n\n@param idleTime Number of milliseconds after which a runner is considered \"idle\"\n@return Number of idle batches generated in this iteration", "docstring_tokens": ["This", "method", "should", "be", "called", "periodically", "from", "a", "scheduler", "if", "the", "pipeline", "should", "not", "allow", "runners", "to", "be", "idle", "for", "more", "then", "idleTime", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/execution/runner/common/ProductionPipelineRunner.java#L961-L1014", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/execution/runner/common/ProductionPipelineRunner.java", "func_name": "ProductionPipelineRunner.createFailureBatch", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create special batch by salvaging memory structures when pipelines gets into un-recoverable error.\n\n@param pipeBatch Current batch", "docstring_tokens": ["Create", "special", "batch", "by", "salvaging", "memory", "structures", "when", "pipelines", "gets", "into", "un", "-", "recoverable", "error", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/execution/runner/common/ProductionPipelineRunner.java#L1105-L1126", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "cassandra-protolib/src/main/java/com/streamsets/pipeline/stage/destination/cassandra/CassandraTarget.java", "func_name": "CassandraTarget.recordToBoundStatement", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert a Record into a fully-bound statement.", "docstring_tokens": ["Convert", "a", "Record", "into", "a", "fully", "-", "bound", "statement", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/cassandra-protolib/src/main/java/com/streamsets/pipeline/stage/destination/cassandra/CassandraTarget.java#L332-L390", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "utils/src/main/java/com/streamsets/datacollector/util/Configuration.java", "func_name": "Configuration.set", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set multiple configs at once.\n\nIf a value of given config is 'null', then this config key will be un-set.", "docstring_tokens": ["Set", "multiple", "configs", "at", "once", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/utils/src/main/java/com/streamsets/datacollector/util/Configuration.java#L524-L532", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "kudu-protolib/src/main/java/com/streamsets/pipeline/stage/processor/kudulookup/KuduLookupProcessor.java", "func_name": "KuduLookupProcessor.generateLookupKey", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a map of keyColumn - value to lookup in cache.\n@param record\n@return Map of keyColumn - value\n@throws OnRecordErrorException", "docstring_tokens": ["Create", "a", "map", "of", "keyColumn", "-", "value", "to", "lookup", "in", "cache", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/kudu-protolib/src/main/java/com/streamsets/pipeline/stage/processor/kudulookup/KuduLookupProcessor.java#L315-L325", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/multithread/MultithreadedTableProvider.java", "func_name": "MultithreadedTableProvider.handlePartitioningTurnedOffOrOn", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks whether any tables have had partitioning turned off or not, and updates the partition map appropriately\n\n@param reconstructedPartitions the reconstructed partitions (may be modified)", "docstring_tokens": ["Checks", "whether", "any", "tables", "have", "had", "partitioning", "turned", "off", "or", "not", "and", "updates", "the", "partition", "map", "appropriately"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/multithread/MultithreadedTableProvider.java#L187-L273", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "commonlib/src/main/java/com/streamsets/pipeline/lib/parser/log/LogCharDataParser.java", "func_name": "LogCharDataParser.readLine", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "returns the reader line length, the StringBuilder has up to maxObjectLen chars", "docstring_tokens": ["returns", "the", "reader", "line", "length", "the", "StringBuilder", "has", "up", "to", "maxObjectLen", "chars"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/commonlib/src/main/java/com/streamsets/pipeline/lib/parser/log/LogCharDataParser.java#L309-L326", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/usagestats/UsageTimer.java", "func_name": "UsageTimer.roll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "returns fresh UsageTimer just reset to zero accumulated time", "docstring_tokens": ["returns", "fresh", "UsageTimer", "just", "reset", "to", "zero", "accumulated", "time"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/usagestats/UsageTimer.java#L129-L136", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/cli/sch/SchAdmin.java", "func_name": "SchAdmin.enableDPM", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Enable Control Hub on this Data Collector.", "docstring_tokens": ["Enable", "Control", "Hub", "on", "this", "Data", "Collector", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/cli/sch/SchAdmin.java#L78-L134", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/cli/sch/SchAdmin.java", "func_name": "SchAdmin.disableDPM", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Disable Control Hub on this Data Collector - with explicit login.", "docstring_tokens": ["Disable", "Control", "Hub", "on", "this", "Data", "Collector", "-", "with", "explicit", "login", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/cli/sch/SchAdmin.java#L139-L147", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/cli/sch/SchAdmin.java", "func_name": "SchAdmin.normalizeDpmBaseURL", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Normalize Control Hub URL - primarily drop training slash.", "docstring_tokens": ["Normalize", "Control", "Hub", "URL", "-", "primarily", "drop", "training", "slash", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/cli/sch/SchAdmin.java#L238-L244", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/cli/sch/SchAdmin.java", "func_name": "SchAdmin.retrieveUserToken", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Login user and retrieve authentication token.", "docstring_tokens": ["Login", "user", "and", "retrieve", "authentication", "token", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/cli/sch/SchAdmin.java#L249-L273", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/cli/sch/SchAdmin.java", "func_name": "SchAdmin.logout", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Logout given token.", "docstring_tokens": ["Logout", "given", "token", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/cli/sch/SchAdmin.java#L278-L293", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/cli/sch/SchAdmin.java", "func_name": "SchAdmin.updateTokenFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Update token file with the SDC access token.", "docstring_tokens": ["Update", "token", "file", "with", "the", "SDC", "access", "token", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/cli/sch/SchAdmin.java#L298-L307", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/cli/sch/SchAdmin.java", "func_name": "SchAdmin.updateDpmProperties", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Update dpm.properties file with new configuration.", "docstring_tokens": ["Update", "dpm", ".", "properties", "file", "with", "new", "configuration", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/cli/sch/SchAdmin.java#L312-L339", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/schemagen/generators/AvroSchemaGenerator.java", "func_name": "AvroSchemaGenerator.schemaFieldForType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generate schema for given field and optionally wrap it in union with null if configured.", "docstring_tokens": ["Generate", "schema", "for", "given", "field", "and", "optionally", "wrap", "it", "in", "union", "with", "null", "if", "configured", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/schemagen/generators/AvroSchemaGenerator.java#L103-L126", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/schemagen/generators/AvroSchemaGenerator.java", "func_name": "AvroSchemaGenerator.complexSchemaForType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates complex schema for given field that will include optional union with null and potentially default value\nas well. Particularly useful to generate nested structures.", "docstring_tokens": ["Generates", "complex", "schema", "for", "given", "field", "that", "will", "include", "optional", "union", "with", "null", "and", "potentially", "default", "value", "as", "well", ".", "Particularly", "useful", "to", "generate", "nested", "structures", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/schemagen/generators/AvroSchemaGenerator.java#L132-L153", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/schemagen/generators/AvroSchemaGenerator.java", "func_name": "AvroSchemaGenerator.getDecimalScaleOrPrecision", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolve parameters of decimal type.", "docstring_tokens": ["Resolve", "parameters", "of", "decimal", "type", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/schemagen/generators/AvroSchemaGenerator.java#L267-L293", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/schemagen/generators/AvroSchemaGenerator.java", "func_name": "AvroSchemaGenerator.getDefaultValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns default value for given field or null if no default value should be used.", "docstring_tokens": ["Returns", "default", "value", "for", "given", "field", "or", "null", "if", "no", "default", "value", "should", "be", "used", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/schemagen/generators/AvroSchemaGenerator.java#L298-L308", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "guavasupport/src/main/java/com/streamsets/pipeline/lib/io/fileref/FileRefUtil.java", "func_name": "FileRefUtil.initMetricsIfNeeded", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a gauge if it is already not. This is done only once for the stage\n@param context the {@link com.streamsets.pipeline.api.Stage.Context} of this stage", "docstring_tokens": ["Creates", "a", "gauge", "if", "it", "is", "already", "not", ".", "This", "is", "done", "only", "once", "for", "the", "stage"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/guavasupport/src/main/java/com/streamsets/pipeline/lib/io/fileref/FileRefUtil.java#L117-L135", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "basic-lib/src/main/java/com/streamsets/pipeline/lib/dirspooler/LocalFileSystem.java", "func_name": "LocalFileSystem.compare", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method is a simple wrapper that lets us find the NoSuchFileException if that was the cause.", "docstring_tokens": ["This", "method", "is", "a", "simple", "wrapper", "that", "lets", "us", "find", "the", "NoSuchFileException", "if", "that", "was", "the", "cause", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/basic-lib/src/main/java/com/streamsets/pipeline/lib/dirspooler/LocalFileSystem.java#L213-L236", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "common/src/main/java/com/streamsets/pipeline/lib/parser/shaded/com/google/code/regexp/Pattern.java", "func_name": "Pattern.indexOf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the group index of a named capture group at the\nspecified index. If only one instance of the named\ngroup exists, use index 0.\n\n@param groupName name of capture group\n@param index the instance index of the named capture group within\nthe pattern; e.g., index is 2 for the third instance\n@return group index or -1 if not found\n@throws IndexOutOfBoundsException if instance index is out of bounds", "docstring_tokens": ["Gets", "the", "group", "index", "of", "a", "named", "capture", "group", "at", "the", "specified", "index", ".", "If", "only", "one", "instance", "of", "the", "named", "group", "exists", "use", "index", "0", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/common/src/main/java/com/streamsets/pipeline/lib/parser/shaded/com/google/code/regexp/Pattern.java#L132-L139", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "common/src/main/java/com/streamsets/pipeline/lib/parser/shaded/com/google/code/regexp/Pattern.java", "func_name": "Pattern.groupNames", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the names of all capture groups\n\n@return the list of names", "docstring_tokens": ["Gets", "the", "names", "of", "all", "capture", "groups"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/common/src/main/java/com/streamsets/pipeline/lib/parser/shaded/com/google/code/regexp/Pattern.java#L191-L196", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "common/src/main/java/com/streamsets/pipeline/lib/parser/shaded/com/google/code/regexp/Pattern.java", "func_name": "Pattern.isEscapedChar", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determines if the character at the specified position\nof a string is escaped\n\n@param s string to evaluate\n@param pos the position of the character to evaluate\n@return true if the character is escaped; otherwise false", "docstring_tokens": ["Determines", "if", "the", "character", "at", "the", "specified", "position", "of", "a", "string", "is", "escaped"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/common/src/main/java/com/streamsets/pipeline/lib/parser/shaded/com/google/code/regexp/Pattern.java#L292-L294", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "common/src/main/java/com/streamsets/pipeline/lib/parser/shaded/com/google/code/regexp/Pattern.java", "func_name": "Pattern.isSlashEscapedChar", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determines if the character at the specified position\nof a string is escaped with a backslash\n\n@param s string to evaluate\n@param pos the position of the character to evaluate\n@return true if the character is escaped; otherwise false", "docstring_tokens": ["Determines", "if", "the", "character", "at", "the", "specified", "position", "of", "a", "string", "is", "escaped", "with", "a", "backslash"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/common/src/main/java/com/streamsets/pipeline/lib/parser/shaded/com/google/code/regexp/Pattern.java#L304-L316", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "common/src/main/java/com/streamsets/pipeline/lib/parser/shaded/com/google/code/regexp/Pattern.java", "func_name": "Pattern.isInsideCharClass", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determines if a string's character is within a regex character class\n\n@param s string to evaluate\n@param pos the position of the character to evaluate\n@return true if the character is inside a character class; otherwise false", "docstring_tokens": ["Determines", "if", "a", "string", "s", "character", "is", "within", "a", "regex", "character", "class"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/common/src/main/java/com/streamsets/pipeline/lib/parser/shaded/com/google/code/regexp/Pattern.java#L360-L388", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "common/src/main/java/com/streamsets/pipeline/lib/parser/shaded/com/google/code/regexp/Pattern.java", "func_name": "Pattern.countOpenParens", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Counts the open-parentheses to the left of a string position,\nexcluding escaped parentheses\n\n@param s string to evaluate\n@param pos ending position of string; characters to the left\nof this position are evaluated\n@return number of open parentheses", "docstring_tokens": ["Counts", "the", "open", "-", "parentheses", "to", "the", "left", "of", "a", "string", "position", "excluding", "escaped", "parentheses"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/common/src/main/java/com/streamsets/pipeline/lib/parser/shaded/com/google/code/regexp/Pattern.java#L431-L452", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "common/src/main/java/com/streamsets/pipeline/lib/parser/shaded/com/google/code/regexp/Pattern.java", "func_name": "Pattern.extractGroupInfo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses info on named capture groups from a pattern\n\n@param namedPattern regex the regular expression pattern to parse\n@return list of group info for all named groups", "docstring_tokens": ["Parses", "info", "on", "named", "capture", "groups", "from", "a", "pattern"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/common/src/main/java/com/streamsets/pipeline/lib/parser/shaded/com/google/code/regexp/Pattern.java#L460-L483", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "common/src/main/java/com/streamsets/pipeline/lib/parser/shaded/com/google/code/regexp/Pattern.java", "func_name": "Pattern.replace", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Replaces strings matching a pattern with another string. If the string\nto be replaced is escaped with a slash, it is skipped.\n\n@param input the string to evaluate\n@param pattern the pattern that matches the string to be replaced\n@param replacement the string to replace the target\n@return the modified string (original instance of {@code input})", "docstring_tokens": ["Replaces", "strings", "matching", "a", "pattern", "with", "another", "string", ".", "If", "the", "string", "to", "be", "replaced", "is", "escaped", "with", "a", "slash", "it", "is", "skipped", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/common/src/main/java/com/streamsets/pipeline/lib/parser/shaded/com/google/code/regexp/Pattern.java#L494-L508", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container-common/src/main/java/com/streamsets/datacollector/http/JMXJsonServlet.java", "func_name": "JMXJsonServlet.doGet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Process a GET request for the specified resource.\n\n@param request\nThe servlet request we are processing\n@param response\nThe servlet response we are creating", "docstring_tokens": ["Process", "a", "GET", "request", "for", "the", "specified", "resource", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container-common/src/main/java/com/streamsets/datacollector/http/JMXJsonServlet.java#L86-L149", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "jdbc-protolib/src/main/java/com/streamsets/pipeline/stage/origin/jdbc/cdc/oracle/OracleCDCSource.java", "func_name": "OracleCDCSource.refreshSchema", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Refresh the schema for the table if the last update of this table was before the given SCN.\nReturns true if it was updated, else returns false.", "docstring_tokens": ["Refresh", "the", "schema", "for", "the", "table", "if", "the", "last", "update", "of", "this", "table", "was", "before", "the", "given", "SCN", ".", "Returns", "true", "if", "it", "was", "updated", "else", "returns", "false", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/jdbc-protolib/src/main/java/com/streamsets/pipeline/stage/origin/jdbc/cdc/oracle/OracleCDCSource.java#L1082-L1098", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "jdbc-protolib/src/main/java/com/streamsets/pipeline/stage/origin/jdbc/cdc/oracle/OracleCDCSource.java", "func_name": "OracleCDCSource.expired", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "An element is \"expired\" if the transaction started before the current window being processed\nand if no records have actually been sent to the pipeline. If a record has been sent, then a commit was seen,\nso it is not expired.\n@param entry\n@return", "docstring_tokens": ["An", "element", "is", "expired", "if", "the", "transaction", "started", "before", "the", "current", "window", "being", "processed", "and", "if", "no", "records", "have", "actually", "been", "sent", "to", "the", "pipeline", ".", "If", "a", "record", "has", "been", "sent", "then", "a", "commit", "was", "seen", "so", "it", "is", "not", "expired", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/jdbc-protolib/src/main/java/com/streamsets/pipeline/stage/origin/jdbc/cdc/oracle/OracleCDCSource.java#L1817-L1821", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "commonlib/src/main/java/com/streamsets/pipeline/lib/io/SingleLineLiveFileReader.java", "func_name": "SingleLineLiveFileReader.getOffset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "offset will be negative if we are in truncate mode.", "docstring_tokens": ["offset", "will", "be", "negative", "if", "we", "are", "in", "truncate", "mode", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/commonlib/src/main/java/com/streamsets/pipeline/lib/io/SingleLineLiveFileReader.java#L186-L190", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "commonlib/src/main/java/com/streamsets/pipeline/lib/io/SingleLineLiveFileReader.java", "func_name": "SingleLineLiveFileReader.fastForward", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "returns true if still in truncate mode, false otherwise", "docstring_tokens": ["returns", "true", "if", "still", "in", "truncate", "mode", "false", "otherwise"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/commonlib/src/main/java/com/streamsets/pipeline/lib/io/SingleLineLiveFileReader.java#L257-L290", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/restapi/PipelineStoreResource.java", "func_name": "PipelineStoreResource.createDetachedStageEnvelope", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Detached stage APIs", "docstring_tokens": ["Detached", "stage", "APIs"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/restapi/PipelineStoreResource.java#L1747-L1760", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "stagesupport/src/main/java/com/streamsets/pipeline/lib/el/MathEL.java", "func_name": "MathEL.convertStringToAppropriateNumber", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "We need to support Strings as some information that user might need to deal with is inherently stored in String\nvariables - for example header values or CSV files.\n\nThe way we're processing strings is - if it contains dot, then it's assumed to be a double otherwise long. If we for\nwhatever reason fail to parse the number and error is thrown.", "docstring_tokens": ["We", "need", "to", "support", "Strings", "as", "some", "information", "that", "user", "might", "need", "to", "deal", "with", "is", "inherently", "stored", "in", "String", "variables", "-", "for", "example", "header", "values", "or", "CSV", "files", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/stagesupport/src/main/java/com/streamsets/pipeline/lib/el/MathEL.java#L104-L110", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "commonlib/src/main/java/com/streamsets/pipeline/lib/parser/udp/collectd/CollectdParser.java", "func_name": "CollectdParser.parsePart", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses a collectd packet \"part\".\n\n@param startOffset beginning offset for this part\n@param buf buffered packet\n@param fields field map for the output record\n@return offset after consuming part", "docstring_tokens": ["Parses", "a", "collectd", "packet", "part", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/commonlib/src/main/java/com/streamsets/pipeline/lib/parser/udp/collectd/CollectdParser.java#L248-L313", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "commonlib/src/main/java/com/streamsets/pipeline/lib/parser/udp/collectd/CollectdParser.java", "func_name": "CollectdParser.parseValues", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses the value part of the packet where metrics are located\n\n@param startOffset beginning offset for this part\n@param buf buffered packet\n@return offset after consuming part", "docstring_tokens": ["Parses", "the", "value", "part", "of", "the", "packet", "where", "metrics", "are", "located"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/commonlib/src/main/java/com/streamsets/pipeline/lib/parser/udp/collectd/CollectdParser.java#L368-L412", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/JdbcBaseRecordWriter.java", "func_name": "JdbcBaseRecordWriter.lookupPrimaryKeys", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Access the database, obtain a list of primary key columns, and store them in primaryKeyColumns.\nIf table has no primary keys, primaryKeyColumns stays empty.\n\n@throws StageException", "docstring_tokens": ["Access", "the", "database", "obtain", "a", "list", "of", "primary", "key", "columns", "and", "store", "them", "in", "primaryKeyColumns", ".", "If", "table", "has", "no", "primary", "keys", "primaryKeyColumns", "stays", "empty", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/JdbcBaseRecordWriter.java#L186-L205", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/JdbcBaseRecordWriter.java", "func_name": "JdbcBaseRecordWriter.createCustomFieldMappings", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Use \"Field to Column Mapping\" option obtained from configuration and update\ncolumnsToFields and columnsToParameters.", "docstring_tokens": ["Use", "Field", "to", "Column", "Mapping", "option", "obtained", "from", "configuration", "and", "update", "columnsToFields", "and", "columnsToParameters", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/JdbcBaseRecordWriter.java#L245-L254", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/JdbcBaseRecordWriter.java", "func_name": "JdbcBaseRecordWriter.getSQLTypeName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "spec requires a string name for a data type, rather than just an enum.", "docstring_tokens": ["spec", "requires", "a", "string", "name", "for", "a", "data", "type", "rather", "than", "just", "an", "enum", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/JdbcBaseRecordWriter.java#L258-L296", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/JdbcBaseRecordWriter.java", "func_name": "JdbcBaseRecordWriter.getTableName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Table this writer will write to.\n@return table name", "docstring_tokens": ["Table", "this", "writer", "will", "write", "to", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/JdbcBaseRecordWriter.java#L318-L332", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/JdbcBaseRecordWriter.java", "func_name": "JdbcBaseRecordWriter.setPrimaryKeys", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set primary key values to query. This is called only for UPDATE and DELETE operations.\nIf primary key value is missing in record, it throws OnRecordErrorException.\n@param index\n@param record\n@param statement\n@param opCode\n@return\n@throws OnRecordErrorException", "docstring_tokens": ["Set", "primary", "key", "values", "to", "query", ".", "This", "is", "called", "only", "for", "UPDATE", "and", "DELETE", "operations", ".", "If", "primary", "key", "value", "is", "missing", "in", "record", "it", "throws", "OnRecordErrorException", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/JdbcBaseRecordWriter.java#L666-L685", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/JdbcBaseRecordWriter.java", "func_name": "JdbcBaseRecordWriter.handleSqlException", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This is an error that is not due to bad input record and should throw a StageException\nonce we format the error.\n\n@param e SQLException\n@throws StageException", "docstring_tokens": ["This", "is", "an", "error", "that", "is", "not", "due", "to", "bad", "input", "record", "and", "should", "throw", "a", "StageException", "once", "we", "format", "the", "error", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/JdbcBaseRecordWriter.java#L694-L698", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/runner/SourcePipe.java", "func_name": "SourcePipe.process", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Process method for Push source that will give control of the execution to the origin.\n\n@param offsets Offsets from last execution\n@param batchSize Maximal configured batch size", "docstring_tokens": ["Process", "method", "for", "Push", "source", "that", "will", "give", "control", "of", "the", "execution", "to", "the", "origin", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/runner/SourcePipe.java#L69-L83", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/runner/SourcePipe.java", "func_name": "SourcePipe.prepareBatchContext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Called by PipelineRunner when push origin started a new batch to prepare context for it.\n\n@param batchContext BatchContext associated with the starting batch.", "docstring_tokens": ["Called", "by", "PipelineRunner", "when", "push", "origin", "started", "a", "new", "batch", "to", "prepare", "context", "for", "it", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/runner/SourcePipe.java#L90-L101", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/runner/SourcePipe.java", "func_name": "SourcePipe.finishBatchContext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finish batch from the origin's perspective.\n\n@param batchContext Batch context enriched by prepareBatchContext\n@return Map with statistics that are usually stored inside the Pipe object itself.", "docstring_tokens": ["Finish", "batch", "from", "the", "origin", "s", "perspective", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/runner/SourcePipe.java#L109-L119", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/fieldflattener/FieldFlattenerProcessor.java", "func_name": "FieldFlattenerProcessor.flattenEntireRecord", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Flatten the entire record to one giant map", "docstring_tokens": ["Flatten", "the", "entire", "record", "to", "one", "giant", "map"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/fieldflattener/FieldFlattenerProcessor.java#L63-L78", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/runner/DetachedStageRuntime.java", "func_name": "DetachedStageRuntime.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create new instance of detached stage runtime.", "docstring_tokens": ["Create", "new", "instance", "of", "detached", "stage", "runtime", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/runner/DetachedStageRuntime.java#L69-L84", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "stage-lib-archetype/src/main/resources/archetype-resources/src/main/java/stage/executor/sample/SampleExecutor.java", "func_name": "SampleExecutor.execute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Executes an action for given record.\n\n@param record the record that will parametrize the action\n@throws OnRecordErrorException when action can't be executed", "docstring_tokens": ["Executes", "an", "action", "for", "given", "record", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/stage-lib-archetype/src/main/resources/archetype-resources/src/main/java/stage/executor/sample/SampleExecutor.java#L98-L107", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/JdbcMySqlBinLogRecordReader.java", "func_name": "JdbcMySqlBinLogRecordReader.getColumnsToParameters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Records from MySQL BinLog origin have a bit unique structure.\n\nRecords for Insert and update operations have a field path \"/Data\", which is a map\nof all column names as key and values stored in DB as value.\n\nRecord for Delete operation don't have /Data field. Instead it has a filed path \"/OldData\",\nwhich store the original data in table. So need to look into /OldData when operation is delete.\n\nWe expect user to configure /Data as a filed path in column-filed mapping configuration.\n@param record\n@param op\n@param parameters\n@param columnsToFields\n@return", "docstring_tokens": ["Records", "from", "MySQL", "BinLog", "origin", "have", "a", "bit", "unique", "structure", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/JdbcMySqlBinLogRecordReader.java#L50-L69", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/multithread/util/OffsetQueryUtil.java", "func_name": "OffsetQueryUtil.getConditionForPartitionColumn", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds parts of the query in the where clause for the the partitition column.\n\n@param partitionColumn Partition Column\n@param comparison The comparison to use with respect to the partition column\n@param preconditions Any other precondition in the specific condition that needs to be combined with partition column.\n(For EX: if there are multiple order by we may need to say equals for columns\nbefore this partition column and apply the current partition column conditions)\n@return the constructed condition for the partition column", "docstring_tokens": ["Builds", "parts", "of", "the", "query", "in", "the", "where", "clause", "for", "the", "the", "partitition", "column", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/multithread/util/OffsetQueryUtil.java#L306-L322", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/multithread/util/OffsetQueryUtil.java", "func_name": "OffsetQueryUtil.validateStoredAndSpecifiedOffset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Validates whether offset names match in the stored offset with respect to table configuration\n@param tableContext {@link TableContext} for table\n@param offset Stored offset from the previous stage run\n@return the actual offset map as deserialized from the offset param, if valid\n@throws StageException if columns mismatch", "docstring_tokens": ["Validates", "whether", "offset", "names", "match", "in", "the", "stored", "offset", "with", "respect", "to", "table", "configuration"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/multithread/util/OffsetQueryUtil.java#L461-L484", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/bundles/SupportBundleManager.java", "func_name": "SupportBundleManager.getRequestedDefinitions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Orchestrate what definitions should be used for this bundle.\n\nEither get all definitions that should be used by default or only those specified in the generators argument.", "docstring_tokens": ["Orchestrate", "what", "definitions", "should", "be", "used", "for", "this", "bundle", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/bundles/SupportBundleManager.java#L416-L427", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "spark-executor-protolib/src/main/java/com/streamsets/datacollector/pipeline/executor/spark/yarn/YarnAppLauncher.java", "func_name": "YarnAppLauncher.getNonEmptyArgs", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If there is a RecordEL, then an arg could eval to empty string. This method returns\nargs that are not null or empty.", "docstring_tokens": ["If", "there", "is", "a", "RecordEL", "then", "an", "arg", "could", "eval", "to", "empty", "string", ".", "This", "method", "returns", "args", "that", "are", "not", "null", "or", "empty", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/spark-executor-protolib/src/main/java/com/streamsets/datacollector/pipeline/executor/spark/yarn/YarnAppLauncher.java#L281-L289", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "kudu-protolib/src/main/java/com/streamsets/pipeline/stage/destination/kudu/KuduTarget.java", "func_name": "KuduTarget.getOperation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return Operation based on the operation code. If the code has a number\nthat Kudu destination doesn't support, it throws UnsupportedOperationException.\n@param table\n@param op\n@return\n@throws UnsupportedOperationException", "docstring_tokens": ["Return", "Operation", "based", "on", "the", "operation", "code", ".", "If", "the", "code", "has", "a", "number", "that", "Kudu", "destination", "doesn", "t", "support", "it", "throws", "UnsupportedOperationException", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/kudu-protolib/src/main/java/com/streamsets/pipeline/stage/destination/kudu/KuduTarget.java#L539-L559", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "guavasupport/src/main/java/com/streamsets/pipeline/lib/io/fileref/MetricEnabledWrapperStream.java", "func_name": "MetricEnabledWrapperStream.convertBytesToDisplayFormat", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert the bytes to a human readable format upto 2 decimal places\nThe maximum unit is TB, so anything exceeding 1024 TB will be shown\nwith TB unit.\n@param bytes the number of bytes.\n@return human readable format of bytes in units.", "docstring_tokens": ["Convert", "the", "bytes", "to", "a", "human", "readable", "format", "upto", "2", "decimal", "places", "The", "maximum", "unit", "is", "TB", "so", "anything", "exceeding", "1024", "TB", "will", "be", "shown", "with", "TB", "unit", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/guavasupport/src/main/java/com/streamsets/pipeline/lib/io/fileref/MetricEnabledWrapperStream.java#L102-L110", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "commonlib/src/main/java/com/streamsets/pipeline/lib/io/LiveDirectoryScanner.java", "func_name": "LiveDirectoryScanner.scan", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Scans the directory of for the next file.\n\n@param current the last 'rolled' file processed. Use null to look for the first one. The provided\nfile cannot be the 'live' file.\n@return the next 'rolled' file in order, if there are no more 'rolled' files it will return the 'live' file,\nif there is not 'live' file it will return null.\n@throws IOException thrown if the directory could not be scanned.", "docstring_tokens": ["Scans", "the", "directory", "of", "for", "the", "next", "file", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/commonlib/src/main/java/com/streamsets/pipeline/lib/io/LiveDirectoryScanner.java#L143-L152", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "commonlib/src/main/java/com/streamsets/pipeline/lib/io/LiveDirectoryScanner.java", "func_name": "LiveDirectoryScanner.getPendingFiles", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Scans the directory for number of files yet to be processed.\n\n@param current the last 'rolled' file processed. Use null to look for the first one.\n@return the number of files yet to be processed.\n@throws IOException thrown if the directory could not be scanned.", "docstring_tokens": ["Scans", "the", "directory", "for", "number", "of", "files", "yet", "to", "be", "processed", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/commonlib/src/main/java/com/streamsets/pipeline/lib/io/LiveDirectoryScanner.java#L161-L169", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/classpath/CollisionWhitelist.java", "func_name": "CollisionWhitelist.isWhitelisted", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return true if this dependency and given set of versions is whitelisted.\n\nThis class have several rules for whitelisting - some of them are harcoded (known whitelist for all libraries),\nwhereas the optional Properties argument allows specific exceptions for this particular classpath.\n\n@param name Name of the dependency\n@param specificWhitelist Properties file with exceptions\n@param dependencies Version -> List of full dependencies\n@return", "docstring_tokens": ["Return", "true", "if", "this", "dependency", "and", "given", "set", "of", "versions", "is", "whitelisted", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/classpath/CollisionWhitelist.java#L56-L68", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/classpath/CollisionWhitelist.java", "func_name": "CollisionWhitelist.versionsMatch", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compare expected versions with given versions to see if they are the same or not.\n\n@param expectedVersions Versions that are expected (and thus whitelisted)\n@param versions Versions that were detected on the classpath.\n@return True if and only if those two \"sets\" equals", "docstring_tokens": ["Compare", "expected", "versions", "with", "given", "versions", "to", "see", "if", "they", "are", "the", "same", "or", "not", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/classpath/CollisionWhitelist.java#L77-L80", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "cluster-bootstrap-api/src/main/java/com/streamsets/pipeline/BootstrapClusterStreaming.java", "func_name": "BootstrapClusterStreaming.main", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Bootstrapping the Driver which starts a Spark job on cluster", "docstring_tokens": ["Bootstrapping", "the", "Driver", "which", "starts", "a", "Spark", "job", "on", "cluster"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/cluster-bootstrap-api/src/main/java/com/streamsets/pipeline/BootstrapClusterStreaming.java#L32-L55", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/validation/PipelineConfigurationValidator.java", "func_name": "PipelineConfigurationValidator.propagateRuntimeConfiguration", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "We have special type of a ConfigDef called RUNTIME. This config is never displayed in UI and instead it's values\nare supplied at \"runtime\". This method is the \"runtime\" method that propagates them.", "docstring_tokens": ["We", "have", "special", "type", "of", "a", "ConfigDef", "called", "RUNTIME", ".", "This", "config", "is", "never", "displayed", "in", "UI", "and", "instead", "it", "s", "values", "are", "supplied", "at", "runtime", ".", "This", "method", "is", "the", "runtime", "method", "that", "propagates", "them", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/validation/PipelineConfigurationValidator.java#L423-L453", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "omniture-lib/src/main/java/com/streamsets/pipeline/stage/origin/omniture/OmnitureSource.java", "func_name": "OmnitureSource.validateReportDescription", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Validate Ominture Report Description.", "docstring_tokens": ["Validate", "Ominture", "Report", "Description", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/omniture-lib/src/main/java/com/streamsets/pipeline/stage/origin/omniture/OmnitureSource.java#L96-L105", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/JdbcRecordReaderWriterFactory.java", "func_name": "JdbcRecordReaderWriterFactory.createJdbcRecordWriter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Called by JdbcTarget", "docstring_tokens": ["Called", "by", "JdbcTarget"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/JdbcRecordReaderWriterFactory.java#L31-L77", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/JdbcRecordReaderWriterFactory.java", "func_name": "JdbcRecordReaderWriterFactory.createJdbcRecordWriter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Called by JdbcTeeProcessor", "docstring_tokens": ["Called", "by", "JdbcTeeProcessor"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/JdbcRecordReaderWriterFactory.java#L80-L132", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "google-cloud-lib/src/main/java/com/streamsets/pipeline/stage/bigquery/destination/BigQueryTargetUpgrader.java", "func_name": "BigQueryTargetUpgrader.upgradeV1toV2", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove implicit field mapping", "docstring_tokens": ["Remove", "implicit", "field", "mapping"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/google-cloud-lib/src/main/java/com/streamsets/pipeline/stage/bigquery/destination/BigQueryTargetUpgrader.java#L56-L60", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "common/src/main/java/com/streamsets/pipeline/lib/parser/shaded/org/aicer/grok/util/Grok.java", "func_name": "Grok.extractNamedGroups", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extracts named groups from the raw data\n\n@param rawData\n@return A map of group names mapped to their extracted values or null if there are no matches", "docstring_tokens": ["Extracts", "named", "groups", "from", "the", "raw", "data"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/common/src/main/java/com/streamsets/pipeline/lib/parser/shaded/org/aicer/grok/util/Grok.java#L47-L57", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "cluster-common/src/main/java/com/streamsets/pipeline/cluster/ControlChannel.java", "func_name": "ControlChannel.consumerCommit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If a null value is passed to this method, it's replaced with\na dummy due to the fact the payload for each message is wrapped\nin an Optional.", "docstring_tokens": ["If", "a", "null", "value", "is", "passed", "to", "this", "method", "it", "s", "replaced", "with", "a", "dummy", "due", "to", "the", "fact", "the", "payload", "for", "each", "message", "is", "wrapped", "in", "an", "Optional", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/cluster-common/src/main/java/com/streamsets/pipeline/cluster/ControlChannel.java#L84-L96", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "cluster-common/src/main/java/com/streamsets/pipeline/EmbeddedSDCPool.java", "func_name": "EmbeddedSDCPool.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an instance of SDC and adds to pool\n@return EmbeddedSDC\n@throws Exception", "docstring_tokens": ["Creates", "an", "instance", "of", "SDC", "and", "adds", "to", "pool"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/cluster-common/src/main/java/com/streamsets/pipeline/EmbeddedSDCPool.java#L125-L156", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "mongodb-protolib/src/main/java/com/streamsets/pipeline/stage/processor/mongodb/MongoDBProcessor.java", "func_name": "MongoDBProcessor.setFieldsInRecord", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the lookup reuslt in the result field\n@param record Lookup result\n@param fields Field name configured in \"result field\"", "docstring_tokens": ["Set", "the", "lookup", "reuslt", "in", "the", "result", "field"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/mongodb-protolib/src/main/java/com/streamsets/pipeline/stage/processor/mongodb/MongoDBProcessor.java#L164-L166", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/event/handler/remote/RemoteDataCollector.java", "func_name": "RemoteDataCollector.getRemotePipelinesWithChanges", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns info about remote pipelines that have changed since the last sending of events", "docstring_tokens": ["Returns", "info", "about", "remote", "pipelines", "that", "have", "changed", "since", "the", "last", "sending", "of", "events"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/event/handler/remote/RemoteDataCollector.java#L434-L472", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/event/handler/remote/RemoteDataCollectorResult.java", "func_name": "RemoteDataCollectorResult.futureAck", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a future ack result from the given parameter. It is expected that the caller will eventually wait for the\nfuture ack result that is returned.\n\n@param futureResult the future ack\n@return an instance of this class with the given future ack", "docstring_tokens": ["Creates", "a", "future", "ack", "result", "from", "the", "given", "parameter", ".", "It", "is", "expected", "that", "the", "caller", "will", "eventually", "wait", "for", "the", "future", "ack", "result", "that", "is", "returned", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/event/handler/remote/RemoteDataCollectorResult.java#L60-L62", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/metrics/MetricsConfigurator.java", "func_name": "MetricsConfigurator.createGauge", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Kept for backward compatibility with runtime stats, to be removed in future", "docstring_tokens": ["Kept", "for", "backward", "compatibility", "with", "runtime", "stats", "to", "be", "removed", "in", "future"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/metrics/MetricsConfigurator.java#L199-L207", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/JdbcMongoDBOplogRecordReader.java", "func_name": "JdbcMongoDBOplogRecordReader.getColumnsToParameters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Records from MongoDB Oplog origin have a bit unique structure.\n\nRecords for Insert have all data in the field \"o\", which is a map and contains all data for columns\nRecords for Delete have objectId in the field \"o\", which is a map and contains only objectId.\nRecords for Update have a field \"o2\", which is a map and contains only objectId,\nand a field \"o\" where it stores data for updating columns and values.\n\n@param record\n@param op\n@param parameters\n@param columnsToFields\n@return", "docstring_tokens": ["Records", "from", "MongoDB", "Oplog", "origin", "have", "a", "bit", "unique", "structure", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/JdbcMongoDBOplogRecordReader.java#L50-L67", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "wholefile-transformer-lib/src/main/java/com/streamsets/pipeline/stage/processor/transformer/WholeFileTransformerProcessor.java", "func_name": "WholeFileTransformerProcessor.generateHeaderAttrs", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generate the Header attributes\n@param file the {@link java.nio.file.Path} temporary parquet file path", "docstring_tokens": ["Generate", "the", "Header", "attributes"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/wholefile-transformer-lib/src/main/java/com/streamsets/pipeline/stage/processor/transformer/WholeFileTransformerProcessor.java#L152-L164", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "wholefile-transformer-lib/src/main/java/com/streamsets/pipeline/stage/processor/transformer/WholeFileTransformerProcessor.java", "func_name": "WholeFileTransformerProcessor.validateRecord", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Validate the record is a whole file record\n@param record the {@link com.streamsets.pipeline.api.Record} whole file record", "docstring_tokens": ["Validate", "the", "record", "is", "a", "whole", "file", "record"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/wholefile-transformer-lib/src/main/java/com/streamsets/pipeline/stage/processor/transformer/WholeFileTransformerProcessor.java#L170-L176", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "wholefile-transformer-lib/src/main/java/com/streamsets/pipeline/stage/processor/transformer/WholeFileTransformerProcessor.java", "func_name": "WholeFileTransformerProcessor.handleOldTempFiles", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Delete temporary parquet file\n@param tempParquetFile the {@link java.nio.file.Path} temporary parquet file path", "docstring_tokens": ["Delete", "temporary", "parquet", "file"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/wholefile-transformer-lib/src/main/java/com/streamsets/pipeline/stage/processor/transformer/WholeFileTransformerProcessor.java#L229-L235", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "wholefile-transformer-lib/src/main/java/com/streamsets/pipeline/stage/processor/transformer/WholeFileTransformerProcessor.java", "func_name": "WholeFileTransformerProcessor.getAvroInputStream", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the Avro file input stream\n@param record the {@link com.streamsets.pipeline.api.Record} whole file record", "docstring_tokens": ["Return", "the", "Avro", "file", "input", "stream"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/wholefile-transformer-lib/src/main/java/com/streamsets/pipeline/stage/processor/transformer/WholeFileTransformerProcessor.java#L241-L261", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "wholefile-transformer-lib/src/main/java/com/streamsets/pipeline/stage/processor/transformer/WholeFileTransformerProcessor.java", "func_name": "WholeFileTransformerProcessor.getFileReader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the Avro file reader\n@param is the {@link java.io.InputStream} input stream of the source Avro file\n@param sourceFileName the source Avro file name", "docstring_tokens": ["Return", "the", "Avro", "file", "reader"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/wholefile-transformer-lib/src/main/java/com/streamsets/pipeline/stage/processor/transformer/WholeFileTransformerProcessor.java#L268-L276", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "wholefile-transformer-lib/src/main/java/com/streamsets/pipeline/stage/processor/transformer/WholeFileTransformerProcessor.java", "func_name": "WholeFileTransformerProcessor.writeParquet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert Avro record to Parquet\n@param sourceFileName the source Avro file name\n@param fileReader the {@link org.apache.avro.file.DataFileStream} Avro file reader\n@param tempParquetFile the {@link java.nio.file.Path} temporary parquet file path", "docstring_tokens": ["Convert", "Avro", "record", "to", "Parquet"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/wholefile-transformer-lib/src/main/java/com/streamsets/pipeline/stage/processor/transformer/WholeFileTransformerProcessor.java#L284-L324", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "crypto-lib/src/main/java/com/streamsets/pipeline/stage/processor/crypto/FieldEncrypter.java", "func_name": "FieldEncrypter.checkInputEncrypt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks that the encryption input is a supported type, otherwise sends the\nrecord to error.\n\n@param record {@link Record}\n@param field {@link Field}\n@return empty {@link Optional} if the record was sent to error", "docstring_tokens": ["Checks", "that", "the", "encryption", "input", "is", "a", "supported", "type", "otherwise", "sends", "the", "record", "to", "error", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/crypto-lib/src/main/java/com/streamsets/pipeline/stage/processor/crypto/FieldEncrypter.java#L194-L200", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "crypto-lib/src/main/java/com/streamsets/pipeline/stage/processor/crypto/FieldEncrypter.java", "func_name": "FieldEncrypter.checkInputEncrypt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks that the encryption input is a supported type, otherwise sends the\nrecord to StageException.\n\n@param field {@link Field}\n@return empty {@link Optional} if the record was sent to error", "docstring_tokens": ["Checks", "that", "the", "encryption", "input", "is", "a", "supported", "type", "otherwise", "sends", "the", "record", "to", "StageException", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/crypto-lib/src/main/java/com/streamsets/pipeline/stage/processor/crypto/FieldEncrypter.java#L209-L214", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "crypto-lib/src/main/java/com/streamsets/pipeline/stage/processor/crypto/FieldEncrypter.java", "func_name": "FieldEncrypter.checkInputDecrypt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks that the decryption input is a valid type, otherwise sends the\nrecord to error.\n\n@param record {@link Record}\n@param field {@link Field}\n@return empty {@link Optional} if the record was sent to error", "docstring_tokens": ["Checks", "that", "the", "decryption", "input", "is", "a", "valid", "type", "otherwise", "sends", "the", "record", "to", "error", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/crypto-lib/src/main/java/com/streamsets/pipeline/stage/processor/crypto/FieldEncrypter.java#L225-L231", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "crypto-lib/src/main/java/com/streamsets/pipeline/stage/processor/crypto/FieldEncrypter.java", "func_name": "FieldEncrypter.checkInputDecrypt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks that the decryption input is a valid type, otherwise sends the\nrecord to StageException.\n\n@param field {@link Field}\n@return empty {@link Optional} if the record was sent to error", "docstring_tokens": ["Checks", "that", "the", "decryption", "input", "is", "a", "valid", "type", "otherwise", "sends", "the", "record", "to", "StageException", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/crypto-lib/src/main/java/com/streamsets/pipeline/stage/processor/crypto/FieldEncrypter.java#L240-L245", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "crypto-lib/src/main/java/com/streamsets/pipeline/stage/processor/crypto/FieldEncrypter.java", "func_name": "FieldEncrypter.prepareEncrypt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Does data type conversions in preparation for encryption.\n\n@param field {@link Field} to encrypt\n@param context (AAD)\n@return byte array to encrypt", "docstring_tokens": ["Does", "data", "type", "conversions", "in", "preparation", "for", "encryption", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/crypto-lib/src/main/java/com/streamsets/pipeline/stage/processor/crypto/FieldEncrypter.java#L254-L263", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "common/src/main/java/com/streamsets/pipeline/lib/parser/shaded/com/google/code/regexp/Matcher.java", "func_name": "Matcher.usePattern", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Changes the Pattern that this Matcher uses to find matches with\n\n@param newPattern the new pattern\n@return this Matcher", "docstring_tokens": ["Changes", "the", "Pattern", "that", "this", "Matcher", "uses", "to", "find", "matches", "with"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/common/src/main/java/com/streamsets/pipeline/lib/parser/shaded/com/google/code/regexp/Matcher.java#L68-L75", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "common/src/main/java/com/streamsets/pipeline/lib/parser/shaded/com/google/code/regexp/Matcher.java", "func_name": "Matcher.appendReplacement", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Implements a non-terminal append-and-replace step.\n\n@param sb The target string buffer\n@param replacement The replacement string\n@return The target string buffer", "docstring_tokens": ["Implements", "a", "non", "-", "terminal", "append", "-", "and", "-", "replace", "step", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/common/src/main/java/com/streamsets/pipeline/lib/parser/shaded/com/google/code/regexp/Matcher.java#L188-L191", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "common/src/main/java/com/streamsets/pipeline/lib/parser/shaded/com/google/code/regexp/Matcher.java", "func_name": "Matcher.namedGroups", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds all named groups that exist in the input string. This resets the\nmatcher and attempts to match the input against the pre-specified\npattern.\n\n@return a map of the group named and matched values\n(empty if no match found)", "docstring_tokens": ["Finds", "all", "named", "groups", "that", "exist", "in", "the", "input", "string", ".", "This", "resets", "the", "matcher", "and", "attempts", "to", "match", "the", "input", "against", "the", "pre", "-", "specified", "pattern", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/common/src/main/java/com/streamsets/pipeline/lib/parser/shaded/com/google/code/regexp/Matcher.java#L279-L290", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "common/src/main/java/com/streamsets/pipeline/lib/parser/shaded/com/google/code/regexp/Matcher.java", "func_name": "Matcher.replaceAll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Replaces every subsequence of the input sequence that matches the pattern\nwith the given replacement string.\n\n@param replacement The replacement string\n@return The string constructed by replacing each matching subsequence by\nthe replacement string, substituting captured subsequences as needed", "docstring_tokens": ["Replaces", "every", "subsequence", "of", "the", "input", "sequence", "that", "matches", "the", "pattern", "with", "the", "given", "replacement", "string", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/common/src/main/java/com/streamsets/pipeline/lib/parser/shaded/com/google/code/regexp/Matcher.java#L453-L456", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "stagesupport/src/main/java/com/streamsets/pipeline/config/upgrade/DataFormatUpgradeHelper.java", "func_name": "DataFormatUpgradeHelper.ensureAvroSchemaExists", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "There is a problem with some older stages that originally were not using our data parser library as the\nupgrade on those stages does not create all the properties that were introduced by the data parser library.\nFor example File Tail origin doesn't support avro, so the upgrade procedure doesn't use create the avro\nspecific properties. This is normally not a problem as post-upgrade SDC will create all missing properties\nwith default values. However this particular upgrade will fail if the property avroSchema is missing.\n\nHence for such stages, this method will ensure that the property avroSchema is properly present. The migration\nto data parser library happened for majority of stages in 1.2 release and hence this really affects only people\nupgrading from 1.1.x all the way to 2.1 or above. If the user upgraded from 1.1.x and then to any other release\nbelow 2.1 first, they would not hit this issue as the property avroSchema would be added with default value.", "docstring_tokens": ["There", "is", "a", "problem", "with", "some", "older", "stages", "that", "originally", "were", "not", "using", "our", "data", "parser", "library", "as", "the", "upgrade", "on", "those", "stages", "does", "not", "create", "all", "the", "properties", "that", "were", "introduced", "by", "the", "data", "parser", "library", ".", "For", "example", "File", "Tail", "origin", "doesn", "t", "support", "avro", "so", "the", "upgrade", "procedure", "doesn", "t", "use", "create", "the", "avro", "specific", "properties", ".", "This", "is", "normally", "not", "a", "problem", "as", "post", "-", "upgrade", "SDC", "will", "create", "all", "missing", "properties", "with", "default", "values", ".", "However", "this", "particular", "upgrade", "will", "fail", "if", "the", "property", "avroSchema", "is", "missing", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/stagesupport/src/main/java/com/streamsets/pipeline/config/upgrade/DataFormatUpgradeHelper.java#L123-L128", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "mysql-binlog-lib/src/main/java/com/streamsets/pipeline/stage/origin/mysql/Util.java", "func_name": "Util.getGlobalVariable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get global variable value.\n@param dataSource\n@param variable\n@return global variable value of empty string.\n@throws SQLException", "docstring_tokens": ["Get", "global", "variable", "value", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/mysql-binlog-lib/src/main/java/com/streamsets/pipeline/stage/origin/mysql/Util.java#L35-L48", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/runner/Pipeline.java", "func_name": "Pipeline.createStartEvent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create pipeline start event.", "docstring_tokens": ["Create", "pipeline", "start", "event", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/runner/Pipeline.java#L1174-L1204", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/runner/Pipeline.java", "func_name": "Pipeline.createStopEvent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create pipeline stop event.", "docstring_tokens": ["Create", "pipeline", "stop", "event", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/runner/Pipeline.java#L1209-L1227", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "salesforce-lib/src/main/java/com/streamsets/pipeline/lib/salesforce/SobjectRecordCreator.java", "func_name": "SobjectRecordCreator.fixOffset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "since Salesforce doesn't like scientific notation in queries", "docstring_tokens": ["since", "Salesforce", "doesn", "t", "like", "scientific", "notation", "in", "queries"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/salesforce-lib/src/main/java/com/streamsets/pipeline/lib/salesforce/SobjectRecordCreator.java#L505-L518", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/definition/ConfigValueExtractor.java", "func_name": "ConfigValueExtractor.extractAsRuntime", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "RUNTIME supports only Numeric types and String at the moment", "docstring_tokens": ["RUNTIME", "supports", "only", "Numeric", "types", "and", "String", "at", "the", "moment"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/definition/ConfigValueExtractor.java#L249-L262", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "hive-protolib/src/main/java/com/streamsets/pipeline/stage/lib/hive/HiveQueryExecutor.java", "func_name": "HiveQueryExecutor.executeAlterTableAddPartitionQuery", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a new partition to the given table, with optional custom location.\n@param qualifiedTableName Table name in the form `database`.`table`.\n@param partitionNameValueMap Map between partition column names and their values.\n@param partitionTypeMap Map between partition column names and their types.\n@param partitionPath Location in the Hadoop filesystem where the partition will be created. If null, the default\nlocation will be used.", "docstring_tokens": ["Add", "a", "new", "partition", "to", "the", "given", "table", "with", "optional", "custom", "location", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/hive-protolib/src/main/java/com/streamsets/pipeline/stage/lib/hive/HiveQueryExecutor.java#L389-L397", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "hive-protolib/src/main/java/com/streamsets/pipeline/stage/lib/hive/HiveQueryExecutor.java", "func_name": "HiveQueryExecutor.executeAlterTableSetTblPropertiesQuery", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Execute Alter Table set Table Properties\n@param qualifiedTableName qualified table name.\n@param partitionPath parition path.\n@throws StageException in case of any {@link SQLException}", "docstring_tokens": ["Execute", "Alter", "Table", "set", "Table", "Properties"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/hive-protolib/src/main/java/com/streamsets/pipeline/stage/lib/hive/HiveQueryExecutor.java#L405-L411", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "hive-protolib/src/main/java/com/streamsets/pipeline/stage/lib/hive/HiveQueryExecutor.java", "func_name": "HiveQueryExecutor.executeDescribeDatabase", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns location for given database.\n\n@param dbName Database name\n@return Path where the database is stored\n@throws StageException in case of any {@link SQLException}", "docstring_tokens": ["Returns", "location", "for", "given", "database", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/hive-protolib/src/main/java/com/streamsets/pipeline/stage/lib/hive/HiveQueryExecutor.java#L506-L516", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "hive-protolib/src/main/java/com/streamsets/pipeline/stage/lib/hive/HiveQueryExecutor.java", "func_name": "HiveQueryExecutor.execute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Execute given query.\n\nWith all required side effects such as catching exceptions, updating metrics, ...\n@param query Query to execute\n@throws StageException", "docstring_tokens": ["Execute", "given", "query", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/hive-protolib/src/main/java/com/streamsets/pipeline/stage/lib/hive/HiveQueryExecutor.java#L623-L636", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "hive-protolib/src/main/java/com/streamsets/pipeline/stage/lib/hive/HiveQueryExecutor.java", "func_name": "HiveQueryExecutor.executeQuery", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Execute given query and process it's result set.\n\nWith all required side effects such as catching exceptions, updating metrics, ...\n\n@param query Query to execute\n@param execution Action that should be carried away on the result set\n@throws StageException", "docstring_tokens": ["Execute", "given", "query", "and", "process", "it", "s", "result", "set", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/hive-protolib/src/main/java/com/streamsets/pipeline/stage/lib/hive/HiveQueryExecutor.java#L647-L671", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/runner/PipeRunner.java", "func_name": "PipeRunner.executeBatch", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Run batch with given consumer for each pipe.\n\nThis method will also set the logger appropriately and calculate the runner specific metrics.", "docstring_tokens": ["Run", "batch", "with", "given", "consumer", "for", "each", "pipe", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/runner/PipeRunner.java#L120-L153", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/runner/PipeRunner.java", "func_name": "PipeRunner.forEach", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Execute given consumer for each pipe, rethrowing usual exceptions as RuntimeException.\n\nSuitable for consumer that is not suppose to throw PipelineException and StageException. This method will\nnot calculate usual stage metrics.", "docstring_tokens": ["Execute", "given", "consumer", "for", "each", "pipe", "rethrowing", "usual", "exceptions", "as", "RuntimeException", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/runner/PipeRunner.java#L169-L184", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/runner/PipeRunner.java", "func_name": "PipeRunner.getOffsetCommitTrigger", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retrieve OffsetCommitTrigger pipe.\n\nIf it exists, null otherwise.", "docstring_tokens": ["Retrieve", "OffsetCommitTrigger", "pipe", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/runner/PipeRunner.java#L191-L199", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/runner/PipeRunner.java", "func_name": "PipeRunner.onRecordErrorStopPipeline", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return true if at least one stage is configured with STOP_PIPELINE for OnRecordError policy.", "docstring_tokens": ["Return", "true", "if", "at", "least", "one", "stage", "is", "configured", "with", "STOP_PIPELINE", "for", "OnRecordError", "policy", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/runner/PipeRunner.java#L204-L213", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/runner/PipeRunner.java", "func_name": "PipeRunner.acceptConsumer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Accept given consumer and proper log context of any exception.", "docstring_tokens": ["Accept", "given", "consumer", "and", "proper", "log", "context", "of", "any", "exception", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/runner/PipeRunner.java#L218-L229", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "google-cloud-lib/src/main/java/com/streamsets/pipeline/stage/bigquery/destination/BigQueryTarget.java", "func_name": "BigQueryTarget.getInsertIdForRecord", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Evaluate and obtain the row id if the expression is present or return null.", "docstring_tokens": ["Evaluate", "and", "obtain", "the", "row", "id", "if", "the", "expression", "is", "present", "or", "return", "null", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/google-cloud-lib/src/main/java/com/streamsets/pipeline/stage/bigquery/destination/BigQueryTarget.java#L237-L252", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "google-cloud-lib/src/main/java/com/streamsets/pipeline/stage/bigquery/destination/BigQueryTarget.java", "func_name": "BigQueryTarget.getValueFromField", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert the sdc Field to an object for row content", "docstring_tokens": ["Convert", "the", "sdc", "Field", "to", "an", "object", "for", "row", "content"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/google-cloud-lib/src/main/java/com/streamsets/pipeline/stage/bigquery/destination/BigQueryTarget.java#L284-L333", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "couchbase-protolib/src/main/java/com/streamsets/pipeline/stage/processor/couchbase/CouchbaseProcessor.java", "func_name": "CouchbaseProcessor.setFragmentInRecord", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes sub-document lookup values to the record\n\n@param record the record being processed\n@param frag the sub-document fragment from Couchbase\n@return an Observable of the updated record", "docstring_tokens": ["Writes", "sub", "-", "document", "lookup", "values", "to", "the", "record"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/couchbase-protolib/src/main/java/com/streamsets/pipeline/stage/processor/couchbase/CouchbaseProcessor.java#L268-L295", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "couchbase-protolib/src/main/java/com/streamsets/pipeline/stage/processor/couchbase/CouchbaseProcessor.java", "func_name": "CouchbaseProcessor.setDocumentInRecord", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes full document lookup values to the record\n\n@param record the record being processed\n@param doc the JsonDocument from Couchbase\n@return an Observable of the updated record", "docstring_tokens": ["Writes", "full", "document", "lookup", "values", "to", "the", "record"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/couchbase-protolib/src/main/java/com/streamsets/pipeline/stage/processor/couchbase/CouchbaseProcessor.java#L304-L318", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "couchbase-protolib/src/main/java/com/streamsets/pipeline/stage/processor/couchbase/CouchbaseProcessor.java", "func_name": "CouchbaseProcessor.setN1QLRowInRecord", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes N1QL query result rows to the record\n\n@param record the record being processed\n@param row the current row from the N1QL query result\n@return an Observable of the updated record", "docstring_tokens": ["Writes", "N1QL", "query", "result", "rows", "to", "the", "record"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/couchbase-protolib/src/main/java/com/streamsets/pipeline/stage/processor/couchbase/CouchbaseProcessor.java#L327-L354", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "aws-lib/src/main/java/com/streamsets/pipeline/stage/origin/s3/AmazonS3Runnable.java", "func_name": "AmazonS3Runnable.handleWholeFileDataFormat", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "as the record is just the metadata along with file ref.", "docstring_tokens": ["as", "the", "record", "is", "just", "the", "metadata", "along", "with", "file", "ref", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/aws-lib/src/main/java/com/streamsets/pipeline/stage/origin/s3/AmazonS3Runnable.java#L321-L361", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "mysql-binlog-lib/src/main/java/com/streamsets/pipeline/stage/origin/mysql/GtidSourceOffset.java", "func_name": "GtidSourceOffset.incompleteTransactionsContain", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if given gtid + seqNo pair is contained in this incomplete transactions.\n@param gtid\n@param seqNo\n@return true if incomplete transactions have given gtid and\nits associated seqNo is greater or equal to given seqNo.", "docstring_tokens": ["Check", "if", "given", "gtid", "+", "seqNo", "pair", "is", "contained", "in", "this", "incomplete", "transactions", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/mysql-binlog-lib/src/main/java/com/streamsets/pipeline/stage/origin/mysql/GtidSourceOffset.java#L115-L118", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/util/LambdaUtil.java", "func_name": "LambdaUtil.withClassLoaderInternal", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Internal version of the wrapping function that will simply propagate all exceptions up.", "docstring_tokens": ["Internal", "version", "of", "the", "wrapping", "function", "that", "will", "simply", "propagate", "all", "exceptions", "up", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/util/LambdaUtil.java#L141-L152", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/record/HeaderImpl.java", "func_name": "HeaderImpl.setStageCreator", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "HeaderImpl setter methods", "docstring_tokens": ["HeaderImpl", "setter", "methods"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/record/HeaderImpl.java#L254-L257", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container-common/src/main/java/com/streamsets/datacollector/security/SecurityContext.java", "func_name": "SecurityContext.logout", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Logs out. If Keberos is enabled it logs out from the KDC, otherwise is a NOP.", "docstring_tokens": ["Logs", "out", ".", "If", "Keberos", "is", "enabled", "it", "logs", "out", "from", "the", "KDC", "otherwise", "is", "a", "NOP", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container-common/src/main/java/com/streamsets/datacollector/security/SecurityContext.java#L242-L257", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container-common/src/main/java/com/streamsets/datacollector/security/SdcSecurityManager.java", "func_name": "SdcSecurityManager.setExceptions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method should be called only once and before any stages are loaded.", "docstring_tokens": ["This", "method", "should", "be", "called", "only", "once", "and", "before", "any", "stages", "are", "loaded", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container-common/src/main/java/com/streamsets/datacollector/security/SdcSecurityManager.java#L78-L97", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container-common/src/main/java/com/streamsets/datacollector/security/SdcSecurityManager.java", "func_name": "SdcSecurityManager.replaceVariables", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Replace variables to internal SDC directories so that users don't have to be entering FQDN.", "docstring_tokens": ["Replace", "variables", "to", "internal", "SDC", "directories", "so", "that", "users", "don", "t", "have", "to", "be", "entering", "FQDN", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container-common/src/main/java/com/streamsets/datacollector/security/SdcSecurityManager.java#L102-L107", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container-common/src/main/java/com/streamsets/datacollector/security/SdcSecurityManager.java", "func_name": "SdcSecurityManager.ensureProperPermissions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make sure that the active code have proper rights to access the file inside protected directory.", "docstring_tokens": ["Make", "sure", "that", "the", "active", "code", "have", "proper", "rights", "to", "access", "the", "file", "inside", "protected", "directory", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container-common/src/main/java/com/streamsets/datacollector/security/SdcSecurityManager.java#L149-L175", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "cluster-bootstrap-api/src/main/java/com/streamsets/pipeline/BootstrapEmrBatch.java", "func_name": "BootstrapEmrBatch.main", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Bootstrapping the Driver which starts a EMR job on cluster", "docstring_tokens": ["Bootstrapping", "the", "Driver", "which", "starts", "a", "EMR", "job", "on", "cluster"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/cluster-bootstrap-api/src/main/java/com/streamsets/pipeline/BootstrapEmrBatch.java#L29-L47", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "hdfs-protolib/src/main/java/com/streamsets/pipeline/stage/destination/hdfs/writer/RecordWriterManager.java", "func_name": "RecordWriterManager.getDirPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns directory path for given record and date.", "docstring_tokens": ["Returns", "directory", "path", "for", "given", "record", "and", "date", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/hdfs-protolib/src/main/java/com/streamsets/pipeline/stage/destination/hdfs/writer/RecordWriterManager.java#L162-L168", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "hdfs-protolib/src/main/java/com/streamsets/pipeline/stage/destination/hdfs/writer/RecordWriterManager.java", "func_name": "RecordWriterManager.renameToFinalName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method should be called every time we finish writing into a file and consider it \"done\".", "docstring_tokens": ["This", "method", "should", "be", "called", "every", "time", "we", "finish", "writing", "into", "a", "file", "and", "consider", "it", "done", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/hdfs-protolib/src/main/java/com/streamsets/pipeline/stage/destination/hdfs/writer/RecordWriterManager.java#L199-L201", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "hdfs-protolib/src/main/java/com/streamsets/pipeline/stage/destination/hdfs/writer/RecordWriterManager.java", "func_name": "RecordWriterManager.shouldRoll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return true if this record should be written into a new file regardless whether we have a file for the record\ncurrently opened or not.", "docstring_tokens": ["Return", "true", "if", "this", "record", "should", "be", "written", "into", "a", "new", "file", "regardless", "whether", "we", "have", "a", "file", "for", "the", "record", "currently", "opened", "or", "not", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/hdfs-protolib/src/main/java/com/streamsets/pipeline/stage/destination/hdfs/writer/RecordWriterManager.java#L377-L383", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "stagesupport/src/main/java/com/streamsets/pipeline/lib/util/AntPathMatcher.java", "func_name": "AntPathMatcher.matchStrings", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Test whether or not a string matches against a pattern.\n@param pattern the pattern to match against (never {@code null})\n@param str the String which must be matched against the pattern (never {@code null})\n@return {@code true} if the string matches against the pattern, or {@code false} otherwise", "docstring_tokens": ["Test", "whether", "or", "not", "a", "string", "matches", "against", "a", "pattern", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/stagesupport/src/main/java/com/streamsets/pipeline/lib/util/AntPathMatcher.java#L460-L462", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "commonlib/src/main/java/com/streamsets/pipeline/lib/io/MultiFileReader.java", "func_name": "MultiFileReader.getOffsets", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the current file offsets. The returned offsets should be set before the next read.\n\n@return the current file offsets.\n@throws IOException thrown if there was an IO error while preparing file offsets.", "docstring_tokens": ["Returns", "the", "current", "file", "offsets", ".", "The", "returned", "offsets", "should", "be", "set", "before", "the", "next", "read", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/commonlib/src/main/java/com/streamsets/pipeline/lib/io/MultiFileReader.java#L158-L161", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "commonlib/src/main/java/com/streamsets/pipeline/lib/io/MultiFileReader.java", "func_name": "MultiFileReader.getRemainingWaitTime", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "remaining time till timeout, return zero if already in timeout", "docstring_tokens": ["remaining", "time", "till", "timeout", "return", "zero", "if", "already", "in", "timeout"], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/commonlib/src/main/java/com/streamsets/pipeline/lib/io/MultiFileReader.java#L178-L181", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "commonlib/src/main/java/com/streamsets/pipeline/lib/io/MultiFileReader.java", "func_name": "MultiFileReader.getOffsetsLag", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determines the offset lag for each active file being read.\n\n@param offsetMap the current Offset for file keys.\n@return map of fileKey to offset.", "docstring_tokens": ["Determines", "the", "offset", "lag", "for", "each", "active", "file", "being", "read", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/commonlib/src/main/java/com/streamsets/pipeline/lib/io/MultiFileReader.java#L256-L258", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/creation/StageLibraryDelegateCreator.java", "func_name": "StageLibraryDelegateCreator.createAndInitialize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create and initialize new delegate.\n\nWe usually have this functionality in a builder somewhere else (like a Pipeline.Builder), but\nwe put it here for now for simplicity. Since this is container-only class, we will be able to\nmove this logic somewhere else at a later time without difficulties.\n\n@param stageLib Stage library task instance.\n@param configuration SDC Configuration\n@param stageLibraryName Name of the stage library from which the delegator should be loaded.\n@param exportedInterface Interface describing which delegator is needed\n@param Interface describing which delegator is needed\n@return Wrapped new instance of the delegator or null on any issue", "docstring_tokens": ["Create", "and", "initialize", "new", "delegate", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/creation/StageLibraryDelegateCreator.java#L49-L74", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/creation/StageLibraryDelegateCreator.java", "func_name": "StageLibraryDelegateCreator.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create new instance of the delegator from given stage library.\n\n@param stageLib Stage library task instance.\n@param stageLibraryName Name of the stage library from which the delegator should be loaded.\n@param exportedInterface Interface describing which delegator is needed\n@return New instance of the delegator or null on any issue", "docstring_tokens": ["Create", "new", "instance", "of", "the", "delegator", "from", "given", "stage", "library", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/creation/StageLibraryDelegateCreator.java#L84-L95", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/creation/StageLibraryDelegateCreator.java", "func_name": "StageLibraryDelegateCreator.createInstance", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create actual instance of delegator.\n\n@param def Delegator definition\n@return New instance or null on any issue", "docstring_tokens": ["Create", "actual", "instance", "of", "delegator", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/creation/StageLibraryDelegateCreator.java#L103-L117", "partition": "test"} +{"repo": "streamsets/datacollector", "path": "container/src/main/java/com/streamsets/datacollector/execution/alerts/MetricRuleEvaluatorHelper.java", "func_name": "MetricRuleEvaluatorHelper.getMetricValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get metric value for given rule evaluation.\n\n@param metrics Metric Registry for the pipeline.\n@param metricId Name of the metric where the value is \"usually\" stored. This method cover mappings of metrics\nthat got historically moved.\n@param metricType Type of the metric\n@param metricElement Value that caller needs in order to assert the right condition.\n@return Requested metric value or null if it doesn't exists\n@throws ObserverException", "docstring_tokens": ["Get", "metric", "value", "for", "given", "rule", "evaluation", "."], "sha": "ea63245ea14d59d5229248387f0628f46131eae5", "url": "https://github.com/streamsets/datacollector/blob/ea63245ea14d59d5229248387f0628f46131eae5/container/src/main/java/com/streamsets/datacollector/execution/alerts/MetricRuleEvaluatorHelper.java#L299-L329", "partition": "test"} +{"repo": "NanoHttpd/nanohttpd", "path": "core/src/main/java/org/nanohttpd/protocols/http/HTTPSession.java", "func_name": "HTTPSession.findHeaderEnd", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find byte index separating header from body. It must be the last byte of\nthe first two sequential new lines.", "docstring_tokens": ["Find", "byte", "index", "separating", "header", "from", "body", ".", "It", "must", "be", "the", "last", "byte", "of", "the", "first", "two", "sequential", "new", "lines", "."], "sha": "b04a342a4bcd0ff44be65138acffc73a29381c72", "url": "https://github.com/NanoHttpd/nanohttpd/blob/b04a342a4bcd0ff44be65138acffc73a29381c72/core/src/main/java/org/nanohttpd/protocols/http/HTTPSession.java#L470-L486", "partition": "test"} +{"repo": "NanoHttpd/nanohttpd", "path": "core/src/main/java/org/nanohttpd/protocols/http/HTTPSession.java", "func_name": "HTTPSession.getBodySize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Deduce body length in bytes. Either from \"content-length\" header or read\nbytes.", "docstring_tokens": ["Deduce", "body", "length", "in", "bytes", ".", "Either", "from", "content", "-", "length", "header", "or", "read", "bytes", "."], "sha": "b04a342a4bcd0ff44be65138acffc73a29381c72", "url": "https://github.com/NanoHttpd/nanohttpd/blob/b04a342a4bcd0ff44be65138acffc73a29381c72/core/src/main/java/org/nanohttpd/protocols/http/HTTPSession.java#L596-L603", "partition": "test"} +{"repo": "NanoHttpd/nanohttpd", "path": "core/src/main/java/org/nanohttpd/protocols/http/HTTPSession.java", "func_name": "HTTPSession.saveTmpFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retrieves the content of a sent file and saves it to a temporary file.\nThe full path to the saved file is returned.", "docstring_tokens": ["Retrieves", "the", "content", "of", "a", "sent", "file", "and", "saves", "it", "to", "a", "temporary", "file", ".", "The", "full", "path", "to", "the", "saved", "file", "is", "returned", "."], "sha": "b04a342a4bcd0ff44be65138acffc73a29381c72", "url": "https://github.com/NanoHttpd/nanohttpd/blob/b04a342a4bcd0ff44be65138acffc73a29381c72/core/src/main/java/org/nanohttpd/protocols/http/HTTPSession.java#L676-L695", "partition": "test"} +{"repo": "NanoHttpd/nanohttpd", "path": "core/src/main/java/org/nanohttpd/protocols/http/NanoHTTPD.java", "func_name": "NanoHTTPD.makeSSLSocketFactory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an SSLSocketFactory for HTTPS. Pass a KeyStore resource with your\ncertificate and passphrase", "docstring_tokens": ["Creates", "an", "SSLSocketFactory", "for", "HTTPS", ".", "Pass", "a", "KeyStore", "resource", "with", "your", "certificate", "and", "passphrase"], "sha": "b04a342a4bcd0ff44be65138acffc73a29381c72", "url": "https://github.com/NanoHttpd/nanohttpd/blob/b04a342a4bcd0ff44be65138acffc73a29381c72/core/src/main/java/org/nanohttpd/protocols/http/NanoHTTPD.java#L267-L283", "partition": "test"} +{"repo": "NanoHttpd/nanohttpd", "path": "core/src/main/java/org/nanohttpd/protocols/http/NanoHTTPD.java", "func_name": "NanoHTTPD.getMimeTypeForFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get MIME type from file name extension, if possible\n\n@param uri\nthe string representing a file\n@return the connected mime/type", "docstring_tokens": ["Get", "MIME", "type", "from", "file", "name", "extension", "if", "possible"], "sha": "b04a342a4bcd0ff44be65138acffc73a29381c72", "url": "https://github.com/NanoHttpd/nanohttpd/blob/b04a342a4bcd0ff44be65138acffc73a29381c72/core/src/main/java/org/nanohttpd/protocols/http/NanoHTTPD.java#L292-L299", "partition": "test"} +{"repo": "NanoHttpd/nanohttpd", "path": "core/src/main/java/org/nanohttpd/protocols/http/NanoHTTPD.java", "func_name": "NanoHTTPD.handle", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This is the \"master\" method that delegates requests to handlers and makes\nsure there is a response to every request. You are not supposed to call\nor override this method in any circumstances. But no one will stop you if\nyou do. I'm a Javadoc, not Code Police.\n\n@param session\nthe incoming session\n@return a response to the incoming session", "docstring_tokens": ["This", "is", "the", "master", "method", "that", "delegates", "requests", "to", "handlers", "and", "makes", "sure", "there", "is", "a", "response", "to", "every", "request", ".", "You", "are", "not", "supposed", "to", "call", "or", "override", "this", "method", "in", "any", "circumstances", ".", "But", "no", "one", "will", "stop", "you", "if", "you", "do", ".", "I", "m", "a", "Javadoc", "not", "Code", "Police", "."], "sha": "b04a342a4bcd0ff44be65138acffc73a29381c72", "url": "https://github.com/NanoHttpd/nanohttpd/blob/b04a342a4bcd0ff44be65138acffc73a29381c72/core/src/main/java/org/nanohttpd/protocols/http/NanoHTTPD.java#L529-L536", "partition": "test"} +{"repo": "NanoHttpd/nanohttpd", "path": "core/src/main/java/org/nanohttpd/protocols/http/NanoHTTPD.java", "func_name": "NanoHTTPD.stop", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Stop the server.", "docstring_tokens": ["Stop", "the", "server", "."], "sha": "b04a342a4bcd0ff44be65138acffc73a29381c72", "url": "https://github.com/NanoHttpd/nanohttpd/blob/b04a342a4bcd0ff44be65138acffc73a29381c72/core/src/main/java/org/nanohttpd/protocols/http/NanoHTTPD.java#L626-L636", "partition": "test"} +{"repo": "NanoHttpd/nanohttpd", "path": "nanolets/src/main/java/org/nanohttpd/router/RouterNanoHTTPD.java", "func_name": "RouterNanoHTTPD.addMappings", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "default routings, they are over writable.\n\n

\nrouter.setNotFoundHandler(GeneralHandler.class);\n
", "docstring_tokens": ["default", "routings", "they", "are", "over", "writable", "."], "sha": "b04a342a4bcd0ff44be65138acffc73a29381c72", "url": "https://github.com/NanoHttpd/nanohttpd/blob/b04a342a4bcd0ff44be65138acffc73a29381c72/nanolets/src/main/java/org/nanohttpd/router/RouterNanoHTTPD.java#L642-L647", "partition": "test"} +{"repo": "NanoHttpd/nanohttpd", "path": "core/src/main/java/org/nanohttpd/protocols/http/response/Response.java", "func_name": "Response.send", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sends given response to the socket.", "docstring_tokens": ["Sends", "given", "response", "to", "the", "socket", "."], "sha": "b04a342a4bcd0ff44be65138acffc73a29381c72", "url": "https://github.com/NanoHttpd/nanohttpd/blob/b04a342a4bcd0ff44be65138acffc73a29381c72/core/src/main/java/org/nanohttpd/protocols/http/response/Response.java#L228-L274", "partition": "test"} +{"repo": "NanoHttpd/nanohttpd", "path": "core/src/main/java/org/nanohttpd/protocols/http/response/Response.java", "func_name": "Response.sendBody", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sends the body to the specified OutputStream. The pending parameter\nlimits the maximum amounts of bytes sent unless it is -1, in which case\neverything is sent.\n\n@param outputStream\nthe OutputStream to send data to\n@param pending\n-1 to send everything, otherwise sets a max limit to the\nnumber of bytes sent\n@throws IOException\nif something goes wrong while sending the data.", "docstring_tokens": ["Sends", "the", "body", "to", "the", "specified", "OutputStream", ".", "The", "pending", "parameter", "limits", "the", "maximum", "amounts", "of", "bytes", "sent", "unless", "it", "is", "-", "1", "in", "which", "case", "everything", "is", "sent", "."], "sha": "b04a342a4bcd0ff44be65138acffc73a29381c72", "url": "https://github.com/NanoHttpd/nanohttpd/blob/b04a342a4bcd0ff44be65138acffc73a29381c72/core/src/main/java/org/nanohttpd/protocols/http/response/Response.java#L344-L365", "partition": "test"} +{"repo": "NanoHttpd/nanohttpd", "path": "core/src/main/java/org/nanohttpd/protocols/http/response/Response.java", "func_name": "Response.newFixedLengthResponse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a response with known length.", "docstring_tokens": ["Create", "a", "response", "with", "known", "length", "."], "sha": "b04a342a4bcd0ff44be65138acffc73a29381c72", "url": "https://github.com/NanoHttpd/nanohttpd/blob/b04a342a4bcd0ff44be65138acffc73a29381c72/core/src/main/java/org/nanohttpd/protocols/http/response/Response.java#L401-L403", "partition": "test"} +{"repo": "NanoHttpd/nanohttpd", "path": "core/src/main/java/org/nanohttpd/protocols/http/response/Response.java", "func_name": "Response.useGzipWhenAccepted", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Else decide whether or not to use Gzip.", "docstring_tokens": ["Else", "decide", "whether", "or", "not", "to", "use", "Gzip", "."], "sha": "b04a342a4bcd0ff44be65138acffc73a29381c72", "url": "https://github.com/NanoHttpd/nanohttpd/blob/b04a342a4bcd0ff44be65138acffc73a29381c72/core/src/main/java/org/nanohttpd/protocols/http/response/Response.java#L442-L447", "partition": "test"} +{"repo": "NanoHttpd/nanohttpd", "path": "core/src/main/java/org/nanohttpd/protocols/http/content/CookieHandler.java", "func_name": "CookieHandler.set", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets a cookie.\n\n@param name\nThe cookie's name.\n@param value\nThe cookie's value.\n@param expires\nHow many days until the cookie expires.", "docstring_tokens": ["Sets", "a", "cookie", "."], "sha": "b04a342a4bcd0ff44be65138acffc73a29381c72", "url": "https://github.com/NanoHttpd/nanohttpd/blob/b04a342a4bcd0ff44be65138acffc73a29381c72/core/src/main/java/org/nanohttpd/protocols/http/content/CookieHandler.java#L110-L112", "partition": "test"} +{"repo": "NanoHttpd/nanohttpd", "path": "core/src/main/java/org/nanohttpd/protocols/http/content/CookieHandler.java", "func_name": "CookieHandler.unloadQueue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Internally used by the webserver to add all queued cookies into the\nResponse's HTTP Headers.\n\n@param response\nThe Response object to which headers the queued cookies will\nbe added.", "docstring_tokens": ["Internally", "used", "by", "the", "webserver", "to", "add", "all", "queued", "cookies", "into", "the", "Response", "s", "HTTP", "Headers", "."], "sha": "b04a342a4bcd0ff44be65138acffc73a29381c72", "url": "https://github.com/NanoHttpd/nanohttpd/blob/b04a342a4bcd0ff44be65138acffc73a29381c72/core/src/main/java/org/nanohttpd/protocols/http/content/CookieHandler.java#L122-L126", "partition": "test"} +{"repo": "spring-projects/spring-session", "path": "spring-session-core/src/main/java/org/springframework/session/web/http/DefaultCookieSerializer.java", "func_name": "DefaultCookieSerializer.base64Decode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Decode the value using Base64.\n@param base64Value the Base64 String to decode\n@return the Base64 decoded value\n@since 1.2.2", "docstring_tokens": ["Decode", "the", "value", "using", "Base64", "."], "sha": "397d4e5ca11954072187ac701ab0379505029f7d", "url": "https://github.com/spring-projects/spring-session/blob/397d4e5ca11954072187ac701ab0379505029f7d/spring-session-core/src/main/java/org/springframework/session/web/http/DefaultCookieSerializer.java#L173-L182", "partition": "test"} +{"repo": "spring-projects/spring-session", "path": "spring-session-core/src/main/java/org/springframework/session/web/http/DefaultCookieSerializer.java", "func_name": "DefaultCookieSerializer.base64Encode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Encode the value using Base64.\n@param value the String to Base64 encode\n@return the Base64 encoded value\n@since 1.2.2", "docstring_tokens": ["Encode", "the", "value", "using", "Base64", "."], "sha": "397d4e5ca11954072187ac701ab0379505029f7d", "url": "https://github.com/spring-projects/spring-session/blob/397d4e5ca11954072187ac701ab0379505029f7d/spring-session-core/src/main/java/org/springframework/session/web/http/DefaultCookieSerializer.java#L190-L193", "partition": "test"} +{"repo": "spring-projects/spring-session", "path": "spring-session-jdbc/src/main/java/org/springframework/session/jdbc/JdbcOperationsSessionRepository.java", "func_name": "JdbcOperationsSessionRepository.setTableName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the name of database table used to store sessions.\n@param tableName the database table name", "docstring_tokens": ["Set", "the", "name", "of", "database", "table", "used", "to", "store", "sessions", "."], "sha": "397d4e5ca11954072187ac701ab0379505029f7d", "url": "https://github.com/spring-projects/spring-session/blob/397d4e5ca11954072187ac701ab0379505029f7d/spring-session-jdbc/src/main/java/org/springframework/session/jdbc/JdbcOperationsSessionRepository.java#L274-L278", "partition": "test"} +{"repo": "spring-projects/spring-session", "path": "spring-session-core/src/main/java/org/springframework/session/security/SpringSessionBackedSessionRegistry.java", "func_name": "SpringSessionBackedSessionRegistry.name", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Derives a String name for the given principal.\n\n@param principal as provided by Spring Security\n@return name of the principal, or its {@code toString()} representation if no name\ncould be derived", "docstring_tokens": ["Derives", "a", "String", "name", "for", "the", "given", "principal", "."], "sha": "397d4e5ca11954072187ac701ab0379505029f7d", "url": "https://github.com/spring-projects/spring-session/blob/397d4e5ca11954072187ac701ab0379505029f7d/spring-session-core/src/main/java/org/springframework/session/security/SpringSessionBackedSessionRegistry.java#L119-L127", "partition": "test"} +{"repo": "spring-projects/spring-session", "path": "spring-session-core/src/main/java/org/springframework/session/web/context/AbstractHttpSessionApplicationInitializer.java", "func_name": "AbstractHttpSessionApplicationInitializer.insertSessionRepositoryFilter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers the springSessionRepositoryFilter.\n@param servletContext the {@link ServletContext}", "docstring_tokens": ["Registers", "the", "springSessionRepositoryFilter", "."], "sha": "397d4e5ca11954072187ac701ab0379505029f7d", "url": "https://github.com/spring-projects/spring-session/blob/397d4e5ca11954072187ac701ab0379505029f7d/spring-session-core/src/main/java/org/springframework/session/web/context/AbstractHttpSessionApplicationInitializer.java#L126-L135", "partition": "test"} +{"repo": "spring-projects/spring-session", "path": "spring-session-core/src/main/java/org/springframework/session/security/SpringSessionBackedSessionInformation.java", "func_name": "SpringSessionBackedSessionInformation.resolvePrincipal", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Tries to determine the principal's name from the given Session.\n\n@param session the session\n@return the principal's name, or empty String if it couldn't be determined", "docstring_tokens": ["Tries", "to", "determine", "the", "principal", "s", "name", "from", "the", "given", "Session", "."], "sha": "397d4e5ca11954072187ac701ab0379505029f7d", "url": "https://github.com/spring-projects/spring-session/blob/397d4e5ca11954072187ac701ab0379505029f7d/spring-session-core/src/main/java/org/springframework/session/security/SpringSessionBackedSessionInformation.java#L69-L82", "partition": "test"} +{"repo": "spring-projects/spring-session", "path": "spring-session-data-redis/src/main/java/org/springframework/session/data/redis/RedisOperationsSessionRepository.java", "func_name": "RedisOperationsSessionRepository.getSession", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the session.\n@param id the session id\n@param allowExpired if true, will also include expired sessions that have not been\ndeleted. If false, will ensure expired sessions are not returned.\n@return the Redis session", "docstring_tokens": ["Gets", "the", "session", "."], "sha": "397d4e5ca11954072187ac701ab0379505029f7d", "url": "https://github.com/spring-projects/spring-session/blob/397d4e5ca11954072187ac701ab0379505029f7d/spring-session-data-redis/src/main/java/org/springframework/session/data/redis/RedisOperationsSessionRepository.java#L465-L477", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "mail/src/main/java/org/jboss/as/mail/extension/MailSessionAdd.java", "func_name": "MailSessionAdd.getJndiName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extracts the raw JNDI_NAME value from the given model node, and depending on the value and\nthe value of any USE_JAVA_CONTEXT child node, converts the raw name into a compliant jndi name.\n\n@param modelNode the model node; either an operation or the model behind a mail session resource\n@return the compliant jndi name", "docstring_tokens": ["Extracts", "the", "raw", "JNDI_NAME", "value", "from", "the", "given", "model", "node", "and", "depending", "on", "the", "value", "and", "the", "value", "of", "any", "USE_JAVA_CONTEXT", "child", "node", "converts", "the", "raw", "name", "into", "a", "compliant", "jndi", "name", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/mail/src/main/java/org/jboss/as/mail/extension/MailSessionAdd.java#L181-L184", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/util/MethodInfoHelper.java", "func_name": "MethodInfoHelper.getCanonicalParameterTypes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method returns the class names of the parameters of the given method\nin canonical form. In case of a method without parameters it will return an empty\narray.\n\n

The canonical form is the one that is used in deployment descriptors.\n\n

Example: For the method f(String[] arg0, String arg1, int) this method will return\n{\"java.lang.String[]\", \"java.lang.String\", \"int\"}\n\n@param viewMethod\n@return", "docstring_tokens": ["This", "method", "returns", "the", "class", "names", "of", "the", "parameters", "of", "the", "given", "method", "in", "canonical", "form", ".", "In", "case", "of", "a", "method", "without", "parameters", "it", "will", "return", "an", "empty", "array", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/util/MethodInfoHelper.java#L54-L64", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "transactions/src/main/java/org/jboss/as/txn/service/internal/tsr/JCAOrderedLastSynchronizationList.java", "func_name": "JCAOrderedLastSynchronizationList.registerInterposedSynchronization", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This is only allowed at various points of the transaction lifecycle.\n\n@param synchronization The synchronization to register\n@throws IllegalStateException In case the transaction was in a state that was not valid to register under\n@throws SystemException In case the transaction status was not known", "docstring_tokens": ["This", "is", "only", "allowed", "at", "various", "points", "of", "the", "transaction", "lifecycle", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/transactions/src/main/java/org/jboss/as/txn/service/internal/tsr/JCAOrderedLastSynchronizationList.java#L63-L89", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "transactions/src/main/java/org/jboss/as/txn/service/internal/tsr/JCAOrderedLastSynchronizationList.java", "func_name": "JCAOrderedLastSynchronizationList.beforeCompletion", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Exceptions from Synchronizations that are registered with this TSR are not trapped for before completion. This is because\nan error in a Sync here should result in the transaction rolling back.\n\nYou can see that in effect in these classes:\nhttps://github.com/jbosstm/narayana/blob/5.0.4.Final/ArjunaCore/arjuna/classes\n/com/arjuna/ats/arjuna/coordinator/TwoPhaseCoordinator.java#L91\nhttps://github.com/jbosstm/narayana/blob/5.0.4.Final/ArjunaJTA\n/jta/classes/com/arjuna/ats/internal/jta/resources/arjunacore/SynchronizationImple.java#L76", "docstring_tokens": ["Exceptions", "from", "Synchronizations", "that", "are", "registered", "with", "this", "TSR", "are", "not", "trapped", "for", "before", "completion", ".", "This", "is", "because", "an", "error", "in", "a", "Sync", "here", "should", "result", "in", "the", "transaction", "rolling", "back", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/transactions/src/main/java/org/jboss/as/txn/service/internal/tsr/JCAOrderedLastSynchronizationList.java#L101-L130", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/tm/TxServerInterceptor.java", "func_name": "TxServerInterceptor.getCurrentTransaction", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the transaction associated with the transaction propagation\ncontext that arrived in the current IIOP request.", "docstring_tokens": ["Returns", "the", "transaction", "associated", "with", "the", "transaction", "propagation", "context", "that", "arrived", "in", "the", "current", "IIOP", "request", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/tm/TxServerInterceptor.java#L79-L96", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "pojo/src/main/java/org/jboss/as/pojo/KernelDeploymentModuleProcessor.java", "func_name": "KernelDeploymentModuleProcessor.deploy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add POJO module if we have any bean factories.\n\n@param phaseContext the deployment unit context\n@throws org.jboss.as.server.deployment.DeploymentUnitProcessingException", "docstring_tokens": ["Add", "POJO", "module", "if", "we", "have", "any", "bean", "factories", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/pojo/src/main/java/org/jboss/as/pojo/KernelDeploymentModuleProcessor.java#L57-L76", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jpa/hibernate4_1/src/main/java/org/jboss/as/jpa/hibernate4/HibernatePersistenceProviderAdaptor.java", "func_name": "HibernatePersistenceProviderAdaptor.doesScopedPersistenceUnitNameIdentifyCacheRegionName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "determine if management console can display the second level cache entries\n\n@param pu\n@return false if a custom AvailableSettings.CACHE_REGION_PREFIX property is specified.\ntrue if the scoped persistence unit name is used to prefix cache entries.", "docstring_tokens": ["determine", "if", "management", "console", "can", "display", "the", "second", "level", "cache", "entries"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jpa/hibernate4_1/src/main/java/org/jboss/as/jpa/hibernate4/HibernatePersistenceProviderAdaptor.java#L113-L118", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/dmr/WSSubsystemAdd.java", "func_name": "WSSubsystemAdd.getServerConfigDependencies", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Process the model to figure out the name of the services the server config service has to depend on", "docstring_tokens": ["Process", "the", "model", "to", "figure", "out", "the", "name", "of", "the", "services", "the", "server", "config", "service", "has", "to", "depend", "on"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/dmr/WSSubsystemAdd.java#L131-L140", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/component/singleton/EJBReadWriteLock.java", "func_name": "EJBReadWriteLock.decReadLockCount", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Decrements the read lock count held by the thread", "docstring_tokens": ["Decrements", "the", "read", "lock", "count", "held", "by", "the", "thread"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/component/singleton/EJBReadWriteLock.java#L239-L248", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/component/singleton/EJBReadWriteLock.java", "func_name": "EJBReadWriteLock.incReadLockCount", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Increments the read lock count held by the thread", "docstring_tokens": ["Increments", "the", "read", "lock", "count", "held", "by", "the", "thread"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/component/singleton/EJBReadWriteLock.java#L253-L261", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "weld/subsystem/src/main/java/org/jboss/as/weld/deployment/BeanDeploymentModule.java", "func_name": "BeanDeploymentModule.addService", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a service to all bean deployment archives in the module\n@param clazz The service type\n@param service The service\n@param The service type", "docstring_tokens": ["Adds", "a", "service", "to", "all", "bean", "deployment", "archives", "in", "the", "module"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/weld/subsystem/src/main/java/org/jboss/as/weld/deployment/BeanDeploymentModule.java#L98-L102", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/timerservice/CalendarTimer.java", "func_name": "CalendarTimer.handleRestorationCalculation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Makes sure that the timer is only run once after being restored.", "docstring_tokens": ["Makes", "sure", "that", "the", "timer", "is", "only", "run", "once", "after", "being", "restored", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/timerservice/CalendarTimer.java#L203-L215", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jpa/subsystem/src/main/java/org/jboss/as/jpa/processor/HibernateSearchProcessor.java", "func_name": "HibernateSearchProcessor.deploy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "if set to `auto`, will behave like not having set the property", "docstring_tokens": ["if", "set", "to", "auto", "will", "behave", "like", "not", "having", "set", "the", "property"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jpa/subsystem/src/main/java/org/jboss/as/jpa/processor/HibernateSearchProcessor.java#L66-L74", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "weld/subsystem/src/main/java/org/jboss/as/weld/deployment/WeldDeployment.java", "func_name": "WeldDeployment.makeTopLevelBdasVisibleFromStaticModules", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds additional edges to the accessibility graph that allow static CDI-enabled modules to inject beans from top-level deployment units", "docstring_tokens": ["Adds", "additional", "edges", "to", "the", "accessibility", "graph", "that", "allow", "static", "CDI", "-", "enabled", "modules", "to", "inject", "beans", "from", "top", "-", "level", "deployment", "units"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/weld/subsystem/src/main/java/org/jboss/as/weld/deployment/WeldDeployment.java#L132-L140", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/metadata/AbstractMetaDataBuilderPOJO.java", "func_name": "AbstractMetaDataBuilderPOJO.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds universal JSE meta data model that is AS agnostic.\n\n@param dep webservice deployment\n@return universal JSE meta data model", "docstring_tokens": ["Builds", "universal", "JSE", "meta", "data", "model", "that", "is", "AS", "agnostic", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/metadata/AbstractMetaDataBuilderPOJO.java#L68-L109", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/metadata/AbstractMetaDataBuilderPOJO.java", "func_name": "AbstractMetaDataBuilderPOJO.setConfigNameAndFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets config name and config file.\n\n@param builder universal JSE meta data model builder\n@param jbossWebMD jboss web meta data", "docstring_tokens": ["Sets", "config", "name", "and", "config", "file", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/metadata/AbstractMetaDataBuilderPOJO.java#L119-L149", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/metadata/AbstractMetaDataBuilderPOJO.java", "func_name": "AbstractMetaDataBuilderPOJO.getSecurityMetaData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds security meta data.\n\n@param securityConstraintsMD security constraints meta data\n@return universal JSE security meta data model", "docstring_tokens": ["Builds", "security", "meta", "data", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/metadata/AbstractMetaDataBuilderPOJO.java#L157-L177", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/metadata/AbstractMetaDataBuilderPOJO.java", "func_name": "AbstractMetaDataBuilderPOJO.getServletUrlPatternsMappings", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns servlet name to url pattern mappings.\n\n@param jbossWebMD jboss web meta data\n@return servlet name to url pattern mappings", "docstring_tokens": ["Returns", "servlet", "name", "to", "url", "pattern", "mappings", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/metadata/AbstractMetaDataBuilderPOJO.java#L185-L199", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/metadata/AbstractMetaDataBuilderPOJO.java", "func_name": "AbstractMetaDataBuilderPOJO.getServletClassMappings", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns servlet name to servlet class mappings.\n\n@param jbossWebMD jboss web meta data\n@return servlet name to servlet mappings", "docstring_tokens": ["Returns", "servlet", "name", "to", "servlet", "class", "mappings", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/metadata/AbstractMetaDataBuilderPOJO.java#L207-L223", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/deployment/processors/EjbInjectionSource.java", "func_name": "EjbInjectionSource.resolve", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks if this ejb injection has been resolved yet, and if not resolves it.", "docstring_tokens": ["Checks", "if", "this", "ejb", "injection", "has", "been", "resolved", "yet", "and", "if", "not", "resolves", "it", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/deployment/processors/EjbInjectionSource.java#L106-L164", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/BroadcastGroupDefinition.java", "func_name": "BroadcastGroupDefinition.getAvailableConnectors", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "FIXME use capabilities & requirements", "docstring_tokens": ["FIXME", "use", "capabilities", "&", "requirements"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/BroadcastGroupDefinition.java#L164-L178", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "transactions/src/main/java/org/jboss/as/txn/subsystem/TransactionSubsystem10Parser.java", "func_name": "TransactionSubsystem10Parser.parseCoreEnvironmentElement", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Handle the core-environment element and children\n\n@param reader\n@return ModelNode for the core-environment\n@throws javax.xml.stream.XMLStreamException", "docstring_tokens": ["Handle", "the", "core", "-", "environment", "element", "and", "children"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/transactions/src/main/java/org/jboss/as/txn/subsystem/TransactionSubsystem10Parser.java#L188-L227", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "transactions/src/main/java/org/jboss/as/txn/subsystem/TransactionSubsystem10Parser.java", "func_name": "TransactionSubsystem10Parser.parseProcessIdEnvironmentElement", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Handle the process-id child elements\n\n@param reader\n@param coreEnvironmentAdd\n@return\n@throws javax.xml.stream.XMLStreamException", "docstring_tokens": ["Handle", "the", "process", "-", "id", "child", "elements"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/transactions/src/main/java/org/jboss/as/txn/subsystem/TransactionSubsystem10Parser.java#L238-L276", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "clustering/common/src/main/java/org/jboss/as/clustering/controller/Operations.java", "func_name": "Operations.getPathAddress", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the address of the specified operation\n@param operation an operation\n@return a path address", "docstring_tokens": ["Returns", "the", "address", "of", "the", "specified", "operation"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/clustering/common/src/main/java/org/jboss/as/clustering/controller/Operations.java#L53-L55", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "clustering/common/src/main/java/org/jboss/as/clustering/controller/Operations.java", "func_name": "Operations.setPathAddress", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the address of the specified operation.\n@param operation an operation\n@param address a path address", "docstring_tokens": ["Sets", "the", "address", "of", "the", "specified", "operation", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/clustering/common/src/main/java/org/jboss/as/clustering/controller/Operations.java#L62-L64", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "clustering/common/src/main/java/org/jboss/as/clustering/controller/Operations.java", "func_name": "Operations.getAttributeValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the attribute value of the specified operation\n@param operation an operation\n@return an attribute value", "docstring_tokens": ["Returns", "the", "attribute", "value", "of", "the", "specified", "operation"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/clustering/common/src/main/java/org/jboss/as/clustering/controller/Operations.java#L89-L91", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "clustering/common/src/main/java/org/jboss/as/clustering/controller/Operations.java", "func_name": "Operations.isIncludeDefaults", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Indicates whether or not this operation expects to include default values.\n@param operation an operation\n@return true, if default values are expected, false otherwise.", "docstring_tokens": ["Indicates", "whether", "or", "not", "this", "operation", "expects", "to", "include", "default", "values", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/clustering/common/src/main/java/org/jboss/as/clustering/controller/Operations.java#L98-L100", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "clustering/common/src/main/java/org/jboss/as/clustering/controller/Operations.java", "func_name": "Operations.createCompositeOperation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a composite operation using the specified operation steps.\n@param operations steps\n@return a composite operation", "docstring_tokens": ["Creates", "a", "composite", "operation", "using", "the", "specified", "operation", "steps", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/clustering/common/src/main/java/org/jboss/as/clustering/controller/Operations.java#L107-L114", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "clustering/common/src/main/java/org/jboss/as/clustering/controller/Operations.java", "func_name": "Operations.createAddOperation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an add operation using the specified address and parameters\n@param address a path address\n@param parameters a map of values per attribute\n@return an add operation", "docstring_tokens": ["Creates", "an", "add", "operation", "using", "the", "specified", "address", "and", "parameters"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/clustering/common/src/main/java/org/jboss/as/clustering/controller/Operations.java#L131-L137", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "clustering/common/src/main/java/org/jboss/as/clustering/controller/Operations.java", "func_name": "Operations.createAddOperation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an indexed add operation using the specified address and index\n@param address a path address\n@param index\n@return an add operation", "docstring_tokens": ["Creates", "an", "indexed", "add", "operation", "using", "the", "specified", "address", "and", "index"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/clustering/common/src/main/java/org/jboss/as/clustering/controller/Operations.java#L145-L147", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "clustering/common/src/main/java/org/jboss/as/clustering/controller/Operations.java", "func_name": "Operations.createReadAttributeOperation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a read-attribute operation using the specified address and name.\n@param address a resource path\n@param attribute an attribute\n@return a read-attribute operation", "docstring_tokens": ["Creates", "a", "read", "-", "attribute", "operation", "using", "the", "specified", "address", "and", "name", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/clustering/common/src/main/java/org/jboss/as/clustering/controller/Operations.java#L170-L172", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "clustering/common/src/main/java/org/jboss/as/clustering/controller/Operations.java", "func_name": "Operations.createWriteAttributeOperation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a write-attribute operation using the specified address, name and value.\n@param address a resource path\n@param attribute an attribute\n@param value an attribute value\n@return a write-attribute operation", "docstring_tokens": ["Creates", "a", "write", "-", "attribute", "operation", "using", "the", "specified", "address", "name", "and", "value", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/clustering/common/src/main/java/org/jboss/as/clustering/controller/Operations.java#L181-L185", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "clustering/common/src/main/java/org/jboss/as/clustering/controller/Operations.java", "func_name": "Operations.createUndefineAttributeOperation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an undefine-attribute operation using the specified address and name.\n@param address a resource path\n@param attribute an attribute\n@return an undefine-attribute operation", "docstring_tokens": ["Creates", "an", "undefine", "-", "attribute", "operation", "using", "the", "specified", "address", "and", "name", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/clustering/common/src/main/java/org/jboss/as/clustering/controller/Operations.java#L193-L195", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "naming/src/main/java/org/jboss/as/naming/deployment/NamingLookupValue.java", "func_name": "NamingLookupValue.getValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Lookup the value from the naming context.\n\n@return the injected value if present, the value retrieved from the context if not.\n@throws IllegalStateException The name is not found in the context when called", "docstring_tokens": ["Lookup", "the", "value", "from", "the", "naming", "context", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/naming/src/main/java/org/jboss/as/naming/deployment/NamingLookupValue.java#L57-L64", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "naming/src/main/java/org/jboss/as/naming/InitialContext.java", "func_name": "InitialContext.addUrlContextFactory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add an ObjectFactory to handle requests for a specific URL scheme.\n@param scheme The URL scheme to handle.\n@param factory The ObjectFactory that can handle the requests.", "docstring_tokens": ["Add", "an", "ObjectFactory", "to", "handle", "requests", "for", "a", "specific", "URL", "scheme", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/naming/src/main/java/org/jboss/as/naming/InitialContext.java#L63-L67", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "naming/src/main/java/org/jboss/as/naming/InitialContext.java", "func_name": "InitialContext.removeUrlContextFactory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove an ObjectFactory from the map of registered ones. To make sure that not anybody can remove an\nObjectFactory both the scheme as well as the actual object factory itself need to be supplied. So you\ncan only remove the factory if you have the factory object.\n@param scheme The URL scheme for which the handler is registered.\n@param factory The factory object associated with the scheme\n@throws IllegalArgumentException if the requested scheme/factory combination is not registered.", "docstring_tokens": ["Remove", "an", "ObjectFactory", "from", "the", "map", "of", "registered", "ones", ".", "To", "make", "sure", "that", "not", "anybody", "can", "remove", "an", "ObjectFactory", "both", "the", "scheme", "as", "well", "as", "the", "actual", "object", "factory", "itself", "need", "to", "be", "supplied", ".", "So", "you", "can", "only", "remove", "the", "factory", "if", "you", "have", "the", "factory", "object", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/naming/src/main/java/org/jboss/as/naming/InitialContext.java#L77-L88", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "connector/src/main/java/org/jboss/as/connector/util/WildFlyProviderResolver.java", "func_name": "WildFlyProviderResolver.loadProviders", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retrieves the providers from the given loader, using the service loader mechanism.\n\n@param classLoader the class loader to use\n@return a list with providers retrieved via the given loader. May be empty but never {@code null}", "docstring_tokens": ["Retrieves", "the", "providers", "from", "the", "given", "loader", "using", "the", "service", "loader", "mechanism", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/connector/src/main/java/org/jboss/as/connector/util/WildFlyProviderResolver.java#L74-L97", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/tomcat/WebMetaDataModifier.java", "func_name": "WebMetaDataModifier.modify", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Modifies web meta data to configure webservice stack transport and properties.\n\n@param dep webservice deployment", "docstring_tokens": ["Modifies", "web", "meta", "data", "to", "configure", "webservice", "stack", "transport", "and", "properties", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/tomcat/WebMetaDataModifier.java#L59-L66", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/tomcat/WebMetaDataModifier.java", "func_name": "WebMetaDataModifier.configureEndpoints", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Configures transport servlet class for every found webservice endpoint.\n\n@param dep webservice deployment\n@param jbossWebMD web meta data", "docstring_tokens": ["Configures", "transport", "servlet", "class", "for", "every", "found", "webservice", "endpoint", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/tomcat/WebMetaDataModifier.java#L74-L102", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/tomcat/WebMetaDataModifier.java", "func_name": "WebMetaDataModifier.modifyContextRoot", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Modifies context root.\n\n@param dep webservice deployment\n@param jbossWebMD web meta data", "docstring_tokens": ["Modifies", "context", "root", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/tomcat/WebMetaDataModifier.java#L110-L116", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/tomcat/WebMetaDataModifier.java", "func_name": "WebMetaDataModifier.getTransportClassName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns stack specific transport class name.\n\n@param dep webservice deployment\n@return stack specific transport class name\n@throws IllegalStateException if transport class name is not found in deployment properties map", "docstring_tokens": ["Returns", "stack", "specific", "transport", "class", "name", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/tomcat/WebMetaDataModifier.java#L125-L129", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "undertow/src/main/java/org/wildfly/extension/undertow/security/SecurityActions.java", "func_name": "SecurityActions.setRunAsIdentity", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the run as identity\n\n@param principal the identity", "docstring_tokens": ["Sets", "the", "run", "as", "identity"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/undertow/src/main/java/org/wildfly/extension/undertow/security/SecurityActions.java#L150-L172", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "undertow/src/main/java/org/wildfly/extension/undertow/security/SecurityActions.java", "func_name": "SecurityActions.popRunAsIdentity", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes the run as identity\n\n@return the identity removed", "docstring_tokens": ["Removes", "the", "run", "as", "identity"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/undertow/src/main/java/org/wildfly/extension/undertow/security/SecurityActions.java#L179-L200", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "undertow/src/main/java/org/wildfly/extension/undertow/deployment/UndertowDeploymentProcessor.java", "func_name": "UndertowDeploymentProcessor.processManagement", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "todo move to UndertowDeploymentService and use all registered servlets from Deployment instead of just one found by metadata", "docstring_tokens": ["todo", "move", "to", "UndertowDeploymentService", "and", "use", "all", "registered", "servlets", "from", "Deployment", "instead", "of", "just", "one", "found", "by", "metadata"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/undertow/src/main/java/org/wildfly/extension/undertow/deployment/UndertowDeploymentProcessor.java#L539-L553", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "connector/src/main/java/org/jboss/as/connector/util/Injection.java", "func_name": "Injection.inject", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Inject a value into an object property\n\n@param object The object\n@param propertyName The property name\n@param propertyValue The property value\n@throws NoSuchMethodException If the property method cannot be found\n@throws IllegalAccessException If the property method cannot be accessed\n@throws InvocationTargetException If the property method cannot be executed", "docstring_tokens": ["Inject", "a", "value", "into", "an", "object", "property"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/connector/src/main/java/org/jboss/as/connector/util/Injection.java#L67-L71", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "connector/src/main/java/org/jboss/as/connector/util/Injection.java", "func_name": "Injection.argumentMatches", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compare the type of a class with the actual value\n\n@param classType The class type\n@param propertyType The property type\n@return True if they match, or if there is a primitive mapping", "docstring_tokens": ["Compare", "the", "type", "of", "a", "class", "with", "the", "actual", "value"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/connector/src/main/java/org/jboss/as/connector/util/Injection.java#L163-L173", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "connector/src/main/java/org/jboss/as/connector/util/Injection.java", "func_name": "Injection.findMethod", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find a method\n\n@param clz The class\n@param methodName The method name\n@param propertyType The property type; can be null\n@return The method; null if not found", "docstring_tokens": ["Find", "a", "method"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/connector/src/main/java/org/jboss/as/connector/util/Injection.java#L183-L221", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "connector/src/main/java/org/jboss/as/connector/util/Injection.java", "func_name": "Injection.findField", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find a field\n\n@param clz The class\n@param fieldName The field name\n@param fieldType The field type; can be null\n@return The field; null if not found", "docstring_tokens": ["Find", "a", "field"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/connector/src/main/java/org/jboss/as/connector/util/Injection.java#L231-L269", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "security/subsystem/src/main/java/org/jboss/as/security/vault/VaultTool.java", "func_name": "VaultTool.initOptions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Build options for non-interactive VaultTool usage scenario.\n\n@return", "docstring_tokens": ["Build", "options", "for", "non", "-", "interactive", "VaultTool", "usage", "scenario", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/security/subsystem/src/main/java/org/jboss/as/security/vault/VaultTool.java#L152-L175", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "undertow/src/main/java/org/wildfly/extension/undertow/security/AuditNotificationReceiver.java", "func_name": "AuditNotificationReceiver.deriveUsefulInfo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Obtain debug information from the servlet request object\n\n@param httpRequest\n@return", "docstring_tokens": ["Obtain", "debug", "information", "from", "the", "servlet", "request", "object"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/undertow/src/main/java/org/wildfly/extension/undertow/security/AuditNotificationReceiver.java#L86-L119", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jdr/jboss-as-jdr/src/main/java/org/jboss/as/jdr/JdrReportService.java", "func_name": "JdrReportService.standaloneCollect", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Collect a JDR report when run outside the Application Server.\n@param cli", "docstring_tokens": ["Collect", "a", "JDR", "report", "when", "run", "outside", "the", "Application", "Server", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jdr/jboss-as-jdr/src/main/java/org/jboss/as/jdr/JdrReportService.java#L80-L82", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jdr/jboss-as-jdr/src/main/java/org/jboss/as/jdr/JdrReportService.java", "func_name": "JdrReportService.collect", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Collect a JDR report.", "docstring_tokens": ["Collect", "a", "JDR", "report", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jdr/jboss-as-jdr/src/main/java/org/jboss/as/jdr/JdrReportService.java#L87-L96", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "connector/src/main/java/org/jboss/as/connector/services/resourceadapters/deployment/registry/ResourceAdapterDeploymentRegistryImpl.java", "func_name": "ResourceAdapterDeploymentRegistryImpl.registerResourceAdapterDeployment", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Register a resource adapter deployment\n@param deployment The deployment", "docstring_tokens": ["Register", "a", "resource", "adapter", "deployment"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/connector/src/main/java/org/jboss/as/connector/services/resourceadapters/deployment/registry/ResourceAdapterDeploymentRegistryImpl.java#L54-L61", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "connector/src/main/java/org/jboss/as/connector/services/resourceadapters/deployment/registry/ResourceAdapterDeploymentRegistryImpl.java", "func_name": "ResourceAdapterDeploymentRegistryImpl.unregisterResourceAdapterDeployment", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Unregister a resource adapter deployment\n@param deployment The deployment", "docstring_tokens": ["Unregister", "a", "resource", "adapter", "deployment"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/connector/src/main/java/org/jboss/as/connector/services/resourceadapters/deployment/registry/ResourceAdapterDeploymentRegistryImpl.java#L67-L74", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "legacy/jacorb/src/main/java/org/jboss/as/jacorb/JacORBExtension.java", "func_name": "JacORBExtension.registerTransformers", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Register the transformers for the 1.3.0 version.\n\n@param subsystem the subsystems registration", "docstring_tokens": ["Register", "the", "transformers", "for", "the", "1", ".", "3", ".", "0", "version", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/legacy/jacorb/src/main/java/org/jboss/as/jacorb/JacORBExtension.java#L104-L129", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/marshal/strategy/StubStrategy.java", "func_name": "StubStrategy.writeParams", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Marshals the sequence of method parameters into an output stream.\n\n@param out a CDR output stream\n@param params an object array with the parameters.", "docstring_tokens": ["Marshals", "the", "sequence", "of", "method", "parameters", "into", "an", "output", "stream", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/marshal/strategy/StubStrategy.java#L189-L206", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/marshal/strategy/StubStrategy.java", "func_name": "StubStrategy.readException", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Unmarshals from an input stream an exception thrown by the method.\n\n@param id the repository id of the exception to unmarshal\n@param in a CDR input stream\n@return an exception unmarshaled from the stream.", "docstring_tokens": ["Unmarshals", "from", "an", "input", "stream", "an", "exception", "thrown", "by", "the", "method", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/marshal/strategy/StubStrategy.java#L232-L239", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/component/stateful/StatefulSessionSynchronizationInterceptor.java", "func_name": "StatefulSessionSynchronizationInterceptor.getLockOwner", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Use either the active transaction or the current thread as the lock owner\n\n@return The lock owner", "docstring_tokens": ["Use", "either", "the", "active", "transaction", "or", "the", "current", "thread", "as", "the", "lock", "owner"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/component/stateful/StatefulSessionSynchronizationInterceptor.java#L194-L197", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/component/stateful/StatefulSessionSynchronizationInterceptor.java", "func_name": "StatefulSessionSynchronizationInterceptor.releaseLock", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Releases the lock, held by this thread, on the stateful component instance.", "docstring_tokens": ["Releases", "the", "lock", "held", "by", "this", "thread", "on", "the", "stateful", "component", "instance", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/component/stateful/StatefulSessionSynchronizationInterceptor.java#L222-L225", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jdr/jboss-as-jdr/src/main/java/org/jboss/as/jdr/util/JdrZipFile.java", "func_name": "JdrZipFile.addLog", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds content to the zipfile in a file named logName\n\npath is prepended with the directory reserved for JDR log files\n\n@param content\n@param logName\n@throws Exception", "docstring_tokens": ["Adds", "content", "to", "the", "zipfile", "in", "a", "file", "named", "logName"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jdr/jboss-as-jdr/src/main/java/org/jboss/as/jdr/util/JdrZipFile.java#L180-L183", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jsf/subsystem/src/main/java/org/jboss/as/jsf/deployment/JSFDependencyProcessor.java", "func_name": "JSFDependencyProcessor.addCDIFlag", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "a CDI ViewHandler.", "docstring_tokens": ["a", "CDI", "ViewHandler", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jsf/subsystem/src/main/java/org/jboss/as/jsf/deployment/JSFDependencyProcessor.java#L171-L196", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/invocation/AbstractInvocationHandler.java", "func_name": "AbstractInvocationHandler.getComponentView", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets endpoint container lazily.\n\n@return endpoint container", "docstring_tokens": ["Gets", "endpoint", "container", "lazily", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/invocation/AbstractInvocationHandler.java#L76-L100", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/invocation/AbstractInvocationHandler.java", "func_name": "AbstractInvocationHandler.invoke", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Invokes WS endpoint.\n\n@param endpoint WS endpoint\n@param wsInvocation web service invocation\n@throws Exception if any error occurs", "docstring_tokens": ["Invokes", "WS", "endpoint", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/invocation/AbstractInvocationHandler.java#L109-L124", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/invocation/AbstractInvocationHandler.java", "func_name": "AbstractInvocationHandler.getComponentViewMethod", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Translates SEI method to component view method.\n\n@param seiMethod SEI method\n@param viewMethods component view methods\n@return matching component view method", "docstring_tokens": ["Translates", "SEI", "method", "to", "component", "view", "method", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/invocation/AbstractInvocationHandler.java#L177-L184", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/invocation/AbstractInvocationHandler.java", "func_name": "AbstractInvocationHandler.matches", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compares two methods if they are identical.\n\n@param seiMethod reference method\n@param viewMethod target method\n@return true if they match, false otherwise", "docstring_tokens": ["Compares", "two", "methods", "if", "they", "are", "identical", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/invocation/AbstractInvocationHandler.java#L224-L233", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jpa/subsystem/src/main/java/org/jboss/as/jpa/service/JPAService.java", "func_name": "JPAService.createManagementStatisticsResource", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create single instance of management statistics resource per managementAdaptor version.\n\nManagementAccess\n\nThe persistence provider and jipijapa adapters will be in the same classloader,\neither a static module or included directly in the application. Those are the two supported use\ncases for management of deployment persistence units also.\n\nFrom a management point of view, the requirements are:\n1. show management statistics for static persistence provider modules and applications that have\ntheir own persistence provider module.\n\n2. persistence provider adapters will provide a unique key that identifies the management version of supported\nmanagement statistics/operations. For example, Hibernate 3.x might be 1.0, Hibernate 4.1/4.2 might\nbe version 2.0 and Hibernate 4.3 could be 2.0 also as long as its compatible (same stats) with 4.1/4.2.\nEventually, a Hibernate (later version) change in statistics is likely to happen, the management version\nwill be incremented.\n\n\n@param managementAdaptor the management adaptor that will provide statistics\n@param scopedPersistenceUnitName name of the persistence unit\n@param deploymentUnit deployment unit for the deployment requesting a resource\n@return the management resource", "docstring_tokens": ["Create", "single", "instance", "of", "management", "statistics", "resource", "per", "managementAdaptor", "version", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jpa/subsystem/src/main/java/org/jboss/as/jpa/service/JPAService.java#L132-L179", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/tomcat/AbstractSecurityMetaDataAccessorEJB.java", "func_name": "AbstractSecurityMetaDataAccessorEJB.getEjbSecurityMetaData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets EJB security meta data if associated with EJB endpoint.\n\n@param endpoint EJB webservice endpoint\n@return EJB security meta data or null", "docstring_tokens": ["Gets", "EJB", "security", "meta", "data", "if", "associated", "with", "EJB", "endpoint", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/tomcat/AbstractSecurityMetaDataAccessorEJB.java#L153-L160", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/tomcat/AbstractSecurityMetaDataAccessorEJB.java", "func_name": "AbstractSecurityMetaDataAccessorEJB.getDomain", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns security domain value. This method checks domain is the same for every EJB 3 endpoint.\n\n@param oldSecurityDomain our security domain\n@param nextSecurityDomain next security domain\n@return security domain value\n@throws IllegalStateException if domains have different values", "docstring_tokens": ["Returns", "security", "domain", "value", ".", "This", "method", "checks", "domain", "is", "the", "same", "for", "every", "EJB", "3", "endpoint", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/tomcat/AbstractSecurityMetaDataAccessorEJB.java#L170-L182", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/tomcat/AbstractSecurityMetaDataAccessorEJB.java", "func_name": "AbstractSecurityMetaDataAccessorEJB.ensureSameDomains", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method ensures both passed domains contain the same value.\n\n@param oldSecurityDomain our security domain\n@param newSecurityDomain next security domain\n@throws IllegalStateException if domains have different values", "docstring_tokens": ["This", "method", "ensures", "both", "passed", "domains", "contain", "the", "same", "value", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/tomcat/AbstractSecurityMetaDataAccessorEJB.java#L191-L195", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/AttributeAnalysis.java", "func_name": "AttributeAnalysis.setIDLName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set my unqualified IDL name.\nThis also sets the names of the associated operations.", "docstring_tokens": ["Set", "my", "unqualified", "IDL", "name", ".", "This", "also", "sets", "the", "names", "of", "the", "associated", "operations", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/AttributeAnalysis.java#L159-L175", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "naming/src/main/java/org/jboss/as/naming/deployment/JndiName.java", "func_name": "JndiName.getAbsoluteName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the absolute JNDI name as a string.\n\n@return The absolute JNDI name as a string", "docstring_tokens": ["Get", "the", "absolute", "JNDI", "name", "as", "a", "string", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/naming/src/main/java/org/jboss/as/naming/deployment/JndiName.java#L69-L76", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "naming/src/main/java/org/jboss/as/naming/deployment/JndiName.java", "func_name": "JndiName.of", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a new instance of the JndiName by breaking the provided string format into a JndiName parts.\n\n@param name The string representation of a JNDI name.\n@return The JndiName representation", "docstring_tokens": ["Create", "a", "new", "instance", "of", "the", "JndiName", "by", "breaking", "the", "provided", "string", "format", "into", "a", "JndiName", "parts", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/naming/src/main/java/org/jboss/as/naming/deployment/JndiName.java#L94-L102", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "connector/src/main/java/org/jboss/as/connector/deployers/ra/processors/IronJacamarDeploymentParsingProcessor.java", "func_name": "IronJacamarDeploymentParsingProcessor.deploy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Process a deployment for iron-jacamar.xml files. Will parse the xml file\nand attach metadata discovered during processing.\n\n@param phaseContext the deployment unit context\n@throws DeploymentUnitProcessingException", "docstring_tokens": ["Process", "a", "deployment", "for", "iron", "-", "jacamar", ".", "xml", "files", ".", "Will", "parse", "the", "xml", "file", "and", "attach", "metadata", "discovered", "during", "processing", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/connector/src/main/java/org/jboss/as/connector/deployers/ra/processors/IronJacamarDeploymentParsingProcessor.java#L65-L76", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "mod_cluster/undertow/src/main/java/org/wildfly/mod_cluster/undertow/metric/RunningRequestsHttpHandler.java", "func_name": "RunningRequestsHttpHandler.handleRequest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Increments the counter and registers a listener to decrement the counter upon exchange complete event.", "docstring_tokens": ["Increments", "the", "counter", "and", "registers", "a", "listener", "to", "decrement", "the", "counter", "upon", "exchange", "complete", "event", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/mod_cluster/undertow/src/main/java/org/wildfly/mod_cluster/undertow/metric/RunningRequestsHttpHandler.java#L51-L66", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/deployment/injection/InjectedJMSContext.java", "func_name": "InjectedJMSContext.isInTransaction", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "check whether there is an active transaction.", "docstring_tokens": ["check", "whether", "there", "is", "an", "active", "transaction", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/deployment/injection/InjectedJMSContext.java#L108-L112", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/deployment/injection/InjectedJMSContext.java", "func_name": "InjectedJMSContext.getTransactionSynchronizationRegistry", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "lookup the transactionSynchronizationRegistry and cache it.", "docstring_tokens": ["lookup", "the", "transactionSynchronizationRegistry", "and", "cache", "it", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/deployment/injection/InjectedJMSContext.java#L117-L124", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/deployment/injection/InjectedJMSContext.java", "func_name": "InjectedJMSContext.getConnectionFactory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "lookup the connectionFactory and cache it.", "docstring_tokens": ["lookup", "the", "connectionFactory", "and", "cache", "it", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/deployment/injection/InjectedJMSContext.java#L129-L137", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "naming/src/main/java/org/jboss/as/naming/util/NamingUtils.java", "func_name": "NamingUtils.getLastComponent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the last component of a name.\n\n@param name the name\n@return the last component", "docstring_tokens": ["Get", "the", "last", "component", "of", "a", "name", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/naming/src/main/java/org/jboss/as/naming/util/NamingUtils.java#L76-L80", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "naming/src/main/java/org/jboss/as/naming/util/NamingUtils.java", "func_name": "NamingUtils.isEmpty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determine if a name is empty, or if ot contains only one component which is the empty string.\n\n@param name the name\n@return {@code true} if the name is empty or contains one empty component", "docstring_tokens": ["Determine", "if", "a", "name", "is", "empty", "or", "if", "ot", "contains", "only", "one", "component", "which", "is", "the", "empty", "string", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/naming/src/main/java/org/jboss/as/naming/util/NamingUtils.java#L88-L90", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "naming/src/main/java/org/jboss/as/naming/util/NamingUtils.java", "func_name": "NamingUtils.nameNotFoundException", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a name-not-found exception.\n\n@param name the name\n@param contextName the context name\n@return the exception", "docstring_tokens": ["Create", "a", "name", "-", "not", "-", "found", "exception", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/naming/src/main/java/org/jboss/as/naming/util/NamingUtils.java#L109-L111", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "naming/src/main/java/org/jboss/as/naming/util/NamingUtils.java", "func_name": "NamingUtils.namingException", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return a general naming exception with a root cause.\n\n@param message the message\n@param cause the exception cause, or {@code null} for none\n@return the exception", "docstring_tokens": ["Return", "a", "general", "naming", "exception", "with", "a", "root", "cause", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/naming/src/main/java/org/jboss/as/naming/util/NamingUtils.java#L149-L153", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "naming/src/main/java/org/jboss/as/naming/util/NamingUtils.java", "func_name": "NamingUtils.namingException", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return a general naming exception with a root cause and a remaining name field.\n\n@param message the message\n@param cause the exception cause, or {@code null} for none\n@param remainingName the remaining name\n@return the exception", "docstring_tokens": ["Return", "a", "general", "naming", "exception", "with", "a", "root", "cause", "and", "a", "remaining", "name", "field", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/naming/src/main/java/org/jboss/as/naming/util/NamingUtils.java#L163-L167", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "naming/src/main/java/org/jboss/as/naming/util/NamingUtils.java", "func_name": "NamingUtils.cannotProceedException", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return a cannot-proceed exception.\n\n@param resolvedObject the resolved object\n@param remainingName the remaining name\n@return the exception", "docstring_tokens": ["Return", "a", "cannot", "-", "proceed", "exception", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/naming/src/main/java/org/jboss/as/naming/util/NamingUtils.java#L176-L181", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "naming/src/main/java/org/jboss/as/naming/util/NamingUtils.java", "func_name": "NamingUtils.namingEnumeration", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return a naming enumeration over a collection.\n\n@param collection the collection\n@param the member type\n@return the enumeration", "docstring_tokens": ["Return", "a", "naming", "enumeration", "over", "a", "collection", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/naming/src/main/java/org/jboss/as/naming/util/NamingUtils.java#L190-L212", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "naming/src/main/java/org/jboss/as/naming/util/NamingUtils.java", "func_name": "NamingUtils.rebind", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Rebind val to name in ctx, and make sure that all intermediate contexts exist\n\n@param ctx the parent JNDI Context under which value will be bound\n@param name the name relative to ctx where value will be bound\n@param value the value to bind.\n@throws NamingException for any error", "docstring_tokens": ["Rebind", "val", "to", "name", "in", "ctx", "and", "make", "sure", "that", "all", "intermediate", "contexts", "exist"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/naming/src/main/java/org/jboss/as/naming/util/NamingUtils.java#L222-L225", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/AbstractActiveMQComponentControlHandler.java", "func_name": "AbstractActiveMQComponentControlHandler.getActiveMQComponentControl", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the runtime ActiveMQ control object that can help service this request.\n\n@param context the operation context\n@param operation the operation\n@param forWrite {@code true} if this operation will modify the runtime; {@code false} if not.\n@return the control object\n@throws OperationFailedException", "docstring_tokens": ["Gets", "the", "runtime", "ActiveMQ", "control", "object", "that", "can", "help", "service", "this", "request", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/AbstractActiveMQComponentControlHandler.java#L276-L287", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "connector/src/main/java/org/jboss/as/connector/subsystems/resourceadapters/CommonIronJacamarParser.java", "func_name": "CommonIronJacamarParser.parseConnectionAttributes_5_0", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses connection attributes for version 5.0\n@param reader the xml reader\n@param connectionDefinitionNode the connection definition add node\n@return the pool name\n@throws XMLStreamException", "docstring_tokens": ["Parses", "connection", "attributes", "for", "version", "5", ".", "0"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/connector/src/main/java/org/jboss/as/connector/subsystems/resourceadapters/CommonIronJacamarParser.java#L480-L562", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ee/src/main/java/org/jboss/as/ee/component/BasicComponent.java", "func_name": "BasicComponent.createInstance", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Wraps an existing object instance in a ComponentInstance, and run the post construct interceptor chain on it.\n\n@param instance The instance to wrap\n@return The new ComponentInstance", "docstring_tokens": ["Wraps", "an", "existing", "object", "instance", "in", "a", "ComponentInstance", "and", "run", "the", "post", "construct", "interceptor", "chain", "on", "it", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ee/src/main/java/org/jboss/as/ee/component/BasicComponent.java#L98-L102", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jaxrs/src/main/java/org/jboss/as/jaxrs/deployment/JaxrsSpringProcessor.java", "func_name": "JaxrsSpringProcessor.getResteasySpringVirtualFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Lookup Seam integration resource loader.\n\n@return the Seam integration resource loader\n@throws DeploymentUnitProcessingException\nfor any error", "docstring_tokens": ["Lookup", "Seam", "integration", "resource", "loader", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jaxrs/src/main/java/org/jboss/as/jaxrs/deployment/JaxrsSpringProcessor.java#L89-L134", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/subsystem/deployment/AbstractRuntimeMetricsHandler.java", "func_name": "AbstractRuntimeMetricsHandler.resolveRuntimeName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves runtime name of model resource.\n@param context - operation context in which handler is invoked\n@param address - deployment address\n@return runtime name of module. Value which is returned is never null.", "docstring_tokens": ["Resolves", "runtime", "name", "of", "model", "resource", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/subsystem/deployment/AbstractRuntimeMetricsHandler.java#L79-L83", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "undertow/src/main/java/org/wildfly/extension/undertow/UndertowSubsystemParser_7_0.java", "func_name": "UndertowSubsystemParser_7_0.listenerBuilder", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers attributes common across listener types", "docstring_tokens": ["Registers", "attributes", "common", "across", "listener", "types"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/undertow/src/main/java/org/wildfly/extension/undertow/UndertowSubsystemParser_7_0.java#L369-L406", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/PrimitiveAnalysis.java", "func_name": "PrimitiveAnalysis.getPrimitiveAnalysis", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a singleton instance representing one of the primitive types.", "docstring_tokens": ["Get", "a", "singleton", "instance", "representing", "one", "of", "the", "primitive", "types", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/PrimitiveAnalysis.java#L55-L79", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/component/interceptors/ShutDownInterceptorFactory.java", "func_name": "ShutDownInterceptorFactory.shutdown", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Upon calling this method the EJB will be set to a shutdown state, and no further invocations will be allowed.\nIt will then wait for all active invocation to finish and then return.", "docstring_tokens": ["Upon", "calling", "this", "method", "the", "EJB", "will", "be", "set", "to", "a", "shutdown", "state", "and", "no", "further", "invocations", "will", "be", "allowed", ".", "It", "will", "then", "wait", "for", "all", "active", "invocation", "to", "finish", "and", "then", "return", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/component/interceptors/ShutDownInterceptorFactory.java#L94-L121", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/util/WebMetaDataHelper.java", "func_name": "WebMetaDataHelper.getUrlPatterns", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates URL pattern list from passed string.\n\n@param urlPattern URL pattern\n@return list wrapping passed parameter", "docstring_tokens": ["Creates", "URL", "pattern", "list", "from", "passed", "string", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/util/WebMetaDataHelper.java#L95-L101", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/util/WebMetaDataHelper.java", "func_name": "WebMetaDataHelper.getServlets", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets servlets meta data from jboss web meta data. If not found it creates new servlets meta data and associates them\nwith jboss web meta data.\n\n@param jbossWebMD jboss web meta data\n@return servlets meta data", "docstring_tokens": ["Gets", "servlets", "meta", "data", "from", "jboss", "web", "meta", "data", ".", "If", "not", "found", "it", "creates", "new", "servlets", "meta", "data", "and", "associates", "them", "with", "jboss", "web", "meta", "data", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/util/WebMetaDataHelper.java#L129-L138", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/util/WebMetaDataHelper.java", "func_name": "WebMetaDataHelper.getServletMappings", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets servlet mappings meta data from jboss web meta data. If not found it creates new servlet mappings meta data and\nassociates them with jboss web meta data.\n\n@param jbossWebMD jboss web meta data\n@return servlet mappings meta data", "docstring_tokens": ["Gets", "servlet", "mappings", "meta", "data", "from", "jboss", "web", "meta", "data", ".", "If", "not", "found", "it", "creates", "new", "servlet", "mappings", "meta", "data", "and", "associates", "them", "with", "jboss", "web", "meta", "data", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/util/WebMetaDataHelper.java#L147-L156", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/util/WebMetaDataHelper.java", "func_name": "WebMetaDataHelper.getSecurityConstraints", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets security constraints meta data from jboss web meta data. If not found it creates new security constraints meta data\nand associates them with jboss web meta data.\n\n@param jbossWebMD jboss web meta data\n@return security constraints meta data", "docstring_tokens": ["Gets", "security", "constraints", "meta", "data", "from", "jboss", "web", "meta", "data", ".", "If", "not", "found", "it", "creates", "new", "security", "constraints", "meta", "data", "and", "associates", "them", "with", "jboss", "web", "meta", "data", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/util/WebMetaDataHelper.java#L165-L174", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/util/WebMetaDataHelper.java", "func_name": "WebMetaDataHelper.getLoginConfig", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets login config meta data from jboss web meta data. If not found it creates new login config meta data and associates\nthem with jboss web meta data.\n\n@param jbossWebMD jboss web meta data\n@return login config meta data", "docstring_tokens": ["Gets", "login", "config", "meta", "data", "from", "jboss", "web", "meta", "data", ".", "If", "not", "found", "it", "creates", "new", "login", "config", "meta", "data", "and", "associates", "them", "with", "jboss", "web", "meta", "data", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/util/WebMetaDataHelper.java#L183-L192", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/util/WebMetaDataHelper.java", "func_name": "WebMetaDataHelper.getContextParams", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets context parameters meta data from jboss web meta data. If not found it creates new context parameters meta data and\nassociates them with jboss web meta data.\n\n@param jbossWebMD jboss web meta data\n@return context parameters meta data", "docstring_tokens": ["Gets", "context", "parameters", "meta", "data", "from", "jboss", "web", "meta", "data", ".", "If", "not", "found", "it", "creates", "new", "context", "parameters", "meta", "data", "and", "associates", "them", "with", "jboss", "web", "meta", "data", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/util/WebMetaDataHelper.java#L201-L210", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/util/WebMetaDataHelper.java", "func_name": "WebMetaDataHelper.getWebResourceCollections", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets web resource collections meta data from security constraint meta data. If not found it creates new web resource\ncollections meta data and associates them with security constraint meta data.\n\n@param securityConstraintMD security constraint meta data\n@return web resource collections meta data", "docstring_tokens": ["Gets", "web", "resource", "collections", "meta", "data", "from", "security", "constraint", "meta", "data", ".", "If", "not", "found", "it", "creates", "new", "web", "resource", "collections", "meta", "data", "and", "associates", "them", "with", "security", "constraint", "meta", "data", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/util/WebMetaDataHelper.java#L219-L228", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/util/WebMetaDataHelper.java", "func_name": "WebMetaDataHelper.getServletInitParams", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets init parameters meta data from servlet meta data. If not found it creates new init parameters meta data and\nassociates them with servlet meta data.\n\n@param servletMD servlet meta data\n@return init parameters meta data", "docstring_tokens": ["Gets", "init", "parameters", "meta", "data", "from", "servlet", "meta", "data", ".", "If", "not", "found", "it", "creates", "new", "init", "parameters", "meta", "data", "and", "associates", "them", "with", "servlet", "meta", "data", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/util/WebMetaDataHelper.java#L237-L246", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/util/WebMetaDataHelper.java", "func_name": "WebMetaDataHelper.newSecurityConstraint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates new security constraint meta data and associates them with security constraints meta data.\n\n@param securityConstraintsMD security constraints meta data\n@return new security constraing meta data", "docstring_tokens": ["Creates", "new", "security", "constraint", "meta", "data", "and", "associates", "them", "with", "security", "constraints", "meta", "data", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/util/WebMetaDataHelper.java#L254-L260", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/util/WebMetaDataHelper.java", "func_name": "WebMetaDataHelper.newWebResourceCollection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates new web resource collection meta data and associates them with web resource collections meta data.\n\n@param servletName servlet name\n@param urlPattern URL pattern\n@param securedWsdl whether WSDL access is secured\n@param webResourceCollectionsMD web resource collections meta data\n@return new web resource collection meta data", "docstring_tokens": ["Creates", "new", "web", "resource", "collection", "meta", "data", "and", "associates", "them", "with", "web", "resource", "collections", "meta", "data", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/util/WebMetaDataHelper.java#L271-L281", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/util/WebMetaDataHelper.java", "func_name": "WebMetaDataHelper.newServlet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates new servlet meta data and associates them with servlets meta data.\n\n@param servletName servlet name\n@param servletClass servlet class name\n@param servletsMD servlets meta data\n@return new servlet meta data", "docstring_tokens": ["Creates", "new", "servlet", "meta", "data", "and", "associates", "them", "with", "servlets", "meta", "data", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/util/WebMetaDataHelper.java#L291-L300", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/util/WebMetaDataHelper.java", "func_name": "WebMetaDataHelper.newServletMapping", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates new servlet mapping meta data and associates them with servlet mappings meta data.\n\n@param servletName servlet name\n@param urlPatterns URL patterns\n@param servletMappingsMD servlet mapping meta data\n@return new servlet mapping meta data", "docstring_tokens": ["Creates", "new", "servlet", "mapping", "meta", "data", "and", "associates", "them", "with", "servlet", "mappings", "meta", "data", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/util/WebMetaDataHelper.java#L310-L319", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/util/WebMetaDataHelper.java", "func_name": "WebMetaDataHelper.newAuthConstraint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates new authentication constraint and associates it with security constraint meta data.\n\n@param roleNames roles\n@param securityConstraintMD security constraint meta data\n@return new authentication constraint meta data", "docstring_tokens": ["Creates", "new", "authentication", "constraint", "and", "associates", "it", "with", "security", "constraint", "meta", "data", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/util/WebMetaDataHelper.java#L328-L336", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/util/WebMetaDataHelper.java", "func_name": "WebMetaDataHelper.newUserDataConstraint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates new user constraint meta data and associates it with security constraint meta data.\n\n@param transportGuarantee transport guarantee value\n@param securityConstraintMD security constraint meta data\n@return new user data constraint meta data", "docstring_tokens": ["Creates", "new", "user", "constraint", "meta", "data", "and", "associates", "it", "with", "security", "constraint", "meta", "data", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/util/WebMetaDataHelper.java#L345-L354", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/util/WebMetaDataHelper.java", "func_name": "WebMetaDataHelper.newParamValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates new parameter meta data and associates it with parameters meta data.\n\n@param key parameter key\n@param value parameter value\n@param paramsMD parameters meta data\n@return new parameter meta data", "docstring_tokens": ["Creates", "new", "parameter", "meta", "data", "and", "associates", "it", "with", "parameters", "meta", "data", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/util/WebMetaDataHelper.java#L364-L370", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/util/WebMetaDataHelper.java", "func_name": "WebMetaDataHelper.newParamValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates new parameter with specified key and value.\n\n@param key the key\n@param value the value\n@return new parameter", "docstring_tokens": ["Creates", "new", "parameter", "with", "specified", "key", "and", "value", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/util/WebMetaDataHelper.java#L379-L386", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jpa/subsystem/src/main/java/org/jboss/as/jpa/processor/JPAInterceptorProcessor.java", "func_name": "JPAInterceptorProcessor.registerSessionBeanInterceptors", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Register our listeners on SFSB that will be created", "docstring_tokens": ["Register", "our", "listeners", "on", "SFSB", "that", "will", "be", "created"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jpa/subsystem/src/main/java/org/jboss/as/jpa/processor/JPAInterceptorProcessor.java#L61-L90", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ee/src/main/java/org/jboss/as/ee/component/deployers/AbstractDeploymentDescriptorBindingsProcessor.java", "func_name": "AbstractDeploymentDescriptorBindingsProcessor.processInjectionTargets", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Processes the injection targets of a resource binding\n\n\n@param injectionSource The injection source for the injection target\n@param classLoader The module class loader\n@param deploymentReflectionIndex The deployment reflection index\n@param entry The resource with injection targets\n@param classType The expected type of the injection point, may be null if this is to be inferred from the injection target\n@return The actual class type of the injection point\n@throws DeploymentUnitProcessingException\nIf the injection points could not be resolved", "docstring_tokens": ["Processes", "the", "injection", "targets", "of", "a", "resource", "binding"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ee/src/main/java/org/jboss/as/ee/component/deployers/AbstractDeploymentDescriptorBindingsProcessor.java#L130-L168", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "weld/subsystem/src/main/java/org/jboss/as/weld/WeldStartService.java", "func_name": "WeldStartService.stop", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Stops the container\nExecuted in WeldStartService to shutdown the runtime before NamingService is closed.\n\n@throws IllegalStateException if the container is not running", "docstring_tokens": ["Stops", "the", "container", "Executed", "in", "WeldStartService", "to", "shutdown", "the", "runtime", "before", "NamingService", "is", "closed", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/weld/subsystem/src/main/java/org/jboss/as/weld/WeldStartService.java#L118-L135", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "connector/src/main/java/org/jboss/as/connector/subsystems/datasources/Util.java", "func_name": "Util.getJndiName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extracts the raw JNDINAME value from the given model node, and depending on the value and\nthe value of any USE_JAVA_CONTEXT child node, converts the raw name into a compliant jndi name.\n\n@param modelNode the model node; either an operation or the model behind a datasource resource\n\n@return the compliant jndi name", "docstring_tokens": ["Extracts", "the", "raw", "JNDINAME", "value", "from", "the", "given", "model", "node", "and", "depending", "on", "the", "value", "and", "the", "value", "of", "any", "USE_JAVA_CONTEXT", "child", "node", "converts", "the", "raw", "name", "into", "a", "compliant", "jndi", "name", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/connector/src/main/java/org/jboss/as/connector/subsystems/datasources/Util.java#L47-L50", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/jms/bridge/JMSBridgeAdd.java", "func_name": "JMSBridgeAdd.resolveAttribute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return null if the resolved attribute is not defined", "docstring_tokens": ["Return", "null", "if", "the", "resolved", "attribute", "is", "not", "defined"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/jms/bridge/JMSBridgeAdd.java#L210-L213", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "undertow/src/main/java/org/wildfly/extension/undertow/security/jacc/WarJACCService.java", "func_name": "WarJACCService.getPatternType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determine the url-pattern type\n\n@param urlPattern - the raw url-pattern value\n@return one of EXACT, EXTENSION, PREFIX, DEFAULT", "docstring_tokens": ["Determine", "the", "url", "-", "pattern", "type"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/undertow/src/main/java/org/wildfly/extension/undertow/security/jacc/WarJACCService.java#L433-L442", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/deployment/JMSConnectionFactoryDefinitionInjectionSource.java", "func_name": "JMSConnectionFactoryDefinitionInjectionSource.targetsPooledConnectionFactory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return whether the definition targets an existing pooled connection factory or use a JCA-based ConnectionFactory.\n\nChecks the service registry for a PooledConnectionFactoryService with the ServiceName\ncreated by the {@code server} property (or {@code \"default\") and the {@code resourceAdapter} property.", "docstring_tokens": ["Return", "whether", "the", "definition", "targets", "an", "existing", "pooled", "connection", "factory", "or", "use", "a", "JCA", "-", "based", "ConnectionFactory", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/deployment/JMSConnectionFactoryDefinitionInjectionSource.java#L380-L388", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/deployment/JMSConnectionFactoryDefinitionInjectionSource.java", "func_name": "JMSConnectionFactoryDefinitionInjectionSource.targetsExternalPooledConnectionFactory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return whether the definition targets an existing external pooled connection factory.\n\nChecks the service registry for a PooledConnectionFactoryService with the ServiceName\ncreated by the {@code server} property (or {@code \"default\") and the {@code resourceAdapter} property.", "docstring_tokens": ["Return", "whether", "the", "definition", "targets", "an", "existing", "external", "pooled", "connection", "factory", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/deployment/JMSConnectionFactoryDefinitionInjectionSource.java#L396-L404", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/deployment/JMSConnectionFactoryDefinitionInjectionSource.java", "func_name": "JMSConnectionFactoryDefinitionInjectionSource.getActiveMQServerName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The JMS connection factory can specify another server to deploy its destinations\nby passing a property server=<name of the server>. Otherwise, \"default\" is used by default.", "docstring_tokens": ["The", "JMS", "connection", "factory", "can", "specify", "another", "server", "to", "deploy", "its", "destinations", "by", "passing", "a", "property", "server", "=", "<", ";", "name", "of", "the", "server", ">", ".", "Otherwise", "default", "is", "used", "by", "default", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/deployment/JMSConnectionFactoryDefinitionInjectionSource.java#L432-L434", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jpa/subsystem/src/main/java/org/jboss/as/jpa/container/PersistenceUnitSearch.java", "func_name": "PersistenceUnitSearch.defaultPersistenceUnitName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "if no persistence unit name is specified, return name of default persistence unit\n\n@param persistenceUnitName that was specified to be used (null means to use the default persistence unit)\n@param holder\n@return", "docstring_tokens": ["if", "no", "persistence", "unit", "name", "is", "specified", "return", "name", "of", "default", "persistence", "unit"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jpa/subsystem/src/main/java/org/jboss/as/jpa/container/PersistenceUnitSearch.java#L199-L209", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/suspend/EJBSuspendHandlerService.java", "func_name": "EJBSuspendHandlerService.start", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Starts the service. Registers server activity, sets transaction listener on local transaction context, and creates and\ninstalls deployment controller service.\n\n@param context start context", "docstring_tokens": ["Starts", "the", "service", ".", "Registers", "server", "activity", "sets", "transaction", "listener", "on", "local", "transaction", "context", "and", "creates", "and", "installs", "deployment", "controller", "service", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/suspend/EJBSuspendHandlerService.java#L171-L176", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/suspend/EJBSuspendHandlerService.java", "func_name": "EJBSuspendHandlerService.stop", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Stops the service. Unregisters service activity and clears transaction listener.\n@param context stop context", "docstring_tokens": ["Stops", "the", "service", ".", "Unregisters", "service", "activity", "and", "clears", "transaction", "listener", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/suspend/EJBSuspendHandlerService.java#L182-L187", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/suspend/EJBSuspendHandlerService.java", "func_name": "EJBSuspendHandlerService.suspended", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Notifies local transaction context that server is suspended, and only completes suspension if\nthere are no active invocations nor transactions.\n\n@param listener callback listener", "docstring_tokens": ["Notifies", "local", "transaction", "context", "that", "server", "is", "suspended", "and", "only", "completes", "suspension", "if", "there", "are", "no", "active", "invocations", "nor", "transactions", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/suspend/EJBSuspendHandlerService.java#L203-L220", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/suspend/EJBSuspendHandlerService.java", "func_name": "EJBSuspendHandlerService.resume", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Notifies local transaction context that server is resumed, and restarts deployment controller.", "docstring_tokens": ["Notifies", "local", "transaction", "context", "that", "server", "is", "resumed", "and", "restarts", "deployment", "controller", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/suspend/EJBSuspendHandlerService.java#L225-L233", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/suspend/EJBSuspendHandlerService.java", "func_name": "EJBSuspendHandlerService.invocationComplete", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Notifies handler that an active invocation is complete.", "docstring_tokens": ["Notifies", "handler", "that", "an", "active", "invocation", "is", "complete", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/suspend/EJBSuspendHandlerService.java#L266-L271", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/suspend/EJBSuspendHandlerService.java", "func_name": "EJBSuspendHandlerService.transactionCreated", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Notifies handler that a new transaction has been created.", "docstring_tokens": ["Notifies", "handler", "that", "a", "new", "transaction", "has", "been", "created", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/suspend/EJBSuspendHandlerService.java#L276-L288", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "naming/src/main/java/org/jboss/as/naming/service/BinderService.java", "func_name": "BinderService.start", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Bind the entry into the injected context.\n\n@param context The start context\n@throws StartException If the entity can not be bound", "docstring_tokens": ["Bind", "the", "entry", "into", "the", "injected", "context", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/naming/src/main/java/org/jboss/as/naming/service/BinderService.java#L123-L128", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "naming/src/main/java/org/jboss/as/naming/service/BinderService.java", "func_name": "BinderService.stop", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Unbind the entry from the injected context.\n\n@param context The stop context", "docstring_tokens": ["Unbind", "the", "entry", "from", "the", "injected", "context", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/naming/src/main/java/org/jboss/as/naming/service/BinderService.java#L135-L139", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/MessagingServices.java", "func_name": "MessagingServices.getCapabilityServiceName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determines a ServiceName from a capability name. Only supported for use by services installed by\nthis subsystem; will not function reliably until the subsystem has begun adding runtime services.\n\n@param capabilityBaseName the base name of the capability, or its full name if it is not dynamic\n@param dynamicParts any dynamic parts of the capability name. May be {@code null}\n@return the service name\n\n@throws IllegalStateException if invoked before the subsystem has begun adding runtime services", "docstring_tokens": ["Determines", "a", "ServiceName", "from", "a", "capability", "name", ".", "Only", "supported", "for", "use", "by", "services", "installed", "by", "this", "subsystem", ";", "will", "not", "function", "reliably", "until", "the", "subsystem", "has", "begun", "adding", "runtime", "services", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/MessagingServices.java#L108-L116", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "undertow/src/main/java/org/wildfly/extension/undertow/deployment/WarStructureDeploymentProcessor.java", "func_name": "WarStructureDeploymentProcessor.createResourceRoots", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create the resource roots for a .war deployment\n\n\n@param deploymentRoot the deployment root\n@return the resource roots\n@throws java.io.IOException for any error", "docstring_tokens": ["Create", "the", "resource", "roots", "for", "a", ".", "war", "deployment"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/undertow/src/main/java/org/wildfly/extension/undertow/deployment/WarStructureDeploymentProcessor.java#L199-L235", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jpa/subsystem/src/main/java/org/jboss/as/jpa/processor/PersistenceProviderHandler.java", "func_name": "PersistenceProviderHandler.allDeploymentModuleClassLoaders", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "returns the toplevel deployment module classloader and all subdeployment classloaders\n\n@param deploymentUnit\n@return", "docstring_tokens": ["returns", "the", "toplevel", "deployment", "module", "classloader", "and", "all", "subdeployment", "classloaders"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jpa/subsystem/src/main/java/org/jboss/as/jpa/processor/PersistenceProviderHandler.java#L137-L152", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jpa/subsystem/src/main/java/org/jboss/as/jpa/config/Configuration.java", "func_name": "Configuration.needClassFileTransformer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determine if class file transformer is needed for the specified persistence unit\n\nif the persistence provider is Hibernate and use_class_enhancer is not true, don't need a class transformer.\nfor other persistence providers, the transformer is assumed to be needed.\n\n@param pu the PU\n@return true if class file transformer support is needed for pu", "docstring_tokens": ["Determine", "if", "class", "file", "transformer", "is", "needed", "for", "the", "specified", "persistence", "unit"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jpa/subsystem/src/main/java/org/jboss/as/jpa/config/Configuration.java#L239-L252", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jpa/subsystem/src/main/java/org/jboss/as/jpa/config/Configuration.java", "func_name": "Configuration.allowTwoPhaseBootstrap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determine if two phase persistence unit start is allowed\n\n@param pu\n@return", "docstring_tokens": ["Determine", "if", "two", "phase", "persistence", "unit", "start", "is", "allowed"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jpa/subsystem/src/main/java/org/jboss/as/jpa/config/Configuration.java#L282-L292", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jpa/subsystem/src/main/java/org/jboss/as/jpa/config/Configuration.java", "func_name": "Configuration.allowDefaultDataSourceUse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determine if the default data-source should be used\n\n@param pu\n@return true if the default data-source should be used", "docstring_tokens": ["Determine", "if", "the", "default", "data", "-", "source", "should", "be", "used"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jpa/subsystem/src/main/java/org/jboss/as/jpa/config/Configuration.java#L300-L306", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jpa/subsystem/src/main/java/org/jboss/as/jpa/config/Configuration.java", "func_name": "Configuration.skipMixedSynchronizationTypeCheck", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Allow the mixed synchronization checking to be skipped for backward compatibility with WildFly 10.1.0\n\n\n@param emf\n@param targetEntityManagerProperties\n@return", "docstring_tokens": ["Allow", "the", "mixed", "synchronization", "checking", "to", "be", "skipped", "for", "backward", "compatibility", "with", "WildFly", "10", ".", "1", ".", "0"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jpa/subsystem/src/main/java/org/jboss/as/jpa/config/Configuration.java#L339-L349", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/CorbaUtils.java", "func_name": "CorbaUtils.getOrb", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get ORB using given server and port number, and properties from environment.\n\n@param server Possibly null server; if null means use default;\nFor applet, it is the applet host; for app, it is localhost.\n@param port Port number, -1 means default port\n@param env Possibly null environment. Contains environment properties.\nCould contain ORB itself; or applet used for initializing ORB.\nUse all String properties from env for initializing ORB\n@return A non-null ORB.", "docstring_tokens": ["Get", "ORB", "using", "given", "server", "and", "port", "number", "and", "properties", "from", "environment", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/CorbaUtils.java#L159-L205", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/CorbaUtils.java", "func_name": "CorbaUtils.initAppletORB", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method returns a new ORB instance for the given applet\nwithout creating a static dependency on java.applet.", "docstring_tokens": ["This", "method", "returns", "a", "new", "ORB", "instance", "for", "the", "given", "applet", "without", "creating", "a", "static", "dependency", "on", "java", ".", "applet", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/CorbaUtils.java#L211-L238", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/CorbaUtils.java", "func_name": "CorbaUtils.initMethodHandles", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Initializes reflection method handles for RMI-IIOP.\n\n@throws ClassNotFoundException javax.rmi.CORBA.* not available", "docstring_tokens": ["Initializes", "reflection", "method", "handles", "for", "RMI", "-", "IIOP", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/CorbaUtils.java#L250-L272", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "naming/src/main/java/org/jboss/as/naming/NamingContext.java", "func_name": "NamingContext.setActiveNamingStore", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the active naming store\n\n@param namingStore The naming store", "docstring_tokens": ["Set", "the", "active", "naming", "store"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/naming/src/main/java/org/jboss/as/naming/NamingContext.java#L82-L87", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jaxrs/src/main/java/org/jboss/as/jaxrs/deployment/JaxrsMethodParameterProcessor.java", "func_name": "JaxrsMethodParameterProcessor.validateDefaultValues", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Process all parameter DefaulValue objects. Flag all parameters with\nmissing and invalid converters.\n\n@param detailList\n@param paramConverterMap", "docstring_tokens": ["Process", "all", "parameter", "DefaulValue", "objects", ".", "Flag", "all", "parameters", "with", "missing", "and", "invalid", "converters", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jaxrs/src/main/java/org/jboss/as/jaxrs/deployment/JaxrsMethodParameterProcessor.java#L111-L198", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jaxrs/src/main/java/org/jboss/as/jaxrs/deployment/JaxrsMethodParameterProcessor.java", "func_name": "JaxrsMethodParameterProcessor.checkParamType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Take steps to properly identify the parameter's data type\n@param genParamType\n@param method\n@param paramPos\n@param classLoader\n@return", "docstring_tokens": ["Take", "steps", "to", "properly", "identify", "the", "parameter", "s", "data", "type"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jaxrs/src/main/java/org/jboss/as/jaxrs/deployment/JaxrsMethodParameterProcessor.java#L431-L462", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jaxrs/src/main/java/org/jboss/as/jaxrs/deployment/JaxrsMethodParameterProcessor.java", "func_name": "JaxrsMethodParameterProcessor.lookupDefaultValueAnn", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extract a DefaultValue annotation from the list of parameter annotations\n@param annotationArr\n@return", "docstring_tokens": ["Extract", "a", "DefaultValue", "annotation", "from", "the", "list", "of", "parameter", "annotations"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jaxrs/src/main/java/org/jboss/as/jaxrs/deployment/JaxrsMethodParameterProcessor.java#L469-L477", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jaxrs/src/main/java/org/jboss/as/jaxrs/deployment/JaxrsMethodParameterProcessor.java", "func_name": "JaxrsMethodParameterProcessor.validateBaseType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Confirm the method can handle the default value without throwing\nand exception.\n\n@param method\n@param defaultValue", "docstring_tokens": ["Confirm", "the", "method", "can", "handle", "the", "default", "value", "without", "throwing", "and", "exception", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jaxrs/src/main/java/org/jboss/as/jaxrs/deployment/JaxrsMethodParameterProcessor.java#L588-L600", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jpa/subsystem/src/main/java/org/jboss/as/jpa/container/CreatedEntityManagers.java", "func_name": "CreatedEntityManagers.getDeferredEntityManagers", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Called by postconstruct interceptor", "docstring_tokens": ["Called", "by", "postconstruct", "interceptor"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jpa/subsystem/src/main/java/org/jboss/as/jpa/container/CreatedEntityManagers.java#L66-L77", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/tx/util/StatusHelper.java", "func_name": "StatusHelper.statusAsString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts a tx Status index to a String\n\n@param status the Status index\n@return status as String or \"STATUS_INVALID(value)\"\n@see javax.transaction.Status", "docstring_tokens": ["Converts", "a", "tx", "Status", "index", "to", "a", "String"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/tx/util/StatusHelper.java#L54-L60", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jpa/spi/src/main/java/org/jipijapa/event/impl/internal/Notification.java", "func_name": "Notification.addCacheDependencies", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "add cache dependencies\n\n@param properties", "docstring_tokens": ["add", "cache", "dependencies"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jpa/spi/src/main/java/org/jipijapa/event/impl/internal/Notification.java#L93-L97", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/timerservice/persistence/database/DatabaseTimerPersistence.java", "func_name": "DatabaseTimerPersistence.extractDialects", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read the properties from the timer-sql and extract the database dialects.", "docstring_tokens": ["Read", "the", "properties", "from", "the", "timer", "-", "sql", "and", "extract", "the", "database", "dialects", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/timerservice/persistence/database/DatabaseTimerPersistence.java#L187-L194", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/timerservice/persistence/database/DatabaseTimerPersistence.java", "func_name": "DatabaseTimerPersistence.investigateDialect", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check the connection MetaData and driver name to guess which database dialect\nto use.", "docstring_tokens": ["Check", "the", "connection", "MetaData", "and", "driver", "name", "to", "guess", "which", "database", "dialect", "to", "use", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/timerservice/persistence/database/DatabaseTimerPersistence.java#L200-L230", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/timerservice/persistence/database/DatabaseTimerPersistence.java", "func_name": "DatabaseTimerPersistence.identifyDialect", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Use the given name and check for different database types to have a unified identifier for the dialect\n\n@param name A database name or even a driver name which should include the database name\n@return A unified dialect identifier", "docstring_tokens": ["Use", "the", "given", "name", "and", "check", "for", "different", "database", "types", "to", "have", "a", "unified", "identifier", "for", "the", "dialect"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/timerservice/persistence/database/DatabaseTimerPersistence.java#L238-L264", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/timerservice/persistence/database/DatabaseTimerPersistence.java", "func_name": "DatabaseTimerPersistence.checkDatabase", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks whether the database transaction configuration is appropriate\nand create the timer table if necessary.", "docstring_tokens": ["Checks", "whether", "the", "database", "transaction", "configuration", "is", "appropriate", "and", "create", "the", "timer", "table", "if", "necessary", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/timerservice/persistence/database/DatabaseTimerPersistence.java#L270-L313", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/timerservice/persistence/database/DatabaseTimerPersistence.java", "func_name": "DatabaseTimerPersistence.stringAsSchedulerDate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert the stored date-string from database back to Date", "docstring_tokens": ["Convert", "the", "stored", "date", "-", "string", "from", "database", "back", "to", "Date"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/timerservice/persistence/database/DatabaseTimerPersistence.java#L706-L716", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/timerservice/persistence/database/DatabaseTimerPersistence.java", "func_name": "DatabaseTimerPersistence.setNodeName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the node name for persistence if the state is IN_TIMEOUT or RETRY_TIMEOUT to show which node is current active for the timer.", "docstring_tokens": ["Set", "the", "node", "name", "for", "persistence", "if", "the", "state", "is", "IN_TIMEOUT", "or", "RETRY_TIMEOUT", "to", "show", "which", "node", "is", "current", "active", "for", "the", "timer", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/timerservice/persistence/database/DatabaseTimerPersistence.java#L735-L741", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "weld/subsystem/src/main/java/org/jboss/as/weld/_private/WeldDeploymentMarker.java", "func_name": "WeldDeploymentMarker.mark", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Mark this deployment and the top level deployment as being a weld deployment.", "docstring_tokens": ["Mark", "this", "deployment", "and", "the", "top", "level", "deployment", "as", "being", "a", "weld", "deployment", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/weld/subsystem/src/main/java/org/jboss/as/weld/_private/WeldDeploymentMarker.java#L40-L45", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/marshal/strategy/SkeletonStrategy.java", "func_name": "SkeletonStrategy.readParams", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Unmarshals the sequence of method parameters from an input stream.\n\n@param in a CDR input stream\n@return an object array with the parameters.", "docstring_tokens": ["Unmarshals", "the", "sequence", "of", "method", "parameters", "from", "an", "input", "stream", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/marshal/strategy/SkeletonStrategy.java#L120-L127", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/marshal/strategy/SkeletonStrategy.java", "func_name": "SkeletonStrategy.writeRetval", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Marshals into an output stream the return value of the method.\n\n@param out a CDR output stream\n@param retVal the value to be written.", "docstring_tokens": ["Marshals", "into", "an", "output", "stream", "the", "return", "value", "of", "the", "method", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/marshal/strategy/SkeletonStrategy.java#L150-L152", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/marshal/strategy/SkeletonStrategy.java", "func_name": "SkeletonStrategy.writeException", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Marshals into an output stream an exception thrown by the method.\n\n@param out a CDR output stream\n@param e the exception to be written.", "docstring_tokens": ["Marshals", "into", "an", "output", "stream", "an", "exception", "thrown", "by", "the", "method", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/marshal/strategy/SkeletonStrategy.java#L160-L169", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "pojo/src/main/java/org/jboss/as/pojo/service/DefaultBeanInfo.java", "func_name": "DefaultBeanInfo.lookup", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Do lazy lookup.\n\n@param lookup the lookup\n@param start the start\n@param depth the depth\n@return reflection index result", "docstring_tokens": ["Do", "lazy", "lookup", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/pojo/src/main/java/org/jboss/as/pojo/service/DefaultBeanInfo.java#L63-L83", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jpa/subsystem/src/main/java/org/jboss/as/jpa/container/SFSBCallStack.java", "func_name": "SFSBCallStack.beginSfsbCreation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "called from SFSBPreCreateInterceptor, before bean creation", "docstring_tokens": ["called", "from", "SFSBPreCreateInterceptor", "before", "bean", "creation"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jpa/subsystem/src/main/java/org/jboss/as/jpa/container/SFSBCallStack.java#L54-L68", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jpa/subsystem/src/main/java/org/jboss/as/jpa/container/SFSBCallStack.java", "func_name": "SFSBCallStack.endSfsbCreation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "called from SFSBPreCreateInterceptor, after bean creation", "docstring_tokens": ["called", "from", "SFSBPreCreateInterceptor", "after", "bean", "creation"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jpa/subsystem/src/main/java/org/jboss/as/jpa/container/SFSBCallStack.java#L73-L88", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jpa/subsystem/src/main/java/org/jboss/as/jpa/container/SFSBCallStack.java", "func_name": "SFSBCallStack.currentSFSBCallStackInvocation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "return for just the current entity manager invocation\n\n@return", "docstring_tokens": ["return", "for", "just", "the", "current", "entity", "manager", "invocation"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jpa/subsystem/src/main/java/org/jboss/as/jpa/container/SFSBCallStack.java#L113-L119", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jpa/subsystem/src/main/java/org/jboss/as/jpa/container/SFSBCallStack.java", "func_name": "SFSBCallStack.pushCall", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Push the passed SFSB context handle onto the invocation call stack\n\n@param entityManagers the entity manager map", "docstring_tokens": ["Push", "the", "passed", "SFSB", "context", "handle", "onto", "the", "invocation", "call", "stack"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jpa/subsystem/src/main/java/org/jboss/as/jpa/container/SFSBCallStack.java#L126-L144", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jpa/subsystem/src/main/java/org/jboss/as/jpa/container/SFSBCallStack.java", "func_name": "SFSBCallStack.popCall", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Pops the current SFSB invocation off the invocation call stack\n\n@return the entity manager map", "docstring_tokens": ["Pops", "the", "current", "SFSB", "invocation", "off", "the", "invocation", "call", "stack"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jpa/subsystem/src/main/java/org/jboss/as/jpa/container/SFSBCallStack.java#L151-L156", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jpa/subsystem/src/main/java/org/jboss/as/jpa/container/SFSBCallStack.java", "func_name": "SFSBCallStack.getCurrentCall", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "gets the current SFSB invocation off the invocation call stack\n\n@return the entity manager map", "docstring_tokens": ["gets", "the", "current", "SFSB", "invocation", "off", "the", "invocation", "call", "stack"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jpa/subsystem/src/main/java/org/jboss/as/jpa/container/SFSBCallStack.java#L163-L170", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "weld/subsystem/src/main/java/org/jboss/as/weld/deployment/processors/WeldDependencyProcessor.java", "func_name": "WeldDependencyProcessor.deploy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add dependencies for modules required for weld deployments, if managed weld configurations are attached to the deployment", "docstring_tokens": ["Add", "dependencies", "for", "modules", "required", "for", "weld", "deployments", "if", "managed", "weld", "configurations", "are", "attached", "to", "the", "deployment"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/weld/subsystem/src/main/java/org/jboss/as/weld/deployment/processors/WeldDependencyProcessor.java#L59-L88", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jsf/subsystem/src/main/java/org/jboss/as/jsf/deployment/JSFComponentProcessor.java", "func_name": "JSFComponentProcessor.processXmlManagedBeans", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse the faces config files looking for managed bean classes. The parser is quite\nsimplistic as the only information we need is the managed-bean-class element", "docstring_tokens": ["Parse", "the", "faces", "config", "files", "looking", "for", "managed", "bean", "classes", ".", "The", "parser", "is", "quite", "simplistic", "as", "the", "only", "information", "we", "need", "is", "the", "managed", "-", "bean", "-", "class", "element"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jsf/subsystem/src/main/java/org/jboss/as/jsf/deployment/JSFComponentProcessor.java#L123-L180", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jsf/subsystem/src/main/java/org/jboss/as/jsf/deployment/JSFComponentProcessor.java", "func_name": "JSFComponentProcessor.processPhaseListeners", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "WFLY-6617\nAccording to JSF 2.2 spec, it should be possible to inject beans using @EJB annotation into\nPhaseListeners.", "docstring_tokens": ["WFLY", "-", "6617", "According", "to", "JSF", "2", ".", "2", "spec", "it", "should", "be", "possible", "to", "inject", "beans", "using"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jsf/subsystem/src/main/java/org/jboss/as/jsf/deployment/JSFComponentProcessor.java#L187-L243", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/Util.java", "func_name": "Util.getTypeIDLName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the IDL type name for the given class.\nHere we use the mapping for parameter types and return values.", "docstring_tokens": ["Return", "the", "IDL", "type", "name", "for", "the", "given", "class", ".", "Here", "we", "use", "the", "mapping", "for", "parameter", "types", "and", "return", "values", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/Util.java#L63-L132", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/Util.java", "func_name": "Util.insertAnyPrimitive", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Insert a java primitive into an Any.\nThe primitive is assumed to be wrapped in one of the primitive\nwrapper classes.", "docstring_tokens": ["Insert", "a", "java", "primitive", "into", "an", "Any", ".", "The", "primitive", "is", "assumed", "to", "be", "wrapped", "in", "one", "of", "the", "primitive", "wrapper", "classes", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/Util.java#L179-L200", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/Util.java", "func_name": "Util.javaToIDLName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Map Java name to IDL name, as per sections 1.3.2.3, 1.3.2.4 and\n1.3.2.2.\nThis only works for a single name component, without a qualifying\ndot.", "docstring_tokens": ["Map", "Java", "name", "to", "IDL", "name", "as", "per", "sections", "1", ".", "3", ".", "2", ".", "3", "1", ".", "3", ".", "2", ".", "4", "and", "1", ".", "3", ".", "2", ".", "2", ".", "This", "only", "works", "for", "a", "single", "name", "component", "without", "a", "qualifying", "dot", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/Util.java#L208-L232", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/Util.java", "func_name": "Util.isReservedIDLKeyword", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determine if the argument is a reserved IDL keyword.", "docstring_tokens": ["Determine", "if", "the", "argument", "is", "a", "reserved", "IDL", "keyword", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/Util.java#L385-L391", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/Util.java", "func_name": "Util.getSignature", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculate the signature of a class, according to the Java VM\nspecification, section 4.3.2.", "docstring_tokens": ["Calculate", "the", "signature", "of", "a", "class", "according", "to", "the", "Java", "VM", "specification", "section", "4", ".", "3", ".", "2", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/Util.java#L536-L561", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/Util.java", "func_name": "Util.getSignature", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculate the signature of a method, according to the Java VM\nspecification, section 4.3.3.", "docstring_tokens": ["Calculate", "the", "signature", "of", "a", "method", "according", "to", "the", "Java", "VM", "specification", "section", "4", ".", "3", ".", "3", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/Util.java#L567-L577", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/Util.java", "func_name": "Util.primitiveTypeIDLName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Handle mappings for primitive types, as per section 1.3.3.", "docstring_tokens": ["Handle", "mappings", "for", "primitive", "types", "as", "per", "section", "1", ".", "3", ".", "3", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/Util.java#L582-L602", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "batch-jberet/src/main/java/org/wildfly/extension/batch/jberet/deployment/BatchPermission.java", "func_name": "BatchPermission.forName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the permission with the given name.\n\n@param name the name (must not be {@code null})\n\n@return the permission (not {@code null})\n\n@throws IllegalArgumentException if the name is not valid", "docstring_tokens": ["Get", "the", "permission", "with", "the", "given", "name", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/batch-jberet/src/main/java/org/wildfly/extension/batch/jberet/deployment/BatchPermission.java#L87-L90", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jpa/subsystem/src/main/java/org/jboss/as/jpa/container/TransactionScopedEntityManager.java", "func_name": "TransactionScopedEntityManager.getOrCreateTransactionScopedEntityManager", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "get or create a Transactional entity manager.\nOnly call while a transaction is active in the current thread.\n\n@param emf\n@param scopedPuName\n@param properties\n@param synchronizationType\n@return", "docstring_tokens": ["get", "or", "create", "a", "Transactional", "entity", "manager", ".", "Only", "call", "while", "a", "transaction", "is", "active", "in", "the", "current", "thread", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jpa/subsystem/src/main/java/org/jboss/as/jpa/container/TransactionScopedEntityManager.java#L149-L172", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "web-common/src/main/java/org/jboss/as/web/common/ConcurrentReferenceHashMap.java", "func_name": "ConcurrentReferenceHashMap.put", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Maps the specified key to the specified value in this table.\nNeither the key nor the value can be null.\n\n

The value can be retrieved by calling the get method\nwith a key that is equal to the original key.\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@throws NullPointerException if the specified key or value is null", "docstring_tokens": ["Maps", "the", "specified", "key", "to", "the", "specified", "value", "in", "this", "table", ".", "Neither", "the", "key", "nor", "the", "value", "can", "be", "null", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/web-common/src/main/java/org/jboss/as/web/common/ConcurrentReferenceHashMap.java#L1219-L1224", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/ManagementUtil.java", "func_name": "ManagementUtil.convertSecurityRole", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Utility for converting camel case based ActiveMQ formats to WildFly standards.", "docstring_tokens": ["Utility", "for", "converting", "camel", "case", "based", "ActiveMQ", "formats", "to", "WildFly", "standards", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/ManagementUtil.java#L63-L87", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/timerservice/persistence/filestore/FileTimerPersistence.java", "func_name": "FileTimerPersistence.mostRecentEntityVersion", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns either the loaded entity or the most recent version of the entity that has\nbeen persisted in this transaction.", "docstring_tokens": ["Returns", "either", "the", "loaded", "entity", "or", "the", "most", "recent", "version", "of", "the", "entity", "that", "has", "been", "persisted", "in", "this", "transaction", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/timerservice/persistence/filestore/FileTimerPersistence.java#L300-L313", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/timerservice/persistence/filestore/FileTimerPersistence.java", "func_name": "FileTimerPersistence.getTimers", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the timer map, loading from the persistent store if necessary. Should be called under lock\n\n@param timedObjectId The timed object id\n@return The timers for the object", "docstring_tokens": ["Gets", "the", "timer", "map", "loading", "from", "the", "persistent", "store", "if", "necessary", ".", "Should", "be", "called", "under", "lock"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/timerservice/persistence/filestore/FileTimerPersistence.java#L333-L335", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/timerservice/persistence/filestore/FileTimerPersistence.java", "func_name": "FileTimerPersistence.getDirectory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the directory for a given timed object, making sure it exists.\n\n@param timedObjectId The timed object\n@return The directory", "docstring_tokens": ["Gets", "the", "directory", "for", "a", "given", "timed", "object", "making", "sure", "it", "exists", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/timerservice/persistence/filestore/FileTimerPersistence.java#L415-L428", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "naming/src/main/java/org/jboss/as/naming/NamingEventCoordinator.java", "func_name": "NamingEventCoordinator.addListener", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a listener to the coordinator with a given target name and event scope. This information is used when an\nevent is fired to determine whether or not to fire this listener.\n\n@param target The target name to lister\n@param scope The event scope\n@param namingListener The listener", "docstring_tokens": ["Add", "a", "listener", "to", "the", "coordinator", "with", "a", "given", "target", "name", "and", "event", "scope", ".", "This", "information", "is", "used", "when", "an", "event", "is", "fired", "to", "determine", "whether", "or", "not", "to", "fire", "this", "listener", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/naming/src/main/java/org/jboss/as/naming/NamingEventCoordinator.java#L78-L99", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "naming/src/main/java/org/jboss/as/naming/NamingEventCoordinator.java", "func_name": "NamingEventCoordinator.removeListener", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove a listener. Will remove it from all target mappings. Once this method returns, the listener will no longer\nreceive any events.\n\n@param namingListener The listener", "docstring_tokens": ["Remove", "a", "listener", ".", "Will", "remove", "it", "from", "all", "target", "mappings", ".", "Once", "this", "method", "returns", "the", "listener", "will", "no", "longer", "receive", "any", "events", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/naming/src/main/java/org/jboss/as/naming/NamingEventCoordinator.java#L107-L127", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "naming/src/main/java/org/jboss/as/naming/NamingEventCoordinator.java", "func_name": "NamingEventCoordinator.fireEvent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Fire a naming event. An event will be created with the provided information and sent to each listener that matches\nthe target and scope information.\n\n@param context The event context generating the event.\n@param name The target name the event represents\n@param existingBinding The existing binding at the provided name\n@param newBinding The new binding at the provided name\n@param type The event type\n@param changeInfo The change info for the event\n@param scopes The scopes this event should be fired against", "docstring_tokens": ["Fire", "a", "naming", "event", ".", "An", "event", "will", "be", "created", "with", "the", "provided", "information", "and", "sent", "to", "each", "listener", "that", "matches", "the", "target", "and", "scope", "information", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/naming/src/main/java/org/jboss/as/naming/NamingEventCoordinator.java#L141-L185", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "clustering/common/src/main/java/org/jboss/as/clustering/function/Consumers.java", "func_name": "Consumers.close", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a consumer that closes its input.\n@return a consumer that closes its input.", "docstring_tokens": ["Returns", "a", "consumer", "that", "closes", "its", "input", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/clustering/common/src/main/java/org/jboss/as/clustering/function/Consumers.java#L39-L47", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "connector/src/main/java/org/jboss/as/connector/security/ElytronSubjectFactory.java", "func_name": "ElytronSubjectFactory.addPrivateCredential", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add the specified credential to the subject's private credentials set.\n\n@param subject the {@link Subject} to add the credential to.\n@param credential a reference to the credential.", "docstring_tokens": ["Add", "the", "specified", "credential", "to", "the", "subject", "s", "private", "credentials", "set", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/connector/src/main/java/org/jboss/as/connector/security/ElytronSubjectFactory.java#L175-L185", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "naming/src/main/java/org/jboss/as/naming/context/ObjectFactoryBuilder.java", "func_name": "ObjectFactoryBuilder.getObjectInstance", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create an object instance.\n\n@param ref Object containing reference information\n@param name The name relative to nameCtx\n@param nameCtx The naming context\n@param environment The environment information\n@return The object\n@throws Exception If any error occur", "docstring_tokens": ["Create", "an", "object", "instance", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/naming/src/main/java/org/jboss/as/naming/context/ObjectFactoryBuilder.java#L89-L110", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/component/session/SessionBeanComponentDescription.java", "func_name": "SessionBeanComponentDescription.addTxManagementInterceptorForView", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets up the transaction management interceptor for all methods of the passed view.\n\n@param view The EJB bean view", "docstring_tokens": ["Sets", "up", "the", "transaction", "management", "interceptor", "for", "all", "methods", "of", "the", "passed", "view", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/component/session/SessionBeanComponentDescription.java#L358-L370", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jpa/hibernate4_3/src/main/java/org/jboss/as/jpa/hibernate4/management/QueryName.java", "func_name": "QueryName.subst", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Substitute sub-strings inside of a string.\n\n@param stringBuilder String buffer to use for substitution (buffer is not reset)\n@param from String to substitute from\n@param to String to substitute to", "docstring_tokens": ["Substitute", "sub", "-", "strings", "inside", "of", "a", "string", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jpa/hibernate4_3/src/main/java/org/jboss/as/jpa/hibernate4/management/QueryName.java#L207-L218", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/ImportJournalOperation.java", "func_name": "ImportJournalOperation.createInVMTransportConfiguration", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The XmlDataImporter requires a connector to connect to the artemis broker.\n\nWe require to use a in-vm one so that importing a journal is not subject to any network connection problem.", "docstring_tokens": ["The", "XmlDataImporter", "requires", "a", "connector", "to", "connect", "to", "the", "artemis", "broker", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/ImportJournalOperation.java#L130-L145", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/deployment/processors/merging/ResourceAdaptorMergingProcessor.java", "func_name": "ResourceAdaptorMergingProcessor.addEarPrefixIfRelativeName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "adds ear prefix to configured adapter name if it is specified in relative form", "docstring_tokens": ["adds", "ear", "prefix", "to", "configured", "adapter", "name", "if", "it", "is", "specified", "in", "relative", "form"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/deployment/processors/merging/ResourceAdaptorMergingProcessor.java#L102-L113", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "weld/subsystem/src/main/java/org/jboss/as/weld/util/Utils.java", "func_name": "Utils.getRootDeploymentUnit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the parent of the given deployment unit if such a parent exists. If the given deployment unit is the parent\ndeployment unit, it is returned.", "docstring_tokens": ["Returns", "the", "parent", "of", "the", "given", "deployment", "unit", "if", "such", "a", "parent", "exists", ".", "If", "the", "given", "deployment", "unit", "is", "the", "parent", "deployment", "unit", "it", "is", "returned", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/weld/subsystem/src/main/java/org/jboss/as/weld/util/Utils.java#L52-L57", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ee/src/main/java/org/jboss/as/ee/component/ViewDescription.java", "func_name": "ViewDescription.getServiceName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the service name for this view.\n\n@return the service name", "docstring_tokens": ["Get", "the", "service", "name", "for", "this", "view", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ee/src/main/java/org/jboss/as/ee/component/ViewDescription.java#L133-L140", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ee/src/main/java/org/jboss/as/ee/component/ViewDescription.java", "func_name": "ViewDescription.createViewConfiguration", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates view configuration. Allows for extensibility in EE sub components.\n\n@param viewClass view class\n@param componentConfiguration component config\n@param proxyFactory proxy factory\n@return new view configuration", "docstring_tokens": ["Creates", "view", "configuration", ".", "Allows", "for", "extensibility", "in", "EE", "sub", "components", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ee/src/main/java/org/jboss/as/ee/component/ViewDescription.java#L150-L152", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ee/src/main/java/org/jboss/as/ee/component/ViewDescription.java", "func_name": "ViewDescription.createInjectionSource", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create the injection source\n\n@param serviceName The view service name\n@param viewClassLoader", "docstring_tokens": ["Create", "the", "injection", "source"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ee/src/main/java/org/jboss/as/ee/component/ViewDescription.java#L178-L180", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ee/src/main/java/org/jboss/as/ee/component/ViewConfiguration.java", "func_name": "ViewConfiguration.getViewInterceptors", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the view interceptors for a method. These interceptors are run sequentially on the \"server side\" of an\ninvocation. The interceptor factories are used every time a new view instance is constructed, called with a\nnew factory context each time. The factory may return the same interceptor instance or a new interceptor\ninstance as appropriate.\n\n@param method the method to look up\n@return the interceptors for this method", "docstring_tokens": ["Get", "the", "view", "interceptors", "for", "a", "method", ".", "These", "interceptors", "are", "run", "sequentially", "on", "the", "server", "side", "of", "an", "invocation", ".", "The", "interceptor", "factories", "are", "used", "every", "time", "a", "new", "view", "instance", "is", "constructed", "called", "with", "a", "new", "factory", "context", "each", "time", ".", "The", "factory", "may", "return", "the", "same", "interceptor", "instance", "or", "a", "new", "interceptor", "instance", "as", "appropriate", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ee/src/main/java/org/jboss/as/ee/component/ViewConfiguration.java#L104-L110", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ee/src/main/java/org/jboss/as/ee/component/ViewConfiguration.java", "func_name": "ViewConfiguration.addViewInterceptor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds an interceptor factory to all methods of a view\n\n@param interceptorFactory The factory to add\n@param priority The interceptor order", "docstring_tokens": ["Adds", "an", "interceptor", "factory", "to", "all", "methods", "of", "a", "view"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ee/src/main/java/org/jboss/as/ee/component/ViewConfiguration.java#L118-L122", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ee/src/main/java/org/jboss/as/ee/component/ViewConfiguration.java", "func_name": "ViewConfiguration.addViewInterceptor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a view interceptor to the given method\n\n@param method The method to add\n@param interceptorFactory The interceptor factory\n@param priority The priority", "docstring_tokens": ["Adds", "a", "view", "interceptor", "to", "the", "given", "method"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ee/src/main/java/org/jboss/as/ee/component/ViewConfiguration.java#L131-L137", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ee/src/main/java/org/jboss/as/ee/component/ViewConfiguration.java", "func_name": "ViewConfiguration.getClientInterceptors", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the client interceptors for a method. These interceptors are run sequentially on the \"client side\" of an\ninvocation. The interceptor factories are used every time a new client proxy instance is constructed, called with a\nnew factory context each time. The factory may return the same interceptor instance or a new interceptor\ninstance as appropriate.\n\n@param method the method to look up\n@return the interceptors for this method", "docstring_tokens": ["Get", "the", "client", "interceptors", "for", "a", "method", ".", "These", "interceptors", "are", "run", "sequentially", "on", "the", "client", "side", "of", "an", "invocation", ".", "The", "interceptor", "factories", "are", "used", "every", "time", "a", "new", "client", "proxy", "instance", "is", "constructed", "called", "with", "a", "new", "factory", "context", "each", "time", ".", "The", "factory", "may", "return", "the", "same", "interceptor", "instance", "or", "a", "new", "interceptor", "instance", "as", "appropriate", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ee/src/main/java/org/jboss/as/ee/component/ViewConfiguration.java#L148-L154", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ee/src/main/java/org/jboss/as/ee/component/ViewConfiguration.java", "func_name": "ViewConfiguration.addClientInterceptor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a client interceptor factory to all methods of a view\n\n@param interceptorFactory The factory to add\n@param priority The interceptor order", "docstring_tokens": ["Adds", "a", "client", "interceptor", "factory", "to", "all", "methods", "of", "a", "view"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ee/src/main/java/org/jboss/as/ee/component/ViewConfiguration.java#L162-L166", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ee/src/main/java/org/jboss/as/ee/component/ViewConfiguration.java", "func_name": "ViewConfiguration.addClientInterceptor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a client interceptor to the given method\n\n@param method The method to add\n@param interceptorFactory The interceptor factory\n@param priority The priority", "docstring_tokens": ["Adds", "a", "client", "interceptor", "to", "the", "given", "method"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ee/src/main/java/org/jboss/as/ee/component/ViewConfiguration.java#L175-L181", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ee/src/main/java/org/jboss/as/ee/component/ViewConfiguration.java", "func_name": "ViewConfiguration.putPrivateData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Attaches arbitrary private data to this view instance\n\n@param type The type of data\n@param data The data", "docstring_tokens": ["Attaches", "arbitrary", "private", "data", "to", "this", "view", "instance"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ee/src/main/java/org/jboss/as/ee/component/ViewConfiguration.java#L287-L289", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ee/src/main/java/org/jboss/as/ee/structure/EJBClientDescriptor10Parser.java", "func_name": "EJBClientDescriptor10Parser.unexpectedElement", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Throws a XMLStreamException for the unexpected element that was encountered during the parse\n\n@param reader the stream reader\n@throws XMLStreamException", "docstring_tokens": ["Throws", "a", "XMLStreamException", "for", "the", "unexpected", "element", "that", "was", "encountered", "during", "the", "parse"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ee/src/main/java/org/jboss/as/ee/structure/EJBClientDescriptor10Parser.java#L221-L223", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/util/ASHelper.java", "func_name": "ASHelper.getJaxwsEjbs", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets list of JAXWS EJBs meta data.\n\n@param unit deployment unit\n@return list of JAXWS EJBs meta data", "docstring_tokens": ["Gets", "list", "of", "JAXWS", "EJBs", "meta", "data", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/util/ASHelper.java#L91-L94", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/util/ASHelper.java", "func_name": "ASHelper.getJaxwsPojos", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets list of JAXWS POJOs meta data.\n\n@param unit deployment unit\n@return list of JAXWS POJOs meta data", "docstring_tokens": ["Gets", "list", "of", "JAXWS", "POJOs", "meta", "data", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/util/ASHelper.java#L102-L105", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/util/ASHelper.java", "func_name": "ASHelper.getEndpointName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns endpoint name.\n\n@param servletMD servlet meta data\n@return endpoint name", "docstring_tokens": ["Returns", "endpoint", "name", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/util/ASHelper.java#L113-L116", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/util/ASHelper.java", "func_name": "ASHelper.getEndpointClassName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns endpoint class name.\n\n@param servletMD servlet meta data\n@return endpoint class name", "docstring_tokens": ["Returns", "endpoint", "class", "name", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/util/ASHelper.java#L124-L127", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/util/ASHelper.java", "func_name": "ASHelper.getServletForName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns servlet meta data for requested servlet name.\n\n@param jbossWebMD jboss web meta data\n@param servletName servlet name\n@return servlet meta data", "docstring_tokens": ["Returns", "servlet", "meta", "data", "for", "requested", "servlet", "name", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/util/ASHelper.java#L136-L144", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/util/ASHelper.java", "func_name": "ASHelper.getRequiredAttachment", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns required attachment value from deployment unit.\n\n@param expected value\n@param unit deployment unit\n@param key attachment key\n@return required attachment\n@throws IllegalStateException if attachment value is null", "docstring_tokens": ["Returns", "required", "attachment", "value", "from", "deployment", "unit", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/util/ASHelper.java#L155-L162", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/util/ASHelper.java", "func_name": "ASHelper.getOptionalAttachment", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns optional attachment value from deployment unit or null if not bound.\n\n@param expected value\n@param unit deployment unit\n@param key attachment key\n@return optional attachment value or null", "docstring_tokens": ["Returns", "optional", "attachment", "value", "from", "deployment", "unit", "or", "null", "if", "not", "bound", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/util/ASHelper.java#L172-L174", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/util/ASHelper.java", "func_name": "ASHelper.getJBossWebMetaData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the JBossWebMetaData from the WarMetaData attached to the provided deployment unit, if any.\n\n@param unit\n@return the JBossWebMetaData or null if either that or the parent WarMetaData are not found.", "docstring_tokens": ["Gets", "the", "JBossWebMetaData", "from", "the", "WarMetaData", "attached", "to", "the", "provided", "deployment", "unit", "if", "any", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/util/ASHelper.java#L288-L300", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/util/ASHelper.java", "func_name": "ASHelper.getJBossWebserviceMetaDataPortComponent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return a named port-component from the jboss-webservices.xml\n@param unit\n@param name\n@return", "docstring_tokens": ["Return", "a", "named", "port", "-", "component", "from", "the", "jboss", "-", "webservices", ".", "xml"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/util/ASHelper.java#L322-L341", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/util/ASHelper.java", "func_name": "ASHelper.getWebserviceMetadataEJBEndpoint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an EJBEndpoint based upon fully qualified classname.\n@param jaxwsDeployment\n@param className\n@return", "docstring_tokens": ["Returns", "an", "EJBEndpoint", "based", "upon", "fully", "qualified", "classname", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/util/ASHelper.java#L349-L359", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/util/ASHelper.java", "func_name": "ASHelper.getContextRoot", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns context root associated with webservice deployment.\n\nIf there's application.xml descriptor provided defining nested web module, then context root defined there will be\nreturned. Otherwise context root defined in jboss-web.xml will be returned.\n\n@param dep webservice deployment\n@param jbossWebMD jboss web meta data\n@return context root", "docstring_tokens": ["Returns", "context", "root", "associated", "with", "webservice", "deployment", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/util/ASHelper.java#L371-L392", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "weld/subsystem/src/main/java/org/jboss/as/weld/WeldModuleResourceLoader.java", "func_name": "WeldModuleResourceLoader.classForName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If the class name is found in additionalClasses then return it.\n\nOtherwise the class will be loaded from the module ClassLoader", "docstring_tokens": ["If", "the", "class", "name", "is", "found", "in", "additionalClasses", "then", "return", "it", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/weld/subsystem/src/main/java/org/jboss/as/weld/WeldModuleResourceLoader.java#L62-L74", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "weld/subsystem/src/main/java/org/jboss/as/weld/WeldModuleResourceLoader.java", "func_name": "WeldModuleResourceLoader.getResource", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Loads a resource from the module class loader", "docstring_tokens": ["Loads", "a", "resource", "from", "the", "module", "class", "loader"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/weld/subsystem/src/main/java/org/jboss/as/weld/WeldModuleResourceLoader.java#L83-L90", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "weld/subsystem/src/main/java/org/jboss/as/weld/WeldModuleResourceLoader.java", "func_name": "WeldModuleResourceLoader.getResources", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Loads resources from the module class loader", "docstring_tokens": ["Loads", "resources", "from", "the", "module", "class", "loader"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/weld/subsystem/src/main/java/org/jboss/as/weld/WeldModuleResourceLoader.java#L95-L108", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "undertow/src/main/java/org/wildfly/extension/undertow/deployment/ServletResourceManager.java", "func_name": "ServletResourceManager.list", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Lists all children of a particular path, taking overlays into account\n\n@param path The path\n@return The list of children", "docstring_tokens": ["Lists", "all", "children", "of", "a", "particular", "path", "taking", "overlays", "into", "account"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/undertow/src/main/java/org/wildfly/extension/undertow/deployment/ServletResourceManager.java#L149-L178", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jpa/subsystem/src/main/java/org/jboss/as/jpa/container/NonTxEmCloser.java", "func_name": "NonTxEmCloser.popCall", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "current session bean invocation is ending, close any transactional entity managers created without a JTA\ntransaction.", "docstring_tokens": ["current", "session", "bean", "invocation", "is", "ending", "close", "any", "transactional", "entity", "managers", "created", "without", "a", "JTA", "transaction", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jpa/subsystem/src/main/java/org/jboss/as/jpa/container/NonTxEmCloser.java#L58-L75", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jpa/subsystem/src/main/java/org/jboss/as/jpa/container/NonTxEmCloser.java", "func_name": "NonTxEmCloser.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the transactional entity manager for the specified scoped persistence unit name\n\n@param puScopedName\n@return", "docstring_tokens": ["Return", "the", "transactional", "entity", "manager", "for", "the", "specified", "scoped", "persistence", "unit", "name"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jpa/subsystem/src/main/java/org/jboss/as/jpa/container/NonTxEmCloser.java#L83-L89", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/deployment/injection/TransactedJMSContext.java", "func_name": "TransactedJMSContext.registerCleanUpListener", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Closing of transaction scoped JMSContext is executed through Synchronization listener.\nThis method registers listener, which takes care of closing JMSContext.\n\n@param transactionSynchronizationRegistry\n@param contextInstance", "docstring_tokens": ["Closing", "of", "transaction", "scoped", "JMSContext", "is", "executed", "through", "Synchronization", "listener", ".", "This", "method", "registers", "listener", "which", "takes", "care", "of", "closing", "JMSContext", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/deployment/injection/TransactedJMSContext.java#L47-L54", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "undertow/src/main/java/org/wildfly/extension/undertow/deployment/WarAnnotationDeploymentProcessor.java", "func_name": "WarAnnotationDeploymentProcessor.deploy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Process web annotations.", "docstring_tokens": ["Process", "web", "annotations", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/undertow/src/main/java/org/wildfly/extension/undertow/deployment/WarAnnotationDeploymentProcessor.java#L108-L139", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/dmr/WSServerConfigAttributeHandler.java", "func_name": "WSServerConfigAttributeHandler.updateServerConfig", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if the update operation succeeds in modifying the runtime, false otherwise.\n\n@param attributeName\n@param value\n@return\n@throws OperationFailedException\n@throws DisabledOperationException", "docstring_tokens": ["Returns", "true", "if", "the", "update", "operation", "succeeds", "in", "modifying", "the", "runtime", "false", "otherwise", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/dmr/WSServerConfigAttributeHandler.java#L103-L146", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/RmiIdlUtil.java", "func_name": "RmiIdlUtil.isAllFieldsPublic", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks whether all the fields in the class are declared as public.", "docstring_tokens": ["Checks", "whether", "all", "the", "fields", "in", "the", "class", "are", "declared", "as", "public", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/RmiIdlUtil.java#L145-L155", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/deployers/deployment/AbstractDeploymentModelBuilder.java", "func_name": "AbstractDeploymentModelBuilder.newHttpEndpoint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates new Http Web Service endpoint.\n\n@param endpointClass endpoint class name\n@param endpointName endpoint name\n@param dep deployment\n@return WS endpoint", "docstring_tokens": ["Creates", "new", "Http", "Web", "Service", "endpoint", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/deployers/deployment/AbstractDeploymentModelBuilder.java#L146-L156", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/deployers/deployment/AbstractDeploymentModelBuilder.java", "func_name": "AbstractDeploymentModelBuilder.newDeployment", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates new Web Service deployment.\n\n@param unit deployment unit\n@return archive deployment", "docstring_tokens": ["Creates", "new", "Web", "Service", "deployment", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/deployers/deployment/AbstractDeploymentModelBuilder.java#L185-L217", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jaxrs/src/main/java/org/jboss/as/jaxrs/deployment/JaxrsDeploymentMarker.java", "func_name": "JaxrsDeploymentMarker.isJaxrsDeployment", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "JAX-RS annotations are found in the deployment, especially if it's an EAR one)", "docstring_tokens": ["JAX", "-", "RS", "annotations", "are", "found", "in", "the", "deployment", "especially", "if", "it", "s", "an", "EAR", "one", ")"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jaxrs/src/main/java/org/jboss/as/jaxrs/deployment/JaxrsDeploymentMarker.java#L46-L50", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/timerservice/TimerImpl.java", "func_name": "TimerImpl.setNextTimeout", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the next timeout of this timer\n\n@param next The next scheduled timeout of this timer", "docstring_tokens": ["Sets", "the", "next", "timeout", "of", "this", "timer"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/timerservice/TimerImpl.java#L288-L293", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/timerservice/TimerImpl.java", "func_name": "TimerImpl.setTimerState", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the state and timer task executing thread of this timer\n\n@param state The state of this timer\n@param thread The executing thread which is processing the timeout task", "docstring_tokens": ["Sets", "the", "state", "and", "timer", "task", "executing", "thread", "of", "this", "timer"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/timerservice/TimerImpl.java#L498-L502", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jaxrs/src/main/java/org/jboss/as/jaxrs/deployment/ResteasyDeploymentData.java", "func_name": "ResteasyDeploymentData.merge", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Merges a list of additional JAX-RS deployment data with this lot of deployment data.\n\n@param deploymentData", "docstring_tokens": ["Merges", "a", "list", "of", "additional", "JAX", "-", "RS", "deployment", "data", "with", "this", "lot", "of", "deployment", "data", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jaxrs/src/main/java/org/jboss/as/jaxrs/deployment/ResteasyDeploymentData.java#L53-L64", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ee/src/main/java/org/jboss/as/ee/managedbean/processors/JavaEEDependencyProcessor.java", "func_name": "JavaEEDependencyProcessor.deploy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add the EE APIs as a dependency to all deployments\n\n@param phaseContext the deployment unit context\n@throws DeploymentUnitProcessingException", "docstring_tokens": ["Add", "the", "EE", "APIs", "as", "a", "dependency", "to", "all", "deployments"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ee/src/main/java/org/jboss/as/ee/managedbean/processors/JavaEEDependencyProcessor.java#L79-L107", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/component/EJBComponentDescription.java", "func_name": "EJBComponentDescription.addRemoteTransactionsDependency", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a dependency for the ComponentConfiguration on the remote transaction service if the EJB exposes at least one remote view", "docstring_tokens": ["Adds", "a", "dependency", "for", "the", "ComponentConfiguration", "on", "the", "remote", "transaction", "service", "if", "the", "EJB", "exposes", "at", "least", "one", "remote", "view"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/component/EJBComponentDescription.java#L527-L556", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/component/EJBComponentDescription.java", "func_name": "EJBComponentDescription.getAllContainerInterceptors", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a combined map of class and method level container interceptors", "docstring_tokens": ["Returns", "a", "combined", "map", "of", "class", "and", "method", "level", "container", "interceptors"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/component/EJBComponentDescription.java#L1106-L1118", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/deployment/ApplicableMethodInformation.java", "func_name": "ApplicableMethodInformation.isMethodLevel", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if the given transaction specification was expliitly specified at a method level, returns\nfalse if it was inherited from the default", "docstring_tokens": ["Returns", "true", "if", "the", "given", "transaction", "specification", "was", "expliitly", "specified", "at", "a", "method", "level", "returns", "false", "if", "it", "was", "inherited", "from", "the", "default"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/deployment/ApplicableMethodInformation.java#L326-L359", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "legacy/messaging/src/main/java/org/jboss/as/messaging/MessagingSubsystemParser.java", "func_name": "MessagingSubsystemParser.checkOnlyOneOfElements", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check one and only one of the 2 elements has been defined", "docstring_tokens": ["Check", "one", "and", "only", "one", "of", "the", "2", "elements", "has", "been", "defined"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/legacy/messaging/src/main/java/org/jboss/as/messaging/MessagingSubsystemParser.java#L1644-L1651", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "pojo/src/main/java/org/jboss/as/pojo/descriptor/AbstractConfigVisitorNode.java", "func_name": "AbstractConfigVisitorNode.getType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Load class.\n\n@param visitor the visitor\n@param className the class name\n@return class or null if null class name", "docstring_tokens": ["Load", "class", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/pojo/src/main/java/org/jboss/as/pojo/descriptor/AbstractConfigVisitorNode.java#L101-L110", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "pojo/src/main/java/org/jboss/as/pojo/descriptor/AbstractConfigVisitorNode.java", "func_name": "AbstractConfigVisitorNode.getComponentType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get component type.\n\n@param type the type\n@param index the component index\n@return component's class or null if cannot be determined", "docstring_tokens": ["Get", "component", "type", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/pojo/src/main/java/org/jboss/as/pojo/descriptor/AbstractConfigVisitorNode.java#L119-L125", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "security/subsystem/src/main/java/org/jboss/as/security/elytron/ElytronIntegrationResourceDefinitions.java", "func_name": "ElytronIntegrationResourceDefinitions.getElytronKeyStoreResourceDefinition", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Defines a resource that represents an Elytron-compatible key store that can be exported by a JSSE-enabled domain\nin the legacy security subsystem.\n\nTo export the key store the resource uses a {@code BasicAddHandler} implementation that registers the elytron key-store\ncapability and implements a {@code org.jboss.as.security.elytron.BasicService.ValueSupplier} that uses the injected\n{@code SecurityDomainContext} to obtain a {@code JSSESecurityDomain}. If such domain is found, its configured key\nstore is obtained and returned.\n\nThe {@code ValueSupplier} implementation throws an exception if the referenced legacy domain is not a JSSE-enabled\ndomain or if the domain doesn't contain a key store configuration.", "docstring_tokens": ["Defines", "a", "resource", "that", "represents", "an", "Elytron", "-", "compatible", "key", "store", "that", "can", "be", "exported", "by", "a", "JSSE", "-", "enabled", "domain", "in", "the", "legacy", "security", "subsystem", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/security/subsystem/src/main/java/org/jboss/as/security/elytron/ElytronIntegrationResourceDefinitions.java#L127-L155", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "security/subsystem/src/main/java/org/jboss/as/security/elytron/ElytronIntegrationResourceDefinitions.java", "func_name": "ElytronIntegrationResourceDefinitions.getElytronKeyManagersResourceDefinition", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Defines a resource that represents Elytron-compatible key managers that can be exported by a JSSE-enabled domain\nin the legacy security subsystem.\n\nTo export the key managers the resource uses a {@code BasicAddHandler} implementation that registers the elytron\nkey-managers capability and implements a {@code org.jboss.as.security.elytron.BasicService.ValueSupplier} that uses\nthe injected {@code SecurityDomainContext} to obtain a {@code JSSESecurityDomain}. If such domain is found, its\nconfigured key manager array is obtained and returned.\n\nThe {@code ValueSupplier} implementation throws an exception if the referenced legacy domain is not a JSSE-enabled\ndomain or if the domain doesn't contain a key store configuration that can be used to build the key managers.", "docstring_tokens": ["Defines", "a", "resource", "that", "represents", "Elytron", "-", "compatible", "key", "managers", "that", "can", "be", "exported", "by", "a", "JSSE", "-", "enabled", "domain", "in", "the", "legacy", "security", "subsystem", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/security/subsystem/src/main/java/org/jboss/as/security/elytron/ElytronIntegrationResourceDefinitions.java#L220-L253", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "security/subsystem/src/main/java/org/jboss/as/security/elytron/ElytronIntegrationResourceDefinitions.java", "func_name": "ElytronIntegrationResourceDefinitions.getElytronTrustManagersResourceDefinition", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Defines a resource that represents Elytron-compatible trust managers that can be exported by a JSSE-enabled domain\nin the legacy security subsystem.\n\nTo export the trust managers the resource uses a {@code BasicAddHandler} implementation that registers the elytron\ntrust-managers capability and implements a {@code org.jboss.as.security.elytron.BasicService.ValueSupplier} that uses\nthe injected {@code SecurityDomainContext} to obtain a {@code JSSESecurityDomain}. If such domain is found, its\nconfigured trust manager array is obtained and returned.\n\nThe {@code ValueSupplier} implementation throws an exception if the referenced legacy domain is not a JSSE-enabled\ndomain or if the domain doesn't contain a trust store configuration that can be used to build the trust managers.\n\nNOTE: The {@code PicketBox} implementation of a {@code JSSESecurityDomain} returns a reference to the key store if\na trust store was not configured. This means that the trust managers that it builds will use the configured key store\ninstead of throwing an exception to alert about a missing trust store configuration. So extra care must be taken\nto ensure that the exported trust managers are being built using the correct trust stores.", "docstring_tokens": ["Defines", "a", "resource", "that", "represents", "Elytron", "-", "compatible", "trust", "managers", "that", "can", "be", "exported", "by", "a", "JSSE", "-", "enabled", "domain", "in", "the", "legacy", "security", "subsystem", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/security/subsystem/src/main/java/org/jboss/as/security/elytron/ElytronIntegrationResourceDefinitions.java#L272-L304", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/CNNameParser.java", "func_name": "CNNameParser.parse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a CompoundName given a string in INS syntax.\n\n@param name The non-null string representation of the name.\n@return a non-null CompoundName", "docstring_tokens": ["Returns", "a", "CompoundName", "given", "a", "string", "in", "INS", "syntax", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/CNNameParser.java#L80-L83", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/CNNameParser.java", "func_name": "CNNameParser.insStringToStringifiedComps", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts an INS-syntax string name into a Vector in which\neach element of the vector contains a stringified form of\na NameComponent.", "docstring_tokens": ["Converts", "an", "INS", "-", "syntax", "string", "name", "into", "a", "Vector", "in", "which", "each", "element", "of", "the", "vector", "contains", "a", "stringified", "form", "of", "a", "NameComponent", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/CNNameParser.java#L143-L196", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/CNNameParser.java", "func_name": "CNNameParser.parseComponent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return a NameComponent given its stringified form.", "docstring_tokens": ["Return", "a", "NameComponent", "given", "its", "stringified", "form", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/CNNameParser.java#L201-L260", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ir/IRObjectImpl.java", "func_name": "IRObjectImpl.shutdown", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Unexport this object.", "docstring_tokens": ["Unexport", "this", "object", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ir/IRObjectImpl.java#L71-L78", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ir/IRObjectImpl.java", "func_name": "IRObjectImpl.servantToReference", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert a servant to a reference.", "docstring_tokens": ["Convert", "a", "servant", "to", "a", "reference", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ir/IRObjectImpl.java#L106-L123", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/ElytronSecurityManager.java", "func_name": "ElytronSecurityManager.authenticate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Attempt to authenticate and authorize an username with the specified password evidence.\n\n@param username the username being authenticated.\n@param password the password to be verified.\n@return a reference to the {@link SecurityIdentity} if the user was successfully authenticated and authorized;\n{@code null} otherwise.", "docstring_tokens": ["Attempt", "to", "authenticate", "and", "authorize", "an", "username", "with", "the", "specified", "password", "evidence", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/ElytronSecurityManager.java#L90-L135", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "connector/src/main/java/org/jboss/as/connector/subsystems/datasources/GetDataSourceClassInfoOperationHandler.java", "func_name": "GetDataSourceClassInfoOperationHandler.isTypeMatched", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check whether the types that JCA Injection knows.\n\n@see Injection.findMethod()\n@param clz the class\n@return whether it is understandable", "docstring_tokens": ["Check", "whether", "the", "types", "that", "JCA", "Injection", "knows", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/connector/src/main/java/org/jboss/as/connector/subsystems/datasources/GetDataSourceClassInfoOperationHandler.java#L141-L168", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/jms/WildFlyBindingRegistry.java", "func_name": "WildFlyBindingRegistry.lookup", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "SPI contract for this method", "docstring_tokens": ["SPI", "contract", "for", "this", "method"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/jms/WildFlyBindingRegistry.java#L58-L67", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/jms/WildFlyBindingRegistry.java", "func_name": "WildFlyBindingRegistry.unbind", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Unbind the resource and wait until the corresponding binding service is effectively removed.", "docstring_tokens": ["Unbind", "the", "resource", "and", "wait", "until", "the", "corresponding", "binding", "service", "is", "effectively", "removed", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/jms/WildFlyBindingRegistry.java#L82-L105", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "pojo/src/main/java/org/jboss/as/pojo/service/BeanUtils.java", "func_name": "BeanUtils.instantiateBean", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Instantiate bean.\n\n@param beanConfig the bean metadata config, must not be null\n@param beanInfo the bean info, can be null if enough info\n@param index the reflection index, must not be null\n@param module the current CL module, must not be null\n@return new bean instance\n@throws Throwable for any error", "docstring_tokens": ["Instantiate", "bean", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/pojo/src/main/java/org/jboss/as/pojo/service/BeanUtils.java#L60-L105", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "pojo/src/main/java/org/jboss/as/pojo/service/BeanUtils.java", "func_name": "BeanUtils.configure", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Configure bean.\n\n@param beanConfig the bean metadata config, must not be null\n@param beanInfo the bean info, can be null if enough info\n@param module the current CL module, must not be null\n@param bean the bean instance\n@param nullify do we nullify property\n@throws Throwable for any error", "docstring_tokens": ["Configure", "bean", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/pojo/src/main/java/org/jboss/as/pojo/service/BeanUtils.java#L117-L138", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "pojo/src/main/java/org/jboss/as/pojo/service/BeanUtils.java", "func_name": "BeanUtils.dispatchLifecycleJoinpoint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Dispatch lifecycle joinpoint.\n\n@param beanInfo the bean info\n@param bean the bean instance\n@param config the lifecycle config\n@param defaultMethod the default method\n@throws Throwable for any error", "docstring_tokens": ["Dispatch", "lifecycle", "joinpoint", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/pojo/src/main/java/org/jboss/as/pojo/service/BeanUtils.java#L149-L156", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "naming/src/main/java/org/jboss/as/naming/context/NamespaceContextSelector.java", "func_name": "NamespaceContextSelector.getCurrentSelector", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the current context selector for the current thread.\n\n@return The current context selector.", "docstring_tokens": ["Get", "the", "current", "context", "selector", "for", "the", "current", "thread", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/naming/src/main/java/org/jboss/as/naming/context/NamespaceContextSelector.java#L65-L71", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "pojo/src/main/java/org/jboss/as/pojo/descriptor/BeanMetaDataConfig.java", "func_name": "BeanMetaDataConfig.toBeanName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get MC bean name.\n\n@param name the original bean name\n@param state the state\n@return bean service name", "docstring_tokens": ["Get", "MC", "bean", "name", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/pojo/src/main/java/org/jboss/as/pojo/descriptor/BeanMetaDataConfig.java#L50-L55", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "pojo/src/main/java/org/jboss/as/pojo/descriptor/BeanMetaDataConfig.java", "func_name": "BeanMetaDataConfig.toInstancesName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "To instances name.\n\n@param clazz the class\n@param state the bean state\n@return unique instance name", "docstring_tokens": ["To", "instances", "name", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/pojo/src/main/java/org/jboss/as/pojo/descriptor/BeanMetaDataConfig.java#L64-L76", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ee/src/main/java/org/jboss/as/ee/component/EEApplicationClasses.java", "func_name": "EEApplicationClasses.getClassByName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Look for a class description in all available modules.\n@param name The class to lookup\n@return", "docstring_tokens": ["Look", "for", "a", "class", "description", "in", "all", "available", "modules", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ee/src/main/java/org/jboss/as/ee/component/EEApplicationClasses.java#L50-L58", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/deployment/processors/SessionBeanComponentDescriptionFactory.java", "func_name": "SessionBeanComponentDescriptionFactory.processAnnotations", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Process annotations and merge any available metadata at the same time.", "docstring_tokens": ["Process", "annotations", "and", "merge", "any", "available", "metadata", "at", "the", "same", "time", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/deployment/processors/SessionBeanComponentDescriptionFactory.java#L78-L102", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jpa/subsystem/src/main/java/org/jboss/as/jpa/processor/PersistenceUnitParseProcessor.java", "func_name": "PersistenceUnitParseProcessor.postParseSteps", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Some of this might need to move to the install phase\n\n@param persistence_xml\n@param puHolder", "docstring_tokens": ["Some", "of", "this", "might", "need", "to", "move", "to", "the", "install", "phase"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jpa/subsystem/src/main/java/org/jboss/as/jpa/processor/PersistenceUnitParseProcessor.java#L247-L287", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ee/src/main/java/org/jboss/as/ee/utils/DescriptorUtils.java", "func_name": "DescriptorUtils.validateDescriptor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "performs basic validation on a descriptor", "docstring_tokens": ["performs", "basic", "validation", "on", "a", "descriptor"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ee/src/main/java/org/jboss/as/ee/utils/DescriptorUtils.java#L184-L216", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/tomcat/WebMetaDataCreator.java", "func_name": "WebMetaDataCreator.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates web meta data for EJB deployments.\n\n@param dep webservice deployment", "docstring_tokens": ["Creates", "web", "meta", "data", "for", "EJB", "deployments", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/tomcat/WebMetaDataCreator.java#L65-L83", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/tomcat/WebMetaDataCreator.java", "func_name": "WebMetaDataCreator.createWebAppDescriptor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates web.xml descriptor meta data.\n\n@param dep webservice deployment\n@param jbossWebMD jboss web meta data", "docstring_tokens": ["Creates", "web", ".", "xml", "descriptor", "meta", "data", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/tomcat/WebMetaDataCreator.java#L91-L98", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/tomcat/WebMetaDataCreator.java", "func_name": "WebMetaDataCreator.getAuthMethod", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns deployment authentication method.\n\n@param dep webservice deployment\n@return deployment authentication method", "docstring_tokens": ["Returns", "deployment", "authentication", "method", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/tomcat/WebMetaDataCreator.java#L341-L354", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "sar/src/main/java/org/jboss/as/service/ServiceDeploymentParsingProcessor.java", "func_name": "ServiceDeploymentParsingProcessor.deploy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Process a deployment for jboss-service.xml files. Will parse the xml file and attach a configuration discovered\nduring processing.\n\n@param phaseContext the deployment unit context\n@throws DeploymentUnitProcessingException", "docstring_tokens": ["Process", "a", "deployment", "for", "jboss", "-", "service", ".", "xml", "files", ".", "Will", "parse", "the", "xml", "file", "and", "attach", "a", "configuration", "discovered", "during", "processing", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/sar/src/main/java/org/jboss/as/service/ServiceDeploymentParsingProcessor.java#L69-L107", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/deployment/processors/dd/DeploymentDescriptorMethodProcessor.java", "func_name": "DeploymentDescriptorMethodProcessor.handleStatelessSessionBean", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Handles setting up the ejbCreate and ejbRemove methods for stateless session beans and MDB's\n\n@param component The component\n@param module The module\n@param reflectionIndex The reflection index", "docstring_tokens": ["Handles", "setting", "up", "the", "ejbCreate", "and", "ejbRemove", "methods", "for", "stateless", "session", "beans", "and", "MDB", "s"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/deployment/processors/dd/DeploymentDescriptorMethodProcessor.java#L95-L112", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/iiop/stub/DynamicStubFactoryFactory.java", "func_name": "DynamicStubFactoryFactory.makeStubClass", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Makes a dynamic stub class, if it does not already exist.\n@param myClass The class to create a stub for\n@return The dynamic stub class", "docstring_tokens": ["Makes", "a", "dynamic", "stub", "class", "if", "it", "does", "not", "already", "exist", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/iiop/stub/DynamicStubFactoryFactory.java#L49-L76", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ir/RepositoryImpl.java", "func_name": "RepositoryImpl.getAnonymousObjectId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generate the ID of the n-th \"anonymous\" object created in this IR.", "docstring_tokens": ["Generate", "the", "ID", "of", "the", "n", "-", "th", "anonymous", "object", "created", "in", "this", "IR", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ir/RepositoryImpl.java#L221-L224", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jpa/subsystem/src/main/java/org/jboss/as/jpa/persistenceprovider/PersistenceProviderResolverImpl.java", "func_name": "PersistenceProviderResolverImpl.getPersistenceProviders", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return a new instance of each persistence provider class\n\n@return", "docstring_tokens": ["Return", "a", "new", "instance", "of", "each", "persistence", "provider", "class"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jpa/subsystem/src/main/java/org/jboss/as/jpa/persistenceprovider/PersistenceProviderResolverImpl.java#L66-L109", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jpa/subsystem/src/main/java/org/jboss/as/jpa/persistenceprovider/PersistenceProviderResolverImpl.java", "func_name": "PersistenceProviderResolverImpl.clearCachedDeploymentSpecificProviders", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Cleared at application undeployment time to remove any persistence providers that were deployed with the application\n\n@param deploymentClassLoaders", "docstring_tokens": ["Cleared", "at", "application", "undeployment", "time", "to", "remove", "any", "persistence", "providers", "that", "were", "deployed", "with", "the", "application"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jpa/subsystem/src/main/java/org/jboss/as/jpa/persistenceprovider/PersistenceProviderResolverImpl.java#L121-L128", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jpa/subsystem/src/main/java/org/jboss/as/jpa/persistenceprovider/PersistenceProviderResolverImpl.java", "func_name": "PersistenceProviderResolverImpl.addDeploymentSpecificPersistenceProvider", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set at application deployment time to the persistence providers packaged in the application\n\n@param persistenceProvider\n@param deploymentClassLoaders", "docstring_tokens": ["Set", "at", "application", "deployment", "time", "to", "the", "persistence", "providers", "packaged", "in", "the", "application"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jpa/subsystem/src/main/java/org/jboss/as/jpa/persistenceprovider/PersistenceProviderResolverImpl.java#L136-L152", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jpa/subsystem/src/main/java/org/jboss/as/jpa/persistenceprovider/PersistenceProviderResolverImpl.java", "func_name": "PersistenceProviderResolverImpl.findParentModuleCl", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If a custom CL is in use we want to get the module CL it delegates to\n@param classLoader The current CL\n@returnThe corresponding module CL", "docstring_tokens": ["If", "a", "custom", "CL", "is", "in", "use", "we", "want", "to", "get", "the", "module", "CL", "it", "delegates", "to"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jpa/subsystem/src/main/java/org/jboss/as/jpa/persistenceprovider/PersistenceProviderResolverImpl.java#L159-L165", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "sar/src/main/java/org/jboss/as/service/SarModuleDependencyProcessor.java", "func_name": "SarModuleDependencyProcessor.deploy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add dependencies for modules required for manged bean deployments, if managed bean configurations are attached\nto the deployment.\n\n@param phaseContext the deployment unit context\n@throws DeploymentUnitProcessingException", "docstring_tokens": ["Add", "dependencies", "for", "modules", "required", "for", "manged", "bean", "deployments", "if", "managed", "bean", "configurations", "are", "attached", "to", "the", "deployment", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/sar/src/main/java/org/jboss/as/service/SarModuleDependencyProcessor.java#L59-L74", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jpa/subsystem/src/main/java/org/jboss/as/jpa/processor/PersistenceUnitServiceHandler.java", "func_name": "PersistenceUnitServiceHandler.addPuService", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add one PU service per top level deployment that represents\n\n\n@param phaseContext\n@param puList\n@param startEarly\n@param platform\n@throws DeploymentUnitProcessingException", "docstring_tokens": ["Add", "one", "PU", "service", "per", "top", "level", "deployment", "that", "represents"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jpa/subsystem/src/main/java/org/jboss/as/jpa/processor/PersistenceUnitServiceHandler.java#L243-L302", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jpa/subsystem/src/main/java/org/jboss/as/jpa/processor/PersistenceUnitServiceHandler.java", "func_name": "PersistenceUnitServiceHandler.setAnnotationIndexes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Setup the annotation index map\n\n@param puHolder\n@param deploymentUnit", "docstring_tokens": ["Setup", "the", "annotation", "index", "map"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jpa/subsystem/src/main/java/org/jboss/as/jpa/processor/PersistenceUnitServiceHandler.java#L753-L778", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jpa/subsystem/src/main/java/org/jboss/as/jpa/processor/PersistenceUnitServiceHandler.java", "func_name": "PersistenceUnitServiceHandler.getPersistenceProviderAdaptor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the persistence provider adaptor. Will load the adapter module if needed.\n\n\n@param pu\n@param persistenceProviderDeploymentHolder\n\n@param provider\n@param platform\n@return\n@throws DeploymentUnitProcessingException", "docstring_tokens": ["Get", "the", "persistence", "provider", "adaptor", ".", "Will", "load", "the", "adapter", "module", "if", "needed", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jpa/subsystem/src/main/java/org/jboss/as/jpa/processor/PersistenceUnitServiceHandler.java#L804-L849", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jpa/subsystem/src/main/java/org/jboss/as/jpa/processor/PersistenceUnitServiceHandler.java", "func_name": "PersistenceUnitServiceHandler.savePerDeploymentSharedPersistenceProviderAdaptor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Will save the PersistenceProviderAdaptor at the top level application deployment unit level for sharing with other persistence units\n\n@param deploymentUnit\n@param adaptorModule\n@param adaptor\n@param provider\n@return the application level shared PersistenceProviderAdaptor (which may of been set by a different thread)", "docstring_tokens": ["Will", "save", "the", "PersistenceProviderAdaptor", "at", "the", "top", "level", "application", "deployment", "unit", "level", "for", "sharing", "with", "other", "persistence", "units"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jpa/subsystem/src/main/java/org/jboss/as/jpa/processor/PersistenceUnitServiceHandler.java#L864-L887", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jpa/subsystem/src/main/java/org/jboss/as/jpa/processor/PersistenceUnitServiceHandler.java", "func_name": "PersistenceUnitServiceHandler.lookupProvider", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Look up the persistence provider\n\n\n@param pu\n@param deploymentUnit\n@return", "docstring_tokens": ["Look", "up", "the", "persistence", "provider"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jpa/subsystem/src/main/java/org/jboss/as/jpa/processor/PersistenceUnitServiceHandler.java#L919-L1002", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jsf/injection/src/main/java/org/jboss/as/jsf/injection/JandexAnnotationProvider.java", "func_name": "JandexAnnotationProvider.getAnnotatedClasses", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "use a plain Set and it should work for both versions.", "docstring_tokens": ["use", "a", "plain", "Set", "and", "it", "should", "work", "for", "both", "versions", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jsf/injection/src/main/java/org/jboss/as/jsf/injection/JandexAnnotationProvider.java#L51-L54", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/metadata/AbstractMetaDataBuilderEJB.java", "func_name": "AbstractMetaDataBuilderEJB.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds universal EJB meta data model that is AS agnostic.\n\n@param dep\nwebservice deployment\n@return universal EJB meta data model", "docstring_tokens": ["Builds", "universal", "EJB", "meta", "data", "model", "that", "is", "AS", "agnostic", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/metadata/AbstractMetaDataBuilderEJB.java#L51-L61", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/metadata/AbstractMetaDataBuilderEJB.java", "func_name": "AbstractMetaDataBuilderEJB.buildEnterpriseBeanMetaData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds JBoss agnostic EJB meta data.\n\n@param wsEjbsMD\njboss agnostic EJBs meta data", "docstring_tokens": ["Builds", "JBoss", "agnostic", "EJB", "meta", "data", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/metadata/AbstractMetaDataBuilderEJB.java#L127-L153", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "transactions/src/main/java/org/jboss/as/txn/subsystem/LogStoreParticipantRecoveryHandler.java", "func_name": "LogStoreParticipantRecoveryHandler.refreshParticipant", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "refresh the attributes of this participant (the status attribute should have changed to PREPARED", "docstring_tokens": ["refresh", "the", "attributes", "of", "this", "participant", "(", "the", "status", "attribute", "should", "have", "changed", "to", "PREPARED"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/transactions/src/main/java/org/jboss/as/txn/subsystem/LogStoreParticipantRecoveryHandler.java#L37-L39", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/WorkCacheManager.java", "func_name": "WorkCacheManager.getAnalysis", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an analysis.\nIf the calling thread is currently doing an analysis of this\nclass, an unfinished analysis is returned.", "docstring_tokens": ["Returns", "an", "analysis", ".", "If", "the", "calling", "thread", "is", "currently", "doing", "an", "analysis", "of", "this", "class", "an", "unfinished", "analysis", "is", "returned", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/WorkCacheManager.java#L115-L158", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/WorkCacheManager.java", "func_name": "WorkCacheManager.lookupDone", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Lookup an analysis in the fully done map.", "docstring_tokens": ["Lookup", "an", "analysis", "in", "the", "fully", "done", "map", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/WorkCacheManager.java#L163-L171", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/WorkCacheManager.java", "func_name": "WorkCacheManager.createWorkInProgress", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create new work-in-progress.", "docstring_tokens": ["Create", "new", "work", "-", "in", "-", "progress", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/WorkCacheManager.java#L176-L191", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ContainerAnalysis.java", "func_name": "ContainerAnalysis.getIDLModuleName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the fully qualified IDL module name that this\nanalysis should be placed in.", "docstring_tokens": ["Return", "the", "fully", "qualified", "IDL", "module", "name", "that", "this", "analysis", "should", "be", "placed", "in", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ContainerAnalysis.java#L245-L261", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ContainerAnalysis.java", "func_name": "ContainerAnalysis.toHexString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert an integer to a 16-digit hex string.", "docstring_tokens": ["Convert", "an", "integer", "to", "a", "16", "-", "digit", "hex", "string", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ContainerAnalysis.java#L268-L275", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ContainerAnalysis.java", "func_name": "ContainerAnalysis.toHexString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert a long to a 16-digit hex string.", "docstring_tokens": ["Convert", "a", "long", "to", "a", "16", "-", "digit", "hex", "string", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ContainerAnalysis.java#L280-L287", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ContainerAnalysis.java", "func_name": "ContainerAnalysis.isAccessor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if a method is an accessor.", "docstring_tokens": ["Check", "if", "a", "method", "is", "an", "accessor", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ContainerAnalysis.java#L292-L306", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ContainerAnalysis.java", "func_name": "ContainerAnalysis.isMutator", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if a method is a mutator.", "docstring_tokens": ["Check", "if", "a", "method", "is", "a", "mutator", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ContainerAnalysis.java#L311-L321", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ContainerAnalysis.java", "func_name": "ContainerAnalysis.hasNonAppExceptions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if a method throws anything checked other than\njava.rmi.RemoteException and its subclasses.", "docstring_tokens": ["Check", "if", "a", "method", "throws", "anything", "checked", "other", "than", "java", ".", "rmi", ".", "RemoteException", "and", "its", "subclasses", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ContainerAnalysis.java#L327-L334", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ContainerAnalysis.java", "func_name": "ContainerAnalysis.attributeReadName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert an attribute read method name in Java format to\nan attribute name in Java format.", "docstring_tokens": ["Convert", "an", "attribute", "read", "method", "name", "in", "Java", "format", "to", "an", "attribute", "name", "in", "Java", "format", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ContainerAnalysis.java#L475-L484", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ContainerAnalysis.java", "func_name": "ContainerAnalysis.attributeWriteName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert an attribute write method name in Java format to\nan attribute name in Java format.", "docstring_tokens": ["Convert", "an", "attribute", "write", "method", "name", "in", "Java", "format", "to", "an", "attribute", "name", "in", "Java", "format", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ContainerAnalysis.java#L490-L497", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ContainerAnalysis.java", "func_name": "ContainerAnalysis.fixupOverloadedOperationNames", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Fixup overloaded operation names.\nAs specified in section 1.3.2.6.", "docstring_tokens": ["Fixup", "overloaded", "operation", "names", ".", "As", "specified", "in", "section", "1", ".", "3", ".", "2", ".", "6", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ContainerAnalysis.java#L581-L638", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ContainerAnalysis.java", "func_name": "ContainerAnalysis.fixupCaseNames", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Fixup names differing only in case.\nAs specified in section 1.3.2.7.", "docstring_tokens": ["Fixup", "names", "differing", "only", "in", "case", ".", "As", "specified", "in", "section", "1", ".", "3", ".", "2", ".", "7", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ContainerAnalysis.java#L644-L685", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ContainerAnalysis.java", "func_name": "ContainerAnalysis.escapeIRName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Escape non-ISO characters for an IR name.", "docstring_tokens": ["Escape", "non", "-", "ISO", "characters", "for", "an", "IR", "name", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ContainerAnalysis.java#L713-L725", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "xts/src/main/java/org/jboss/as/xts/XTSSubsystemParser.java", "func_name": "XTSSubsystemParser.parseXTSEnvironmentElement", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Handle the xts-environment element\n\n\n@param reader\n@param subsystem\n@return ModelNode for the core-environment\n@throws javax.xml.stream.XMLStreamException", "docstring_tokens": ["Handle", "the", "xts", "-", "environment", "element"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/xts/src/main/java/org/jboss/as/xts/XTSSubsystemParser.java#L168-L181", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "xts/src/main/java/org/jboss/as/xts/XTSSubsystemParser.java", "func_name": "XTSSubsystemParser.parseDefaultContextPropagationElement", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Handle the enable-client-handler element.\n\n@param reader\n@param subsystem\n@throws XMLStreamException", "docstring_tokens": ["Handle", "the", "enable", "-", "client", "-", "handler", "element", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/xts/src/main/java/org/jboss/as/xts/XTSSubsystemParser.java#L190-L207", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "xts/src/main/java/org/jboss/as/xts/XTSSubsystemParser.java", "func_name": "XTSSubsystemParser.processAttributes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Iterating over all attributes got from the reader parameter.\n\n@param reader reading the parameters from\n@param attributeProcessorCallback callback being processed for each attribute\n@throws XMLStreamException troubles parsing xml", "docstring_tokens": ["Iterating", "over", "all", "attributes", "got", "from", "the", "reader", "parameter", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/xts/src/main/java/org/jboss/as/xts/XTSSubsystemParser.java#L267-L275", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jpa/subsystem/src/main/java/org/jboss/as/jpa/persistenceprovider/PersistenceProviderLoader.java", "func_name": "PersistenceProviderLoader.loadProviderModuleByName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Loads the specified JPA persistence provider module\n\n@param moduleName is the static module to be loaded\n@throws ModuleLoadException\n@return list of persistence providers in specified module\n\nNote: side effect of saving loaded persistence providers to static api in javax.persistence.spi.PersistenceProvider.", "docstring_tokens": ["Loads", "the", "specified", "JPA", "persistence", "provider", "module"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jpa/subsystem/src/main/java/org/jboss/as/jpa/persistenceprovider/PersistenceProviderLoader.java#L63-L78", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/ha/ManagementHelper.java", "func_name": "ManagementHelper.createAddOperation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create an ADD operation that can check that there is no other sibling when the resource is added.\n\n@param childType the type of children to check for the existence of siblings\n@param allowSibling whether it is allowed to have sibling for the resource that is added.\n@param attributes the attributes of the ADD operation", "docstring_tokens": ["Create", "an", "ADD", "operation", "that", "can", "check", "that", "there", "is", "no", "other", "sibling", "when", "the", "resource", "is", "added", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/ha/ManagementHelper.java#L53-L63", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/deployment/processors/EjbDependencyDeploymentUnitProcessor.java", "func_name": "EjbDependencyDeploymentUnitProcessor.deploy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds Java EE module as a dependency to any deployment unit which is an EJB deployment\n\n@param phaseContext the deployment unit context\n@throws DeploymentUnitProcessingException", "docstring_tokens": ["Adds", "Java", "EE", "module", "as", "a", "dependency", "to", "any", "deployment", "unit", "which", "is", "an", "EJB", "deployment"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/deployment/processors/EjbDependencyDeploymentUnitProcessor.java#L71-L114", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "legacy/web/src/main/java/org/jboss/as/web/WebSubsystemParser.java", "func_name": "WebSubsystemParser.writeAttribute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "todo, attribute.marshallAsAttribute should return boolean", "docstring_tokens": ["todo", "attribute", ".", "marshallAsAttribute", "should", "return", "boolean"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/legacy/web/src/main/java/org/jboss/as/web/WebSubsystemParser.java#L1171-L1182", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/component/MethodIntfHelper.java", "func_name": "MethodIntfHelper.of", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "centralize this hack", "docstring_tokens": ["centralize", "this", "hack"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/component/MethodIntfHelper.java#L32-L45", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/component/stateful/StatefulSessionComponent.java", "func_name": "StatefulSessionComponent.createSessionRemote", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "creates a session using the global request controller.\n\nThis should only be used by callers that service remote requests (i.e. places that represent a remote entry point into the container)\n@return The session id", "docstring_tokens": ["creates", "a", "session", "using", "the", "global", "request", "controller", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/component/stateful/StatefulSessionComponent.java#L249-L270", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/jms/JMSServerControlHandler.java", "func_name": "JMSServerControlHandler.inferDestinationName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Infer the name of the JMS destination based on the queue's address.", "docstring_tokens": ["Infer", "the", "name", "of", "the", "JMS", "destination", "based", "on", "the", "queue", "s", "address", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/jms/JMSServerControlHandler.java#L274-L282", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/injection/WSEndpointHandlersMapping.java", "func_name": "WSEndpointHandlersMapping.registerEndpointHandlers", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers endpoint and its associated WS handlers.\n\n@param endpointClass WS endpoint\n@param endpointHandlers WS handlers associated with endpoint", "docstring_tokens": ["Registers", "endpoint", "and", "its", "associated", "WS", "handlers", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/injection/WSEndpointHandlersMapping.java#L45-L50", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "batch-jberet/src/main/java/org/wildfly/extension/batch/jberet/deployment/WildFlyJobXmlResolver.java", "func_name": "WildFlyJobXmlResolver.getJobXmlNames", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the job XML file names which contain the job name.\n\n@param jobName the job name to find the job XML files for\n\n@return the set of job XML files the job can be run from", "docstring_tokens": ["Returns", "the", "job", "XML", "file", "names", "which", "contain", "the", "job", "name", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/batch-jberet/src/main/java/org/wildfly/extension/batch/jberet/deployment/WildFlyJobXmlResolver.java#L194-L199", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "batch-jberet/src/main/java/org/wildfly/extension/batch/jberet/deployment/WildFlyJobXmlResolver.java", "func_name": "WildFlyJobXmlResolver.init", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Initializes the state of an instance", "docstring_tokens": ["Initializes", "the", "state", "of", "an", "instance"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/batch-jberet/src/main/java/org/wildfly/extension/batch/jberet/deployment/WildFlyJobXmlResolver.java#L267-L299", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "undertow/src/main/java/org/wildfly/extension/undertow/security/JbossAuthorizationManager.java", "func_name": "JbossAuthorizationManager.requestURI", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the canonical request URI from the request mapping data requestPath\n\n@param request\n@return the request URI path", "docstring_tokens": ["Get", "the", "canonical", "request", "URI", "from", "the", "request", "mapping", "data", "requestPath"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/undertow/src/main/java/org/wildfly/extension/undertow/security/JbossAuthorizationManager.java#L223-L229", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/CNCtx.java", "func_name": "CNCtx.createUsingURL", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method is used by the iiop and iiopname URL Context factories.", "docstring_tokens": ["This", "method", "is", "used", "by", "the", "iiop", "and", "iiopname", "URL", "Context", "factories", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/CNCtx.java#L108-L124", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/CNCtx.java", "func_name": "CNCtx.lookup", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts the \"String\" name into a CompositeName\nreturns the object resolved by the COS Naming api,\nresolve. Returns the current context if the name is empty.\nReturns either an org.omg.CORBA.Object or javax.naming.Context object.\n\n@param name string used to resolve the object.\n@return the resolved object\n@throws NamingException See callResolve.", "docstring_tokens": ["Converts", "the", "String", "name", "into", "a", "CompositeName", "returns", "the", "object", "resolved", "by", "the", "COS", "Naming", "api", "resolve", ".", "Returns", "the", "current", "context", "if", "the", "name", "is", "empty", ".", "Returns", "either", "an", "org", ".", "omg", ".", "CORBA", ".", "Object", "or", "javax", ".", "naming", ".", "Context", "object", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/CNCtx.java#L473-L475", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/CNCtx.java", "func_name": "CNCtx.bind", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts the \"String\" name into a CompositeName object and\nperforms the bind operation. Uses callBindOrRebind. Throws an\ninvalid name exception if the name is empty.\n\n@param name string\n@param obj Object to be bound.\n@throws NamingException See callBindOrRebind", "docstring_tokens": ["Converts", "the", "String", "name", "into", "a", "CompositeName", "object", "and", "performs", "the", "bind", "operation", ".", "Uses", "callBindOrRebind", ".", "Throws", "an", "invalid", "name", "exception", "if", "the", "name", "is", "empty", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/CNCtx.java#L620-L622", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/CNCtx.java", "func_name": "CNCtx.callUnbind", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calls the unbind api of COS Naming and uses the exception mapper\nclass to map the exceptions\n\n@param path NameComponent[] object\n@throws NotFound No objects under the name. If leaf\nis not found, that's OK according to the JNDI spec\n@throws org.omg.CosNaming.NamingContextPackage.CannotProceed Unable to obtain a continuation context\n@throws org.omg.CosNaming.NamingContextPackage.InvalidName Name not understood.", "docstring_tokens": ["Calls", "the", "unbind", "api", "of", "COS", "Naming", "and", "uses", "the", "exception", "mapper", "class", "to", "map", "the", "exceptions"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/CNCtx.java#L673-L690", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/CNCtx.java", "func_name": "CNCtx.listBindings", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a BindingEnumeration object which has a list of name\nclass pairs. Lists the current context if the name is empty.\n\n@param name JNDI Name\n@return a list of bindings as a BindingEnumeration.\n@throws NamingException all exceptions returned by lookup.", "docstring_tokens": ["Returns", "a", "BindingEnumeration", "object", "which", "has", "a", "list", "of", "name", "class", "pairs", ".", "Lists", "the", "current", "context", "if", "the", "name", "is", "empty", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/CNCtx.java#L823-L846", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/CNCtx.java", "func_name": "CNCtx.callDestroy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calls the destroy on the COS Naming Server\n\n@param nc The NamingContext object to use.\n@throws org.omg.CosNaming.NamingContextPackage.NotEmpty when the context is not empty and cannot be destroyed.", "docstring_tokens": ["Calls", "the", "destroy", "on", "the", "COS", "Naming", "Server"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/CNCtx.java#L854-L863", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/CNCtx.java", "func_name": "CNCtx.destroySubcontext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Uses the callDestroy function to destroy the context. Destroys\nthe current context if name is empty.\n\n@param name JNDI Name\n@throws javax.naming.OperationNotSupportedException when list is invoked\nwith a non-null argument", "docstring_tokens": ["Uses", "the", "callDestroy", "function", "to", "destroy", "the", "context", ".", "Destroys", "the", "current", "context", "if", "name", "is", "empty", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/CNCtx.java#L885-L920", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/CNCtx.java", "func_name": "CNCtx.callBindNewContext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calls the bind_new_context COS naming api to create a new subcontext.\n\n@param path NameComponent[] object\n@return the new context object.\n@throws NotFound No objects under the name.\n@throws org.omg.CosNaming.NamingContextPackage.CannotProceed Unable to obtain a continuation context\n@throws org.omg.CosNaming.NamingContextPackage.InvalidName Name not understood.\n@throws org.omg.CosNaming.NamingContextPackage.AlreadyBound An object is already bound to this name.", "docstring_tokens": ["Calls", "the", "bind_new_context", "COS", "naming", "api", "to", "create", "a", "new", "subcontext", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/CNCtx.java#L932-L942", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/CNCtx.java", "func_name": "CNCtx.createSubcontext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Uses the callBindNewContext convenience function to create a new\ncontext. Throws an invalid name exception if the name is empty.\n\n@param name string\n@return the new context object.\n@throws NamingException See callBindNewContext", "docstring_tokens": ["Uses", "the", "callBindNewContext", "convenience", "function", "to", "create", "a", "new", "context", ".", "Throws", "an", "invalid", "name", "exception", "if", "the", "name", "is", "empty", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/CNCtx.java#L952-L955", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/CNCtx.java", "func_name": "CNCtx.lookupLink", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Is mapped to resolve in the COS Naming api.\n\n@param name string\n@return the resolved object.\n@throws NamingException See lookup.", "docstring_tokens": ["Is", "mapped", "to", "resolve", "in", "the", "COS", "Naming", "api", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/CNCtx.java#L985-L987", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/CNCtx.java", "func_name": "CNCtx.addToEnvironment", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds to the environment for the current context.\nRecord change but do not reinitialize ORB.\n\n@param propName The property name.\n@param propValue The ORB.\n@return the previous value of this property if any.", "docstring_tokens": ["Adds", "to", "the", "environment", "for", "the", "current", "context", ".", "Record", "change", "but", "do", "not", "reinitialize", "ORB", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/CNCtx.java#L1055-L1066", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/CNCtx.java", "func_name": "CNCtx.removeFromEnvironment", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Record change but do not reinitialize ORB", "docstring_tokens": ["Record", "change", "but", "do", "not", "reinitialize", "ORB"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/CNCtx.java#L1069-L1077", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "clustering/jgroups/extension/src/main/java/org/jboss/as/clustering/jgroups/subsystem/AbstractProtocolResourceDefinition.java", "func_name": "AbstractProtocolResourceDefinition.addTransformations", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds transformations common to both stack protocols and transport.", "docstring_tokens": ["Builds", "transformations", "common", "to", "both", "stack", "protocols", "and", "transport", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/clustering/jgroups/extension/src/main/java/org/jboss/as/clustering/jgroups/subsystem/AbstractProtocolResourceDefinition.java#L127-L162", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "connector/src/main/java/org/jboss/as/connector/deployers/ds/DsXmlParser.java", "func_name": "DsXmlParser.parseCredential", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "parse credential tag\n\n@param reader reader\n@return the parse Object\n@throws XMLStreamException in case of error\n@throws ParserException in case of error\n@throws ValidateException in case of error", "docstring_tokens": ["parse", "credential", "tag"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/connector/src/main/java/org/jboss/as/connector/deployers/ds/DsXmlParser.java#L163-L224", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "security/subsystem/src/main/java/org/jboss/as/security/plugins/JNDIBasedSecurityManagement.java", "func_name": "JNDIBasedSecurityManagement.removeSecurityDomain", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes one security domain from the maps\n\n@param securityDomain name of the security domain", "docstring_tokens": ["Removes", "one", "security", "domain", "from", "the", "maps"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/security/subsystem/src/main/java/org/jboss/as/security/plugins/JNDIBasedSecurityManagement.java#L233-L241", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "security/subsystem/src/main/java/org/jboss/as/security/plugins/JNDIBasedSecurityManagement.java", "func_name": "JNDIBasedSecurityManagement.lookUpJNDI", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Lookup a context in JNDI\n\n@param contextName the context\n@return the Object found at the context or null if there is nothing bound", "docstring_tokens": ["Lookup", "a", "context", "in", "JNDI"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/security/subsystem/src/main/java/org/jboss/as/security/plugins/JNDIBasedSecurityManagement.java#L249-L262", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "naming/src/main/java/org/jboss/as/naming/context/ModularReference.java", "func_name": "ModularReference.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a ModuleReference from a target type and factory class.\n\n@param type The class type for the reference\n@param factoryClass The factory class\n@return A ModularReference", "docstring_tokens": ["Create", "a", "ModuleReference", "from", "a", "target", "type", "and", "factory", "class", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/naming/src/main/java/org/jboss/as/naming/context/ModularReference.java#L47-L49", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "naming/src/main/java/org/jboss/as/naming/context/ModularReference.java", "func_name": "ModularReference.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a ModuleReference from a target class name and factory class.\n\n@param className The class name for the reference\n@param factoryClass The factory class\n@return A ModularReference", "docstring_tokens": ["Create", "a", "ModuleReference", "from", "a", "target", "class", "name", "and", "factory", "class", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/naming/src/main/java/org/jboss/as/naming/context/ModularReference.java#L58-L60", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "naming/src/main/java/org/jboss/as/naming/context/ModularReference.java", "func_name": "ModularReference.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a ModuleReference from a target type, reference address and factory class.\n\n@param type The class type for the reference\n@param addr The address of the object\n@param factoryClass The factory class\n@return A ModularReference", "docstring_tokens": ["Create", "a", "ModuleReference", "from", "a", "target", "type", "reference", "address", "and", "factory", "class", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/naming/src/main/java/org/jboss/as/naming/context/ModularReference.java#L71-L73", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ir/IDLTypeImpl.java", "func_name": "IDLTypeImpl.getIDLType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the LocalIDLType for the given TypeCode.", "docstring_tokens": ["Return", "the", "LocalIDLType", "for", "the", "given", "TypeCode", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ir/IDLTypeImpl.java#L67-L88", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "security/subsystem/src/main/java/org/jboss/as/security/SecurityDomainResourceDefinition.java", "func_name": "SecurityDomainResourceDefinition.waitForService", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Wait for the required service to start up and fail otherwise. This method is necessary when a runtime operation\nuses a service that might have been created within a composite operation.\n\nThis method will wait at most 100 millis.\n\n@param controller the service to wait for\n@throws OperationFailedException if the service is not available, or the thread was interrupted.", "docstring_tokens": ["Wait", "for", "the", "required", "service", "to", "start", "up", "and", "fail", "otherwise", ".", "This", "method", "is", "necessary", "when", "a", "runtime", "operation", "uses", "a", "service", "that", "might", "have", "been", "created", "within", "a", "composite", "operation", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/security/subsystem/src/main/java/org/jboss/as/security/SecurityDomainResourceDefinition.java#L228-L245", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "security/subsystem/src/main/java/org/jboss/as/security/vault/VaultSession.java", "func_name": "VaultSession.computeMaskedPassword", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Method to compute masked password based on class attributes.\n\n@return masked password prefixed with {link @PicketBoxSecurityVault.PASS_MASK_PREFIX}.\n@throws Exception", "docstring_tokens": ["Method", "to", "compute", "masked", "password", "based", "on", "class", "attributes", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/security/subsystem/src/main/java/org/jboss/as/security/vault/VaultSession.java#L168-L181", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "security/subsystem/src/main/java/org/jboss/as/security/vault/VaultSession.java", "func_name": "VaultSession.initSecurityVault", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Initialize the underlying vault.\n\n@throws Exception", "docstring_tokens": ["Initialize", "the", "underlying", "vault", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/security/subsystem/src/main/java/org/jboss/as/security/vault/VaultSession.java#L188-L196", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "security/subsystem/src/main/java/org/jboss/as/security/vault/VaultSession.java", "func_name": "VaultSession.startVaultSession", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Start the vault with given alias.\n\n@param vaultAlias\n@throws Exception", "docstring_tokens": ["Start", "the", "vault", "with", "given", "alias", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/security/subsystem/src/main/java/org/jboss/as/security/vault/VaultSession.java#L204-L213", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "security/subsystem/src/main/java/org/jboss/as/security/vault/VaultSession.java", "func_name": "VaultSession.attributeCreatedDisplay", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Display info about stored secured attribute.\n\n@param vaultBlock\n@param attributeName", "docstring_tokens": ["Display", "info", "about", "stored", "secured", "attribute", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/security/subsystem/src/main/java/org/jboss/as/security/vault/VaultSession.java#L310-L312", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "security/subsystem/src/main/java/org/jboss/as/security/vault/VaultSession.java", "func_name": "VaultSession.vaultConfigurationDisplay", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Display info about vault itself in form of AS7 configuration file.", "docstring_tokens": ["Display", "info", "about", "vault", "itself", "in", "form", "of", "AS7", "configuration", "file", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/security/subsystem/src/main/java/org/jboss/as/security/vault/VaultSession.java#L328-L338", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "security/subsystem/src/main/java/org/jboss/as/security/vault/VaultSession.java", "func_name": "VaultSession.vaultConfiguration", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns vault configuration string in user readable form.\n@return", "docstring_tokens": ["Returns", "vault", "configuration", "string", "in", "user", "readable", "form", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/security/subsystem/src/main/java/org/jboss/as/security/vault/VaultSession.java#L344-L355", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "connector/src/main/java/org/jboss/as/connector/util/ConnectorServices.java", "func_name": "ConnectorServices.notNull", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "convenient method to check notNull of value\n\n@param type of the value\n@param value the value\n@return the value or throw an {@link IllegalStateException} if value is null (a.k.a. service not started)", "docstring_tokens": ["convenient", "method", "to", "check", "notNull", "of", "value"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/connector/src/main/java/org/jboss/as/connector/util/ConnectorServices.java#L134-L138", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "connector/src/main/java/org/jboss/as/connector/util/ConnectorServices.java", "func_name": "ConnectorServices.getDeploymentServiceName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "resource-adapter DMR resource", "docstring_tokens": ["resource", "-", "adapter", "DMR", "resource"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/connector/src/main/java/org/jboss/as/connector/util/ConnectorServices.java#L142-L155", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ConstantAnalysis.java", "func_name": "ConstantAnalysis.insertValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Insert the constant value into the argument Any.", "docstring_tokens": ["Insert", "the", "constant", "value", "into", "the", "argument", "Any", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ConstantAnalysis.java#L77-L82", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "naming/src/main/java/org/wildfly/naming/java/permission/JndiPermission.java", "func_name": "JndiPermission.implies", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determine if this permission implies the other permission.\n\n@param permission the other permission\n@return {@code true} if this permission implies the other, {@code false} if it does not or {@code permission} is {@code null}", "docstring_tokens": ["Determine", "if", "this", "permission", "implies", "the", "other", "permission", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/naming/src/main/java/org/wildfly/naming/java/permission/JndiPermission.java#L126-L128", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "naming/src/main/java/org/wildfly/naming/java/permission/JndiPermission.java", "func_name": "JndiPermission.getActions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the actions string. The actions string will be a canonical version of the one passed in at construction.\n\n@return the actions string (not {@code null})", "docstring_tokens": ["Get", "the", "actions", "string", ".", "The", "actions", "string", "will", "be", "a", "canonical", "version", "of", "the", "one", "passed", "in", "at", "construction", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/naming/src/main/java/org/wildfly/naming/java/permission/JndiPermission.java#L188-L211", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "system-jmx/src/main/java/org/jboss/system/ServiceMBeanSupport.java", "func_name": "ServiceMBeanSupport.getName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Use the short class name as the default for the service name.\n\n@return a description of the mbean", "docstring_tokens": ["Use", "the", "short", "class", "name", "as", "the", "default", "for", "the", "service", "name", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/system-jmx/src/main/java/org/jboss/system/ServiceMBeanSupport.java#L127-L131", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "system-jmx/src/main/java/org/jboss/system/ServiceMBeanSupport.java", "func_name": "ServiceMBeanSupport.sendStateChangeNotification", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Helper for sending out state change notifications", "docstring_tokens": ["Helper", "for", "sending", "out", "state", "change", "notifications"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/system-jmx/src/main/java/org/jboss/system/ServiceMBeanSupport.java#L477-L484", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/RemoteToCorba.java", "func_name": "RemoteToCorba.getStateToBind", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the CORBA object for a Remote object.\nIf input is not a Remote object, or if Remote object uses JRMP, return null.\nIf the RMI-IIOP library is not available, throw ConfigurationException.\n\n@param orig The object to turn into a CORBA object. If not Remote,\nor if is a JRMP stub or impl, return null.\n@param name Ignored\n@param ctx The non-null CNCtx whose ORB to use.\n@param env Ignored\n@return The CORBA object for orig or null.\n@throws javax.naming.ConfigurationException If the CORBA object cannot be obtained\ndue to configuration problems, for instance, if RMI-IIOP not available.\n@throws NamingException If some other problem prevented a CORBA\nobject from being obtained from the Remote object.", "docstring_tokens": ["Returns", "the", "CORBA", "object", "for", "a", "Remote", "object", ".", "If", "input", "is", "not", "a", "Remote", "object", "or", "if", "Remote", "object", "uses", "JRMP", "return", "null", ".", "If", "the", "RMI", "-", "IIOP", "library", "is", "not", "available", "throw", "ConfigurationException", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/RemoteToCorba.java#L65-L86", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "pojo/src/main/java/org/jboss/as/pojo/descriptor/ValueConfig.java", "func_name": "ValueConfig.getValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get value.\n\n@param type the type\n@return value", "docstring_tokens": ["Get", "value", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/pojo/src/main/java/org/jboss/as/pojo/descriptor/ValueConfig.java#L48-L57", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ee/src/main/java/org/jboss/as/ee/component/ComponentDescription.java", "func_name": "ComponentDescription.getContextServiceName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the context service name.\n\n@return the context service name", "docstring_tokens": ["Get", "the", "context", "service", "name", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ee/src/main/java/org/jboss/as/ee/component/ComponentDescription.java#L158-L167", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ee/src/main/java/org/jboss/as/ee/component/ComponentDescription.java", "func_name": "ComponentDescription.getAllInterceptors", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a combined map of class and method level interceptors\n\n@return all interceptors on the class", "docstring_tokens": ["Returns", "a", "combined", "map", "of", "class", "and", "method", "level", "interceptors"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ee/src/main/java/org/jboss/as/ee/component/ComponentDescription.java#L259-L271", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ee/src/main/java/org/jboss/as/ee/component/ComponentDescription.java", "func_name": "ComponentDescription.addMethodInterceptor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a method interceptor class name.\n\n@param method the method\n@param description the interceptor descriptor", "docstring_tokens": ["Add", "a", "method", "interceptor", "class", "name", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ee/src/main/java/org/jboss/as/ee/component/ComponentDescription.java#L362-L373", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ee/src/main/java/org/jboss/as/ee/component/ComponentDescription.java", "func_name": "ComponentDescription.addDependency", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a dependency to this component. If the same dependency is added multiple times, only the first will\ntake effect.\n\n@param serviceName the service name of the dependency", "docstring_tokens": ["Add", "a", "dependency", "to", "this", "component", ".", "If", "the", "same", "dependency", "is", "added", "multiple", "times", "only", "the", "first", "will", "take", "effect", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ee/src/main/java/org/jboss/as/ee/component/ComponentDescription.java#L433-L438", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ee/src/main/java/org/jboss/as/ee/component/ComponentConfiguration.java", "func_name": "ComponentConfiguration.getComponentInterceptors", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the interceptor list for a given method. This should not be called until\nall interceptors have been added.\n\n@param method the component method\n@return the deque", "docstring_tokens": ["Gets", "the", "interceptor", "list", "for", "a", "given", "method", ".", "This", "should", "not", "be", "called", "until", "all", "interceptors", "have", "been", "added", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ee/src/main/java/org/jboss/as/ee/component/ComponentConfiguration.java#L148-L160", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ee/src/main/java/org/jboss/as/ee/component/ComponentConfiguration.java", "func_name": "ComponentConfiguration.getAroundTimeoutInterceptors", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the around timeout interceptor list for a given method. This should not be called until\nall interceptors have been added.\n\n@param method the component method\n@return the deque", "docstring_tokens": ["Gets", "the", "around", "timeout", "interceptor", "list", "for", "a", "given", "method", ".", "This", "should", "not", "be", "called", "until", "all", "interceptors", "have", "been", "added", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ee/src/main/java/org/jboss/as/ee/component/ComponentConfiguration.java#L169-L176", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ee/src/main/java/org/jboss/as/ee/component/ComponentConfiguration.java", "func_name": "ComponentConfiguration.addTimeoutViewInterceptor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a timeout interceptor factory to every method on the component.\n\n@param method The method to add it to\n@param factory The interceptor factory to add\n@param priority The interceptors relative order", "docstring_tokens": ["Adds", "a", "timeout", "interceptor", "factory", "to", "every", "method", "on", "the", "component", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ee/src/main/java/org/jboss/as/ee/component/ComponentConfiguration.java#L260-L266", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ee/src/main/java/org/jboss/as/ee/component/ComponentConfiguration.java", "func_name": "ComponentConfiguration.addAroundConstructInterceptor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds an around-construct interceptor\n\n@param interceptorFactory The interceptor to add\n@param priority The priority", "docstring_tokens": ["Adds", "an", "around", "-", "construct", "interceptor"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ee/src/main/java/org/jboss/as/ee/component/ComponentConfiguration.java#L327-L329", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ee/src/main/java/org/jboss/as/ee/component/ComponentConfiguration.java", "func_name": "ComponentConfiguration.addPostConstructInterceptor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a post construct interceptor\n\n@param interceptorFactory The interceptor to add\n@param priority The priority", "docstring_tokens": ["Adds", "a", "post", "construct", "interceptor"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ee/src/main/java/org/jboss/as/ee/component/ComponentConfiguration.java#L363-L365", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ee/src/main/java/org/jboss/as/ee/component/ComponentConfiguration.java", "func_name": "ComponentConfiguration.addPreDestroyInterceptor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a pre destroy interceptor\n\n@param interceptorFactory The interceptor factory to add\n@param priority The factories priority", "docstring_tokens": ["Adds", "a", "pre", "destroy", "interceptor"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ee/src/main/java/org/jboss/as/ee/component/ComponentConfiguration.java#L397-L399", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ee/src/main/java/org/jboss/as/ee/component/ComponentConfiguration.java", "func_name": "ComponentConfiguration.addPrePassivateInterceptor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a pre passivate interceptor\n\n@param interceptorFactory The interceptor to add\n@param priority The priority", "docstring_tokens": ["Adds", "a", "pre", "passivate", "interceptor"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ee/src/main/java/org/jboss/as/ee/component/ComponentConfiguration.java#L433-L435", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ee/src/main/java/org/jboss/as/ee/component/ComponentConfiguration.java", "func_name": "ComponentConfiguration.addPostActivateInterceptor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a post activate interceptor\n\n@param interceptorFactory The interceptor to add\n@param priority The priority", "docstring_tokens": ["Adds", "a", "post", "activate", "interceptor"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ee/src/main/java/org/jboss/as/ee/component/ComponentConfiguration.java#L469-L471", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ee/src/main/java/org/jboss/as/ee/component/ComponentConfiguration.java", "func_name": "ComponentConfiguration.setComponentCreateServiceFactory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the component create service factory for this component.\n\n@param componentCreateServiceFactory the component create service factory", "docstring_tokens": ["Set", "the", "component", "create", "service", "factory", "for", "this", "component", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ee/src/main/java/org/jboss/as/ee/component/ComponentConfiguration.java#L526-L531", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/jms/PooledConnectionFactoryRemove.java", "func_name": "PooledConnectionFactoryRemove.removeJNDIAliases", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove JNDI alias' binder services.\n\nThe 1st JNDI entry is not removed by this method as it is already handled when removing\nthe pooled-connection-factory service", "docstring_tokens": ["Remove", "JNDI", "alias", "binder", "services", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/jms/PooledConnectionFactoryRemove.java#L63-L70", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/subsystem/EJBClientConfiguratorService.java", "func_name": "EJBClientConfiguratorService.accept", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Perform the configuration of the transport provider.\n\n@param builder the EJB client context builder (not {@code null})", "docstring_tokens": ["Perform", "the", "configuration", "of", "the", "transport", "provider", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/subsystem/EJBClientConfiguratorService.java#L72-L78", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "naming/src/main/java/org/jboss/as/naming/deployment/ContextNames.java", "func_name": "ContextNames.contextServiceNameOfComponent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the base service name of a component's JNDI namespace.\n\n@param app the application name (must not be {@code null})\n@param module the module name (must not be {@code null})\n@param comp the component name (must not be {@code null})\n@return the base service name", "docstring_tokens": ["Get", "the", "base", "service", "name", "of", "a", "component", "s", "JNDI", "namespace", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/naming/src/main/java/org/jboss/as/naming/deployment/ContextNames.java#L96-L98", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "naming/src/main/java/org/jboss/as/naming/deployment/ContextNames.java", "func_name": "ContextNames.contextServiceNameOfModule", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the base service name of a module's JNDI namespace.\n\n@param app the application name (must not be {@code null})\n@param module the module name (must not be {@code null})\n@return the base service name", "docstring_tokens": ["Get", "the", "base", "service", "name", "of", "a", "module", "s", "JNDI", "namespace", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/naming/src/main/java/org/jboss/as/naming/deployment/ContextNames.java#L107-L109", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "naming/src/main/java/org/jboss/as/naming/deployment/ContextNames.java", "func_name": "ContextNames.bindInfoForEnvEntry", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the service name of an environment entry\n\n@param app the application name\n@param module the module name\n@param comp the component name\n@param useCompNamespace If the component has its own comp namespace\n@param envEntryName The env entry name\n@return the service name or {@code null} if there is no service", "docstring_tokens": ["Get", "the", "service", "name", "of", "an", "environment", "entry"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/naming/src/main/java/org/jboss/as/naming/deployment/ContextNames.java#L184-L202", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "naming/src/main/java/org/jboss/as/naming/deployment/ContextNames.java", "func_name": "ContextNames.bindInfoFor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the service name of a NamingStore\n\n@param jndiName the jndi name\n@return the bind info for the jndi name", "docstring_tokens": ["Get", "the", "service", "name", "of", "a", "NamingStore"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/naming/src/main/java/org/jboss/as/naming/deployment/ContextNames.java#L348-L375", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "security/subsystem/src/main/java/org/jboss/as/security/plugins/DefaultAuthenticationCacheFactory.java", "func_name": "DefaultAuthenticationCacheFactory.getCache", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a default cache implementation\n\n@return cache implementation", "docstring_tokens": ["Returns", "a", "default", "cache", "implementation"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/security/subsystem/src/main/java/org/jboss/as/security/plugins/DefaultAuthenticationCacheFactory.java#L43-L49", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ir/ValueDefImpl.java", "func_name": "ValueDefImpl.getValueMembers", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create the valueMembers array, and return it.", "docstring_tokens": ["Create", "the", "valueMembers", "array", "and", "return", "it", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ir/ValueDefImpl.java#L504-L521", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ir/ValueDefImpl.java", "func_name": "ValueDefImpl.getValueMembersForTypeCode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a valueMembers array for TypeCode creation only, and return it.", "docstring_tokens": ["Create", "a", "valueMembers", "array", "for", "TypeCode", "creation", "only", "and", "return", "it", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ir/ValueDefImpl.java#L526-L542", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "picketlink/src/main/java/org/wildfly/extension/picketlink/federation/model/parser/AbstractFederationSubsystemReader.java", "func_name": "AbstractFederationSubsystemReader.createSubsystemRoot", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates the root subsystem's root address.\n\n@return", "docstring_tokens": ["Creates", "the", "root", "subsystem", "s", "root", "address", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/picketlink/src/main/java/org/wildfly/extension/picketlink/federation/model/parser/AbstractFederationSubsystemReader.java#L245-L253", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "picketlink/src/main/java/org/wildfly/extension/picketlink/federation/model/parser/AbstractFederationSubsystemReader.java", "func_name": "AbstractFederationSubsystemReader.parseConfig", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads a element from the stream considering the parameters.\n\n@param reader XMLExtendedStreamReader instance from which the elements are read.\n@param xmlElement Name of the Model Element to be parsed.\n@param key Name of the attribute to be used to as the key for the model.\n@param addOperations List of operations.\n@param lastNode Parent ModelNode instance.\n@param attributes AttributeDefinition instances to be used to extract the attributes and populate the resulting model.\n\n@return A ModelNode instance populated.\n\n@throws javax.xml.stream.XMLStreamException", "docstring_tokens": ["Reads", "a", "element", "from", "the", "stream", "considering", "the", "parameters", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/picketlink/src/main/java/org/wildfly/extension/picketlink/federation/model/parser/AbstractFederationSubsystemReader.java#L269-L313", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "naming/src/main/java/org/jboss/as/naming/service/NamingService.java", "func_name": "NamingService.start", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new NamingServer and sets the naming context to use the naming server.\n\n@param context The start context\n@throws StartException If any errors occur setting up the naming server", "docstring_tokens": ["Creates", "a", "new", "NamingServer", "and", "sets", "the", "naming", "context", "to", "use", "the", "naming", "server", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/naming/src/main/java/org/jboss/as/naming/service/NamingService.java#L74-L81", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "weld/subsystem/src/main/java/org/jboss/as/weld/deployment/processors/WeldComponentIntegrationProcessor.java", "func_name": "WeldComponentIntegrationProcessor.addWeldIntegration", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "As the weld based instantiator needs access to the bean manager it is installed as a service.", "docstring_tokens": ["As", "the", "weld", "based", "instantiator", "needs", "access", "to", "the", "bean", "manager", "it", "is", "installed", "as", "a", "service", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/weld/subsystem/src/main/java/org/jboss/as/weld/deployment/processors/WeldComponentIntegrationProcessor.java#L180-L219", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "batch-jberet/src/main/java/org/wildfly/extension/batch/jberet/BatchServiceNames.java", "func_name": "BatchServiceNames.jobOperatorServiceName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates the service name used for the job operator registered for the deployment.\n\n@param deploymentRuntimeName the runtime name for the deployment\n@param subdeploymentName the name of the subdeployment\n\n@return the service name", "docstring_tokens": ["Creates", "the", "service", "name", "used", "for", "the", "job", "operator", "registered", "for", "the", "deployment", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/batch-jberet/src/main/java/org/wildfly/extension/batch/jberet/BatchServiceNames.java#L83-L85", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ee/src/main/java/org/jboss/as/ee/component/EEApplicationDescription.java", "func_name": "EEApplicationDescription.addComponent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a component to this application.\n\n@param description the component description\n@param deploymentRoot", "docstring_tokens": ["Add", "a", "component", "to", "this", "application", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ee/src/main/java/org/jboss/as/ee/component/EEApplicationDescription.java#L52-L66", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ee/src/main/java/org/jboss/as/ee/component/EEApplicationDescription.java", "func_name": "EEApplicationDescription.addMessageDestination", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a message destination to the application\n\n@param name The message destination name\n@param resolvedName The resolved JNDI name\n@param deploymentRoot The deployment root", "docstring_tokens": ["Add", "a", "message", "destination", "to", "the", "application"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ee/src/main/java/org/jboss/as/ee/component/EEApplicationDescription.java#L75-L81", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ee/src/main/java/org/jboss/as/ee/component/EEApplicationDescription.java", "func_name": "EEApplicationDescription.getComponentsForViewName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get all views that have the given type in the application\n\n@param viewType The view type\n@return All views of the given type", "docstring_tokens": ["Get", "all", "views", "that", "have", "the", "given", "type", "in", "the", "application"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ee/src/main/java/org/jboss/as/ee/component/EEApplicationDescription.java#L89-L107", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ee/src/main/java/org/jboss/as/ee/component/EEApplicationDescription.java", "func_name": "EEApplicationDescription.getComponents", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get all components in the application that have the given name\n\n@param componentName The name of the component\n@param deploymentRoot The deployment root of the component doing the lookup\n@return A set of all views for the given component name and type", "docstring_tokens": ["Get", "all", "components", "in", "the", "application", "that", "have", "the", "given", "name"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ee/src/main/java/org/jboss/as/ee/component/EEApplicationDescription.java#L116-L156", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ee/src/main/java/org/jboss/as/ee/component/EEApplicationDescription.java", "func_name": "EEApplicationDescription.getComponents", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get all views in the application that have the given name and view type\n\n@param componentName The name of the component\n@param viewName The view type\n@param deploymentRoot The deployment root of the component doing the lookup\n@return A set of all views for the given component name and type", "docstring_tokens": ["Get", "all", "views", "in", "the", "application", "that", "have", "the", "given", "name", "and", "view", "type"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ee/src/main/java/org/jboss/as/ee/component/EEApplicationDescription.java#L166-L205", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ee/src/main/java/org/jboss/as/ee/component/EEApplicationDescription.java", "func_name": "EEApplicationDescription.resolveMessageDestination", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves a message destination name into a JNDI name", "docstring_tokens": ["Resolves", "a", "message", "destination", "name", "into", "a", "JNDI", "name"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ee/src/main/java/org/jboss/as/ee/component/EEApplicationDescription.java#L210-L248", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "legacy/messaging/src/main/java/org/jboss/as/messaging/MessagingTransformers.java", "func_name": "MessagingTransformers.buildTransformers2_1_0", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Transformation for WildFly 8.1.0.Final", "docstring_tokens": ["Transformation", "for", "WildFly", "8", ".", "1", ".", "0", ".", "Final"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/legacy/messaging/src/main/java/org/jboss/as/messaging/MessagingTransformers.java#L88-L105", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "legacy/messaging/src/main/java/org/jboss/as/messaging/MessagingTransformers.java", "func_name": "MessagingTransformers.rejectDefinedAttributeWithDefaultValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reject the attributes if they are defined or discard them if they are undefined or set to their default value.", "docstring_tokens": ["Reject", "the", "attributes", "if", "they", "are", "defined", "or", "discard", "them", "if", "they", "are", "undefined", "or", "set", "to", "their", "default", "value", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/legacy/messaging/src/main/java/org/jboss/as/messaging/MessagingTransformers.java#L152-L158", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "legacy/messaging/src/main/java/org/jboss/as/messaging/MessagingTransformers.java", "func_name": "MessagingTransformers.renameAttribute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Rename an attribute", "docstring_tokens": ["Rename", "an", "attribute"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/legacy/messaging/src/main/java/org/jboss/as/messaging/MessagingTransformers.java#L163-L166", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "security/api/src/main/java/org/jboss/as/security/api/ConnectionSecurityContext.java", "func_name": "ConnectionSecurityContext.popIdentity", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Pop the identity previously associated and restore internal state to it's previous value.\n\n@param stateCache - The cache containing the state as it was when pushIdentity was called.", "docstring_tokens": ["Pop", "the", "identity", "previously", "associated", "and", "restore", "internal", "state", "to", "it", "s", "previous", "value", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/security/api/src/main/java/org/jboss/as/security/api/ConnectionSecurityContext.java#L119-L122", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jsf/subsystem/src/main/java/org/jboss/as/jsf/deployment/JSFModuleIdFactory.java", "func_name": "JSFModuleIdFactory.loadIdsManually", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "just provide the default implementations", "docstring_tokens": ["just", "provide", "the", "default", "implementations"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jsf/subsystem/src/main/java/org/jboss/as/jsf/deployment/JSFModuleIdFactory.java#L94-L102", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jsf/subsystem/src/main/java/org/jboss/as/jsf/deployment/JSFModuleIdFactory.java", "func_name": "JSFModuleIdFactory.checkVersionIntegrity", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "make sure that each version has api, impl, and injection", "docstring_tokens": ["make", "sure", "that", "each", "version", "has", "api", "impl", "and", "injection"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jsf/subsystem/src/main/java/org/jboss/as/jsf/deployment/JSFModuleIdFactory.java#L136-L155", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jsf/subsystem/src/main/java/org/jboss/as/jsf/deployment/JSFModuleIdFactory.java", "func_name": "JSFModuleIdFactory.computeSlot", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If needed, convert old JSFVersionMarker values to slot values.\n\n@param jsfVersion The version value from JSFVersionMarker, or null for default slot.\n@return The equivalent slot value.", "docstring_tokens": ["If", "needed", "convert", "old", "JSFVersionMarker", "values", "to", "slot", "values", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jsf/subsystem/src/main/java/org/jboss/as/jsf/deployment/JSFModuleIdFactory.java#L163-L167", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ir/InterfaceRepository.java", "func_name": "InterfaceRepository.getConstantTypeCode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the TypeCode suitable for an IDL constant.\n\n@param cls The Java class denoting the type of the constant.", "docstring_tokens": ["Returns", "the", "TypeCode", "suitable", "for", "an", "IDL", "constant", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ir/InterfaceRepository.java#L216-L226", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ir/InterfaceRepository.java", "func_name": "InterfaceRepository.addTypeCode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a new IDL TypeCode for a mapped class.\n\n@param cls The Java class denoting the java type.\n@param typeCode The IDL type code of the mapped java class.", "docstring_tokens": ["Add", "a", "new", "IDL", "TypeCode", "for", "a", "mapped", "class", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ir/InterfaceRepository.java#L283-L294", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ir/InterfaceRepository.java", "func_name": "InterfaceRepository.ensurePackageExists", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Ensure that a package exists in the IR.\nThis will create modules in the IR as needed.\n\n@param c The container that the remainder of modules should be defined in.\n@param previous The IDL module name, from root to c.\n@param remainder The java package name, relative to c.\n@return A reference to the IR module that represents the package.", "docstring_tokens": ["Ensure", "that", "a", "package", "exists", "in", "the", "IR", ".", "This", "will", "create", "modules", "in", "the", "IR", "as", "needed", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ir/InterfaceRepository.java#L453-L503", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ir/InterfaceRepository.java", "func_name": "InterfaceRepository.addInterfaces", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a set of interfaces to the IR.\n\n@return An array of the IR IDs of the interfaces.", "docstring_tokens": ["Add", "a", "set", "of", "interfaces", "to", "the", "IR", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ir/InterfaceRepository.java#L591-L601", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ir/InterfaceRepository.java", "func_name": "InterfaceRepository.addAbstractBaseValuetypes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a set of abstract valuetypes to the IR.\n\n@return An array of the IR IDs of the abstract valuetypes.", "docstring_tokens": ["Add", "a", "set", "of", "abstract", "valuetypes", "to", "the", "IR", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ir/InterfaceRepository.java#L608-L618", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ir/InterfaceRepository.java", "func_name": "InterfaceRepository.addClass", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Map the class and add its IIOP mapping to the repository.", "docstring_tokens": ["Map", "the", "class", "and", "add", "its", "IIOP", "mapping", "to", "the", "repository", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ir/InterfaceRepository.java#L623-L658", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ir/InterfaceRepository.java", "func_name": "InterfaceRepository.addInterface", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add an interface.", "docstring_tokens": ["Add", "an", "interface", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ir/InterfaceRepository.java#L785-L823", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ir/InterfaceRepository.java", "func_name": "InterfaceRepository.addValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a value type.", "docstring_tokens": ["Add", "a", "value", "type", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ir/InterfaceRepository.java#L828-L902", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ir/InterfaceRepository.java", "func_name": "InterfaceRepository.addException", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add an exception type.", "docstring_tokens": ["Add", "an", "exception", "type", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/ir/InterfaceRepository.java#L907-L940", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jpa/subsystem/src/main/java/org/jboss/as/jpa/processor/JPAAnnotationProcessor.java", "func_name": "JPAAnnotationProcessor.getClassLevelInjectionType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Based on the the annotation type, its either entitymanager or entitymanagerfactory\n\n@param annotation\n@return", "docstring_tokens": ["Based", "on", "the", "the", "annotation", "type", "its", "either", "entitymanager", "or", "entitymanagerfactory"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jpa/subsystem/src/main/java/org/jboss/as/jpa/processor/JPAAnnotationProcessor.java#L358-L361", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "weld/subsystem/src/main/java/org/jboss/as/weld/WeldSubsystemAdd.java", "func_name": "WeldSubsystemAdd.checkJtsEnabled", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "not necessary.", "docstring_tokens": ["not", "necessary", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/weld/subsystem/src/main/java/org/jboss/as/weld/WeldSubsystemAdd.java#L139-L147", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "naming/src/main/java/org/jboss/as/naming/service/NamingStoreService.java", "func_name": "NamingStoreService.start", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates the naming store if not provided by the constructor.\n\n@param context The start context\n@throws StartException If any problems occur creating the context", "docstring_tokens": ["Creates", "the", "naming", "store", "if", "not", "provided", "by", "the", "constructor", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/naming/src/main/java/org/jboss/as/naming/service/NamingStoreService.java#L64-L71", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "naming/src/main/java/org/jboss/as/naming/service/NamingStoreService.java", "func_name": "NamingStoreService.stop", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Destroys the naming store.\n\n@param context The stop context", "docstring_tokens": ["Destroys", "the", "naming", "store", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/naming/src/main/java/org/jboss/as/naming/service/NamingStoreService.java#L78-L87", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/component/allowedmethods/AllowedMethodsInformation.java", "func_name": "AllowedMethodsInformation.checkAllowed", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks that the current method", "docstring_tokens": ["Checks", "that", "the", "current", "method"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/component/allowedmethods/AllowedMethodsInformation.java#L99-L114", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/component/allowedmethods/AllowedMethodsInformation.java", "func_name": "AllowedMethodsInformation.checkTransactionSync", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "transaction sync is not affected by the current invocation, as multiple ejb methods may be invoked from afterCompletion", "docstring_tokens": ["transaction", "sync", "is", "not", "affected", "by", "the", "current", "invocation", "as", "multiple", "ejb", "methods", "may", "be", "invoked", "from", "afterCompletion"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/component/allowedmethods/AllowedMethodsInformation.java#L119-L128", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "undertow/src/main/java/org/wildfly/extension/undertow/deployment/WebComponentProcessor.java", "func_name": "WebComponentProcessor.getAllComponentClasses", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets all classes that are eligible for injection etc\n\n@param metaData\n@return", "docstring_tokens": ["Gets", "all", "classes", "that", "are", "eligible", "for", "injection", "etc"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/undertow/src/main/java/org/wildfly/extension/undertow/deployment/WebComponentProcessor.java#L149-L164", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/timerservice/TimerServiceImpl.java", "func_name": "TimerServiceImpl.getWaitingOnTxCompletionTimers", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an unmodifiable view of timers in the current transaction that are waiting for the transaction\nto finish", "docstring_tokens": ["Returns", "an", "unmodifiable", "view", "of", "timers", "in", "the", "current", "transaction", "that", "are", "waiting", "for", "the", "transaction", "to", "finish"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/timerservice/TimerServiceImpl.java#L943-L949", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/TransportConfigOperationHandlers.java", "func_name": "TransportConfigOperationHandlers.getExtraParameters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extract extra parameters from the map of parameters.\n@param allowedKeys: the keys for allowed parameters.\n@param parameters all the parameters (allowed and extra).\n@return a Map of extra parameters (those that are not allowed).", "docstring_tokens": ["Extract", "extra", "parameters", "from", "the", "map", "of", "parameters", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/TransportConfigOperationHandlers.java#L314-L325", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/TransportConfigOperationHandlers.java", "func_name": "TransportConfigOperationHandlers.getParameters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the parameters.\n\n@param context the operation context\n@param config the transport configuration\n@param mapping Mapping betwen WildFly parameters (keys) and Artemis constants (values)\n@return the extracted parameters\n@throws OperationFailedException if an expression can not be resolved", "docstring_tokens": ["Get", "the", "parameters", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/TransportConfigOperationHandlers.java#L335-L342", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "pojo/src/main/java/org/jboss/as/pojo/service/Configurator.java", "func_name": "Configurator.toClass", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Turn type into class.\n\n@param type the type\n@return class", "docstring_tokens": ["Turn", "type", "into", "class", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/pojo/src/main/java/org/jboss/as/pojo/service/Configurator.java#L59-L68", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "pojo/src/main/java/org/jboss/as/pojo/service/Configurator.java", "func_name": "Configurator.convertValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert a value\n\n@param clazz the class\n@param value the value\n@param replaceProperties whether to replace system properties\n@param trim whether to trim string value\n@return the value or null if there is no editor\n@throws Throwable for any error", "docstring_tokens": ["Convert", "a", "value"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/pojo/src/main/java/org/jboss/as/pojo/service/Configurator.java#L80-L136", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "pojo/src/main/java/org/jboss/as/pojo/service/Configurator.java", "func_name": "Configurator.getTypes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get types from values.\n\n@param values the values\n@return the values' types", "docstring_tokens": ["Get", "types", "from", "values", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/pojo/src/main/java/org/jboss/as/pojo/service/Configurator.java#L144-L152", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "pojo/src/main/java/org/jboss/as/pojo/service/Configurator.java", "func_name": "Configurator.simpleCheck", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "A simple null and length check.\n\n@param typeNames the type names\n@param typeInfos the type infos\n@return false if either argument is null or lengths differ, else true", "docstring_tokens": ["A", "simple", "null", "and", "length", "check", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/pojo/src/main/java/org/jboss/as/pojo/service/Configurator.java#L239-L241", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/CNBindingEnumeration.java", "func_name": "CNBindingEnumeration.next", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the next binding in the list.\n\n@throws NamingException any naming exception.", "docstring_tokens": ["Returns", "the", "next", "binding", "in", "the", "list", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/CNBindingEnumeration.java#L105-L116", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/CNBindingEnumeration.java", "func_name": "CNBindingEnumeration.getMore", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the next batch using _bindingIter. Update the 'more' field.", "docstring_tokens": ["Get", "the", "next", "batch", "using", "_bindingIter", ".", "Update", "the", "more", "field", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/CNBindingEnumeration.java#L192-L203", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/CNBindingEnumeration.java", "func_name": "CNBindingEnumeration.mapBinding", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a JNDI Binding object from the COS Naming binding\nobject.\n\n@throws org.omg.CosNaming.NamingContextPackage.CannotProceed Unable to obtain a continuation context\n@throws org.omg.CosNaming.NamingContextPackage.InvalidNameCNCtx Name not understood.\n@throws NamingException One of the above.", "docstring_tokens": ["Constructs", "a", "JNDI", "Binding", "object", "from", "the", "COS", "Naming", "binding", "object", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/naming/jndi/CNBindingEnumeration.java#L214-L239", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "microprofile/health-smallrye/src/main/java/org/wildfly/extension/microprofile/health/deployment/CDIExtension.java", "func_name": "CDIExtension.observeResources", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Discover all classes that implements HealthCheckProcedure", "docstring_tokens": ["Discover", "all", "classes", "that", "implements", "HealthCheckProcedure"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/microprofile/health-smallrye/src/main/java/org/wildfly/extension/microprofile/health/deployment/CDIExtension.java#L61-L66", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "microprofile/health-smallrye/src/main/java/org/wildfly/extension/microprofile/health/deployment/CDIExtension.java", "func_name": "CDIExtension.close", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Called when the deployment is undeployed.\n\nRemove all the instances of {@link HealthCheck} from the {@link SmallRyeHealthReporter}.\nHandle manually their CDI destroy lifecycle.", "docstring_tokens": ["Called", "when", "the", "deployment", "is", "undeployed", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/microprofile/health-smallrye/src/main/java/org/wildfly/extension/microprofile/health/deployment/CDIExtension.java#L93-L99", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/iiop/EjbIIOPService.java", "func_name": "EjbIIOPService.referenceForLocator", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a corba reference for the given locator\n\n@param locator The locator\n@return The corba reference", "docstring_tokens": ["Returns", "a", "corba", "reference", "for", "the", "given", "locator"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/iiop/EjbIIOPService.java#L445-L479", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/iiop/EjbIIOPService.java", "func_name": "EjbIIOPService.handleForLocator", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets a handle for the given ejb locator.\n\n@param locator The locator to get the handle for\n@return The {@link org.jboss.ejb.client.EJBHandle} or {@link org.jboss.ejb.client.EJBHomeHandle}", "docstring_tokens": ["Gets", "a", "handle", "for", "the", "given", "ejb", "locator", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/iiop/EjbIIOPService.java#L487-L493", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "clustering/common/src/main/java/org/jboss/as/clustering/dmr/ModelNodes.java", "func_name": "ModelNodes.asEnum", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the value of the node as an Enum value.\n@param value a model node\n@return the value of the node as an Enum.", "docstring_tokens": ["Returns", "the", "value", "of", "the", "node", "as", "an", "Enum", "value", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/clustering/common/src/main/java/org/jboss/as/clustering/dmr/ModelNodes.java#L54-L56", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "jdr/jboss-as-jdr/src/main/java/org/jboss/as/jdr/util/Utils.java", "func_name": "Utils.skip", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Ensure InputStream actually skips ahead the required number of bytes\n@param is\n@param amount\n@throws IOException", "docstring_tokens": ["Ensure", "InputStream", "actually", "skips", "ahead", "the", "required", "number", "of", "bytes"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/jdr/jboss-as-jdr/src/main/java/org/jboss/as/jdr/util/Utils.java#L80-L87", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "legacy/messaging/src/main/java/org/jboss/as/messaging/Messaging13SubsystemParser.java", "func_name": "Messaging13SubsystemParser.checkNotBothElements", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check that not both elements have been defined", "docstring_tokens": ["Check", "that", "not", "both", "elements", "have", "been", "defined"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/legacy/messaging/src/main/java/org/jboss/as/messaging/Messaging13SubsystemParser.java#L386-L390", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ee/src/main/java/org/jboss/as/ee/component/EEModuleDescription.java", "func_name": "EEModuleDescription.addComponent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a component to this module.\n\n@param description the component description", "docstring_tokens": ["Add", "a", "component", "to", "this", "module", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ee/src/main/java/org/jboss/as/ee/component/EEModuleDescription.java#L157-L175", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "weld/subsystem/src/main/java/org/jboss/as/weld/services/ModuleGroupSingletonProvider.java", "func_name": "ModuleGroupSingletonProvider.addClassLoaders", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Maps a top level class loader to all CL's in the deployment", "docstring_tokens": ["Maps", "a", "top", "level", "class", "loader", "to", "all", "CL", "s", "in", "the", "deployment"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/weld/subsystem/src/main/java/org/jboss/as/weld/services/ModuleGroupSingletonProvider.java#L52-L54", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "naming/src/main/java/org/jboss/as/naming/InMemoryNamingStore.java", "func_name": "InMemoryNamingStore.unbind", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Unbind the entry in the provided location. This will remove the node in the tree and no longer manage it.\n\n@param name The entry name\n@throws NamingException", "docstring_tokens": ["Unbind", "the", "entry", "in", "the", "provided", "location", ".", "This", "will", "remove", "the", "node", "in", "the", "tree", "and", "no", "longer", "manage", "it", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/naming/src/main/java/org/jboss/as/naming/InMemoryNamingStore.java#L164-L175", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "naming/src/main/java/org/jboss/as/naming/InMemoryNamingStore.java", "func_name": "InMemoryNamingStore.lookup", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Lookup the object value of a binding node in the tree.\n\n@param name The entry name\n@return The object value of the binding\n@throws NamingException", "docstring_tokens": ["Lookup", "the", "object", "value", "of", "a", "binding", "node", "in", "the", "tree", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/naming/src/main/java/org/jboss/as/naming/InMemoryNamingStore.java#L184-L190", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "naming/src/main/java/org/jboss/as/naming/InMemoryNamingStore.java", "func_name": "InMemoryNamingStore.list", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "List all NameClassPair instances at a given location in the tree.\n\n@param name The entry name\n@return The NameClassPair instances\n@throws NamingException", "docstring_tokens": ["List", "all", "NameClassPair", "instances", "at", "a", "given", "location", "in", "the", "tree", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/naming/src/main/java/org/jboss/as/naming/InMemoryNamingStore.java#L205-L208", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "naming/src/main/java/org/jboss/as/naming/InMemoryNamingStore.java", "func_name": "InMemoryNamingStore.listBindings", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "List all the Binding instances at a given location in the tree.\n\n@param name The entry name\n@return The Binding instances\n@throws NamingException", "docstring_tokens": ["List", "all", "the", "Binding", "instances", "at", "a", "given", "location", "in", "the", "tree", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/naming/src/main/java/org/jboss/as/naming/InMemoryNamingStore.java#L217-L220", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ee/src/main/java/org/jboss/as/ee/concurrent/ConcurrentContext.java", "func_name": "ConcurrentContext.addFactory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a new factory.\n@param factory", "docstring_tokens": ["Adds", "a", "new", "factory", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ee/src/main/java/org/jboss/as/ee/concurrent/ConcurrentContext.java#L115-L130", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ee/src/main/java/org/jboss/as/ee/concurrent/ConcurrentContext.java", "func_name": "ConcurrentContext.saveContext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Saves the current invocation context on a chained context handle.\n@param contextService\n@param contextObjectProperties\n@return", "docstring_tokens": ["Saves", "the", "current", "invocation", "context", "on", "a", "chained", "context", "handle", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ee/src/main/java/org/jboss/as/ee/concurrent/ConcurrentContext.java#L138-L144", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "legacy/web/src/main/java/org/jboss/as/web/WebMigrateOperation.java", "func_name": "WebMigrateOperation.createIoSubsystem", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "We need to create the IO subsystem, if it does not already exist", "docstring_tokens": ["We", "need", "to", "create", "the", "IO", "subsystem", "if", "it", "does", "not", "already", "exist"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/legacy/web/src/main/java/org/jboss/as/web/WebMigrateOperation.java#L458-L473", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "legacy/web/src/main/java/org/jboss/as/web/WebMigrateOperation.java", "func_name": "WebMigrateOperation.createWelcomeContentHandler", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "create a handler for serving welcome content", "docstring_tokens": ["create", "a", "handler", "for", "serving", "welcome", "content"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/legacy/web/src/main/java/org/jboss/as/web/WebMigrateOperation.java#L479-L488", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/pool/strictmax/StrictMaxPool.java", "func_name": "StrictMaxPool.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get an instance without identity.\nCan be used by finders,create-methods, and activation\n\n@return Context /w instance", "docstring_tokens": ["Get", "an", "instance", "without", "identity", ".", "Can", "be", "used", "by", "finders", "create", "-", "methods", "and", "activation"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/pool/strictmax/StrictMaxPool.java#L106-L131", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/InterfaceAnalysis.java", "func_name": "InterfaceAnalysis.calculateOperationAnalysisMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculate the map that maps IDL operation names to operation analyses.\nBesides mapped operations, this map also contains the attribute\naccessor and mutator operations.", "docstring_tokens": ["Calculate", "the", "map", "that", "maps", "IDL", "operation", "names", "to", "operation", "analyses", ".", "Besides", "mapped", "operations", "this", "map", "also", "contains", "the", "attribute", "accessor", "and", "mutator", "operations", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/rmi/InterfaceAnalysis.java#L131-L157", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "microprofile/metrics-smallrye/src/main/java/org/wildfly/extension/microprofile/metrics/MetricCollector.java", "func_name": "MetricCollector.collectResourceMetrics", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "collect metrics from the resources", "docstring_tokens": ["collect", "metrics", "from", "the", "resources"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/microprofile/metrics-smallrye/src/main/java/org/wildfly/extension/microprofile/metrics/MetricCollector.java#L88-L94", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/publish/EndpointPublisherImpl.java", "func_name": "EndpointPublisherImpl.doPrepare", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Prepare the ws Deployment and return a DeploymentUnit containing it\n\n@param context\n@param loader\n@param urlPatternToClassNameMap\n@param jbwmd\n@param metadata\n@param jbwsMetadata\n@return", "docstring_tokens": ["Prepare", "the", "ws", "Deployment", "and", "return", "a", "DeploymentUnit", "containing", "it"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/publish/EndpointPublisherImpl.java#L130-L141", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/publish/EndpointPublisherImpl.java", "func_name": "EndpointPublisherImpl.doDeploy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Triggers the WS deployment aspects, which process the deployment and\ninstall the endpoint services.\n\n@param target\n@param unit", "docstring_tokens": ["Triggers", "the", "WS", "deployment", "aspects", "which", "process", "the", "deployment", "and", "install", "the", "endpoint", "services", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/publish/EndpointPublisherImpl.java#L150-L167", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/publish/EndpointPublisherImpl.java", "func_name": "EndpointPublisherImpl.doPublish", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Publish the webapp for the WS deployment unit\n\n@param target\n@param unit\n@return\n@throws Exception", "docstring_tokens": ["Publish", "the", "webapp", "for", "the", "WS", "deployment", "unit"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/publish/EndpointPublisherImpl.java#L177-L197", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/publish/EndpointPublisherImpl.java", "func_name": "EndpointPublisherImpl.stopWebApp", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Stops the webapp serving the provided ws deployment\n\n@param deployment\n@throws Exception", "docstring_tokens": ["Stops", "the", "webapp", "serving", "the", "provided", "ws", "deployment"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/publish/EndpointPublisherImpl.java#L300-L313", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "weld/subsystem/src/main/java/org/jboss/as/weld/WeldBootstrapService.java", "func_name": "WeldBootstrapService.start", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Starts the weld container\n\n@throws IllegalStateException if the container is already running", "docstring_tokens": ["Starts", "the", "weld", "container"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/weld/subsystem/src/main/java/org/jboss/as/weld/WeldBootstrapService.java#L117-L148", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "webservices/server-integration/src/main/java/org/jboss/as/webservices/deployers/WSEndpointConfigMapping.java", "func_name": "WSEndpointConfigMapping.registerEndpointConfig", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers endpoint and its config.\n\n@param endpointClass WS endpoint\n@param config Config with endpoint", "docstring_tokens": ["Registers", "endpoint", "and", "its", "config", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/webservices/server-integration/src/main/java/org/jboss/as/webservices/deployers/WSEndpointConfigMapping.java#L45-L50", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/timerservice/TimerTask.java", "func_name": "TimerTask.retryTimeout", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "After a timeout failed the timer need to retried.\nThe method must lock the timer for state check and update but not during callTimeout run.\n\n@param timer timer to retry and state updates\n@throws Exception", "docstring_tokens": ["After", "a", "timeout", "failed", "the", "timer", "need", "to", "retried", ".", "The", "method", "must", "lock", "the", "timer", "for", "state", "check", "and", "update", "but", "not", "during", "callTimeout", "run", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/timerservice/TimerTask.java#L235-L254", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/timerservice/TimerTask.java", "func_name": "TimerTask.postTimeoutProcessing", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "After running the timer calculate the new state or expire the timer and persist it if changed.\nThe method must lock the timer for state check and updates if overridden.\n\n@param timer timer to post processing and persist", "docstring_tokens": ["After", "running", "the", "timer", "calculate", "the", "new", "state", "or", "expire", "the", "timer", "and", "persist", "it", "if", "changed", ".", "The", "method", "must", "lock", "the", "timer", "for", "state", "check", "and", "updates", "if", "overridden", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/timerservice/TimerTask.java#L262-L278", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "connector/src/main/java/org/jboss/as/connector/util/SecurityActions.java", "func_name": "SecurityActions.getDeclaredMethods", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the declared methods\n\n@param c The class\n@return The methods", "docstring_tokens": ["Get", "the", "declared", "methods"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/connector/src/main/java/org/jboss/as/connector/util/SecurityActions.java#L51-L60", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "connector/src/main/java/org/jboss/as/connector/util/SecurityActions.java", "func_name": "SecurityActions.getDeclaredFields", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the declared fields\n\n@param c The class\n@return The fields", "docstring_tokens": ["Get", "the", "declared", "fields"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/connector/src/main/java/org/jboss/as/connector/util/SecurityActions.java#L68-L77", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "connector/src/main/java/org/jboss/as/connector/util/SecurityActions.java", "func_name": "SecurityActions.getConstructor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the constructor\n\n@param c The class\n@param params The parameters\n@return The constructor\n@throws NoSuchMethodException If a matching method is not found.", "docstring_tokens": ["Get", "the", "constructor"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/connector/src/main/java/org/jboss/as/connector/util/SecurityActions.java#L104-L123", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "connector/src/main/java/org/jboss/as/connector/util/SecurityActions.java", "func_name": "SecurityActions.getMethod", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the method\n\n@param c The class\n@param name The name\n@param params The parameters\n@return The method\n@throws NoSuchMethodException If a matching method is not found.", "docstring_tokens": ["Get", "the", "method"], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/connector/src/main/java/org/jboss/as/connector/util/SecurityActions.java#L134-L153", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "legacy/messaging/src/main/java/org/jboss/as/messaging/MigrateOperation.java", "func_name": "MigrateOperation.addMessagingActiveMQExtension", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "It's possible that the extension is already present. In that case, this method does nothing.", "docstring_tokens": ["It", "s", "possible", "that", "the", "extension", "is", "already", "present", ".", "In", "that", "case", "this", "method", "does", "nothing", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/legacy/messaging/src/main/java/org/jboss/as/messaging/MigrateOperation.java#L305-L320", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "legacy/messaging/src/main/java/org/jboss/as/messaging/MigrateOperation.java", "func_name": "MigrateOperation.parameterIsAllowed", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if the name of the parameter is allowed for the given resourceType.", "docstring_tokens": ["Check", "if", "the", "name", "of", "the", "parameter", "is", "allowed", "for", "the", "given", "resourceType", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/legacy/messaging/src/main/java/org/jboss/as/messaging/MigrateOperation.java#L452-L469", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "legacy/messaging/src/main/java/org/jboss/as/messaging/MigrateOperation.java", "func_name": "MigrateOperation.migrateGenericTransport", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "For generic acceptor and connectors, migrate their factory-class attribute\nif they are using the default Netty ones.", "docstring_tokens": ["For", "generic", "acceptor", "and", "connectors", "migrate", "their", "factory", "-", "class", "attribute", "if", "they", "are", "using", "the", "default", "Netty", "ones", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/legacy/messaging/src/main/java/org/jboss/as/messaging/MigrateOperation.java#L613-L627", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/component/interceptors/CancellationFlag.java", "func_name": "CancellationFlag.cancel", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Attempt to cancel the corresponding invocation.\n\n@param setFlag {@code true} to set the EJB context cancellation flag (or equivalent), {@code false} otherwise\n@return {@code true} if the invocation was definitely cancelled, or {@code false} if it was not cancelled or it could not be determined if it was cancelled", "docstring_tokens": ["Attempt", "to", "cancel", "the", "corresponding", "invocation", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/component/interceptors/CancellationFlag.java#L56-L82", "partition": "test"} +{"repo": "wildfly/wildfly", "path": "ejb3/src/main/java/org/jboss/as/ejb3/component/interceptors/CancellationFlag.java", "func_name": "CancellationFlag.runIfNotCancelled", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Attempt to determine whether the invocation should proceed or whether it should be cancelled. This method should only\nbe called once per flag instance.\n\n@return {@code true} if the invocation should proceed, or {@code false} if it was cancelled", "docstring_tokens": ["Attempt", "to", "determine", "whether", "the", "invocation", "should", "proceed", "or", "whether", "it", "should", "be", "cancelled", ".", "This", "method", "should", "only", "be", "called", "once", "per", "flag", "instance", "."], "sha": "64896f1500fe465ad83d96ede9fa19d0c3747f18", "url": "https://github.com/wildfly/wildfly/blob/64896f1500fe465ad83d96ede9fa19d0c3747f18/ejb3/src/main/java/org/jboss/as/ejb3/component/interceptors/CancellationFlag.java#L90-L102", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/metadata/schema/OPropertyEmbedded.java", "func_name": "OPropertyEmbedded.setTypeInternal", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Change the type. It checks for compatibility between the change of type.\n\n@param iType", "docstring_tokens": ["Change", "the", "type", ".", "It", "checks", "for", "compatibility", "between", "the", "change", "of", "type", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/metadata/schema/OPropertyEmbedded.java#L58-L74", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/parser/OBaseExpression.java", "func_name": "OBaseExpression.canExecuteIndexedFunctionWithoutIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "tests if current expression is an indexed funciton AND that function can also be executed without using the index\n\n@param target the query target\n@param context the execution context\n@param operator\n@param right\n\n@return true if current expression is an indexed funciton AND that function can also be executed without using the index, false\notherwise", "docstring_tokens": ["tests", "if", "current", "expression", "is", "an", "indexed", "funciton", "AND", "that", "function", "can", "also", "be", "executed", "without", "using", "the", "index"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/parser/OBaseExpression.java#L179-L185", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/parser/OWhereClause.java", "func_name": "OWhereClause.estimate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "estimates how many items of this class will be returned applying this filter\n\n@param oClass\n\n@return an estimation of the number of records of this class returned applying this filter, 0 if and only if sure that no\nrecords are returned", "docstring_tokens": ["estimates", "how", "many", "items", "of", "this", "class", "will", "be", "returned", "applying", "this", "filter"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/parser/OWhereClause.java#L68-L129", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "object/src/main/java/com/orientechnologies/common/reflection/OReflectionHelper.java", "func_name": "OReflectionHelper.findClasses", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Recursive method used to find all classes in a given directory and subdirs.\n\n@param iDirectory\nThe base directory\n@param iPackageName\nThe package name for classes found inside the base directory\n@return The classes\n@throws ClassNotFoundException", "docstring_tokens": ["Recursive", "method", "used", "to", "find", "all", "classes", "in", "a", "given", "directory", "and", "subdirs", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/object/src/main/java/com/orientechnologies/common/reflection/OReflectionHelper.java#L135-L157", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "object/src/main/java/com/orientechnologies/common/reflection/OReflectionHelper.java", "func_name": "OReflectionHelper.getClassessOfInterface", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Filters discovered classes to see if they implement a given interface.\n\n@param thePackage\n@param theInterface\n@param iClassLoader\n@return The list of classes that implements the requested interface", "docstring_tokens": ["Filters", "discovered", "classes", "to", "see", "if", "they", "implement", "a", "given", "interface", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/object/src/main/java/com/orientechnologies/common/reflection/OReflectionHelper.java#L167-L180", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "object/src/main/java/com/orientechnologies/common/reflection/OReflectionHelper.java", "func_name": "OReflectionHelper.getGenericMultivalueType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the generic class of multi-value objects.\n\n@param p\nField to examine\n@return The Class of generic type if any, otherwise null", "docstring_tokens": ["Returns", "the", "generic", "class", "of", "multi", "-", "value", "objects", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/object/src/main/java/com/orientechnologies/common/reflection/OReflectionHelper.java#L206-L226", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/operator/OQueryOperatorContainsText.java", "func_name": "OQueryOperatorContainsText.evaluateRecord", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This is executed on non-indexed fields.", "docstring_tokens": ["This", "is", "executed", "on", "non", "-", "indexed", "fields", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/operator/OQueryOperatorContainsText.java#L69-L76", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "object/src/main/java/com/orientechnologies/orient/object/enhancement/field/ODocumentSimpleFieldHandlingStrategy.java", "func_name": "ODocumentSimpleFieldHandlingStrategy.deriveFieldType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Derives the type of a field in a document.\n\n@param iRecord\n@param fieldName\n@param requestedFieldType\n@return derived field type", "docstring_tokens": ["Derives", "the", "type", "of", "a", "field", "in", "a", "document", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/object/src/main/java/com/orientechnologies/orient/object/enhancement/field/ODocumentSimpleFieldHandlingStrategy.java#L58-L72", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/cache/OLocalRecordCache.java", "func_name": "OLocalRecordCache.updateRecord", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Pushes record to cache. Identifier of record used as access key\n\n@param record\nrecord that should be cached", "docstring_tokens": ["Pushes", "record", "to", "cache", ".", "Identifier", "of", "record", "used", "as", "access", "key"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/cache/OLocalRecordCache.java#L63-L69", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/cache/OLocalRecordCache.java", "func_name": "OLocalRecordCache.findRecord", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Looks up for record in cache by it's identifier. Optionally look up in secondary cache and update primary with found record\n\n@param rid\nunique identifier of record\n@return record stored in cache if any, otherwise - {@code null}", "docstring_tokens": ["Looks", "up", "for", "record", "in", "cache", "by", "it", "s", "identifier", ".", "Optionally", "look", "up", "in", "secondary", "cache", "and", "update", "primary", "with", "found", "record"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/cache/OLocalRecordCache.java#L78-L89", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/executor/OSelectExecutionPlanner.java", "func_name": "OSelectExecutionPlanner.getMinimalSetOfNodesForShardedQuery", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "given a cluster map and a set of clusters involved in a query, tries to calculate the minimum number of nodes that will have to\nbe involved in the query execution, with clusters involved for each node.\n\n@param clusterMap\n@param queryClusters\n\n@return a map that has node names as a key and clusters (data files) for each node as a value", "docstring_tokens": ["given", "a", "cluster", "map", "and", "a", "set", "of", "clusters", "involved", "in", "a", "query", "tries", "to", "calculate", "the", "minimum", "number", "of", "nodes", "that", "will", "have", "to", "be", "involved", "in", "the", "query", "execution", "with", "clusters", "involved", "for", "each", "node", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/executor/OSelectExecutionPlanner.java#L251-L287", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/executor/OSelectExecutionPlanner.java", "func_name": "OSelectExecutionPlanner.moveFlattededEqualitiesLeft", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "re-writes a list of flat AND conditions, moving left all the equality operations\n\n@param flattenedWhereClause\n\n@return", "docstring_tokens": ["re", "-", "writes", "a", "list", "of", "flat", "AND", "conditions", "moving", "left", "all", "the", "equality", "operations"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/executor/OSelectExecutionPlanner.java#L738-L766", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/executor/OSelectExecutionPlanner.java", "func_name": "OSelectExecutionPlanner.addOrderByProjections", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "creates additional projections for ORDER BY", "docstring_tokens": ["creates", "additional", "projections", "for", "ORDER", "BY"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/executor/OSelectExecutionPlanner.java#L771-L801", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/executor/OSelectExecutionPlanner.java", "func_name": "OSelectExecutionPlanner.extractSubQueries", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "translates subqueries to LET statements", "docstring_tokens": ["translates", "subqueries", "to", "LET", "statements"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/executor/OSelectExecutionPlanner.java#L957-L997", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/executor/OSelectExecutionPlanner.java", "func_name": "OSelectExecutionPlanner.isFromClusters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "checks if this RID is from one of these clusters\n\n@param rid\n@param filterClusters\n@param database\n\n@return", "docstring_tokens": ["checks", "if", "this", "RID", "is", "from", "one", "of", "these", "clusters"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/executor/OSelectExecutionPlanner.java#L1283-L1289", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/executor/OSelectExecutionPlanner.java", "func_name": "OSelectExecutionPlanner.handleClassWithIndexForSortOnly", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "tries to use an index for sorting only. Also adds the fetch step to the execution plan\n\n@param plan current execution plan\n@param info the query planning information\n@param ctx the current context\n\n@return true if it succeeded to use an index to sort, false otherwise.", "docstring_tokens": ["tries", "to", "use", "an", "index", "for", "sorting", "only", ".", "Also", "adds", "the", "fetch", "step", "to", "the", "execution", "plan"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/executor/OSelectExecutionPlanner.java#L1770-L1823", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/executor/OSelectExecutionPlanner.java", "func_name": "OSelectExecutionPlanner.isDiamondHierarchy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "checks if a class is the top of a diamond hierarchy\n\n@param clazz\n\n@return", "docstring_tokens": ["checks", "if", "a", "class", "is", "the", "top", "of", "a", "diamond", "hierarchy"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/executor/OSelectExecutionPlanner.java#L1890-L1906", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/executor/OSelectExecutionPlanner.java", "func_name": "OSelectExecutionPlanner.getOrderDirection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "returns TRUE if all the order clauses are ASC, FALSE if all are DESC, null otherwise\n\n@return TRUE if all the order clauses are ASC, FALSE if all are DESC, null otherwise", "docstring_tokens": ["returns", "TRUE", "if", "all", "the", "order", "clauses", "are", "ASC", "FALSE", "if", "all", "are", "DESC", "null", "otherwise"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/executor/OSelectExecutionPlanner.java#L2091-L2107", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/executor/OSelectExecutionPlanner.java", "func_name": "OSelectExecutionPlanner.requiresMultipleIndexLookups", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "checks whether the condition has CONTAINSANY or similar expressions, that require multiple index evaluations\n\n@param keyCondition\n\n@return", "docstring_tokens": ["checks", "whether", "the", "condition", "has", "CONTAINSANY", "or", "similar", "expressions", "that", "require", "multiple", "index", "evaluations"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/executor/OSelectExecutionPlanner.java#L2139-L2146", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/executor/OSelectExecutionPlanner.java", "func_name": "OSelectExecutionPlanner.findBestIndexFor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "given a flat AND block and a set of indexes, returns the best index to be used to process it, with the complete description on\nhow to use it\n\n@param ctx\n@param indexes\n@param block\n\n@return", "docstring_tokens": ["given", "a", "flat", "AND", "block", "and", "a", "set", "of", "indexes", "returns", "the", "best", "index", "to", "be", "used", "to", "process", "it", "with", "the", "complete", "description", "on", "how", "to", "use", "it"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/executor/OSelectExecutionPlanner.java#L2164-L2198", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/executor/OSelectExecutionPlanner.java", "func_name": "OSelectExecutionPlanner.buildIndexSearchDescriptorForFulltext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "given a full text index and a flat AND block, returns a descriptor on how to process it with an index (index, index key and additional\nfilters to apply after index fetch\n\n@param ctx\n@param index\n@param block\n@param clazz\n\n@return", "docstring_tokens": ["given", "a", "full", "text", "index", "and", "a", "flat", "AND", "block", "returns", "a", "descriptor", "on", "how", "to", "process", "it", "with", "an", "index", "(", "index", "index", "key", "and", "additional", "filters", "to", "apply", "after", "index", "fetch"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/executor/OSelectExecutionPlanner.java#L2452-L2505", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/executor/OSelectExecutionPlanner.java", "func_name": "OSelectExecutionPlanner.commonFactor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "aggregates multiple index conditions that refer to the same key search\n\n@param indexSearchDescriptors\n\n@return", "docstring_tokens": ["aggregates", "multiple", "index", "conditions", "that", "refer", "to", "the", "same", "key", "search"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/executor/OSelectExecutionPlanner.java#L2565-L2591", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "object/src/main/java/com/orientechnologies/orient/object/enhancement/field/ODocumentFieldHandlingStrategyFactory.java", "func_name": "ODocumentFieldHandlingStrategyFactory.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new instance of the requested strategy. Since strategies are stateless, if an existing instance already exists then\nit's returned.\n\n@param strategy\n@return strategy instance", "docstring_tokens": ["Creates", "a", "new", "instance", "of", "the", "requested", "strategy", ".", "Since", "strategies", "are", "stateless", "if", "an", "existing", "instance", "already", "exists", "then", "it", "s", "returned", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/object/src/main/java/com/orientechnologies/orient/object/enhancement/field/ODocumentFieldHandlingStrategyFactory.java#L57-L84", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/metadata/security/OUser.java", "func_name": "OUser.allow", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks if the user has the permission to access to the requested resource for the requested operation.\n\n@param iOperation Requested operation\n\n@return The role that has granted the permission if any, otherwise a OSecurityAccessException exception is raised\n\n@throws OSecurityAccessException", "docstring_tokens": ["Checks", "if", "the", "user", "has", "the", "permission", "to", "access", "to", "the", "requested", "resource", "for", "the", "requested", "operation", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/metadata/security/OUser.java#L143-L162", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/metadata/security/OUser.java", "func_name": "OUser.isRuleDefined", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks if a rule was defined for the user.\n\n@return True is a rule is defined, otherwise false", "docstring_tokens": ["Checks", "if", "a", "rule", "was", "defined", "for", "the", "user", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/metadata/security/OUser.java#L224-L233", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "distributed/src/main/java/com/orientechnologies/orient/server/distributed/impl/ODistributedOutput.java", "func_name": "ODistributedOutput.getCompactServerStatus", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a compact string with all the relevant information.\n\n@param manager\n@param distribCfg\n\n@return", "docstring_tokens": ["Create", "a", "compact", "string", "with", "all", "the", "relevant", "information", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/distributed/src/main/java/com/orientechnologies/orient/server/distributed/impl/ODistributedOutput.java#L432-L480", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "distributed/src/main/java/com/orientechnologies/orient/server/hazelcast/OHazelcastPlugin.java", "func_name": "OHazelcastPlugin.initSystemDatabase", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Protecte system database from being replicated", "docstring_tokens": ["Protecte", "system", "database", "from", "being", "replicated"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/distributed/src/main/java/com/orientechnologies/orient/server/hazelcast/OHazelcastPlugin.java#L309-L318", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "distributed/src/main/java/com/orientechnologies/orient/server/hazelcast/OHazelcastPlugin.java", "func_name": "OHazelcastPlugin.loadLocalDatabases", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Initializes all the available server's databases as distributed.", "docstring_tokens": ["Initializes", "all", "the", "available", "server", "s", "databases", "as", "distributed", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/distributed/src/main/java/com/orientechnologies/orient/server/hazelcast/OHazelcastPlugin.java#L735-L775", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "distributed/src/main/java/com/orientechnologies/orient/server/hazelcast/OHazelcastPlugin.java", "func_name": "OHazelcastPlugin.memberRemoved", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes the node map entry.", "docstring_tokens": ["Removes", "the", "node", "map", "entry", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/distributed/src/main/java/com/orientechnologies/orient/server/hazelcast/OHazelcastPlugin.java#L1046-L1065", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "distributed/src/main/java/com/orientechnologies/orient/server/hazelcast/OHazelcastPlugin.java", "func_name": "OHazelcastPlugin.electNewLockManager", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Elects a new server as coordinator. The election browse the ordered server list.", "docstring_tokens": ["Elects", "a", "new", "server", "as", "coordinator", ".", "The", "election", "browse", "the", "ordered", "server", "list", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/distributed/src/main/java/com/orientechnologies/orient/server/hazelcast/OHazelcastPlugin.java#L1603-L1674", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "distributed/src/main/java/com/orientechnologies/orient/server/hazelcast/OHazelcastPlugin.java", "func_name": "OHazelcastPlugin.assignLockManagerFromCluster", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "ASSIGN THE LOCK MANAGER AT STARTUP", "docstring_tokens": ["ASSIGN", "THE", "LOCK", "MANAGER", "AT", "STARTUP"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/distributed/src/main/java/com/orientechnologies/orient/server/hazelcast/OHazelcastPlugin.java#L1742-L1775", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/OMicroTransaction.java", "func_name": "OMicroTransaction.commit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Commits the micro-transaction if it's a top-level micro-transaction.", "docstring_tokens": ["Commits", "the", "micro", "-", "transaction", "if", "it", "s", "a", "top", "-", "level", "micro", "-", "transaction", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/OMicroTransaction.java#L158-L170", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/OMicroTransaction.java", "func_name": "OMicroTransaction.rollback", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Rollbacks the micro-transaction if it's a top-level micro-transaction.", "docstring_tokens": ["Rollbacks", "the", "micro", "-", "transaction", "if", "it", "s", "a", "top", "-", "level", "micro", "-", "transaction", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/OMicroTransaction.java#L175-L187", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/OMicroTransaction.java", "func_name": "OMicroTransaction.updateIdentityAfterRecordCommit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Updates the record identity after its successful commit.", "docstring_tokens": ["Updates", "the", "record", "identity", "after", "its", "successful", "commit", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/OMicroTransaction.java#L204-L277", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/OMicroTransaction.java", "func_name": "OMicroTransaction.updateRecordCacheAfterRollback", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Updates the record cache after unsuccessful micro-transaction commit.", "docstring_tokens": ["Updates", "the", "record", "cache", "after", "unsuccessful", "micro", "-", "transaction", "commit", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/OMicroTransaction.java#L282-L287", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/common/io/OFileUtils.java", "func_name": "OFileUtils.prepareForFileCreationOrReplacement", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Prepares the path for a file creation or replacement. If the file pointed by the path already exists, it will be deleted, a\nwarning will be emitted to the log in this case. All absent directories along the path will be created.\n\n@param path the file path.\n@param requester the requester of an operation being performed to produce user-friendly log messages.\n@param operation the description of an operation being performed to produce user-friendly log messages. Use descriptions like\n\"exporting\", \"backing up\", etc.", "docstring_tokens": ["Prepares", "the", "path", "for", "a", "file", "creation", "or", "replacement", ".", "If", "the", "file", "pointed", "by", "the", "path", "already", "exists", "it", "will", "be", "deleted", "a", "warning", "will", "be", "emitted", "to", "the", "log", "in", "this", "case", ".", "All", "absent", "directories", "along", "the", "path", "will", "be", "created", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/common/io/OFileUtils.java#L245-L252", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/common/io/OFileUtils.java", "func_name": "OFileUtils.atomicMoveWithFallback", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Tries to move a file from the source to the target atomically. If atomic move is not possible, falls back to regular move.\n\n@param source the source to move the file from.\n@param target the target to move the file to.\n@param requester the requester of the move being performed to produce user-friendly log messages.\n\n@see Files#move(Path, Path, CopyOption...)\n@see StandardCopyOption#ATOMIC_MOVE", "docstring_tokens": ["Tries", "to", "move", "a", "file", "from", "the", "source", "to", "the", "target", "atomically", ".", "If", "atomic", "move", "is", "not", "possible", "falls", "back", "to", "regular", "move", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/common/io/OFileUtils.java#L264-L272", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/parser/Pattern.java", "func_name": "Pattern.getDisjointPatterns", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "splits this pattern into multiple\n\n@return", "docstring_tokens": ["splits", "this", "pattern", "into", "multiple"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/parser/Pattern.java#L73-L101", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "distributed-v2/src/main/java/com/orientechnologies/orient/distributed/impl/ODistributedStorage.java", "func_name": "ODistributedStorage.executeOnlyLocally", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Only idempotent commands that don't involve any other node can be executed locally.", "docstring_tokens": ["Only", "idempotent", "commands", "that", "don", "t", "involve", "any", "other", "node", "can", "be", "executed", "locally", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/distributed-v2/src/main/java/com/orientechnologies/orient/distributed/impl/ODistributedStorage.java#L473-L623", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "object/src/main/java/com/orientechnologies/orient/object/jpa/parsing/JPAHandler.java", "func_name": "JPAHandler.characters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Collect up the characters, as element's characters may be split across multiple calls. Isn't SAX lovely...", "docstring_tokens": ["Collect", "up", "the", "characters", "as", "element", "s", "characters", "may", "be", "split", "across", "multiple", "calls", ".", "Isn", "t", "SAX", "lovely", "..."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/object/src/main/java/com/orientechnologies/orient/object/jpa/parsing/JPAHandler.java#L151-L154", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "client/src/main/java/com/orientechnologies/orient/client/binary/OChannelBinaryAsynchClient.java", "func_name": "OChannelBinaryAsynchClient.isConnected", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Tells if the channel is connected.\n\n@return true if it's connected, otherwise false.", "docstring_tokens": ["Tells", "if", "the", "channel", "is", "connected", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/client/src/main/java/com/orientechnologies/orient/client/binary/OChannelBinaryAsynchClient.java#L246-L249", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/common/util/OByteBufferUtils.java", "func_name": "OByteBufferUtils.mergeShortFromBuffers", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Merge short value from two byte buffer. First byte of short will be extracted from first byte buffer and second from second\none.\n\n@param buffer\nto read first part of value\n@param buffer1\nto read second part of value\n@return merged value", "docstring_tokens": ["Merge", "short", "value", "from", "two", "byte", "buffer", ".", "First", "byte", "of", "short", "will", "be", "extracted", "from", "first", "byte", "buffer", "and", "second", "from", "second", "one", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/common/util/OByteBufferUtils.java#L49-L55", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/common/util/OByteBufferUtils.java", "func_name": "OByteBufferUtils.splitShortToBuffers", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Split short value into two byte buffer. First byte of short will be written to first byte buffer and second to second one.\n\n@param buffer\nto write first part of value\n@param buffer1\nto write second part of value", "docstring_tokens": ["Split", "short", "value", "into", "two", "byte", "buffer", ".", "First", "byte", "of", "short", "will", "be", "written", "to", "first", "byte", "buffer", "and", "second", "to", "second", "one", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/common/util/OByteBufferUtils.java#L115-L118", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLCreateProperty.java", "func_name": "OCommandExecutorSQLCreateProperty.execute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Execute the CREATE PROPERTY.", "docstring_tokens": ["Execute", "the", "CREATE", "PROPERTY", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLCreateProperty.java#L279-L337", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/index/OIndexFullText.java", "func_name": "OIndexFullText.put", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Indexes a value and save the index. Splits the value in single words and index each one. Save of the index is responsibility of\nthe caller.", "docstring_tokens": ["Indexes", "a", "value", "and", "save", "the", "index", ".", "Splits", "the", "value", "in", "single", "words", "and", "index", "each", "one", ".", "Save", "of", "the", "index", "is", "responsibility", "of", "the", "caller", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/index/OIndexFullText.java#L79-L107", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/index/OIndexFullText.java", "func_name": "OIndexFullText.remove", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Splits passed in key on several words and remove records with keys equals to any item of split result and values equals to\npassed in value.\n\n@param key Key to remove.\n@param value Value to remove.\n\n@return true if at least one record is removed.", "docstring_tokens": ["Splits", "passed", "in", "key", "on", "several", "words", "and", "remove", "records", "with", "keys", "equals", "to", "any", "item", "of", "split", "result", "and", "values", "equals", "to", "passed", "in", "value", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/index/OIndexFullText.java#L177-L204", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/query/OSQLQuery.java", "func_name": "OSQLQuery.run", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Delegates to the OQueryExecutor the query execution.", "docstring_tokens": ["Delegates", "to", "the", "OQueryExecutor", "the", "query", "execution", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/query/OSQLQuery.java#L68-L87", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/query/OSQLQuery.java", "func_name": "OSQLQuery.runFirst", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns only the first record if any.", "docstring_tokens": ["Returns", "only", "the", "first", "record", "if", "any", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/query/OSQLQuery.java#L92-L96", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/fs/OFileClassic.java", "func_name": "OFileClassic.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates the file.", "docstring_tokens": ["Creates", "the", "file", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/fs/OFileClassic.java#L523-L538", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/fs/OFileClassic.java", "func_name": "OFileClassic.checkRegions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "ALWAYS ADD THE HEADER SIZE BECAUSE ON THIS TYPE IS ALWAYS NEEDED", "docstring_tokens": ["ALWAYS", "ADD", "THE", "HEADER", "SIZE", "BECAUSE", "ON", "THIS", "TYPE", "IS", "ALWAYS", "NEEDED"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/fs/OFileClassic.java#L567-L581", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/fs/OFileClassic.java", "func_name": "OFileClassic.replaceContentWith", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Replaces the file content with the content of the provided file.\n\n@param newContentFile the new content file to replace the content with.", "docstring_tokens": ["Replaces", "the", "file", "content", "with", "the", "content", "of", "the", "provided", "file", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/fs/OFileClassic.java#L933-L944", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "client/src/main/java/com/orientechnologies/orient/client/remote/OStorageRemote.java", "func_name": "OStorageRemote.command", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Execute the command remotely and get the results back.", "docstring_tokens": ["Execute", "the", "command", "remotely", "and", "get", "the", "results", "back", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/client/src/main/java/com/orientechnologies/orient/client/remote/OStorageRemote.java#L992-L1002", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "client/src/main/java/com/orientechnologies/orient/client/remote/OStorageRemote.java", "func_name": "OStorageRemote.endRequest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Ends the request and unlock the write lock", "docstring_tokens": ["Ends", "the", "request", "and", "unlock", "the", "write", "lock"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/client/src/main/java/com/orientechnologies/orient/client/remote/OStorageRemote.java#L1325-L1332", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "client/src/main/java/com/orientechnologies/orient/client/remote/OStorageRemote.java", "func_name": "OStorageRemote.addHost", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers the remote server with port.", "docstring_tokens": ["Registers", "the", "remote", "server", "with", "port", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/client/src/main/java/com/orientechnologies/orient/client/remote/OStorageRemote.java#L1812-L1846", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "client/src/main/java/com/orientechnologies/orient/client/remote/OStorageRemote.java", "func_name": "OStorageRemote.beginRequest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Acquire a network channel from the pool. Don't lock the write stream since the connection usage is exclusive.\n\n@param iCommand id. Ids described at {@link OChannelBinaryProtocol}\n\n@return connection to server", "docstring_tokens": ["Acquire", "a", "network", "channel", "from", "the", "pool", ".", "Don", "t", "lock", "the", "write", "stream", "since", "the", "connection", "usage", "is", "exclusive", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/client/src/main/java/com/orientechnologies/orient/client/remote/OStorageRemote.java#L1863-L1867", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "object/src/main/java/com/orientechnologies/orient/object/db/OLazyCollectionUtil.java", "func_name": "OLazyCollectionUtil.getDatabase", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the current thread database as a ODatabasePojoAbstract, wrapping it where necessary.", "docstring_tokens": ["Gets", "the", "current", "thread", "database", "as", "a", "ODatabasePojoAbstract", "wrapping", "it", "where", "necessary", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/object/src/main/java/com/orientechnologies/orient/object/db/OLazyCollectionUtil.java#L16-L24", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/OClientConnectionManager.java", "func_name": "OClientConnectionManager.getConnection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retrieves the connection by id.\n\n@param iChannelId id of connection\n\n@return The connection if any, otherwise null", "docstring_tokens": ["Retrieves", "the", "connection", "by", "id", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/OClientConnectionManager.java#L213-L220", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/OClientConnectionManager.java", "func_name": "OClientConnectionManager.kill", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Disconnects and kill the associated network manager.\n\n@param connection connection to kill", "docstring_tokens": ["Disconnects", "and", "kill", "the", "associated", "network", "manager", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/OClientConnectionManager.java#L251-L267", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/OClientConnectionManager.java", "func_name": "OClientConnectionManager.interrupt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Interrupt the associated network manager.\n\n@param iChannelId id of connection", "docstring_tokens": ["Interrupt", "the", "associated", "network", "manager", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/OClientConnectionManager.java#L278-L286", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/OClientConnectionManager.java", "func_name": "OClientConnectionManager.disconnect", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Disconnects a client connections\n\n@param iChannelId id of connection\n\n@return true if was last one, otherwise false", "docstring_tokens": ["Disconnects", "a", "client", "connections"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/OClientConnectionManager.java#L295-L320", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/OClientConnectionManager.java", "func_name": "OClientConnectionManager.pushDistribCfg2Clients", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Pushes the distributed configuration to all the connected clients.", "docstring_tokens": ["Pushes", "the", "distributed", "configuration", "to", "all", "the", "connected", "clients", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/OClientConnectionManager.java#L368-L424", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/db/record/ridbag/embedded/OEmbeddedRidBag.java", "func_name": "OEmbeddedRidBag.swap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "for internal use only\n\n@param index\n@param newValue\n\n@return", "docstring_tokens": ["for", "internal", "use", "only"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/db/record/ridbag/embedded/OEmbeddedRidBag.java#L295-L307", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/tx/OTransactionAbstract.java", "func_name": "OTransactionAbstract.close", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Closes the transaction and releases all the acquired locks.", "docstring_tokens": ["Closes", "the", "transaction", "and", "releases", "all", "the", "acquired", "locks", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/tx/OTransactionAbstract.java#L103-L119", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "object/src/main/java/com/orientechnologies/orient/object/metadata/schema/OSchemaProxyObject.java", "func_name": "OSchemaProxyObject.synchronizeSchema", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks if all registered entities has schema generated, if not it generates it", "docstring_tokens": ["Checks", "if", "all", "registered", "entities", "has", "schema", "generated", "if", "not", "it", "generates", "it"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/object/src/main/java/com/orientechnologies/orient/object/metadata/schema/OSchemaProxyObject.java#L383-L433", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/common/profiler/OAbstractProfiler.java", "func_name": "OAbstractProfiler.updateMetadata", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Updates the metric metadata.", "docstring_tokens": ["Updates", "the", "metric", "metadata", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/common/profiler/OAbstractProfiler.java#L517-L520", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/iterator/ORecordIteratorClusters.java", "func_name": "ORecordIteratorClusters.last", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Move the iterator to the end of the range. If no range was specified move to the last record of the cluster.\n\n@return The object itself", "docstring_tokens": ["Move", "the", "iterator", "to", "the", "end", "of", "the", "range", ".", "If", "no", "range", "was", "specified", "move", "to", "the", "last", "record", "of", "the", "cluster", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/iterator/ORecordIteratorClusters.java#L325-L349", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/serialization/serializer/OJSONReader.java", "func_name": "OJSONReader.nextChar", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the next character from the input stream. Handles Unicode decoding.", "docstring_tokens": ["Returns", "the", "next", "character", "from", "the", "input", "stream", ".", "Handles", "Unicode", "decoding", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/serialization/serializer/OJSONReader.java#L259-L308", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLFindReferences.java", "func_name": "OCommandExecutorSQLFindReferences.execute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Execute the FIND REFERENCES.", "docstring_tokens": ["Execute", "the", "FIND", "REFERENCES", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLFindReferences.java#L104-L115", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/command/OCommandRequestAbstract.java", "func_name": "OCommandRequestAbstract.onAsyncReplicationError", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Defines a callback to call in case of error during the asynchronous replication.", "docstring_tokens": ["Defines", "a", "callback", "to", "call", "in", "case", "of", "error", "during", "the", "asynchronous", "replication", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/command/OCommandRequestAbstract.java#L116-L139", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/compression/OCompressionFactory.java", "func_name": "OCompressionFactory.register", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers a stateless implementations, the same instance will be shared on all the storages.\n\n@param compression Compression class", "docstring_tokens": ["Registers", "a", "stateless", "implementations", "the", "same", "instance", "will", "be", "shared", "on", "all", "the", "storages", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/compression/OCompressionFactory.java#L110-L126", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/common/jna/ONative.java", "func_name": "ONative.getOpenFilesLimit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Detects limit of limit of open files.\n\n@param recommended recommended value of limit of open files.\n@param defLimit default value for limit of open files.\n\n@return limit of open files, available for the system.", "docstring_tokens": ["Detects", "limit", "of", "limit", "of", "open", "files", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/common/jna/ONative.java#L109-L145", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/parser/OMathExpression.java", "func_name": "OMathExpression.allowsIndexedFunctionExecutionOnTarget", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "tests if current expression is an indexed function AND that function can be used on this target\n\n@param target the query target\n@param context the execution context\n\n@return true if current expression is an indexed function AND that function can be used on this target, false otherwise", "docstring_tokens": ["tests", "if", "current", "expression", "is", "an", "indexed", "function", "AND", "that", "function", "can", "be", "used", "on", "this", "target"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/parser/OMathExpression.java#L843-L849", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/serialization/OMemoryStream.java", "func_name": "OMemoryStream.move", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Move bytes left or right of an offset.\n\n@param iFrom Starting position\n@param iPosition Offset to the iFrom value: positive values mean move right, otherwise move left", "docstring_tokens": ["Move", "bytes", "left", "or", "right", "of", "an", "offset", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/serialization/OMemoryStream.java#L84-L92", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/serialization/OMemoryStream.java", "func_name": "OMemoryStream.fill", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Fills the stream from current position writing iLength times the iFiller byte\n\n@param iLength Bytes to jump\n@param iFiller Byte to use to fill the space", "docstring_tokens": ["Fills", "the", "stream", "from", "current", "position", "writing", "iLength", "times", "the", "iFiller", "byte"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/serialization/OMemoryStream.java#L314-L318", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/executor/OScriptExecutionPlan.java", "func_name": "OScriptExecutionPlan.executeUntilReturn", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "executes all the script and returns last statement execution step, so that it can be executed from outside\n\n@return", "docstring_tokens": ["executes", "all", "the", "script", "and", "returns", "last", "statement", "execution", "step", "so", "that", "it", "can", "be", "executed", "from", "outside"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/executor/OScriptExecutionPlan.java#L174-L198", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/executor/OScriptExecutionPlan.java", "func_name": "OScriptExecutionPlan.executeFull", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "executes the whole script and returns last statement ONLY if it's a RETURN, otherwise it returns null;\n\n@return", "docstring_tokens": ["executes", "the", "whole", "script", "and", "returns", "last", "statement", "ONLY", "if", "it", "s", "a", "RETURN", "otherwise", "it", "returns", "null", ";"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/executor/OScriptExecutionPlan.java#L205-L225", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/operator/OQueryTargetOperator.java", "func_name": "OQueryTargetOperator.evaluateRecord", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "At run-time the evaluation per record must return always true since the recordset are filtered at the beginning unless an\noperator can work in both modes. In this case sub-class must extend it.", "docstring_tokens": ["At", "run", "-", "time", "the", "evaluation", "per", "record", "must", "return", "always", "true", "since", "the", "recordset", "are", "filtered", "at", "the", "beginning", "unless", "an", "operator", "can", "work", "in", "both", "modes", ".", "In", "this", "case", "sub", "-", "class", "must", "extend", "it", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/operator/OQueryTargetOperator.java#L50-L54", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLMoveVertex.java", "func_name": "OCommandExecutorSQLMoveVertex.execute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Executes the command and return the ODocument object created.", "docstring_tokens": ["Executes", "the", "command", "and", "return", "the", "ODocument", "object", "created", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLMoveVertex.java#L122-L184", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/config/OStorageConfigurationImpl.java", "func_name": "OStorageConfigurationImpl.load", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method load the record information by the internal cluster segment. It's for compatibility with older database than\n0.9.25.", "docstring_tokens": ["This", "method", "load", "the", "record", "information", "by", "the", "internal", "cluster", "segment", ".", "It", "s", "for", "compatibility", "with", "older", "database", "than", "0", ".", "9", ".", "25", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/config/OStorageConfigurationImpl.java#L287-L303", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/parser/OMatchStatement.java", "func_name": "OMatchStatement.parse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "this method parses the statement\n\n@param iRequest Command request implementation.\n@param \n\n@return", "docstring_tokens": ["this", "method", "parses", "the", "statement"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/parser/OMatchStatement.java#L204-L251", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/parser/OMatchStatement.java", "func_name": "OMatchStatement.execute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "this method works statefully, using request and context variables from current Match statement. This method will be deprecated\nin next releases\n\n@param iArgs Optional variable arguments to pass to the command.\n\n@return", "docstring_tokens": ["this", "method", "works", "statefully", "using", "request", "and", "context", "variables", "from", "current", "Match", "statement", ".", "This", "method", "will", "be", "deprecated", "in", "next", "releases"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/parser/OMatchStatement.java#L324-L328", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/parser/OMatchStatement.java", "func_name": "OMatchStatement.updateScheduleStartingAt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Start a depth-first traversal from the starting node, adding all viable unscheduled edges and vertices.\n\n@param startNode the node from which to start the depth-first traversal\n@param visitedNodes set of nodes that are already visited (mutated in this function)\n@param visitedEdges set of edges that are already visited and therefore don't need to be scheduled (mutated in this\nfunction)\n@param remainingDependencies dependency map including only the dependencies that haven't yet been satisfied (mutated in this\nfunction)\n@param resultingSchedule the schedule being computed i.e. appended to (mutated in this function)", "docstring_tokens": ["Start", "a", "depth", "-", "first", "traversal", "from", "the", "starting", "node", "adding", "all", "viable", "unscheduled", "edges", "and", "vertices", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/parser/OMatchStatement.java#L388-L473", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/index/OCompositeIndexDefinition.java", "func_name": "OCompositeIndexDefinition.addIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add new indexDefinition in current composite.\n\n@param indexDefinition Index to add.", "docstring_tokens": ["Add", "new", "indexDefinition", "in", "current", "composite", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/index/OCompositeIndexDefinition.java#L96-L106", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/parser/OProjectionItem.java", "func_name": "OProjectionItem.splitForAggregation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "INTERNAL USE ONLY this has to be invoked ONLY if the item is aggregate!!!\n\n@param aggregateSplit", "docstring_tokens": ["INTERNAL", "USE", "ONLY", "this", "has", "to", "be", "invoked", "ONLY", "if", "the", "item", "is", "aggregate!!!"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/parser/OProjectionItem.java#L211-L221", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/parser/OJson.java", "func_name": "OJson.toObjectDetermineType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "choosing return type is based on existence of @class and @type field in JSON\n@param source\n@param ctx\n@return", "docstring_tokens": ["choosing", "return", "type", "is", "based", "on", "existence", "of"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/parser/OJson.java#L97-L106", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/filter/OSQLFilterItemField.java", "func_name": "OSQLFilterItemField.getCollate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "get the collate of this expression, based on the fully evaluated field chain starting from the passed object.\n\n@param doc the root element (document?) of this field chain\n@return the collate, null if no collate is defined", "docstring_tokens": ["get", "the", "collate", "of", "this", "expression", "based", "on", "the", "fully", "evaluated", "field", "chain", "starting", "from", "the", "passed", "object", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/filter/OSQLFilterItemField.java#L237-L268", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/parser/OIdentifier.java", "func_name": "OIdentifier.getStringValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "returns the plain string representation of this identifier, with quoting removed from back-ticks\n\n@return", "docstring_tokens": ["returns", "the", "plain", "string", "representation", "of", "this", "identifier", "with", "quoting", "removed", "from", "back", "-", "ticks"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/parser/OIdentifier.java#L83-L91", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/cache/chm/readbuffer/StripedBuffer.java", "func_name": "StripedBuffer.advanceProbe", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Pseudo-randomly advances and records the given probe value for the given thread.", "docstring_tokens": ["Pseudo", "-", "randomly", "advances", "and", "records", "the", "given", "probe", "value", "for", "the", "given", "thread", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/cache/chm/readbuffer/StripedBuffer.java#L135-L142", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLDropCluster.java", "func_name": "OCommandExecutorSQLDropCluster.execute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Execute the DROP CLUSTER.", "docstring_tokens": ["Execute", "the", "DROP", "CLUSTER", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLDropCluster.java#L86-L107", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "etl/src/main/java/com/orientechnologies/orient/etl/util/OFileManager.java", "func_name": "OFileManager.buildJsonFromFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "It returns a ODocument starting from a json file.\n\n@param filePath\n\n@return ODocument (null if the file does not exist or problem are encountered during the reading)", "docstring_tokens": ["It", "returns", "a", "ODocument", "starting", "from", "a", "json", "file", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/etl/src/main/java/com/orientechnologies/orient/etl/util/OFileManager.java#L123-L141", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/security/OSecurityManager.java", "func_name": "OSecurityManager.checkPassword", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks if an hash string matches a password, based on the algorithm found on hash string.\n\n@param iHash\nHash string. Can contain the algorithm as prefix in the format {ALGORITHM}-HASH.\n@param iPassword\n@return", "docstring_tokens": ["Checks", "if", "an", "hash", "string", "matches", "a", "password", "based", "on", "the", "algorithm", "found", "on", "hash", "string", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/security/OSecurityManager.java#L97-L115", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/security/OSecurityManager.java", "func_name": "OSecurityManager.createHash", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Hashes the input string.\n\n@param iInput\nString to hash\n@param iIncludeAlgorithm\nInclude the algorithm used or not\n@return", "docstring_tokens": ["Hashes", "the", "input", "string", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/security/OSecurityManager.java#L130-L162", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/security/OSecurityManager.java", "func_name": "OSecurityManager.isAlgorithmSupported", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if the algorithm is supported by the current version of Java", "docstring_tokens": ["Returns", "true", "if", "the", "algorithm", "is", "supported", "by", "the", "current", "version", "of", "Java"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/security/OSecurityManager.java#L253-L265", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/index/OIndexAbstract.java", "func_name": "OIndexAbstract.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates the index.\n\n@param clusterIndexName Cluster name where to place the TreeMap", "docstring_tokens": ["Creates", "the", "index", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/index/OIndexAbstract.java#L193-L253", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientGraphQuery.java", "func_name": "OrientGraphQuery.vertices", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the result set of the query as iterable vertices.", "docstring_tokens": ["Returns", "the", "result", "set", "of", "the", "query", "as", "iterable", "vertices", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientGraphQuery.java#L147-L203", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientGraphQuery.java", "func_name": "OrientGraphQuery.edges", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the result set of the query as iterable edges.", "docstring_tokens": ["Returns", "the", "result", "set", "of", "the", "query", "as", "iterable", "edges", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientGraphQuery.java#L228-L272", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "distributed/src/main/java/com/orientechnologies/orient/server/distributed/impl/task/OAbstract2pcTask.java", "func_name": "OAbstract2pcTask.getPartitionKey", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the partition keys of all the sub-tasks.", "docstring_tokens": ["Return", "the", "partition", "keys", "of", "all", "the", "sub", "-", "tasks", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/distributed/src/main/java/com/orientechnologies/orient/server/distributed/impl/task/OAbstract2pcTask.java#L71-L85", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "distributed/src/main/java/com/orientechnologies/orient/server/distributed/impl/task/OAbstract2pcTask.java", "func_name": "OAbstract2pcTask.getDistributedTimeout", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Computes the timeout according to the transaction size.\n\n@return", "docstring_tokens": ["Computes", "the", "timeout", "according", "to", "the", "transaction", "size", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/distributed/src/main/java/com/orientechnologies/orient/server/distributed/impl/task/OAbstract2pcTask.java#L124-L128", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientGraph.java", "func_name": "OrientGraph.getFeatures", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the current Graph settings.\n\n@return Features object", "docstring_tokens": ["Returns", "the", "current", "Graph", "settings", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientGraph.java#L236-L280", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/paginated/atomicoperations/OAtomicOperation.java", "func_name": "OAtomicOperation.checkChangesFilledUpTo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This check if a file was trimmed or trunked in the current atomic operation.\n\n@param changesContainer changes container to check\n@param pageIndex limit to check against the changes\n\n@return true if there are no changes or pageIndex still fit, false if the pageIndex do not fit anymore", "docstring_tokens": ["This", "check", "if", "a", "file", "was", "trimmed", "or", "trunked", "in", "the", "current", "atomic", "operation", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/paginated/atomicoperations/OAtomicOperation.java#L298-L305", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLAbstract.java", "func_name": "OCommandExecutorSQLAbstract.parseTimeout", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses the timeout keyword if found.", "docstring_tokens": ["Parses", "the", "timeout", "keyword", "if", "found", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLAbstract.java#L110-L137", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLAbstract.java", "func_name": "OCommandExecutorSQLAbstract.parseLock", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses the lock keyword if found.", "docstring_tokens": ["Parses", "the", "lock", "keyword", "if", "found", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLAbstract.java#L142-L151", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/OSystemDatabase.java", "func_name": "OSystemDatabase.createCluster", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds the specified cluster to the class, if it doesn't already exist.", "docstring_tokens": ["Adds", "the", "specified", "cluster", "to", "the", "class", "if", "it", "doesn", "t", "already", "exist", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/OSystemDatabase.java#L55-L82", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/cache/OAbstractRecordCache.java", "func_name": "OAbstractRecordCache.freeCluster", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove all records belonging to specified cluster\n\n@param cid\nidentifier of cluster", "docstring_tokens": ["Remove", "all", "records", "belonging", "to", "specified", "cluster"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/cache/OAbstractRecordCache.java#L93-L103", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/cache/OAbstractRecordCache.java", "func_name": "OAbstractRecordCache.startup", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "All operations running at cache initialization stage", "docstring_tokens": ["All", "operations", "running", "at", "cache", "initialization", "stage"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/cache/OAbstractRecordCache.java#L135-L145", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/cache/OAbstractRecordCache.java", "func_name": "OAbstractRecordCache.shutdown", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "All operations running at cache destruction stage", "docstring_tokens": ["All", "operations", "running", "at", "cache", "destruction", "stage"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/cache/OAbstractRecordCache.java#L150-L158", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/command/script/OScriptResultSets.java", "func_name": "OScriptResultSets.singleton", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Result set with a single result;\n\n@return", "docstring_tokens": ["Result", "set", "with", "a", "single", "result", ";"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/command/script/OScriptResultSets.java#L30-L32", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/metadata/security/ORole.java", "func_name": "ORole.grant", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Grant a permission to the resource.\n\n@return", "docstring_tokens": ["Grant", "a", "permission", "to", "the", "resource", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/metadata/security/ORole.java#L292-L305", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/metadata/security/ORole.java", "func_name": "ORole.revoke", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Revoke a permission to the resource.", "docstring_tokens": ["Revoke", "a", "permission", "to", "the", "resource", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/metadata/security/ORole.java#L310-L327", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLDelete.java", "func_name": "OCommandExecutorSQLDelete.result", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Deletes the current record.", "docstring_tokens": ["Deletes", "the", "current", "record", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLDelete.java#L291-L331", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/filter/OSQLPredicate.java", "func_name": "OSQLPredicate.bindParameters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Binds parameters.", "docstring_tokens": ["Binds", "parameters", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/filter/OSQLPredicate.java#L383-L395", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/cache/chm/FrequencySketch.java", "func_name": "FrequencySketch.reset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reduces every counter by half of its original value.", "docstring_tokens": ["Reduces", "every", "counter", "by", "half", "of", "its", "original", "value", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/cache/chm/FrequencySketch.java#L156-L163", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/cache/chm/FrequencySketch.java", "func_name": "FrequencySketch.indexOf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the table index for the counter at the specified depth.\n\n@param item the element's hash\n@param i the counter depth\n\n@return the table index", "docstring_tokens": ["Returns", "the", "table", "index", "for", "the", "counter", "at", "the", "specified", "depth", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/cache/chm/FrequencySketch.java#L173-L177", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/cache/chm/FrequencySketch.java", "func_name": "FrequencySketch.spread", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Applies a supplemental hash function to a given hashCode, which defends against poor quality\nhash functions.", "docstring_tokens": ["Applies", "a", "supplemental", "hash", "function", "to", "a", "given", "hashCode", "which", "defends", "against", "poor", "quality", "hash", "functions", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/cache/chm/FrequencySketch.java#L183-L187", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/metadata/schema/OPropertyImpl.java", "func_name": "OPropertyImpl.createIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an index on this property. Indexes speed up queries but slow down insert and update operations. For massive inserts we\nsuggest to remove the index, make the massive insert and recreate it.\n\n@param iType\n\n@return\n\n@see {@link OClass#createIndex(String, OClass.INDEX_TYPE, String...)} instead.", "docstring_tokens": ["Creates", "an", "index", "on", "this", "property", ".", "Indexes", "speed", "up", "queries", "but", "slow", "down", "insert", "and", "update", "operations", ".", "For", "massive", "inserts", "we", "suggest", "to", "remove", "the", "index", "make", "the", "massive", "insert", "and", "recreate", "it", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/metadata/schema/OPropertyImpl.java#L157-L164", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/metadata/schema/OPropertyImpl.java", "func_name": "OPropertyImpl.dropIndexes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove the index on property\n\n@deprecated Use {@link OIndexManager#dropIndex(String)} instead.", "docstring_tokens": ["Remove", "the", "index", "on", "property"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/metadata/schema/OPropertyImpl.java#L186-L215", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/metadata/schema/OPropertyImpl.java", "func_name": "OPropertyImpl.getIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the first index defined for the property.\n\n@deprecated Use {@link OClass#getInvolvedIndexes(String...)} instead.", "docstring_tokens": ["Returns", "the", "first", "index", "defined", "for", "the", "property", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/metadata/schema/OPropertyImpl.java#L232-L243", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/metadata/schema/OPropertyImpl.java", "func_name": "OPropertyImpl.getLinkedClass", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the linked class in lazy mode because while unmarshalling the class could be not loaded yet.\n\n@return", "docstring_tokens": ["Returns", "the", "linked", "class", "in", "lazy", "mode", "because", "while", "unmarshalling", "the", "class", "could", "be", "not", "loaded", "yet", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/metadata/schema/OPropertyImpl.java#L280-L289", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/index/OIndexManagerShared.java", "func_name": "OIndexManagerShared.toStream", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Binds POJO to ODocument.", "docstring_tokens": ["Binds", "POJO", "to", "ODocument", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/index/OIndexManagerShared.java#L269-L292", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/record/ORecordAbstract.java", "func_name": "ORecordAbstract.removeListener", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove the current event listener.\n\n@see ORecordListener", "docstring_tokens": ["Remove", "the", "current", "event", "listener", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/record/ORecordAbstract.java#L473-L479", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "distributed/src/main/java/com/orientechnologies/orient/server/distributed/impl/ODistributedMessageServiceImpl.java", "func_name": "ODistributedMessageServiceImpl.registerDatabase", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a distributed database instance if not defined yet.", "docstring_tokens": ["Creates", "a", "distributed", "database", "instance", "if", "not", "defined", "yet", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/distributed/src/main/java/com/orientechnologies/orient/server/distributed/impl/ODistributedMessageServiceImpl.java#L144-L150", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "distributed/src/main/java/com/orientechnologies/orient/server/distributed/impl/ODistributedMessageServiceImpl.java", "func_name": "ODistributedMessageServiceImpl.timeoutRequest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes a response manager because in timeout.", "docstring_tokens": ["Removes", "a", "response", "manager", "because", "in", "timeout", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/distributed/src/main/java/com/orientechnologies/orient/server/distributed/impl/ODistributedMessageServiceImpl.java#L214-L218", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/db/document/ODatabaseDocumentEmbedded.java", "func_name": "ODatabaseDocumentEmbedded.copy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a copy of current database if it's open. The returned instance can be used by another thread without affecting current\ninstance. The database copy is not set in thread local.", "docstring_tokens": ["Returns", "a", "copy", "of", "current", "database", "if", "it", "s", "open", ".", "The", "returned", "instance", "can", "be", "used", "by", "another", "thread", "without", "affecting", "current", "instance", ".", "The", "database", "copy", "is", "not", "set", "in", "thread", "local", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/db/document/ODatabaseDocumentEmbedded.java#L488-L501", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/db/record/ridbag/ORidBag.java", "func_name": "ORidBag.tryMerge", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "IMPORTANT! Only for internal usage.", "docstring_tokens": ["IMPORTANT!", "Only", "for", "internal", "usage", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/db/record/ridbag/ORidBag.java#L424-L457", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/db/record/ridbag/ORidBag.java", "func_name": "ORidBag.replaceWithSBTree", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Silently replace delegate by tree implementation.\n\n@param pointer new collection pointer", "docstring_tokens": ["Silently", "replace", "delegate", "by", "tree", "implementation", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/db/record/ridbag/ORidBag.java#L471-L479", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/command/script/OCommandExecutorUtility.java", "func_name": "OCommandExecutorUtility.transformResult", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Manages cross compiler compatibility issues.\n\n@param result Result to transform", "docstring_tokens": ["Manages", "cross", "compiler", "compatibility", "issues", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/command/script/OCommandExecutorUtility.java#L53-L79", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLCreateCluster.java", "func_name": "OCommandExecutorSQLCreateCluster.execute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Execute the CREATE CLUSTER.", "docstring_tokens": ["Execute", "the", "CREATE", "CLUSTER", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLCreateCluster.java#L107-L130", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/db/ODatabasePoolAbstract.java", "func_name": "ODatabasePoolAbstract.close", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Closes all the databases.", "docstring_tokens": ["Closes", "all", "the", "databases", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/db/ODatabasePoolAbstract.java#L256-L280", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/db/ODatabasePoolAbstract.java", "func_name": "ODatabasePoolAbstract.onStorageUnregistered", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes from memory the pool associated to the closed storage. This avoids pool open against closed storages.", "docstring_tokens": ["Removes", "from", "memory", "the", "pool", "associated", "to", "the", "closed", "storage", ".", "This", "avoids", "pool", "open", "against", "closed", "storages", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/db/ODatabasePoolAbstract.java#L324-L349", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/OSQLEngine.java", "func_name": "OSQLEngine.getFunctionNames", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Iterates on all factories and append all function names.\n\n@return Set of all function names.", "docstring_tokens": ["Iterates", "on", "all", "factories", "and", "append", "all", "function", "names", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/OSQLEngine.java#L244-L251", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/OSQLEngine.java", "func_name": "OSQLEngine.getCollateNames", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Iterates on all factories and append all collate names.\n\n@return Set of all colate names.", "docstring_tokens": ["Iterates", "on", "all", "factories", "and", "append", "all", "collate", "names", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/OSQLEngine.java#L267-L274", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/OSQLEngine.java", "func_name": "OSQLEngine.getCommandNames", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Iterates on all factories and append all command names.\n\n@return Set of all command names.", "docstring_tokens": ["Iterates", "on", "all", "factories", "and", "append", "all", "command", "names", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/OSQLEngine.java#L281-L288", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/serialization/serializer/record/binary/ORecordSerializerBinaryV1.java", "func_name": "ORecordSerializerBinaryV1.getFieldSizeAndTypeFromCurrentPosition", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "use only for named fields", "docstring_tokens": ["use", "only", "for", "named", "fields"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/serialization/serializer/record/binary/ORecordSerializerBinaryV1.java#L632-L636", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/network/protocol/http/OHttpResponseWrapper.java", "func_name": "OHttpResponseWrapper.writeStatus", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the response's status as HTTP code and reason.\n\n@param iHttpCode\nResponse's HTTP code\n@param iReason\nResponse's reason\n@return The object itself for fluent chained calls", "docstring_tokens": ["Sets", "the", "response", "s", "status", "as", "HTTP", "code", "and", "reason", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/network/protocol/http/OHttpResponseWrapper.java#L113-L116", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/network/protocol/http/OHttpResponseWrapper.java", "func_name": "OHttpResponseWrapper.writeHeaders", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the response's headers specifying when using the keep-alive or not.\n\n@param iContentType\nResponse's content type\n@param iKeepAlive\nUse the keep-alive of the connection\n@return The object itself for fluent chained calls", "docstring_tokens": ["Sets", "the", "response", "s", "headers", "specifying", "when", "using", "the", "keep", "-", "alive", "or", "not", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/network/protocol/http/OHttpResponseWrapper.java#L140-L143", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/network/protocol/http/OHttpResponseWrapper.java", "func_name": "OHttpResponseWrapper.writeRecords", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes records as response specifying a fetch-plan to serialize nested records. The records are serialized in JSON format.\n\n@param iRecords\nList of records to serialize\n@param iFetchPlan\nFetch plan to specify nested records\n@return The object itself for fluent chained calls", "docstring_tokens": ["Writes", "records", "as", "response", "specifying", "a", "fetch", "-", "plan", "to", "serialize", "nested", "records", ".", "The", "records", "are", "serialized", "in", "JSON", "format", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/network/protocol/http/OHttpResponseWrapper.java#L190-L193", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/network/protocol/http/OHttpResponseWrapper.java", "func_name": "OHttpResponseWrapper.writeRecord", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes a record as response. The record is serialized in JSON format.\n\n@param iRecord\nRecord to serialize\n@param iFetchPlan\nFetch plan to specify nested records\n@return The object itself for fluent chained calls", "docstring_tokens": ["Writes", "a", "record", "as", "response", ".", "The", "record", "is", "serialized", "in", "JSON", "format", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/network/protocol/http/OHttpResponseWrapper.java#L216-L219", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/network/protocol/http/OHttpResponseWrapper.java", "func_name": "OHttpResponseWrapper.send", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sends the complete HTTP response in one call.\n\n@param iCode\nHTTP response's Code\n@param iReason\nResponse's reason\n@param iContentType\nResponse's content type\n@param iContent\nContent to send. Content can be a string for plain text, binary data to return directly binary information,\nOIdentifiable for a single record and Collection for a collection of records\n@return The object itself for fluent chained calls", "docstring_tokens": ["Sends", "the", "complete", "HTTP", "response", "in", "one", "call", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/network/protocol/http/OHttpResponseWrapper.java#L235-L239", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/network/protocol/http/OHttpResponseWrapper.java", "func_name": "OHttpResponseWrapper.sendStream", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sends the complete HTTP response in one call specifying a stream as content.\n\n@param iCode\nHTTP response's Code\n@param iReason\nResponse's reason\n@param iContentType\nResponse's content type\n@param iContent\njava.io.InputStream object\n@param iSize\nContent size in bytes\n@return The object itself for fluent chained calls", "docstring_tokens": ["Sends", "the", "complete", "HTTP", "response", "in", "one", "call", "specifying", "a", "stream", "as", "content", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/network/protocol/http/OHttpResponseWrapper.java#L278-L282", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "object/src/main/java/com/orientechnologies/orient/object/db/OrientDBObject.java", "func_name": "OrientDBObject.open", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Open a database specified by name using the username and password if needed\n\n@param name of the database to open\n@param user the username allowed to open the database\n@param password related to the specified username\n\n@return the opened database", "docstring_tokens": ["Open", "a", "database", "specified", "by", "name", "using", "the", "username", "and", "password", "if", "needed"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/object/src/main/java/com/orientechnologies/orient/object/db/OrientDBObject.java#L160-L162", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/db/document/ODatabaseDocumentTxPooled.java", "func_name": "ODatabaseDocumentTxPooled.close", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Avoid to close it but rather release itself to the owner pool.", "docstring_tokens": ["Avoid", "to", "close", "it", "but", "rather", "release", "itself", "to", "the", "owner", "pool", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/db/document/ODatabaseDocumentTxPooled.java#L109-L142", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/ridbag/sbtree/OSBTreeCollectionManagerShared.java", "func_name": "OSBTreeCollectionManagerShared.listenForChanges", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Change UUID to null to prevent its serialization to disk.", "docstring_tokens": ["Change", "UUID", "to", "null", "to", "prevent", "its", "serialization", "to", "disk", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/ridbag/sbtree/OSBTreeCollectionManagerShared.java#L170-L183", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/statistic/OSessionStoragePerformanceStatistic.java", "func_name": "OSessionStoragePerformanceStatistic.completeComponentOperation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Indicates that the most earliest component in stack of components has completed it's operation, so performance data for this\ncomponent is stopped to be gathered.\n\n@see #startComponentOperation(String, ComponentType)", "docstring_tokens": ["Indicates", "that", "the", "most", "earliest", "component", "in", "stack", "of", "components", "has", "completed", "it", "s", "operation", "so", "performance", "data", "for", "this", "component", "is", "stopped", "to", "be", "gathered", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/statistic/OSessionStoragePerformanceStatistic.java#L188-L207", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/statistic/OSessionStoragePerformanceStatistic.java", "func_name": "OSessionStoragePerformanceStatistic.pushComponentCounters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Takes performance data are split by components from last snapshot and aggregates them with data passed inside method as\nparameter. Result of aggregation of performance data is returned inside of passed in performance data.\n\n@param counters Performance data for each component.", "docstring_tokens": ["Takes", "performance", "data", "are", "split", "by", "components", "from", "last", "snapshot", "and", "aggregates", "them", "with", "data", "passed", "inside", "method", "as", "parameter", ".", "Result", "of", "aggregation", "of", "performance", "data", "is", "returned", "inside", "of", "passed", "in", "performance", "data", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/statistic/OSessionStoragePerformanceStatistic.java#L446-L457", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/statistic/OSessionStoragePerformanceStatistic.java", "func_name": "OSessionStoragePerformanceStatistic.pushWriteCacheCounters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Takes write cache performance data from last snapshot and aggregates them with data passed inside method as parameter. Result\nof aggregation of performance data is returned inside of passed in performance data and as result of this method call.\n\n@param holder Performance data for write cache may be null\n\n@return Result of aggregation of performance data", "docstring_tokens": ["Takes", "write", "cache", "performance", "data", "from", "last", "snapshot", "and", "aggregates", "them", "with", "data", "passed", "inside", "method", "as", "parameter", ".", "Result", "of", "aggregation", "of", "performance", "data", "is", "returned", "inside", "of", "passed", "in", "performance", "data", "and", "as", "result", "of", "this", "method", "call", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/statistic/OSessionStoragePerformanceStatistic.java#L467-L480", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/statistic/OSessionStoragePerformanceStatistic.java", "func_name": "OSessionStoragePerformanceStatistic.pushStorageCounters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Takes storage performance data from last snapshot and aggregates them with data passed inside method as parameter. Result of\naggregation of performance data is returned inside of passed in performance data and as result of this method call.\n\n@param holder Performance data for storage may be null\n\n@return Result of aggregation of performance data", "docstring_tokens": ["Takes", "storage", "performance", "data", "from", "last", "snapshot", "and", "aggregates", "them", "with", "data", "passed", "inside", "method", "as", "parameter", ".", "Result", "of", "aggregation", "of", "performance", "data", "is", "returned", "inside", "of", "passed", "in", "performance", "data", "and", "as", "result", "of", "this", "method", "call", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/statistic/OSessionStoragePerformanceStatistic.java#L490-L503", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/statistic/OSessionStoragePerformanceStatistic.java", "func_name": "OSessionStoragePerformanceStatistic.pushWALCounters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Takes write ahead log data from last snapshot and aggregates them with data passed inside method as parameter. Result of\naggregation of performance data is returned inside of passed in performance data and as result of this method call.\n\n@param holder Performance data for write ahead log may be null\n\n@return Result of aggregation of performance data", "docstring_tokens": ["Takes", "write", "ahead", "log", "data", "from", "last", "snapshot", "and", "aggregates", "them", "with", "data", "passed", "inside", "method", "as", "parameter", ".", "Result", "of", "aggregation", "of", "performance", "data", "is", "returned", "inside", "of", "passed", "in", "performance", "data", "and", "as", "result", "of", "this", "method", "call", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/statistic/OSessionStoragePerformanceStatistic.java#L513-L526", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/statistic/OSessionStoragePerformanceStatistic.java", "func_name": "OSessionStoragePerformanceStatistic.pushComponentCounters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Takes performance data for component from last snapshot and aggregates them with data passed inside method as parameter. Result\nof aggregation of performance data is returned inside of passed in performance data.\n\n@param name Name of component for which performance data are gathered.\n@param holder Performance data for given component.", "docstring_tokens": ["Takes", "performance", "data", "for", "component", "from", "last", "snapshot", "and", "aggregates", "them", "with", "data", "passed", "inside", "method", "as", "parameter", ".", "Result", "of", "aggregation", "of", "performance", "data", "is", "returned", "inside", "of", "passed", "in", "performance", "data", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/statistic/OSessionStoragePerformanceStatistic.java#L549-L558", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/statistic/OSessionStoragePerformanceStatistic.java", "func_name": "OSessionStoragePerformanceStatistic.stopWriteCacheFlushTimer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Stops and records results of timer which counts how much time was spent on operation of flush pages in write cache.\n\n@param pagesFlushed Amount of pages were flushed during this operation.", "docstring_tokens": ["Stops", "and", "records", "results", "of", "timer", "which", "counts", "how", "much", "time", "was", "spent", "on", "operation", "of", "flush", "pages", "in", "write", "cache", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/statistic/OSessionStoragePerformanceStatistic.java#L674-L688", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/statistic/OSessionStoragePerformanceStatistic.java", "func_name": "OSessionStoragePerformanceStatistic.stopFuzzyCheckpointTimer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Stops and records results of timer which counts how much time was spent on fuzzy checkpoint operation.", "docstring_tokens": ["Stops", "and", "records", "results", "of", "timer", "which", "counts", "how", "much", "time", "was", "spent", "on", "fuzzy", "checkpoint", "operation", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/statistic/OSessionStoragePerformanceStatistic.java#L700-L711", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/statistic/OSessionStoragePerformanceStatistic.java", "func_name": "OSessionStoragePerformanceStatistic.stopFullCheckpointTimer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Stops and records results of timer which counts how much time was spent on full checkpoint operation.", "docstring_tokens": ["Stops", "and", "records", "results", "of", "timer", "which", "counts", "how", "much", "time", "was", "spent", "on", "full", "checkpoint", "operation", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/statistic/OSessionStoragePerformanceStatistic.java#L772-L783", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/statistic/OSessionStoragePerformanceStatistic.java", "func_name": "OSessionStoragePerformanceStatistic.stopCommitTimer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Stops and records results of timer which counts how much time was spent on atomic operation commit.", "docstring_tokens": ["Stops", "and", "records", "results", "of", "timer", "which", "counts", "how", "much", "time", "was", "spent", "on", "atomic", "operation", "commit", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/statistic/OSessionStoragePerformanceStatistic.java#L1092-L1100", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/statistic/OSessionStoragePerformanceStatistic.java", "func_name": "OSessionStoragePerformanceStatistic.stopWALRecordTimer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Stops and records results of timer which counts how much time was spent on logging of single write ahead log record.\n\n@param isStartRecord Indicates whether we logged \"start atomic operation\" record\n@param isStopRecord Indicates whether we logged \"stop atomic operation\" record", "docstring_tokens": ["Stops", "and", "records", "results", "of", "timer", "which", "counts", "how", "much", "time", "was", "spent", "on", "logging", "of", "single", "write", "ahead", "log", "record", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/statistic/OSessionStoragePerformanceStatistic.java#L1115-L1134", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/statistic/OSessionStoragePerformanceStatistic.java", "func_name": "OSessionStoragePerformanceStatistic.stopWALFlushTimer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Stops timer and records how much time was spent on flushing of data from write ahead log cache.", "docstring_tokens": ["Stops", "timer", "and", "records", "how", "much", "time", "was", "spent", "on", "flushing", "of", "data", "from", "write", "ahead", "log", "cache", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/statistic/OSessionStoragePerformanceStatistic.java#L1146-L1157", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/parser/OStatementCache.java", "func_name": "OStatementCache.parse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "parses an SQL statement and returns the corresponding executor\n\n@param statement the SQL statement\n\n@return the corresponding executor\n\n@throws OCommandSQLParsingException if the input parameter is not a valid SQL statement", "docstring_tokens": ["parses", "an", "SQL", "statement", "and", "returns", "the", "corresponding", "executor"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/parser/OStatementCache.java#L98-L137", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "distributed-v2/src/main/java/com/orientechnologies/orient/distributed/impl/ONodeManager.java", "func_name": "ONodeManager.initReceiveMessages", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "inits the procedure that listens to pings from other servers, eg. that discovers other nodes in the network\n\n@throws IOException", "docstring_tokens": ["inits", "the", "procedure", "that", "listens", "to", "pings", "from", "other", "servers", "eg", ".", "that", "discovers", "other", "nodes", "in", "the", "network"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/distributed-v2/src/main/java/com/orientechnologies/orient/distributed/impl/ONodeManager.java#L129-L138", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "distributed-v2/src/main/java/com/orientechnologies/orient/distributed/impl/ONodeManager.java", "func_name": "ONodeManager.initCheckDisconnect", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "inits the procedure that checks if a server is no longer available, ie. if he did not ping for a long time", "docstring_tokens": ["inits", "the", "procedure", "that", "checks", "if", "a", "server", "is", "no", "longer", "available", "ie", ".", "if", "he", "did", "not", "ping", "for", "a", "long", "time"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/distributed-v2/src/main/java/com/orientechnologies/orient/distributed/impl/ONodeManager.java#L301-L315", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientElement.java", "func_name": "OrientElement.removeRecord", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes the Element from the Graph. In case the element is a Vertex, all the incoming and outgoing edges are automatically\nremoved too.", "docstring_tokens": ["Removes", "the", "Element", "from", "the", "Graph", ".", "In", "case", "the", "element", "is", "a", "Vertex", "all", "the", "incoming", "and", "outgoing", "edges", "are", "automatically", "removed", "too", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientElement.java#L106-L122", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientElement.java", "func_name": "OrientElement.setProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets a Property value.\n\n@param key Property name\n@param value Property value", "docstring_tokens": ["Sets", "a", "Property", "value", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientElement.java#L181-L193", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientElement.java", "func_name": "OrientElement.removeProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes a Property.\n\n@param key Property name\n@return Old value if any", "docstring_tokens": ["Removes", "a", "Property", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientElement.java#L223-L236", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientElement.java", "func_name": "OrientElement.checkForClassInSchema", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if a class already exists, otherwise create it at the fly. If a transaction is running commit changes, create the class\nand begin a new transaction.\n\n@param className Class's name", "docstring_tokens": ["Check", "if", "a", "class", "already", "exists", "otherwise", "create", "it", "at", "the", "fly", ".", "If", "a", "transaction", "is", "running", "commit", "changes", "create", "the", "class", "and", "begin", "a", "new", "transaction", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientElement.java#L602-L636", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/index/OIndexChangesWrapper.java", "func_name": "OIndexChangesWrapper.wrap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Wraps courser only if it is not already wrapped.\n\n@param source Index which is used to create given cursor.\n@param cursor Cursor to wrap.\n@param indexRebuildVersion Rebuild version of index before cursor was created.\n@return Wrapped cursor.\n@see OIndex#getRebuildVersion()", "docstring_tokens": ["Wraps", "courser", "only", "if", "it", "is", "not", "already", "wrapped", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/index/OIndexChangesWrapper.java#L39-L48", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/orientechnologies/orient/graph/graphml/OGraphMLReader.java", "func_name": "OGraphMLReader.defineVertexAttributeStrategy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Define custom strategy to use for vertex attribute.\n\n@param iAttributeName\nattribute name\n@param iStrategy\nstrategy implementation", "docstring_tokens": ["Define", "custom", "strategy", "to", "use", "for", "vertex", "attribute", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/orientechnologies/orient/graph/graphml/OGraphMLReader.java#L83-L86", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/orientechnologies/orient/graph/graphml/OGraphMLReader.java", "func_name": "OGraphMLReader.defineEdgeAttributeStrategy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Define custom strategy to use for edge attribute.\n\n@param iAttributeName\nattribute name\n@param iStrategy\nstrategy implementation", "docstring_tokens": ["Define", "custom", "strategy", "to", "use", "for", "edge", "attribute", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/orientechnologies/orient/graph/graphml/OGraphMLReader.java#L96-L99", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/tx/OTransactionRealAbstract.java", "func_name": "OTransactionRealAbstract.getNewRecordEntriesByClass", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Called by class iterator.", "docstring_tokens": ["Called", "by", "class", "iterator", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/tx/OTransactionRealAbstract.java#L153-L177", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/tx/OTransactionRealAbstract.java", "func_name": "OTransactionRealAbstract.getNewRecordEntriesByClusterIds", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Called by cluster iterator.", "docstring_tokens": ["Called", "by", "cluster", "iterator", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/tx/OTransactionRealAbstract.java#L182-L204", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/tx/OTransactionRealAbstract.java", "func_name": "OTransactionRealAbstract.addIndexEntry", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Bufferizes index changes to be flushed at commit time.", "docstring_tokens": ["Bufferizes", "index", "changes", "to", "be", "flushed", "at", "commit", "time", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/tx/OTransactionRealAbstract.java#L278-L305", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/record/impl/ODirtyManager.java", "func_name": "ODirtyManager.mergeSet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Merge the two set try to use the optimum case\n\n@param target\n@param source\n\n@return", "docstring_tokens": ["Merge", "the", "two", "set", "try", "to", "use", "the", "optimum", "case"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/record/impl/ODirtyManager.java#L109-L125", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLUpdate.java", "func_name": "OCommandExecutorSQLUpdate.result", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Update current record.", "docstring_tokens": ["Update", "current", "record", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLUpdate.java#L325-L358", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/parser/OFunctionCall.java", "func_name": "OFunctionCall.canExecuteIndexedFunctionWithoutIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "tests if current function is an indexed function AND that function can also be executed without using the index\n\n@param target the query target\n@param context the execution context\n@param operator\n@param right\n\n@return true if current function is an indexed funciton AND that function can also be executed without using the index, false\notherwise", "docstring_tokens": ["tests", "if", "current", "function", "is", "an", "indexed", "function", "AND", "that", "function", "can", "also", "be", "executed", "without", "using", "the", "index"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/parser/OFunctionCall.java#L202-L210", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/OChainedIndexProxy.java", "func_name": "OChainedIndexProxy.prepareKeys", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make type conversion of keys for specific index.\n\n@param index - index for which keys prepared for.\n@param keys - which should be prepared.\n\n@return keys converted to necessary type.", "docstring_tokens": ["Make", "type", "conversion", "of", "keys", "for", "specific", "index", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/OChainedIndexProxy.java#L405-L416", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/paginated/wal/OWALSegmentCache.java", "func_name": "OWALSegmentCache.writePage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes page with given page index to the cache and eventually writes it to the file.", "docstring_tokens": ["Writes", "page", "with", "given", "page", "index", "to", "the", "cache", "and", "eventually", "writes", "it", "to", "the", "file", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/paginated/wal/OWALSegmentCache.java#L104-L126", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/paginated/wal/OWALSegmentCache.java", "func_name": "OWALSegmentCache.readPage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read page content with given index from cache or file.", "docstring_tokens": ["Read", "page", "content", "with", "given", "index", "from", "cache", "or", "file", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/paginated/wal/OWALSegmentCache.java#L171-L192", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/paginated/wal/OWALSegmentCache.java", "func_name": "OWALSegmentCache.truncate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Flushes all buffered pages and truncates file till passed in page index", "docstring_tokens": ["Flushes", "all", "buffered", "pages", "and", "truncates", "file", "till", "passed", "in", "page", "index"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/paginated/wal/OWALSegmentCache.java#L197-L208", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/paginated/wal/OWALSegmentCache.java", "func_name": "OWALSegmentCache.open", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Initializes cache and opens underlying file.", "docstring_tokens": ["Initializes", "cache", "and", "opens", "underlying", "file", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/paginated/wal/OWALSegmentCache.java#L336-L355", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java", "func_name": "ODistributedConfiguration.isReplicationActive", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if the replication is active, otherwise false.\n\n@param iClusterName Cluster name, or null for *", "docstring_tokens": ["Returns", "true", "if", "the", "replication", "is", "active", "otherwise", "false", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java#L84-L90", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java", "func_name": "ODistributedConfiguration.getNewNodeStrategy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the new node strategy between \"dynamic\" and \"static\". If static, the node is registered under the \"server\" tag.\n\n@return NEW_NODE_STRATEGIES enum", "docstring_tokens": ["Returns", "the", "new", "node", "strategy", "between", "dynamic", "and", "static", ".", "If", "static", "the", "node", "is", "registered", "under", "the", "server", "tag", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java#L108-L115", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java", "func_name": "ODistributedConfiguration.isExecutionModeSynchronous", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the execution mode if synchronous.\n\n@param iClusterName Cluster name, or null for *\n\n@return true = synchronous, false = asynchronous, null = undefined", "docstring_tokens": ["Returns", "the", "execution", "mode", "if", "synchronous", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java#L124-L136", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java", "func_name": "ODistributedConfiguration.isReadYourWrites", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads your writes.\n\n@param iClusterName Cluster name, or null for *", "docstring_tokens": ["Reads", "your", "writes", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java#L143-L154", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java", "func_name": "ODistributedConfiguration.getServerClusterMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the list of servers that can manage a list of clusters. The algorithm makes its best to involve the less servers as it\ncan.\n\n@param iClusterNames Set of cluster names to find\n@param iLocalNode Local node name", "docstring_tokens": ["Returns", "the", "list", "of", "servers", "that", "can", "manage", "a", "list", "of", "clusters", ".", "The", "algorithm", "makes", "its", "best", "to", "involve", "the", "less", "servers", "as", "it", "can", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java#L163-L242", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java", "func_name": "ODistributedConfiguration.getServers", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the set of server names involved on the passed cluster collection.\n\n@param iClusterNames Collection of cluster names to find", "docstring_tokens": ["Returns", "the", "set", "of", "server", "names", "involved", "on", "the", "passed", "cluster", "collection", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java#L288-L302", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java", "func_name": "ODistributedConfiguration.isServerContainingAllClusters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if the local server has all the requested clusters.\n\n@param server Server name\n@param clusters Collection of cluster names to find", "docstring_tokens": ["Returns", "true", "if", "the", "local", "server", "has", "all", "the", "requested", "clusters", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java#L310-L323", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java", "func_name": "ODistributedConfiguration.isServerContainingCluster", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if the local server has the requested cluster.\n\n@param server Server name\n@param cluster cluster names to find", "docstring_tokens": ["Returns", "true", "if", "the", "local", "server", "has", "the", "requested", "cluster", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java#L331-L340", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java", "func_name": "ODistributedConfiguration.getMasterServers", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an ordered list of master server. The first in the list is the first found in configuration. This is used to determine\nthe cluster leader.", "docstring_tokens": ["Returns", "an", "ordered", "list", "of", "master", "server", ".", "The", "first", "in", "the", "list", "is", "the", "first", "found", "in", "configuration", ".", "This", "is", "used", "to", "determine", "the", "cluster", "leader", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java#L367-L394", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java", "func_name": "ODistributedConfiguration.getAllConfiguredServers", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the complete list of servers found in configuration.", "docstring_tokens": ["Returns", "the", "complete", "list", "of", "servers", "found", "in", "configuration", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java#L399-L412", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java", "func_name": "ODistributedConfiguration.getClustersOnServer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the set of clusters managed by a server.\n\n@param iNodeName Server name", "docstring_tokens": ["Returns", "the", "set", "of", "clusters", "managed", "by", "a", "server", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java#L419-L427", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java", "func_name": "ODistributedConfiguration.getClustersOwnedByServer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the set of clusters where server is the owner.\n\n@param iNodeName Server name", "docstring_tokens": ["Returns", "the", "set", "of", "clusters", "where", "server", "is", "the", "owner", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java#L434-L441", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java", "func_name": "ODistributedConfiguration.getClusterOwner", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the owner server for the given cluster excluding the passed node. The Owner server is the first in server list.\n\n@param iClusterName Cluster name, or null for *", "docstring_tokens": ["Returns", "the", "owner", "server", "for", "the", "given", "cluster", "excluding", "the", "passed", "node", ".", "The", "Owner", "server", "is", "the", "first", "in", "server", "list", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java#L448-L474", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java", "func_name": "ODistributedConfiguration.getConfiguredClusterOwner", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the static owner server for the given cluster.\n\n@param iClusterName Cluster name, or null for *", "docstring_tokens": ["Returns", "the", "static", "owner", "server", "for", "the", "given", "cluster", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java#L481-L493", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java", "func_name": "ODistributedConfiguration.getConfiguredServers", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the configured server list for the requested cluster.\n\n@param iClusterName Cluster name, or null for *", "docstring_tokens": ["Returns", "the", "configured", "server", "list", "for", "the", "requested", "cluster", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java#L500-L504", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java", "func_name": "ODistributedConfiguration.getRegisteredServers", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the registered servers.", "docstring_tokens": ["Returns", "the", "registered", "servers", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java#L557-L565", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java", "func_name": "ODistributedConfiguration.getDataCenters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns all the configured data centers' names, if any.", "docstring_tokens": ["Returns", "all", "the", "configured", "data", "centers", "names", "if", "any", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java#L574-L585", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java", "func_name": "ODistributedConfiguration.getDataCenterWriteQuorum", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the data center write quorum.\n\n@param dataCenter Data center name", "docstring_tokens": ["Returns", "the", "data", "center", "write", "quorum", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java#L592-L608", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java", "func_name": "ODistributedConfiguration.isSharded", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if the database is sharded across servers. False if it's completely replicated.", "docstring_tokens": ["Returns", "true", "if", "the", "database", "is", "sharded", "across", "servers", ".", "False", "if", "it", "s", "completely", "replicated", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java#L613-L627", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java", "func_name": "ODistributedConfiguration.getDataCenterServers", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the list of servers in a data center.\n\n@param dataCenter Data center name\n\n@throws OConfigurationException if the list of servers is not found in data center configuration", "docstring_tokens": ["Returns", "the", "list", "of", "servers", "in", "a", "data", "center", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java#L636-L646", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java", "func_name": "ODistributedConfiguration.getDataCenterOfServer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the data center where the server belongs.\n\n@param server Server name", "docstring_tokens": ["Returns", "the", "data", "center", "where", "the", "server", "belongs", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java#L653-L672", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java", "func_name": "ODistributedConfiguration.getGlobalReadQuorum", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the global read quorum.\n\n@param iClusterName Cluster name, or null for *", "docstring_tokens": ["Returns", "the", "global", "read", "quorum", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java#L693-L698", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java", "func_name": "ODistributedConfiguration.getWriteQuorum", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the write quorum.\n\n@param clusterName Cluster name, or null for *\n@param totalConfiguredMasterServers Total node available", "docstring_tokens": ["Returns", "the", "write", "quorum", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java#L716-L722", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java", "func_name": "ODistributedConfiguration.getClusterConfiguration", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the document representing the cluster configuration.\n\n@param iClusterName Cluster name, or null for *\n\n@return Always a ODocument\n\n@throws OConfigurationException in case \"clusters\" field is not found in configuration", "docstring_tokens": ["Gets", "the", "document", "representing", "the", "cluster", "configuration", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java#L745-L763", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java", "func_name": "ODistributedConfiguration.getDataCenterConfiguration", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the document representing the dc configuration.\n\n@param dataCenter Data center name\n\n@return Always a ODocument\n\n@throws OConfigurationException if the data center configuration is not found", "docstring_tokens": ["Gets", "the", "document", "representing", "the", "dc", "configuration", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java#L774-L780", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientBaseGraph.java", "func_name": "OrientBaseGraph.clearInitStack", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Internal use only.", "docstring_tokens": ["Internal", "use", "only", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientBaseGraph.java#L293-L302", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientBaseGraph.java", "func_name": "OrientBaseGraph.getIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an index by name and class\n\n@param indexName Index name\n@param indexClass Class as one or subclass of Vertex.class and Edge.class\n\n@return Index instance", "docstring_tokens": ["Returns", "an", "index", "by", "name", "and", "class"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientBaseGraph.java#L461-L477", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientBaseGraph.java", "func_name": "OrientBaseGraph.dropIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Drops an index by name.\n\n@param indexName Index name", "docstring_tokens": ["Drops", "an", "index", "by", "name", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientBaseGraph.java#L495-L523", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientBaseGraph.java", "func_name": "OrientBaseGraph.addVertex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new unconnected vertex with no fields in the Graph.\n\n@param id Optional, can contains the Vertex's class name by prefixing with \"class:\"\n\n@return The new OrientVertex created", "docstring_tokens": ["Creates", "a", "new", "unconnected", "vertex", "with", "no", "fields", "in", "the", "Graph", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientBaseGraph.java#L532-L537", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientBaseGraph.java", "func_name": "OrientBaseGraph.addEdge", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an edge between a source Vertex and a destination Vertex setting label as Edge's label.\n\n@param id Optional, can contains the Edge's class name by prefixing with \"class:\"\n@param outVertex Source vertex\n@param inVertex Destination vertex\n@param label Edge's label", "docstring_tokens": ["Creates", "an", "edge", "between", "a", "source", "Vertex", "and", "a", "destination", "Vertex", "setting", "label", "as", "Edge", "s", "label", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientBaseGraph.java#L661-L695", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientBaseGraph.java", "func_name": "OrientBaseGraph.getVertex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a vertex by an ID.\n\n@param id Can by a String, ODocument or an OIdentifiable object.", "docstring_tokens": ["Returns", "a", "vertex", "by", "an", "ID", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientBaseGraph.java#L702-L741", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientBaseGraph.java", "func_name": "OrientBaseGraph.getVerticesOfClass", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get all the Vertices in Graph of a specific vertex class and all sub-classes only if iPolymorphic is true.\n\n@param iClassName Vertex class name to filter\n@param iPolymorphic If true consider also Vertex iClassName sub-classes\n\n@return Vertices as Iterable", "docstring_tokens": ["Get", "all", "the", "Vertices", "in", "Graph", "of", "a", "specific", "vertex", "class", "and", "all", "sub", "-", "classes", "only", "if", "iPolymorphic", "is", "true", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientBaseGraph.java#L811-L822", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientBaseGraph.java", "func_name": "OrientBaseGraph.getEdgesOfClass", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get all the Edges in Graph of a specific edges class and all sub-classes only if iPolymorphic is true.\n\n@param iClassName Edge class name to filter\n@param iPolymorphic If true consider also iClassName Edge sub-classes\n\n@return Edges as Iterable", "docstring_tokens": ["Get", "all", "the", "Edges", "in", "Graph", "of", "a", "specific", "edges", "class", "and", "all", "sub", "-", "classes", "only", "if", "iPolymorphic", "is", "true", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientBaseGraph.java#L1015-L1026", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientBaseGraph.java", "func_name": "OrientBaseGraph.getEdge", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a edge by an ID.\n\n@param id Can by a String, ODocument or an OIdentifiable object.", "docstring_tokens": ["Returns", "a", "edge", "by", "an", "ID", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientBaseGraph.java#L1075-L1125", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientBaseGraph.java", "func_name": "OrientBaseGraph.reuse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reuses the underlying database avoiding to create and open it every time.\n\n@param iDatabase Underlying database object", "docstring_tokens": ["Reuses", "the", "underlying", "database", "avoiding", "to", "create", "and", "open", "it", "every", "time", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientBaseGraph.java#L1143-L1151", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientBaseGraph.java", "func_name": "OrientBaseGraph.shutdown", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Closes the Graph. After closing the Graph cannot be used.", "docstring_tokens": ["Closes", "the", "Graph", ".", "After", "closing", "the", "Graph", "cannot", "be", "used", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientBaseGraph.java#L1179-L1225", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientBaseGraph.java", "func_name": "OrientBaseGraph.getVertexBaseType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the V persistent class as OrientVertexType instance.", "docstring_tokens": ["Returns", "the", "V", "persistent", "class", "as", "OrientVertexType", "instance", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientBaseGraph.java#L1268-L1272", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientBaseGraph.java", "func_name": "OrientBaseGraph.getVertexType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the persistent class for type iTypeName as OrientVertexType instance.\n\n@param iTypeName Vertex class name", "docstring_tokens": ["Returns", "the", "persistent", "class", "for", "type", "iTypeName", "as", "OrientVertexType", "instance", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientBaseGraph.java#L1279-L1289", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientBaseGraph.java", "func_name": "OrientBaseGraph.createVertexType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new Vertex persistent class.\n\n@param iClassName Vertex class name\n@param clusters The number of clusters to create for the new class. By default the MINIMUMCLUSTERS database setting is used.\nIn v2.2 and later, the number of clusters are proportioned to the amount of cores found on the machine\n\n@return OrientVertexType instance representing the persistent class", "docstring_tokens": ["Creates", "a", "new", "Vertex", "persistent", "class", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientBaseGraph.java#L1313-L1316", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientBaseGraph.java", "func_name": "OrientBaseGraph.dropVertexType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Drop a vertex class.\n\n@param iTypeName Vertex class name", "docstring_tokens": ["Drop", "a", "vertex", "class", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientBaseGraph.java#L1392-L1407", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientBaseGraph.java", "func_name": "OrientBaseGraph.getEdgeType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the persistent class for type iTypeName as OrientEdgeType instance.\n\n@param iTypeName Edge class name", "docstring_tokens": ["Returns", "the", "persistent", "class", "for", "type", "iTypeName", "as", "OrientEdgeType", "instance", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientBaseGraph.java#L1423-L1432", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientBaseGraph.java", "func_name": "OrientBaseGraph.createEdgeType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new Edge persistent class.\n\n@param iClassName Edge class name\n@param clusters The number of clusters to create for the new class. By default the MINIMUMCLUSTERS database setting is used.\nIn v2.2 and later, the number of clusters are proportioned to the amount of cores found on the machine\n\n@return OrientEdgeType instance representing the persistent class", "docstring_tokens": ["Creates", "a", "new", "Edge", "persistent", "class", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientBaseGraph.java#L1455-L1458", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientBaseGraph.java", "func_name": "OrientBaseGraph.getElement", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a graph element, vertex or edge, starting from an ID.\n\n@param id Can by a String, ODocument or an OIdentifiable object.\n\n@return OrientElement subclass such as OrientVertex or OrientEdge", "docstring_tokens": ["Returns", "a", "graph", "element", "vertex", "or", "edge", "starting", "from", "an", "ID", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientBaseGraph.java#L1589-L1621", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientBaseGraph.java", "func_name": "OrientBaseGraph.dropKeyIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Drops the index against a field name.\n\n@param key Field name\n@param elementClass Element class as instances of Vertex and Edge", "docstring_tokens": ["Drops", "the", "index", "against", "a", "field", "name", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientBaseGraph.java#L1629-L1644", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientBaseGraph.java", "func_name": "OrientBaseGraph.createKeyIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an automatic indexing structure for indexing provided key for element class.\n\n@param key the key to create the index for\n@param elementClass the element class that the index is for\n@param indexParameters a collection of parameters for the underlying index implementation:

\n@param the element class specification", "docstring_tokens": ["Creates", "an", "automatic", "indexing", "structure", "for", "indexing", "provided", "key", "for", "element", "class", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientBaseGraph.java#L1657-L1715", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/cache/local/OWOWCache.java", "func_name": "OWOWCache.removeBackgroundExceptionListener", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes listener which is triggered if exception is cast inside background flush data thread.\n\n@param listener Listener to remove", "docstring_tokens": ["Removes", "listener", "which", "is", "triggered", "if", "exception", "is", "cast", "inside", "background", "flush", "data", "thread", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/cache/local/OWOWCache.java#L503-L515", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/cache/local/OWOWCache.java", "func_name": "OWOWCache.fireBackgroundDataFlushExceptionEvent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Fires event about exception is thrown in data flush thread", "docstring_tokens": ["Fires", "event", "about", "exception", "is", "thrown", "in", "data", "flush", "thread"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/cache/local/OWOWCache.java#L520-L527", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/statistic/OPerformanceStatisticManager.java", "func_name": "OPerformanceStatisticManager.stopMonitoring", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Stops monitoring of performance statistic for whole system.", "docstring_tokens": ["Stops", "monitoring", "of", "performance", "statistic", "for", "whole", "system", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/statistic/OPerformanceStatisticManager.java#L354-L386", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/statistic/OPerformanceStatisticManager.java", "func_name": "OPerformanceStatisticManager.registerMBean", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers JMX bean for current manager.\n\n@param storageName Name of storage of given manager\n@param storageId Id of storage of given manager\n\n@see OStorage#getName()\n@see OIdentifiableStorage#getId()", "docstring_tokens": ["Registers", "JMX", "bean", "for", "current", "manager", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/statistic/OPerformanceStatisticManager.java#L397-L415", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/statistic/OPerformanceStatisticManager.java", "func_name": "OPerformanceStatisticManager.unregisterMBean", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Deregisters JMX bean for current manager.\n\n@param storageName Name of storage of given manager\n@param storageId Id of storage of given manager\n\n@see OStorage#getName()\n@see OIdentifiableStorage#getId()", "docstring_tokens": ["Deregisters", "JMX", "bean", "for", "current", "manager", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/statistic/OPerformanceStatisticManager.java#L430-L443", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/statistic/OPerformanceStatisticManager.java", "func_name": "OPerformanceStatisticManager.fetchWriteCacheCounters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Iterates over all live threads and accumulates write performance statics gathered form threads,\nalso accumulates statistic from dead threads which were alive when when gathering of performance measurements is started.\n\n@return Aggregated write cache performance statistic", "docstring_tokens": ["Iterates", "over", "all", "live", "threads", "and", "accumulates", "write", "performance", "statics", "gathered", "form", "threads", "also", "accumulates", "statistic", "from", "dead", "threads", "which", "were", "alive", "when", "when", "gathering", "of", "performance", "measurements", "is", "started", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/statistic/OPerformanceStatisticManager.java#L1109-L1161", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/statistic/OPerformanceStatisticManager.java", "func_name": "OPerformanceStatisticManager.fetchSystemCounters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Iterates over all live threads and accumulates performance statics gathered form threads on system level,\nalso accumulates statistic from dead threads which were alive when when gathering of performance measurements is started.\n\n@param countersHolder Holder which is used to accumulate all performance statistic data", "docstring_tokens": ["Iterates", "over", "all", "live", "threads", "and", "accumulates", "performance", "statics", "gathered", "form", "threads", "on", "system", "level", "also", "accumulates", "statistic", "from", "dead", "threads", "which", "were", "alive", "when", "when", "gathering", "of", "performance", "measurements", "is", "started", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/statistic/OPerformanceStatisticManager.java#L1289-L1326", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/statistic/OPerformanceStatisticManager.java", "func_name": "OPerformanceStatisticManager.fetchComponentCounters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Iterates over all live threads and accumulates performance statics gathered form threads for provided component,\nalso accumulates statistic from dead threads which were alive when when gathering of performance measurements is started.\n\n@param componentCountersHolder Holder which is used to accumulate all performance statistic data for given component\n@param componentName Name of component", "docstring_tokens": ["Iterates", "over", "all", "live", "threads", "and", "accumulates", "performance", "statics", "gathered", "form", "threads", "for", "provided", "component", "also", "accumulates", "statistic", "from", "dead", "threads", "which", "were", "alive", "when", "when", "gathering", "of", "performance", "measurements", "is", "started", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/statistic/OPerformanceStatisticManager.java#L1335-L1375", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/network/protocol/http/OHttpResponse.java", "func_name": "OHttpResponse.compress", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compress content string", "docstring_tokens": ["Compress", "content", "string"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/network/protocol/http/OHttpResponse.java#L557-L584", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "tools/src/main/java/com/orientechnologies/orient/server/config/OServerConfiguration.java", "func_name": "OServerConfiguration.getProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the property value configured, if any.\n\n@param iName\nProperty name to find\n@param iDefaultValue\nDefault value returned if not found", "docstring_tokens": ["Returns", "the", "property", "value", "configured", "if", "any", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/tools/src/main/java/com/orientechnologies/orient/server/config/OServerConfiguration.java#L113-L123", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "object/src/main/java/com/orientechnologies/orient/object/db/OObjectDatabaseTx.java", "func_name": "OObjectDatabaseTx.detach", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Method that detaches all fields contained in the document to the given object.\n\n@param \n@param iPojo :- the object to detach\n@param returnNonProxiedInstance :- defines if the return object will be a proxied instance or not. If set to TRUE and the\nobject does not contains @Id and @Version fields it could procude data replication\n\n@return the object serialized or with detached data", "docstring_tokens": ["Method", "that", "detaches", "all", "fields", "contained", "in", "the", "document", "to", "the", "given", "object", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/object/src/main/java/com/orientechnologies/orient/object/db/OObjectDatabaseTx.java#L351-L353", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "object/src/main/java/com/orientechnologies/orient/object/db/OObjectDatabaseTx.java", "func_name": "OObjectDatabaseTx.getVersion", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the version number of the object. Version starts from 0 assigned on creation.\n\n@param iPojo User object", "docstring_tokens": ["Returns", "the", "version", "number", "of", "the", "object", ".", "Version", "starts", "from", "0", "assigned", "on", "creation", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/object/src/main/java/com/orientechnologies/orient/object/db/OObjectDatabaseTx.java#L705-L712", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "object/src/main/java/com/orientechnologies/orient/object/db/OObjectDatabaseTx.java", "func_name": "OObjectDatabaseTx.command", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a wrapped OCommandRequest instance to catch the result-set by converting it before to return to the user application.", "docstring_tokens": ["Returns", "a", "wrapped", "OCommandRequest", "instance", "to", "catch", "the", "result", "-", "set", "by", "converting", "it", "before", "to", "return", "to", "the", "user", "application", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/object/src/main/java/com/orientechnologies/orient/object/db/OObjectDatabaseTx.java#L984-L986", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "object/src/main/java/com/orientechnologies/orient/object/db/OObjectDatabaseTx.java", "func_name": "OObjectDatabaseTx.setDirty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets as dirty a POJO. This is useful when you change the object and need to tell to the engine to treat as dirty.\n\n@param iPojo User object", "docstring_tokens": ["Sets", "as", "dirty", "a", "POJO", ".", "This", "is", "useful", "when", "you", "change", "the", "object", "and", "need", "to", "tell", "to", "the", "engine", "to", "treat", "as", "dirty", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/object/src/main/java/com/orientechnologies/orient/object/db/OObjectDatabaseTx.java#L1040-L1049", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "object/src/main/java/com/orientechnologies/orient/object/db/OObjectDatabaseTx.java", "func_name": "OObjectDatabaseTx.unsetDirty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets as not dirty a POJO. This is useful when you change some other object and need to tell to the engine to treat this one as\nnot dirty.\n\n@param iPojo User object", "docstring_tokens": ["Sets", "as", "not", "dirty", "a", "POJO", ".", "This", "is", "useful", "when", "you", "change", "some", "other", "object", "and", "need", "to", "tell", "to", "the", "engine", "to", "treat", "this", "one", "as", "not", "dirty", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/object/src/main/java/com/orientechnologies/orient/object/db/OObjectDatabaseTx.java#L1057-L1066", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/index/OIndexes.java", "func_name": "OIndexes.getIndexTypes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Iterates on all factories and append all index types.\n\n@return Set of all index types.", "docstring_tokens": ["Iterates", "on", "all", "factories", "and", "append", "all", "index", "types", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/index/OIndexes.java#L99-L106", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/index/OIndexes.java", "func_name": "OIndexes.getIndexEngines", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Iterates on all factories and append all index engines.\n\n@return Set of all index engines.", "docstring_tokens": ["Iterates", "on", "all", "factories", "and", "append", "all", "index", "engines", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/index/OIndexes.java#L113-L120", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedResponseManagerImpl.java", "func_name": "ODistributedResponseManagerImpl.getMissingNodes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the list of node names that didn't provide a response.", "docstring_tokens": ["Returns", "the", "list", "of", "node", "names", "that", "didn", "t", "provide", "a", "response", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedResponseManagerImpl.java#L486-L499", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedResponseManagerImpl.java", "func_name": "ODistributedResponseManagerImpl.getConflictResponses", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns all the responses in conflict.", "docstring_tokens": ["Returns", "all", "the", "responses", "in", "conflict", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedResponseManagerImpl.java#L547-L557", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedResponseManagerImpl.java", "func_name": "ODistributedResponseManagerImpl.getBestResponsesGroup", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the biggest response group.\n\n@return", "docstring_tokens": ["Returns", "the", "biggest", "response", "group", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedResponseManagerImpl.java#L580-L591", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedResponseManagerImpl.java", "func_name": "ODistributedResponseManagerImpl.computeQuorumResponse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Computes the quorum response if possible by returning true and setting the field quorumResponse with the ODistributedResponse.", "docstring_tokens": ["Computes", "the", "quorum", "response", "if", "possible", "by", "returning", "true", "and", "setting", "the", "field", "quorumResponse", "with", "the", "ODistributedResponse", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedResponseManagerImpl.java#L606-L653", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedResponseManagerImpl.java", "func_name": "ODistributedResponseManagerImpl.getReceivedResponses", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the received response objects.", "docstring_tokens": ["Returns", "the", "received", "response", "objects", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedResponseManagerImpl.java#L658-L664", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/parser/OExecutionPlanCache.java", "func_name": "OExecutionPlanCache.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "returns an already prepared SQL execution plan, taking it from the cache if it exists or creating a new one if it doesn't\n\n@param statement the SQL statement\n@param ctx\n@param db the current DB instance\n\n@return a statement executor from the cache", "docstring_tokens": ["returns", "an", "already", "prepared", "SQL", "execution", "plan", "taking", "it", "from", "the", "cache", "if", "it", "exists", "or", "creating", "a", "new", "one", "if", "it", "doesn", "t"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/parser/OExecutionPlanCache.java#L74-L85", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/parser/OBinaryCondition.java", "func_name": "OBinaryCondition.allowsIndexedFunctionExecutionOnTarget", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "tests if current expression involves an indexed function AND that function can be used on this target\n\n@param target the query target\n@param context the execution context\n\n@return true if current expression involves an indexed function AND that function can be used on this target, false otherwise", "docstring_tokens": ["tests", "if", "current", "expression", "involves", "an", "indexed", "function", "AND", "that", "function", "can", "be", "used", "on", "this", "target"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/parser/OBinaryCondition.java#L155-L157", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/command/script/OScriptManager.java", "func_name": "OScriptManager.getLibrary", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Formats the library of functions for a language.\n\n@param db Current database instance\n@param iLanguage Language as filter\n@return String containing all the functions", "docstring_tokens": ["Formats", "the", "library", "of", "functions", "for", "a", "language", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/command/script/OScriptManager.java#L138-L162", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/command/script/OScriptManager.java", "func_name": "OScriptManager.releaseDatabaseEngine", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Acquires a database engine from the pool. Once finished using it, the instance MUST be returned in the pool by calling the\nmethod\n\n@param iLanguage Script language\n@param iDatabaseName Database name\n@param poolEntry Pool entry to free\n@see #acquireDatabaseEngine(String, String)", "docstring_tokens": ["Acquires", "a", "database", "engine", "from", "the", "pool", ".", "Once", "finished", "using", "it", "the", "instance", "MUST", "be", "returned", "in", "the", "pool", "by", "calling", "the", "method"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/command/script/OScriptManager.java#L220-L228", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/cluster/v0/OClusterPositionMapV0.java", "func_name": "OClusterPositionMapV0.getNextPosition", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the next position available.", "docstring_tokens": ["Returns", "the", "next", "position", "available", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/cluster/v0/OClusterPositionMapV0.java#L463-L475", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/ridbag/sbtree/OSBTreeRidBag.java", "func_name": "OSBTreeRidBag.updateSize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Recalculates real bag size.\n\n@return real size", "docstring_tokens": ["Recalculates", "real", "bag", "size", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/ridbag/sbtree/OSBTreeRidBag.java#L952-L977", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/index/hashindex/local/OHashIndexBucket.java", "func_name": "OHashIndexBucket.getValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Obtains the value stored under the given index in this bucket.\n\n@param index the value index.\n\n@return the obtained value.", "docstring_tokens": ["Obtains", "the", "value", "stored", "under", "the", "given", "index", "in", "this", "bucket", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/index/hashindex/local/OHashIndexBucket.java#L165-L180", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/OOrderByOptimizer.java", "func_name": "OOrderByOptimizer.canBeUsedByOrderByAfterFilter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "checks if, given a list of \"=\" conditions and a set of ORDER BY fields\n\n@param index\n@param equalsFilterFields\n@param orderedFields\n@return", "docstring_tokens": ["checks", "if", "given", "a", "list", "of", "=", "conditions", "and", "a", "set", "of", "ORDER", "BY", "fields"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/OOrderByOptimizer.java#L69-L112", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/common/parser/OStringParser.java", "func_name": "OStringParser.indexOfOutsideStrings", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds a character inside a string specyfing the limits and direction. If iFrom is minor than iTo, then it moves forward,\notherwise backward.", "docstring_tokens": ["Finds", "a", "character", "inside", "a", "string", "specyfing", "the", "limits", "and", "direction", ".", "If", "iFrom", "is", "minor", "than", "iTo", "then", "it", "moves", "forward", "otherwise", "backward", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/common/parser/OStringParser.java#L243-L295", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/common/parser/OStringParser.java", "func_name": "OStringParser.jumpWhiteSpaces", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Jump white spaces.\n\n@param iText\nString to analyze\n@param iCurrentPosition\nCurrent position in text\n@param iMaxPosition\nTODO\n@return The new offset inside the string analyzed", "docstring_tokens": ["Jump", "white", "spaces", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/common/parser/OStringParser.java#L308-L310", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/common/parser/OStringParser.java", "func_name": "OStringParser.jump", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Jump some characters reading from an offset of a String.\n\n@param iText\nString to analyze\n@param iCurrentPosition\nCurrent position in text\n@param iMaxPosition\nMaximum position to read\n@param iJumpChars\nString as char array of chars to jump\n@return The new offset inside the string analyzed", "docstring_tokens": ["Jump", "some", "characters", "reading", "from", "an", "offset", "of", "a", "String", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/common/parser/OStringParser.java#L325-L348", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/query/OQueryAbstract.java", "func_name": "OQueryAbstract.setFetchPlan", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the fetch plan to use.", "docstring_tokens": ["Sets", "the", "fetch", "plan", "to", "use", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/query/OQueryAbstract.java#L46-L53", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "distributed-v2/src/main/java/com/orientechnologies/orient/distributed/impl/OConflictResolverDatabaseRepairer.java", "func_name": "OConflictResolverDatabaseRepairer.enqueueRepairRecord", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds the record to repair int the map of records and cluster. The decision about repairing is taken by the timer task.\n\n@param rid RecordId to repair", "docstring_tokens": ["Adds", "the", "record", "to", "repair", "int", "the", "map", "of", "records", "and", "cluster", ".", "The", "decision", "about", "repairing", "is", "taken", "by", "the", "timer", "task", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/distributed-v2/src/main/java/com/orientechnologies/orient/distributed/impl/OConflictResolverDatabaseRepairer.java#L145-L161", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "distributed-v2/src/main/java/com/orientechnologies/orient/distributed/impl/OConflictResolverDatabaseRepairer.java", "func_name": "OConflictResolverDatabaseRepairer.cancelRepairRecord", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Cancel the repair against a record because the update succeed.\n\n@param rid RecordId to remove from repair", "docstring_tokens": ["Cancel", "the", "repair", "against", "a", "record", "because", "the", "update", "succeed", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/distributed-v2/src/main/java/com/orientechnologies/orient/distributed/impl/OConflictResolverDatabaseRepairer.java#L168-L181", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "distributed-v2/src/main/java/com/orientechnologies/orient/distributed/impl/OConflictResolverDatabaseRepairer.java", "func_name": "OConflictResolverDatabaseRepairer.enqueueRepairCluster", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Enqueues the request to repair a cluster. The decision about repairing is taken by the timer task.\n\n@param clusterId Broken cluster id to start repairing", "docstring_tokens": ["Enqueues", "the", "request", "to", "repair", "a", "cluster", ".", "The", "decision", "about", "repairing", "is", "taken", "by", "the", "timer", "task", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/distributed-v2/src/main/java/com/orientechnologies/orient/distributed/impl/OConflictResolverDatabaseRepairer.java#L188-L201", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/executor/OMatchExecutionPlanner.java", "func_name": "OMatchExecutionPlanner.getDependencies", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculate the set of dependency aliases for each alias in the pattern.\n\n@param pattern\n\n@return map of alias to the set of aliases it depends on", "docstring_tokens": ["Calculate", "the", "set", "of", "dependency", "aliases", "for", "each", "alias", "in", "the", "pattern", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/executor/OMatchExecutionPlanner.java#L447-L465", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "object/src/main/java/com/orientechnologies/orient/core/entity/OEntityManager.java", "func_name": "OEntityManager.createPojo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a POJO by its class name.\n\n@see #registerEntityClasses(String)", "docstring_tokens": ["Create", "a", "POJO", "by", "its", "class", "name", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/object/src/main/java/com/orientechnologies/orient/core/entity/OEntityManager.java#L64-L85", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "object/src/main/java/com/orientechnologies/orient/core/entity/OEntityManager.java", "func_name": "OEntityManager.registerEntityClasses", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers provided classes\n\n@param iClassNames\nto be registered\n@param iClassLoader", "docstring_tokens": ["Registers", "provided", "classes"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/object/src/main/java/com/orientechnologies/orient/core/entity/OEntityManager.java#L157-L165", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "object/src/main/java/com/orientechnologies/orient/core/entity/OEntityManager.java", "func_name": "OEntityManager.registerEntityClasses", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Scans all classes accessible from the context class loader which belong to the given class and all it's attributes - classes.\n\n@param aClass\nThe class to start from\n@param recursive\nBeginning from the class, it will register all classes that are direct or indirect a attribute class", "docstring_tokens": ["Scans", "all", "classes", "accessible", "from", "the", "context", "class", "loader", "which", "belong", "to", "the", "given", "class", "and", "all", "it", "s", "attributes", "-", "classes", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/object/src/main/java/com/orientechnologies/orient/core/entity/OEntityManager.java#L221-L234", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "object/src/main/java/com/orientechnologies/orient/core/entity/OEntityManager.java", "func_name": "OEntityManager.setClassHandler", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the received handler as default and merges the classes all together.\n\n@param iClassHandler", "docstring_tokens": ["Sets", "the", "received", "handler", "as", "default", "and", "merges", "the", "classes", "all", "together", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/object/src/main/java/com/orientechnologies/orient/core/entity/OEntityManager.java#L241-L249", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/db/ODatabasePoolBase.java", "func_name": "ODatabasePoolBase.acquire", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Acquires a connection from the pool. If the pool is empty, then the caller thread will wait for it.\n\n@param iName\nDatabase name\n@param iUserName\nUser name\n@param iUserPassword\nUser password\n@return A pooled database instance", "docstring_tokens": ["Acquires", "a", "connection", "from", "the", "pool", ".", "If", "the", "pool", "is", "empty", "then", "the", "caller", "thread", "will", "wait", "for", "it", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/db/ODatabasePoolBase.java#L126-L129", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/db/ODatabasePoolBase.java", "func_name": "ODatabasePoolBase.getAvailableConnections", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns amount of available connections which you can acquire for given source and user name. Source id is consist of\n\"source name\" and \"source user name\".\n\n@param name\nSource name.\n@param userName\nUser name which is used to acquire source.\n@return amount of available connections which you can acquire for given source and user name.", "docstring_tokens": ["Returns", "amount", "of", "available", "connections", "which", "you", "can", "acquire", "for", "given", "source", "and", "user", "name", ".", "Source", "id", "is", "consist", "of", "source", "name", "and", "source", "user", "name", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/db/ODatabasePoolBase.java#L141-L144", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/db/ODatabasePoolBase.java", "func_name": "ODatabasePoolBase.acquire", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Acquires a connection from the pool specifying options. If the pool is empty, then the caller thread will wait for it.\n\n@param iName\nDatabase name\n@param iUserName\nUser name\n@param iUserPassword\nUser password\n@return A pooled database instance", "docstring_tokens": ["Acquires", "a", "connection", "from", "the", "pool", "specifying", "options", ".", "If", "the", "pool", "is", "empty", "then", "the", "caller", "thread", "will", "wait", "for", "it", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/db/ODatabasePoolBase.java#L162-L166", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "distributed/src/main/java/com/orientechnologies/orient/server/distributed/sql/OCommandExecutorSQLHASyncCluster.java", "func_name": "OCommandExecutorSQLHASyncCluster.execute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Execute the SYNC CLUSTER.", "docstring_tokens": ["Execute", "the", "SYNC", "CLUSTER", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/distributed/src/main/java/com/orientechnologies/orient/server/distributed/sql/OCommandExecutorSQLHASyncCluster.java#L92-L119", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/common/util/OClassLoaderHelper.java", "func_name": "OClassLoaderHelper.lookupProviderWithOrientClassLoader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Switch to the OrientDb classloader before lookups on ServiceRegistry for implementation of the given Class. Useful under OSGI\nand generally under applications where jars are loaded by another class loader\n\n@param clazz\nthe class to lookup foor\n@return an Iterator on the class implementation", "docstring_tokens": ["Switch", "to", "the", "OrientDb", "classloader", "before", "lookups", "on", "ServiceRegistry", "for", "implementation", "of", "the", "given", "Class", ".", "Useful", "under", "OSGI", "and", "generally", "under", "applications", "where", "jars", "are", "loaded", "by", "another", "class", "loader"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/common/util/OClassLoaderHelper.java#L40-L43", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/common/util/OMemory.java", "func_name": "OMemory.checkCacheMemoryConfiguration", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks the OrientDB cache memory configuration and emits a warning if configuration is invalid.", "docstring_tokens": ["Checks", "the", "OrientDB", "cache", "memory", "configuration", "and", "emits", "a", "warning", "if", "configuration", "is", "invalid", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/common/util/OMemory.java#L55-L67", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/orientechnologies/orient/graph/graphml/OGraphSONUtility.java", "func_name": "OGraphSONUtility.vertexFromJson", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads an individual Vertex from JSON. The vertex must match the accepted GraphSON format.\n\n@param json\na single vertex in GraphSON format as Jettison JSONObject\n@param factory\nthe factory responsible for constructing graph elements\n@param mode\nthe mode of the GraphSON\n@param propertyKeys\na list of keys to include on reading of element properties", "docstring_tokens": ["Reads", "an", "individual", "Vertex", "from", "JSON", ".", "The", "vertex", "must", "match", "the", "accepted", "GraphSON", "format", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/orientechnologies/orient/graph/graphml/OGraphSONUtility.java#L271-L275", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/orientechnologies/orient/graph/graphml/OGraphSONUtility.java", "func_name": "OGraphSONUtility.edgeFromJson", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads an individual Edge from JSON. The edge must match the accepted GraphSON format.\n\n@param json\na single edge in GraphSON format as a Jettison JSONObject\n@param factory\nthe factory responsible for constructing graph elements\n@param mode\nthe mode of the GraphSON\n@param propertyKeys\na list of keys to include when reading of element properties", "docstring_tokens": ["Reads", "an", "individual", "Edge", "from", "JSON", ".", "The", "edge", "must", "match", "the", "accepted", "GraphSON", "format", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/orientechnologies/orient/graph/graphml/OGraphSONUtility.java#L343-L347", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/orientechnologies/orient/graph/graphml/OGraphSONUtility.java", "func_name": "OGraphSONUtility.jsonFromElement", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a Jettison JSONObject from a graph element.\n\n@param element\nthe graph element to convert to JSON.\n@param propertyKeys\nThe property keys at the root of the element to serialize. If null, then all keys are serialized.\n@param mode\nthe type of GraphSON to be generated.", "docstring_tokens": ["Creates", "a", "Jettison", "JSONObject", "from", "a", "graph", "element", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/orientechnologies/orient/graph/graphml/OGraphSONUtility.java#L413-L418", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/orientechnologies/orient/graph/graphml/OGraphSONUtility.java", "func_name": "OGraphSONUtility.objectNodeFromElement", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a Jackson ObjectNode from a graph element.\n\n@param element\nthe graph element to convert to JSON.\n@param propertyKeys\nThe property keys at the root of the element to serialize. If null, then all keys are serialized.\n@param mode\nThe type of GraphSON to generate.", "docstring_tokens": ["Creates", "a", "Jackson", "ObjectNode", "from", "a", "graph", "element", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/orientechnologies/orient/graph/graphml/OGraphSONUtility.java#L430-L434", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "etl/src/main/java/com/orientechnologies/orient/etl/http/OETLHandler.java", "func_name": "OETLHandler.executeImport", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Executes import with configuration;", "docstring_tokens": ["Executes", "import", "with", "configuration", ";"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/etl/src/main/java/com/orientechnologies/orient/etl/http/OETLHandler.java#L30-L44", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "etl/src/main/java/com/orientechnologies/orient/etl/http/OETLHandler.java", "func_name": "OETLHandler.status", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Status of the Running Jobs\n\n@return ODocument", "docstring_tokens": ["Status", "of", "the", "Running", "Jobs"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/etl/src/main/java/com/orientechnologies/orient/etl/http/OETLHandler.java#L58-L68", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "distributed/src/main/java/com/orientechnologies/orient/server/distributed/impl/ODatabaseDocumentDistributed.java", "func_name": "ODatabaseDocumentDistributed.getActiveDataCenterMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "returns the data center map for current deploy. The keys are data center names, the values are node names per data center\n\n@return data center map for current deploy", "docstring_tokens": ["returns", "the", "data", "center", "map", "for", "current", "deploy", ".", "The", "keys", "are", "data", "center", "names", "the", "values", "are", "node", "names", "per", "data", "center"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/distributed/src/main/java/com/orientechnologies/orient/server/distributed/impl/ODatabaseDocumentDistributed.java#L157-L171", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/security/symmetrickey/OSymmetricKey.java", "func_name": "OSymmetricKey.separateAlgorithm", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the secret key algorithm portion of the cipher transformation.", "docstring_tokens": ["Returns", "the", "secret", "key", "algorithm", "portion", "of", "the", "cipher", "transformation", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/security/symmetrickey/OSymmetricKey.java#L210-L217", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/security/symmetrickey/OSymmetricKey.java", "func_name": "OSymmetricKey.fromConfig", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an OSymmetricKey from an OSymmetricKeyConfig interface.", "docstring_tokens": ["Creates", "an", "OSymmetricKey", "from", "an", "OSymmetricKeyConfig", "interface", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/security/symmetrickey/OSymmetricKey.java#L222-L233", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/security/symmetrickey/OSymmetricKey.java", "func_name": "OSymmetricKey.fromFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an OSymmetricKey from a file containing a Base64 key.", "docstring_tokens": ["Creates", "an", "OSymmetricKey", "from", "a", "file", "containing", "a", "Base64", "key", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/security/symmetrickey/OSymmetricKey.java#L245-L262", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/security/symmetrickey/OSymmetricKey.java", "func_name": "OSymmetricKey.fromStream", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an OSymmetricKey from an InputStream containing a Base64 key.", "docstring_tokens": ["Creates", "an", "OSymmetricKey", "from", "an", "InputStream", "containing", "a", "Base64", "key", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/security/symmetrickey/OSymmetricKey.java#L267-L277", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/security/symmetrickey/OSymmetricKey.java", "func_name": "OSymmetricKey.encrypt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method encrypts an array of bytes.\n\n@param transform The cipher transformation to use.\n@param bytes The array of bytes to be encrypted.\n\n@return The encrypted bytes as a Base64-encoded JSON document or null if unsuccessful.", "docstring_tokens": ["This", "method", "encrypts", "an", "array", "of", "bytes", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/security/symmetrickey/OSymmetricKey.java#L439-L468", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/security/symmetrickey/OSymmetricKey.java", "func_name": "OSymmetricKey.saveToStream", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Saves the internal SecretKey to the specified OutputStream as a Base64 String.", "docstring_tokens": ["Saves", "the", "internal", "SecretKey", "to", "the", "specified", "OutputStream", "as", "a", "Base64", "String", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/security/symmetrickey/OSymmetricKey.java#L591-L610", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/security/symmetrickey/OSymmetricKey.java", "func_name": "OSymmetricKey.saveToKeystore", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Saves the internal SecretKey as a KeyStore.", "docstring_tokens": ["Saves", "the", "internal", "SecretKey", "as", "a", "KeyStore", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/security/symmetrickey/OSymmetricKey.java#L615-L644", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/command/OBasicCommandContext.java", "func_name": "OBasicCommandContext.setChild", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the inherited context avoiding to copy all the values every time.\n\n@return", "docstring_tokens": ["Set", "the", "inherited", "context", "avoiding", "to", "copy", "all", "the", "values", "every", "time", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/command/OBasicCommandContext.java#L252-L266", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/command/OBasicCommandContext.java", "func_name": "OBasicCommandContext.addToUniqueResult", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "adds an item to the unique result set\n\n@param o the result item to add\n\n@return true if the element is successfully added (it was not present yet), false otherwise (it was already present)", "docstring_tokens": ["adds", "an", "item", "to", "the", "unique", "result", "set"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/command/OBasicCommandContext.java#L382-L388", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/serialization/serializer/record/string/ORecordSerializerJSON.java", "func_name": "ORecordSerializerJSON.getValueAsObjectOrMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "OBJECT OR MAP. CHECK THE TYPE ATTRIBUTE TO KNOW IT.", "docstring_tokens": ["OBJECT", "OR", "MAP", ".", "CHECK", "THE", "TYPE", "ATTRIBUTE", "TO", "KNOW", "IT", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/serialization/serializer/record/string/ORecordSerializerJSON.java#L587-L604", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/network/protocol/http/command/post/OServerCommandPostAuthToken.java", "func_name": "OServerCommandPostAuthToken.authenticate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "null is returned in all other cases and means authentication was unsuccessful.", "docstring_tokens": ["null", "is", "returned", "in", "all", "other", "cases", "and", "means", "authentication", "was", "unsuccessful", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/network/protocol/http/command/post/OServerCommandPostAuthToken.java#L115-L132", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/record/impl/ODocumentHelper.java", "func_name": "ODocumentHelper.getMapEntry", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retrieves the value crossing the map with the dotted notation\n\n@param iKey Field(s) to retrieve. If are multiple fields, then the dot must be used as separator\n@param iMap\n\n@return", "docstring_tokens": ["Retrieves", "the", "value", "crossing", "the", "map", "with", "the", "dotted", "notation"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/record/impl/ODocumentHelper.java#L724-L750", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/iterator/OIdentifiableIterator.java", "func_name": "OIdentifiableIterator.getRecord", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the record to use for the operation.\n\n@return the record to use for the operation.", "docstring_tokens": ["Return", "the", "record", "to", "use", "for", "the", "operation", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/iterator/OIdentifiableIterator.java#L233-L242", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/iterator/OIdentifiableIterator.java", "func_name": "OIdentifiableIterator.readCurrentRecord", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read the current record and increment the counter if the record was found.\n\n@param iRecord to read value from database inside it. If record is null link will be created and stored in it.\n\n@return record which was read from db.", "docstring_tokens": ["Read", "the", "current", "record", "and", "increment", "the", "counter", "if", "the", "record", "was", "found", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/iterator/OIdentifiableIterator.java#L259-L309", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientGraphFactory.java", "func_name": "OrientGraphFactory.getTx", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets transactional graph with the database from pool if pool is configured. Otherwise creates a graph with new db instance. The\nGraph instance inherits the factory's configuration.\n\n@return transactional graph", "docstring_tokens": ["Gets", "transactional", "graph", "with", "the", "database", "from", "pool", "if", "pool", "is", "configured", ".", "Otherwise", "creates", "a", "graph", "with", "new", "db", "instance", ".", "The", "Graph", "instance", "inherits", "the", "factory", "s", "configuration", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientGraphFactory.java#L218-L229", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientGraphFactory.java", "func_name": "OrientGraphFactory.getNoTx", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets non transactional graph with the database from pool if pool is configured. Otherwise creates a graph with new db instance.\nThe Graph instance inherits the factory's configuration.\n\n@return non transactional graph", "docstring_tokens": ["Gets", "non", "transactional", "graph", "with", "the", "database", "from", "pool", "if", "pool", "is", "configured", ".", "Otherwise", "creates", "a", "graph", "with", "new", "db", "instance", ".", "The", "Graph", "instance", "inherits", "the", "factory", "s", "configuration", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientGraphFactory.java#L237-L249", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientGraphFactory.java", "func_name": "OrientGraphFactory.setupPool", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Setting up the factory to use database pool instead of creation a new instance of database connection each time.\n\n@param iMin minimum size of pool\n@param iMax maximum size of pool\n\n@return this", "docstring_tokens": ["Setting", "up", "the", "factory", "to", "use", "database", "pool", "instead", "of", "creation", "a", "new", "instance", "of", "database", "connection", "each", "time", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientGraphFactory.java#L334-L343", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientGraphFactory.java", "func_name": "OrientGraphFactory.getProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the property value.\n\n@param iName Property name\n\n@return The previous value if any, otherwise null", "docstring_tokens": ["Gets", "the", "property", "value", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientGraphFactory.java#L417-L419", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientTransactionalGraph.java", "func_name": "OrientTransactionalGraph.stopTransaction", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Closes a transaction.\n\n@param conclusion Can be SUCCESS for commit and FAILURE to rollback.", "docstring_tokens": ["Closes", "a", "transaction", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientTransactionalGraph.java#L160-L173", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/parser/OrientSql.java", "func_name": "OrientSql.parse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Root productions.", "docstring_tokens": ["Root", "productions", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/parser/OrientSql.java#L97-L131", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/parser/OrientSql.java", "func_name": "OrientSql.getNextToken", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the next Token.", "docstring_tokens": ["Get", "the", "next", "Token", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/parser/OrientSql.java#L31537-L31543", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/parser/OrientSql.java", "func_name": "OrientSql.getToken", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the specific Token.", "docstring_tokens": ["Get", "the", "specific", "Token", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/parser/OrientSql.java#L31546-L31553", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/parser/OrientSql.java", "func_name": "OrientSql.generateParseException", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generate ParseException.", "docstring_tokens": ["Generate", "ParseException", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/parser/OrientSql.java#L31594-L31649", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientVertex.java", "func_name": "OrientVertex.getVertices", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a lazy iterable instance against vertices.\n\n@param iDirection The direction between OUT, IN or BOTH\n@param iLabels Optional varargs of Strings representing edge label to consider", "docstring_tokens": ["Returns", "a", "lazy", "iterable", "instance", "against", "vertices", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientVertex.java#L405-L450", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientVertex.java", "func_name": "OrientVertex.remove", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes the current Vertex from the Graph. all the incoming and outgoing edges are automatically removed too.", "docstring_tokens": ["Removes", "the", "current", "Vertex", "from", "the", "Graph", ".", "all", "the", "incoming", "and", "outgoing", "edges", "are", "automatically", "removed", "too", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientVertex.java#L472-L539", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientVertex.java", "func_name": "OrientVertex.addEdge", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an edge between current Vertex and a target Vertex setting label as Edge's label.\n\n@param label Edge's label or class\n@param inVertex Outgoing target vertex\n\n@return The new Edge created", "docstring_tokens": ["Creates", "an", "edge", "between", "current", "Vertex", "and", "a", "target", "Vertex", "setting", "label", "as", "Edge", "s", "label", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientVertex.java#L701-L708", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientVertex.java", "func_name": "OrientVertex.addEdge", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an edge between current Vertex and a target Vertex setting label as Edge's label. iClassName is the Edge's class used\nif different by label.\n\n@param label Edge's label or class\n@param inVertex Outgoing target vertex\n@param iClassName Edge's class name\n\n@return The new Edge created", "docstring_tokens": ["Creates", "an", "edge", "between", "current", "Vertex", "and", "a", "target", "Vertex", "setting", "label", "as", "Edge", "s", "label", ".", "iClassName", "is", "the", "Edge", "s", "class", "used", "if", "different", "by", "label", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientVertex.java#L720-L722", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientVertex.java", "func_name": "OrientVertex.getConnectionClass", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Used to extract the class name from the vertex's field.\n\n@param iDirection Direction of connection\n@param iFieldName Full field name\n\n@return Class of the connection if any", "docstring_tokens": ["Used", "to", "extract", "the", "class", "name", "from", "the", "vertex", "s", "field", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientVertex.java#L957-L966", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientVertex.java", "func_name": "OrientVertex.getConnection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determines if a field is a connections or not.\n\n@param iDirection Direction to check\n@param iFieldName Field name\n@param iClassNames Optional array of class names\n\n@return The found direction if any", "docstring_tokens": ["Determines", "if", "a", "field", "is", "a", "connections", "or", "not", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientVertex.java#L977-L1029", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/db/tool/ODatabaseImport.java", "func_name": "ODatabaseImport.processBrokenRids", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "just read collection so import process can continue", "docstring_tokens": ["just", "read", "collection", "so", "import", "process", "can", "continue"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/db/tool/ODatabaseImport.java#L267-L290", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/common/console/OConsoleApplication.java", "func_name": "OConsoleApplication.getConsoleMethods", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a map of all console method and the object they can be called on.\n\n@return Map<Method,Object>", "docstring_tokens": ["Returns", "a", "map", "of", "all", "console", "method", "and", "the", "object", "they", "can", "be", "called", "on", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/common/console/OConsoleApplication.java#L619-L672", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "distributed-v2/src/main/java/com/orientechnologies/orient/distributed/impl/ODistributedAbstractPlugin.java", "func_name": "ODistributedAbstractPlugin.executeOnLocalNode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Executes the request on local node. In case of error returns the Exception itself", "docstring_tokens": ["Executes", "the", "request", "on", "local", "node", ".", "In", "case", "of", "error", "returns", "the", "Exception", "itself"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/distributed-v2/src/main/java/com/orientechnologies/orient/distributed/impl/ODistributedAbstractPlugin.java#L433-L489", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "distributed-v2/src/main/java/com/orientechnologies/orient/distributed/impl/ODistributedAbstractPlugin.java", "func_name": "ODistributedAbstractPlugin.getNodesWithStatus", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the nodes with the requested status.", "docstring_tokens": ["Returns", "the", "nodes", "with", "the", "requested", "status", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/distributed-v2/src/main/java/com/orientechnologies/orient/distributed/impl/ODistributedAbstractPlugin.java#L638-L647", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/db/ODatabaseWrapperAbstract.java", "func_name": "ODatabaseWrapperAbstract.backup", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Executes a backup of the database. During the backup the database will be frozen in read-only mode.\n\n@param out OutputStream used to write the backup content. Use a FileOutputStream to make the backup persistent on\ndisk\n@param options Backup options as Map object\n@param callable Callback to execute when the database is locked\n@param iListener Listener called for backup messages\n@param compressionLevel ZIP Compression level between 0 (no compression) and 9 (maximum). The bigger is the compression, the\nsmaller will be the final backup content, but will consume more CPU and time to execute\n@param bufferSize Buffer size in bytes, the bigger is the buffer, the more efficient will be the compression\n\n@throws IOException", "docstring_tokens": ["Executes", "a", "backup", "of", "the", "database", ".", "During", "the", "backup", "the", "database", "will", "be", "frozen", "in", "read", "-", "only", "mode", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/db/ODatabaseWrapperAbstract.java#L116-L120", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/command/script/OCommandExecutorScript.java", "func_name": "OCommandExecutorScript.waitForNextRetry", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Wait before to retry", "docstring_tokens": ["Wait", "before", "to", "retry"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/command/script/OCommandExecutorScript.java#L507-L513", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/network/protocol/http/OHttpRequestWrapper.java", "func_name": "OHttpRequestWrapper.getArgument", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the argument by position\n\n@return Array of arguments", "docstring_tokens": ["Returns", "the", "argument", "by", "position"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/network/protocol/http/OHttpRequestWrapper.java#L130-L132", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/network/protocol/http/OHttpRequestWrapper.java", "func_name": "OHttpRequestWrapper.hasParameters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks how many parameters have been received.\n\n@return The number of parameters found between the passed ones", "docstring_tokens": ["Checks", "how", "many", "parameters", "have", "been", "received", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/network/protocol/http/OHttpRequestWrapper.java#L157-L165", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "client/src/main/java/com/orientechnologies/orient/client/remote/OServerAdmin.java", "func_name": "OServerAdmin.connect", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Connects to a remote server.\n\n@param iUserName Server's user name\n@param iUserPassword Server's password for the user name used\n\n@return The instance itself. Useful to execute method in chain\n\n@throws IOException", "docstring_tokens": ["Connects", "to", "a", "remote", "server", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/client/src/main/java/com/orientechnologies/orient/client/remote/OServerAdmin.java#L109-L145", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "client/src/main/java/com/orientechnologies/orient/client/remote/OServerAdmin.java", "func_name": "OServerAdmin.listDatabases", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the list of databases on the connected remote server.\n\n@throws IOException", "docstring_tokens": ["Returns", "the", "list", "of", "databases", "on", "the", "connected", "remote", "server", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/client/src/main/java/com/orientechnologies/orient/client/remote/OServerAdmin.java#L152-L157", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "client/src/main/java/com/orientechnologies/orient/client/remote/OServerAdmin.java", "func_name": "OServerAdmin.getServerInfo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the server information in form of document.\n\n@throws IOException", "docstring_tokens": ["Returns", "the", "server", "information", "in", "form", "of", "document", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/client/src/main/java/com/orientechnologies/orient/client/remote/OServerAdmin.java#L164-L171", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "client/src/main/java/com/orientechnologies/orient/client/remote/OServerAdmin.java", "func_name": "OServerAdmin.existsDatabase", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks if a database exists in the remote server.\n\n@param iDatabaseName The database name\n@param storageType Storage type between \"plocal\" or \"memory\".\n\n@return true if exists, otherwise false\n\n@throws IOException", "docstring_tokens": ["Checks", "if", "a", "database", "exists", "in", "the", "remote", "server", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/client/src/main/java/com/orientechnologies/orient/client/remote/OServerAdmin.java#L262-L268", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "client/src/main/java/com/orientechnologies/orient/client/remote/OServerAdmin.java", "func_name": "OServerAdmin.dropDatabase", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Drops a database from a remote server instance.\n\n@param iDatabaseName The database name\n@param storageType Storage type between \"plocal\" or \"memory\".\n\n@return The instance itself. Useful to execute method in chain\n\n@throws IOException", "docstring_tokens": ["Drops", "a", "database", "from", "a", "remote", "server", "instance", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/client/src/main/java/com/orientechnologies/orient/client/remote/OServerAdmin.java#L308-L320", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "client/src/main/java/com/orientechnologies/orient/client/remote/OServerAdmin.java", "func_name": "OServerAdmin.freezeDatabase", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Freezes the database by locking it in exclusive mode.\n\n@param storageType Storage type between \"plocal\" or \"memory\".\n\n@return\n\n@throws IOException\n@see #releaseDatabase(String)", "docstring_tokens": ["Freezes", "the", "database", "by", "locking", "it", "in", "exclusive", "mode", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/client/src/main/java/com/orientechnologies/orient/client/remote/OServerAdmin.java#L345-L351", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "client/src/main/java/com/orientechnologies/orient/client/remote/OServerAdmin.java", "func_name": "OServerAdmin.releaseDatabase", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Releases a frozen database.\n\n@param storageType Storage type between \"plocal\" or \"memory\".\n\n@return\n\n@throws IOException\n@see #freezeDatabase(String)", "docstring_tokens": ["Releases", "a", "frozen", "database", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/client/src/main/java/com/orientechnologies/orient/client/remote/OServerAdmin.java#L363-L369", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "client/src/main/java/com/orientechnologies/orient/client/remote/OServerAdmin.java", "func_name": "OServerAdmin.clusterStatus", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the cluster status.\n\n@return the JSON containing the current cluster structure", "docstring_tokens": ["Gets", "the", "cluster", "status", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/client/src/main/java/com/orientechnologies/orient/client/remote/OServerAdmin.java#L376-L384", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLCreateIndex.java", "func_name": "OCommandExecutorSQLCreateIndex.execute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Execute the CREATE INDEX.", "docstring_tokens": ["Execute", "the", "CREATE", "INDEX", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLCreateIndex.java#L243-L306", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/orientechnologies/orient/graph/sql/OGraphCommandExecutorSQLFactory.java", "func_name": "OGraphCommandExecutorSQLFactory.getGraph", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a Transactional OrientGraph implementation from the current database in thread local.\n\n@param autoStartTx Whether returned graph will start transaction before each operation till commit automatically or user should do it\nexplicitly be calling {@link OrientGraph#getRawGraph()} method {@link ODatabaseDocumentTx#begin()}.\n@return Transactional OrientGraph implementation from the current database in thread local.", "docstring_tokens": ["Returns", "a", "Transactional", "OrientGraph", "implementation", "from", "the", "current", "database", "in", "thread", "local", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/orientechnologies/orient/graph/sql/OGraphCommandExecutorSQLFactory.java#L74-L103", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLRetryAbstract.java", "func_name": "OCommandExecutorSQLRetryAbstract.parseRetry", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses the RETRY number of times", "docstring_tokens": ["Parses", "the", "RETRY", "number", "of", "times"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLRetryAbstract.java#L36-L45", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/tx/OTransactionNoTx.java", "func_name": "OTransactionNoTx.saveRecord", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Update the record.\n\n@param iRecord\n@param iForceCreate\n@param iRecordCreatedCallback\n@param iRecordUpdatedCallback", "docstring_tokens": ["Update", "the", "record", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/tx/OTransactionNoTx.java#L158-L177", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/tx/OTransactionNoTx.java", "func_name": "OTransactionNoTx.deleteRecord", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Deletes the record.", "docstring_tokens": ["Deletes", "the", "record", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/tx/OTransactionNoTx.java#L189-L207", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/security/OSecurityAuthenticatorAbstract.java", "func_name": "OSecurityAuthenticatorAbstract.getAuthenticationHeader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "databaseName may be null.", "docstring_tokens": ["databaseName", "may", "be", "null", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/security/OSecurityAuthenticatorAbstract.java#L96-L106", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/security/authenticator/OSystemUserAuthenticator.java", "func_name": "OSystemUserAuthenticator.authenticate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This will authenticate username using the system database.", "docstring_tokens": ["This", "will", "authenticate", "username", "using", "the", "system", "database", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/security/authenticator/OSystemUserAuthenticator.java#L64-L82", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/security/authenticator/OSystemUserAuthenticator.java", "func_name": "OSystemUserAuthenticator.isAuthorized", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks to see if a", "docstring_tokens": ["Checks", "to", "see", "if", "a"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/security/authenticator/OSystemUserAuthenticator.java#L87-L118", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/OServerShutdownHook.java", "func_name": "OServerShutdownHook.run", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Catch the JVM exit and assure to shutdown the Orient Server.", "docstring_tokens": ["Catch", "the", "JVM", "exit", "and", "assure", "to", "shutdown", "the", "Orient", "Server", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/OServerShutdownHook.java#L37-L47", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/parser/JavaCharStream.java", "func_name": "JavaCharStream.adjustBeginLineColumn", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Method to adjust line and column numbers for the start of a token.", "docstring_tokens": ["Method", "to", "adjust", "line", "and", "column", "numbers", "for", "the", "start", "of", "a", "token", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/parser/JavaCharStream.java#L572-L614", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/index/sbtreebonsai/local/OBonsaiBucketAbstract.java", "func_name": "OBonsaiBucketAbstract.setBucketPointer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write a bucket pointer to specific location.\n\n@param pageOffset\nwhere to write\n@param value\n- pointer to write\n@throws IOException", "docstring_tokens": ["Write", "a", "bucket", "pointer", "to", "specific", "location", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/index/sbtreebonsai/local/OBonsaiBucketAbstract.java#L54-L57", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/index/sbtreebonsai/local/OBonsaiBucketAbstract.java", "func_name": "OBonsaiBucketAbstract.getBucketPointer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read bucket pointer from page.\n\n@param offset\nwhere the pointer should be read from\n@return bucket pointer", "docstring_tokens": ["Read", "bucket", "pointer", "from", "page", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/index/sbtreebonsai/local/OBonsaiBucketAbstract.java#L66-L70", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/paginated/atomicoperations/OAtomicOperationsManager.java", "func_name": "OAtomicOperationsManager.endAtomicOperation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Ends the current atomic operation on this manager.\n\n@param rollback {@code true} to indicate a rollback, {@code false} for successful commit.\n\n@return the LSN produced by committing the current operation or {@code null} if no commit was done.", "docstring_tokens": ["Ends", "the", "current", "atomic", "operation", "on", "this", "manager", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/paginated/atomicoperations/OAtomicOperationsManager.java#L364-L426", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/paginated/atomicoperations/OAtomicOperationsManager.java", "func_name": "OAtomicOperationsManager.acquireExclusiveLockTillOperationComplete", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Acquires exclusive lock with the given lock name in the given atomic operation.\n\n@param operation the atomic operation to acquire the lock in.\n@param lockName the lock name to acquire.", "docstring_tokens": ["Acquires", "exclusive", "lock", "with", "the", "given", "lock", "name", "in", "the", "given", "atomic", "operation", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/paginated/atomicoperations/OAtomicOperationsManager.java#L448-L455", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/cache/local/twoq/O2QCache.java", "func_name": "O2QCache.changeMaximumAmountOfMemory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Changes amount of memory which may be used by given cache. This method may consume many resources if amount of memory provided\nin parameter is much less than current amount of memory.\n\n@param readCacheMaxMemory New maximum size of cache in bytes.\n\n@throws IllegalStateException In case of new size of disk cache is too small to hold existing pinned pages.", "docstring_tokens": ["Changes", "amount", "of", "memory", "which", "may", "be", "used", "by", "given", "cache", ".", "This", "method", "may", "consume", "many", "resources", "if", "amount", "of", "memory", "provided", "in", "parameter", "is", "much", "less", "than", "current", "amount", "of", "memory", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/cache/local/twoq/O2QCache.java#L354-L379", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/network/OServerNetworkListener.java", "func_name": "OServerNetworkListener.listen", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Initialize a server socket for communicating with the client.\n\n@param iHostPortRange\n@param iHostName", "docstring_tokens": ["Initialize", "a", "server", "socket", "for", "communicating", "with", "the", "client", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/network/OServerNetworkListener.java#L329-L360", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/network/OServerNetworkListener.java", "func_name": "OServerNetworkListener.readParameters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Initializes connection parameters by the reading XML configuration. If not specified, get the parameters defined as global\nconfiguration.\n\n@param iServerConfig", "docstring_tokens": ["Initializes", "connection", "parameters", "by", "the", "reading", "XML", "configuration", ".", "If", "not", "specified", "get", "the", "parameters", "defined", "as", "global", "configuration", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/network/OServerNetworkListener.java#L368-L379", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/common/log/OLogManager.java", "func_name": "OLogManager.shutdown", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Shutdowns this log manager.", "docstring_tokens": ["Shutdowns", "this", "log", "manager", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/common/log/OLogManager.java#L373-L384", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/common/collection/closabledictionary/OClosableLinkedContainer.java", "func_name": "OClosableLinkedContainer.add", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds item to the container.\nItem should be in open state.\n\n@param key Key associated with given item.\n@param item Item associated with passed in key.", "docstring_tokens": ["Adds", "item", "to", "the", "container", ".", "Item", "should", "be", "in", "open", "state", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/common/collection/closabledictionary/OClosableLinkedContainer.java#L231-L245", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/common/collection/closabledictionary/OClosableLinkedContainer.java", "func_name": "OClosableLinkedContainer.remove", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes item associated with passed in key.\n\n@param key Key associated with item to remove.\n\n@return Removed item.", "docstring_tokens": ["Removes", "item", "associated", "with", "passed", "in", "key", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/common/collection/closabledictionary/OClosableLinkedContainer.java#L254-L269", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/common/collection/closabledictionary/OClosableLinkedContainer.java", "func_name": "OClosableLinkedContainer.acquire", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Acquires item associated with passed in key in container.\nIt is guarantied that item will not be closed if limit of open items will be exceeded and container will close rarely used\nitems.\n\n@param key Key associated with item\n\n@return Acquired item if key exists into container or null if there is no item associated with given container", "docstring_tokens": ["Acquires", "item", "associated", "with", "passed", "in", "key", "in", "container", ".", "It", "is", "guarantied", "that", "item", "will", "not", "be", "closed", "if", "limit", "of", "open", "items", "will", "be", "exceeded", "and", "container", "will", "close", "rarely", "used", "items", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/common/collection/closabledictionary/OClosableLinkedContainer.java#L280-L313", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/common/collection/closabledictionary/OClosableLinkedContainer.java", "func_name": "OClosableLinkedContainer.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns item without acquiring it. State of item is not guarantied in such case.\n\n@param key Key associated with required item.\n\n@return Item associated with given key.", "docstring_tokens": ["Returns", "item", "without", "acquiring", "it", ".", "State", "of", "item", "is", "not", "guarantied", "in", "such", "case", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/common/collection/closabledictionary/OClosableLinkedContainer.java#L365-L371", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/common/collection/closabledictionary/OClosableLinkedContainer.java", "func_name": "OClosableLinkedContainer.clear", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Clears all content.", "docstring_tokens": ["Clears", "all", "content", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/common/collection/closabledictionary/OClosableLinkedContainer.java#L376-L400", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/common/collection/closabledictionary/OClosableLinkedContainer.java", "func_name": "OClosableLinkedContainer.close", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Closes item related to passed in key.\nItem will be closed if it exists and is not acquired.\n\n@param key Key related to item that has going to be closed.\n\n@return true if item was closed and false otherwise.", "docstring_tokens": ["Closes", "item", "related", "to", "passed", "in", "key", ".", "Item", "will", "be", "closed", "if", "it", "exists", "and", "is", "not", "acquired", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/common/collection/closabledictionary/OClosableLinkedContainer.java#L410-L424", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/common/collection/closabledictionary/OClosableLinkedContainer.java", "func_name": "OClosableLinkedContainer.emptyReadBuffers", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read content of all read buffers and reorder elements inside of LRU list to update internal statistic.\nMethod has to be wrapped by LRU lock.", "docstring_tokens": ["Read", "content", "of", "all", "read", "buffers", "and", "reorder", "elements", "inside", "of", "LRU", "list", "to", "update", "internal", "statistic", ".", "Method", "has", "to", "be", "wrapped", "by", "LRU", "lock", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/common/collection/closabledictionary/OClosableLinkedContainer.java#L525-L549", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/common/collection/closabledictionary/OClosableLinkedContainer.java", "func_name": "OClosableLinkedContainer.afterWrite", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Method is used to log operations which change content of the container.\nSuch changes should be flushed immediately to update content of LRU list.\n\n@param task Task which contains code is used to manipulate LRU list", "docstring_tokens": ["Method", "is", "used", "to", "log", "operations", "which", "change", "content", "of", "the", "container", ".", "Such", "changes", "should", "be", "flushed", "immediately", "to", "update", "content", "of", "LRU", "list", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/common/collection/closabledictionary/OClosableLinkedContainer.java#L608-L612", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/common/collection/closabledictionary/OClosableLinkedContainer.java", "func_name": "OClosableLinkedContainer.afterRead", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Method is used to log operations which do not change LRU list content but affect order of items inside of LRU list.\nSuch changes may be delayed till buffer will be full.\n\n@param entry Entry which was affected by operation.", "docstring_tokens": ["Method", "is", "used", "to", "log", "operations", "which", "do", "not", "change", "LRU", "list", "content", "but", "affect", "order", "of", "items", "inside", "of", "LRU", "list", ".", "Such", "changes", "may", "be", "delayed", "till", "buffer", "will", "be", "full", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/common/collection/closabledictionary/OClosableLinkedContainer.java#L620-L624", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/common/collection/closabledictionary/OClosableLinkedContainer.java", "func_name": "OClosableLinkedContainer.putEntryInReadBuffer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds entry to the read buffer with selected index and returns amount of writes to this buffer since creation of this container.\n\n@param entry LRU entry to add.\n@param bufferIndex Index of buffer\n\n@return Amount of writes to the buffer since creation of this container.", "docstring_tokens": ["Adds", "entry", "to", "the", "read", "buffer", "with", "selected", "index", "and", "returns", "amount", "of", "writes", "to", "this", "buffer", "since", "creation", "of", "this", "container", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/common/collection/closabledictionary/OClosableLinkedContainer.java#L634-L648", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/common/collection/closabledictionary/OClosableLinkedContainer.java", "func_name": "OClosableLinkedContainer.closestPowerOfTwo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds closest power of two for given integer value. Idea is simple duplicate the most significant bit to the lowest bits for\nthe smallest number of iterations possible and then increment result value by 1.\n\n@param value Integer the most significant power of 2 should be found.\n\n@return The most significant power of 2.", "docstring_tokens": ["Finds", "closest", "power", "of", "two", "for", "given", "integer", "value", ".", "Idea", "is", "simple", "duplicate", "the", "most", "significant", "bit", "to", "the", "lowest", "bits", "for", "the", "smallest", "number", "of", "iterations", "possible", "and", "then", "increment", "result", "value", "by", "1", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/common/collection/closabledictionary/OClosableLinkedContainer.java#L749-L757", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "client/src/main/java/com/orientechnologies/orient/client/remote/OLiveQueryClientListener.java", "func_name": "OLiveQueryClientListener.onEvent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return true if the push request require an unregister\n\n@param pushRequest\n\n@return", "docstring_tokens": ["Return", "true", "if", "the", "push", "request", "require", "an", "unregister"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/client/src/main/java/com/orientechnologies/orient/client/remote/OLiveQueryClientListener.java#L31-L61", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "object/src/main/java/com/orientechnologies/orient/object/enumerations/OObjectEnumLazyMap.java", "func_name": "OObjectEnumLazyMap.convert", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Assure that the requested key is converted.", "docstring_tokens": ["Assure", "that", "the", "requested", "key", "is", "converted", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/object/src/main/java/com/orientechnologies/orient/object/enumerations/OObjectEnumLazyMap.java#L140-L152", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "object/src/main/java/com/orientechnologies/orient/object/enumerations/OObjectEnumLazyMap.java", "func_name": "OObjectEnumLazyMap.convertAll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts all the items", "docstring_tokens": ["Converts", "all", "the", "items"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/object/src/main/java/com/orientechnologies/orient/object/enumerations/OObjectEnumLazyMap.java#L181-L193", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/serialization/serializer/binary/OBinarySerializerFactory.java", "func_name": "OBinarySerializerFactory.getObjectSerializer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Obtain OBinarySerializer realization for the OType\n\n@param type is the OType to obtain serializer algorithm for\n\n@return OBinarySerializer instance", "docstring_tokens": ["Obtain", "OBinarySerializer", "realization", "for", "the", "OType"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/serialization/serializer/binary/OBinarySerializerFactory.java#L164-L167", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/Orient.java", "func_name": "Orient.initShutdownQueue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds shutdown handlers in order which will be used during execution of shutdown.", "docstring_tokens": ["Adds", "shutdown", "handlers", "in", "order", "which", "will", "be", "used", "during", "execution", "of", "shutdown", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/Orient.java#L349-L355", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/Orient.java", "func_name": "Orient.getEngine", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the engine by its name.\n\n@param engineName Engine name to retrieve\n\n@return OEngine instance of found, otherwise null", "docstring_tokens": ["Returns", "the", "engine", "by", "its", "name", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/Orient.java#L554-L561", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/parser/OProfileStorageStatement.java", "func_name": "OProfileStorageStatement.executeSimple", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "new execution logic", "docstring_tokens": ["new", "execution", "logic"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/parser/OProfileStorageStatement.java#L36-L63", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/parser/OProfileStorageStatement.java", "func_name": "OProfileStorageStatement.execute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "old execution logic", "docstring_tokens": ["old", "execution", "logic"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/parser/OProfileStorageStatement.java#L66-L97", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/common/concur/lock/ScalableRWLock.java", "func_name": "ScalableRWLock.addState", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new ReadersEntry instance for the current thread and\nits associated AtomicInteger to store the state of the Reader\n\n@return Returns a reference to the newly created instance of\n{@code ReadersEntry}", "docstring_tokens": ["Creates", "a", "new", "ReadersEntry", "instance", "for", "the", "current", "thread", "and", "its", "associated", "AtomicInteger", "to", "store", "the", "state", "of", "the", "Reader"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/common/concur/lock/ScalableRWLock.java#L260-L267", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/metadata/security/OSecurityShared.java", "func_name": "OSecurityShared.authenticate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Token MUST be validated before being passed to this method.", "docstring_tokens": ["Token", "MUST", "be", "validated", "before", "being", "passed", "to", "this", "method", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/metadata/security/OSecurityShared.java#L260-L279", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/metadata/security/OSecurityShared.java", "func_name": "OSecurityShared.createMetadata", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Repairs the security structure if broken by creating the ADMIN role and user with default password.\n\n@return", "docstring_tokens": ["Repairs", "the", "security", "structure", "if", "broken", "by", "creating", "the", "ADMIN", "role", "and", "user", "with", "default", "password", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/metadata/security/OSecurityShared.java#L441-L475", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/common/concur/lock/OReadersWriterSpinLock.java", "func_name": "OReadersWriterSpinLock.tryAcquireReadLock", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Tries to acquire lock during provided interval of time and returns either if provided time interval was passed or\nif lock was acquired.\n\n@param timeout Timeout during of which we should wait for read lock.\n\n@return true if read lock was acquired.", "docstring_tokens": ["Tries", "to", "acquire", "lock", "during", "provided", "interval", "of", "time", "and", "returns", "either", "if", "provided", "time", "interval", "was", "passed", "or", "if", "lock", "was", "acquired", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/common/concur/lock/OReadersWriterSpinLock.java#L64-L118", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientEdge.java", "func_name": "OrientEdge.getVertex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the connected incoming or outgoing vertex.\n\n@param direction Direction between IN or OUT", "docstring_tokens": ["Returns", "the", "connected", "incoming", "or", "outgoing", "vertex", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientEdge.java#L158-L168", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientEdge.java", "func_name": "OrientEdge.getId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the Edge Id assuring to save it if it's transient yet.", "docstring_tokens": ["Returns", "the", "Edge", "Id", "assuring", "to", "save", "it", "if", "it", "s", "transient", "yet", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientEdge.java#L255-L264", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientEdge.java", "func_name": "OrientEdge.setProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set a Property value. If the edge is lightweight, it's transparently transformed into a regular edge.\n\n@param key Property name\n@param value Property value", "docstring_tokens": ["Set", "a", "Property", "value", ".", "If", "the", "edge", "is", "lightweight", "it", "s", "transparently", "transformed", "into", "a", "regular", "edge", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientEdge.java#L335-L344", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientEdge.java", "func_name": "OrientEdge.removeProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removed a Property.\n\n@param key Property name\n@return Old value if any", "docstring_tokens": ["Removed", "a", "Property", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientEdge.java#L352-L360", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/index/sbtreebonsai/local/OSBTreeBonsaiLocal.java", "func_name": "OSBTreeBonsaiLocal.clear", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes all entries from bonsai tree. Put all but the root page to free list for further reuse.", "docstring_tokens": ["Removes", "all", "entries", "from", "bonsai", "tree", ".", "Put", "all", "but", "the", "root", "page", "to", "free", "list", "for", "further", "reuse", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/index/sbtreebonsai/local/OSBTreeBonsaiLocal.java#L272-L307", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/index/sbtreebonsai/local/OSBTreeBonsaiLocal.java", "func_name": "OSBTreeBonsaiLocal.delete", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Deletes a whole tree. Puts all its pages to free list for further reusage.", "docstring_tokens": ["Deletes", "a", "whole", "tree", ".", "Puts", "all", "its", "pages", "to", "free", "list", "for", "further", "reusage", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/index/sbtreebonsai/local/OSBTreeBonsaiLocal.java#L379-L398", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/orientechnologies/orient/graph/batch/OGraphBatchInsertBasic.java", "func_name": "OGraphBatchInsertBasic.end", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Flushes data to db and closes the db. Call this once, after vertices and edges creation.", "docstring_tokens": ["Flushes", "data", "to", "db", "and", "closes", "the", "db", ".", "Call", "this", "once", "after", "vertices", "and", "edges", "creation", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/orientechnologies/orient/graph/batch/OGraphBatchInsertBasic.java#L219-L250", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "graphdb/src/main/java/com/orientechnologies/orient/graph/batch/OGraphBatchInsertBasic.java", "func_name": "OGraphBatchInsertBasic.createVertex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new vertex\n\n@param v\nthe vertex ID", "docstring_tokens": ["Creates", "a", "new", "vertex"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/graphdb/src/main/java/com/orientechnologies/orient/graph/batch/OGraphBatchInsertBasic.java#L258-L264", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLTraverse.java", "func_name": "OCommandExecutorSQLTraverse.parseStrategy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses the strategy keyword if found.", "docstring_tokens": ["Parses", "the", "strategy", "keyword", "if", "found", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLTraverse.java#L252-L264", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/serialization/serializer/record/binary/ORecordSerializerBinaryV0.java", "func_name": "ORecordSerializerBinaryV0.getPositionsFromEmbeddedCollection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "returns begin position and length for each value in embedded collection", "docstring_tokens": ["returns", "begin", "position", "and", "length", "for", "each", "value", "in", "embedded", "collection"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/serialization/serializer/record/binary/ORecordSerializerBinaryV0.java#L466-L491", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLInsert.java", "func_name": "OCommandExecutorSQLInsert.execute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Execute the INSERT and return the ODocument object created.", "docstring_tokens": ["Execute", "the", "INSERT", "and", "return", "the", "ODocument", "object", "created", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLInsert.java#L210-L275", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/db/tool/ODatabaseRepair.java", "func_name": "ODatabaseRepair.fixLink", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks if the link must be fixed.\n\n@param fieldValue\nField containing the OIdentifiable (RID or Record)\n@return true to fix it, otherwise false", "docstring_tokens": ["Checks", "if", "the", "link", "must", "be", "fixed", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/db/tool/ODatabaseRepair.java#L131-L147", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/record/ORecordInternal.java", "func_name": "ORecordInternal.fill", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Internal only. Fills in one shot the record.", "docstring_tokens": ["Internal", "only", ".", "Fills", "in", "one", "shot", "the", "record", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/record/ORecordInternal.java#L35-L40", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/record/ORecordInternal.java", "func_name": "ORecordInternal.setVersion", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Internal only. Sets the version.", "docstring_tokens": ["Internal", "only", ".", "Sets", "the", "version", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/record/ORecordInternal.java#L78-L81", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/record/ORecordInternal.java", "func_name": "ORecordInternal.getRecordType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Internal only. Return the record type.", "docstring_tokens": ["Internal", "only", ".", "Return", "the", "record", "type", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/record/ORecordInternal.java#L86-L92", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "distributed-v2/src/main/java/com/orientechnologies/orient/distributed/impl/ODistributedWorker.java", "func_name": "ODistributedWorker.initDatabaseInstance", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Opens the database.", "docstring_tokens": ["Opens", "the", "database", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/distributed-v2/src/main/java/com/orientechnologies/orient/distributed/impl/ODistributedWorker.java#L149-L181", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "etl/src/main/java/com/orientechnologies/orient/etl/context/OETLContext.java", "func_name": "OETLContext.printExceptionStackTrace", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds the exception stack trace and prints it according to a level passed as argument.\n\n@param e\n@param level\n\n@return printedMessage", "docstring_tokens": ["Builds", "the", "exception", "stack", "trace", "and", "prints", "it", "according", "to", "a", "level", "passed", "as", "argument", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/etl/src/main/java/com/orientechnologies/orient/etl/context/OETLContext.java#L104-L127", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/operator/OQueryOperator.java", "func_name": "OQueryOperator.executeIndexQuery", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Performs index query and returns index cursor which presents subset of index data which corresponds to result of execution of\ngiven operator.\n\n

\nQuery that should be executed can be presented like: [[property0 = keyParam0] and [property1 = keyParam1] and] propertyN\noperator keyParamN.\n

\nIt is supped that index which passed in as parameter is used to index properties listed above and responsibility of given\nmethod execute query using given parameters.\n

\nMultiple parameters are passed in to implement composite indexes support.\n\n\n@param iContext\n@param index\nInstance of index that will be used to calculate result of operator execution.\n@param keyParams\nParameters of query is used to calculate query result.\n@param ascSortOrder\nData returned by cursors should be sorted in ascending or descending order.\n@return Cursor instance if index can be used to evaluate result of execution of given operator and null otherwise.", "docstring_tokens": ["Performs", "index", "query", "and", "returns", "index", "cursor", "which", "presents", "subset", "of", "index", "data", "which", "corresponds", "to", "result", "of", "execution", "of", "given", "operator", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/operator/OQueryOperator.java#L150-L153", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/db/record/ORecordLazyMap.java", "func_name": "ORecordLazyMap.convertLink2Record", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert the item with the received key to a record.\n\n@param iKey\nKey of the item to convert", "docstring_tokens": ["Convert", "the", "item", "with", "the", "received", "key", "to", "a", "record", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/db/record/ORecordLazyMap.java#L189-L219", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/network/protocol/http/OHttpNetworkCommandManager.java", "func_name": "OHttpNetworkCommandManager.registerCommand", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Register all the names for the same instance.\n\n@param iServerCommandInstance", "docstring_tokens": ["Register", "all", "the", "names", "for", "the", "same", "instance", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/network/protocol/http/OHttpNetworkCommandManager.java#L87-L96", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "server/src/main/java/com/orientechnologies/orient/server/security/authenticator/ODefaultPasswordAuthenticator.java", "func_name": "ODefaultPasswordAuthenticator.createServerUser", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Derived implementations can override this method to provide new server user implementations.", "docstring_tokens": ["Derived", "implementations", "can", "override", "this", "method", "to", "provide", "new", "server", "user", "implementations", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/server/src/main/java/com/orientechnologies/orient/server/security/authenticator/ODefaultPasswordAuthenticator.java#L77-L91", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/OFilterAnalyzer.java", "func_name": "OFilterAnalyzer.analyzeCondition", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Analyzes a query filter for a possible indexation options. The results are sorted by amount of fields. So the most specific\nitems go first.\n\n@param condition to analyze\n@param schemaClass the class that is scanned by query\n@param context of the query\n\n@return list of OIndexSearchResult items", "docstring_tokens": ["Analyzes", "a", "query", "filter", "for", "a", "possible", "indexation", "options", ".", "The", "results", "are", "sorted", "by", "amount", "of", "fields", ".", "So", "the", "most", "specific", "items", "go", "first", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/OFilterAnalyzer.java#L97-L113", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/OFilterAnalyzer.java", "func_name": "OFilterAnalyzer.createIndexedProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add SQL filter field to the search candidate list.\n\n@param iCondition Condition item\n@param iItem Value to search\n\n@return true if the property was indexed and found, otherwise false", "docstring_tokens": ["Add", "SQL", "filter", "field", "to", "the", "search", "candidate", "list", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/OFilterAnalyzer.java#L207-L250", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "object/src/main/java/com/orientechnologies/orient/object/enhancement/OObjectProxyMethodHandler.java", "func_name": "OObjectProxyMethodHandler.attach", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Method that attaches all data contained in the object to the associated document\n\n@param self :- The object containing this handler instance\n\n@throws IllegalAccessException\n@throws IllegalArgumentException\n@throws InvocationTargetException\n@throws NoSuchMethodException", "docstring_tokens": ["Method", "that", "attaches", "all", "data", "contained", "in", "the", "object", "to", "the", "associated", "document"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/object/src/main/java/com/orientechnologies/orient/object/enhancement/OObjectProxyMethodHandler.java#L213-L239", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/parser/OCreateIndexStatement.java", "func_name": "OCreateIndexStatement.getIndexClass", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "calculates the indexed class based on the class name", "docstring_tokens": ["calculates", "the", "indexed", "class", "based", "on", "the", "class", "name"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/parser/OCreateIndexStatement.java#L174-L183", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/metadata/sequence/OSequenceCached.java", "func_name": "OSequenceCached.nextWithNewCurrentValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "first set new current value then call next", "docstring_tokens": ["first", "set", "new", "current", "value", "then", "call", "next"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/metadata/sequence/OSequenceCached.java#L128-L147", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/metadata/schema/OClassImpl.java", "func_name": "OClassImpl.truncate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Truncates all the clusters the class uses.", "docstring_tokens": ["Truncates", "all", "the", "clusters", "the", "class", "uses", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/metadata/schema/OClassImpl.java#L871-L902", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/metadata/schema/OClassImpl.java", "func_name": "OClassImpl.addBaseClass", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a base class to the current one. It adds also the base class cluster ids to the polymorphic cluster ids array.\n\n@param iBaseClass The base class to add.", "docstring_tokens": ["Adds", "a", "base", "class", "to", "the", "current", "one", ".", "It", "adds", "also", "the", "base", "class", "cluster", "ids", "to", "the", "polymorphic", "cluster", "ids", "array", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/metadata/schema/OClassImpl.java#L1525-L1537", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/metadata/schema/OClassImpl.java", "func_name": "OClassImpl.addPolymorphicClusterIds", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add different cluster id to the \"polymorphic cluster ids\" array.", "docstring_tokens": ["Add", "different", "cluster", "id", "to", "the", "polymorphic", "cluster", "ids", "array", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/metadata/schema/OClassImpl.java#L1628-L1650", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/serialization/serializer/record/string/ORecordSerializerCSVAbstract.java", "func_name": "ORecordSerializerCSVAbstract.linkToStream", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Serialize the link.\n\n@param buffer\n@param iParentRecord\n@param iLinked Can be an instance of ORID or a Record\n\n@return", "docstring_tokens": ["Serialize", "the", "link", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/serialization/serializer/record/string/ORecordSerializerCSVAbstract.java#L64-L107", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/common/directmemory/OByteBufferPool.java", "func_name": "OByteBufferPool.release", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Put buffer which is not used any more back to the pool or frees direct memory if pool is full.\n\n@param pointer Not used instance of buffer.\n\n@see OGlobalConfiguration#DIRECT_MEMORY_POOL_LIMIT", "docstring_tokens": ["Put", "buffer", "which", "is", "not", "used", "any", "more", "back", "to", "the", "pool", "or", "frees", "direct", "memory", "if", "pool", "is", "full", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/common/directmemory/OByteBufferPool.java#L167-L179", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/common/directmemory/OByteBufferPool.java", "func_name": "OByteBufferPool.checkMemoryLeaks", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks whether there are not released buffers in the pool", "docstring_tokens": ["Checks", "whether", "there", "are", "not", "released", "buffers", "in", "the", "pool"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/common/directmemory/OByteBufferPool.java#L192-L204", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/common/directmemory/OByteBufferPool.java", "func_name": "OByteBufferPool.clear", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Clears pool and dealocates memory.", "docstring_tokens": ["Clears", "pool", "and", "dealocates", "memory", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/common/directmemory/OByteBufferPool.java#L209-L222", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/serialization/OBinaryProtocol.java", "func_name": "OBinaryProtocol.bytes2int", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert the byte array to an int starting from the given offset.\n\n@param b The byte array\n@param offset The array offset\n@return The integer", "docstring_tokens": ["Convert", "the", "byte", "array", "to", "an", "int", "starting", "from", "the", "given", "offset", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/serialization/OBinaryProtocol.java#L153-L155", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "distributed/src/main/java/com/orientechnologies/orient/server/distributed/impl/ODistributedAbstractPlugin.java", "func_name": "ODistributedAbstractPlugin.onOpen", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Auto register myself as hook.", "docstring_tokens": ["Auto", "register", "myself", "as", "hook", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/distributed/src/main/java/com/orientechnologies/orient/server/distributed/impl/ODistributedAbstractPlugin.java#L348-L374", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "distributed/src/main/java/com/orientechnologies/orient/server/distributed/impl/ODistributedAbstractPlugin.java", "func_name": "ODistributedAbstractPlugin.installClustersOfClass", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Guarantees that each class has own master cluster.", "docstring_tokens": ["Guarantees", "that", "each", "class", "has", "own", "master", "cluster", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/distributed/src/main/java/com/orientechnologies/orient/server/distributed/impl/ODistributedAbstractPlugin.java#L1676-L1702", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "distributed/src/main/java/com/orientechnologies/orient/server/distributed/impl/ODistributedAbstractPlugin.java", "func_name": "ODistributedAbstractPlugin.dumpServersStatus", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Avoids to dump the same configuration twice if it's unchanged since the last time.", "docstring_tokens": ["Avoids", "to", "dump", "the", "same", "configuration", "twice", "if", "it", "s", "unchanged", "since", "the", "last", "time", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/distributed/src/main/java/com/orientechnologies/orient/server/distributed/impl/ODistributedAbstractPlugin.java#L2118-L2130", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/common/util/OCollections.java", "func_name": "OCollections.indexOf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method is used to find an item in an array.\n\n@param array Array in which value should be found.\n@param object Object to find.\n\n@return Index of found item or -1 otherwise.", "docstring_tokens": ["This", "method", "is", "used", "to", "find", "an", "item", "in", "an", "array", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/common/util/OCollections.java#L64-L71", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/common/util/OCollections.java", "func_name": "OCollections.indexOf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method is used to find a number in an array.\n\n@param array Array of integers in which value should be found.\n@param object number to find.\n\n@return Index of found item or -1 otherwise.", "docstring_tokens": ["This", "method", "is", "used", "to", "find", "a", "number", "in", "an", "array", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/common/util/OCollections.java#L81-L88", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLSelect.java", "func_name": "OCommandExecutorSQLSelect.getInvolvedClusters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determine clusters that are used in select operation\n\n@return set of involved cluster names", "docstring_tokens": ["Determine", "clusters", "that", "are", "used", "in", "select", "operation"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLSelect.java#L361-L407", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLSelect.java", "func_name": "OCommandExecutorSQLSelect.handleResult", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Handles the record in result.\n\n@param iRecord Record to handle\n\n@return false if limit has been reached, otherwise true", "docstring_tokens": ["Handles", "the", "record", "in", "result", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLSelect.java#L654-L670", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLSelect.java", "func_name": "OCommandExecutorSQLSelect.getTemporaryRIDCounter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the temporary RID counter assuring it's unique per query tree.\n\n@return Serial as integer", "docstring_tokens": ["Returns", "the", "temporary", "RID", "counter", "assuring", "it", "s", "unique", "per", "query", "tree", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLSelect.java#L682-L687", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLSelect.java", "func_name": "OCommandExecutorSQLSelect.reportTip", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Report the tip to the profiler and collect it in context to be reported by tools like Studio", "docstring_tokens": ["Report", "the", "tip", "to", "the", "profiler", "and", "collect", "it", "in", "context", "to", "be", "reported", "by", "tools", "like", "Studio"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLSelect.java#L853-L861", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLSelect.java", "func_name": "OCommandExecutorSQLSelect.parseFetchplan", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses the fetchplan keyword if found.", "docstring_tokens": ["Parses", "the", "fetchplan", "keyword", "if", "found", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLSelect.java#L1173-L1208", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLSelect.java", "func_name": "OCommandExecutorSQLSelect.parseNoCache", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses the NOCACHE keyword if found.", "docstring_tokens": ["Parses", "the", "NOCACHE", "keyword", "if", "found", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLSelect.java#L1322-L1328", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLSelect.java", "func_name": "OCommandExecutorSQLSelect.optimizeSort", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Use index to order documents by provided fields.\n\n@param iSchemaClass where search for indexes for optimization.\n\n@return true if execution was optimized", "docstring_tokens": ["Use", "index", "to", "order", "documents", "by", "provided", "fields", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLSelect.java#L2320-L2327", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "etl/src/main/java/com/orientechnologies/orient/etl/http/OETLJob.java", "func_name": "OETLJob.status", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Single Job Status\n\n@return ODocument", "docstring_tokens": ["Single", "Job", "Status"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/etl/src/main/java/com/orientechnologies/orient/etl/http/OETLJob.java#L95-L114", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/command/OCommandRequestTextAbstract.java", "func_name": "OCommandRequestTextAbstract.execute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Delegates the execution to the configured command executor.", "docstring_tokens": ["Delegates", "the", "execution", "to", "the", "configured", "command", "executor", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/command/OCommandRequestTextAbstract.java#L61-L69", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/OAbstractPaginatedStorage.java", "func_name": "OAbstractPaginatedStorage.handleJVMError", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "That is internal method which is called once we encounter any error inside of JVM. In such case we need to restart JVM to avoid\nany data corruption. Till JVM is not restarted storage will be put in read-only state.", "docstring_tokens": ["That", "is", "internal", "method", "which", "is", "called", "once", "we", "encounter", "any", "error", "inside", "of", "JVM", ".", "In", "such", "case", "we", "need", "to", "restart", "JVM", "to", "avoid", "any", "data", "corruption", ".", "Till", "JVM", "is", "not", "restarted", "storage", "will", "be", "put", "in", "read", "-", "only", "state", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/OAbstractPaginatedStorage.java#L448-L452", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/OAbstractPaginatedStorage.java", "func_name": "OAbstractPaginatedStorage.validatedPutIndexValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Puts the given value under the given key into this storage for the index with the given index id. Validates the operation using\nthe provided validator.\n\n@param indexId the index id of the index to put the value into.\n@param key the key to put the value under.\n@param value the value to put.\n@param validator the operation validator.\n\n@return {@code true} if the validator allowed the put, {@code false} otherwise.\n\n@see OBaseIndexEngine.Validator#validate(Object, Object, Object)", "docstring_tokens": ["Puts", "the", "given", "value", "under", "the", "given", "key", "into", "this", "storage", "for", "the", "index", "with", "the", "given", "index", "id", ".", "Validates", "the", "operation", "using", "the", "provided", "validator", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/OAbstractPaginatedStorage.java#L2992-L3023", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/OAbstractPaginatedStorage.java", "func_name": "OAbstractPaginatedStorage.rollback", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Rollbacks the given micro-transaction.\n\n@param microTransaction the micro-transaction to rollback.", "docstring_tokens": ["Rollbacks", "the", "given", "micro", "-", "transaction", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/OAbstractPaginatedStorage.java#L3466-L3506", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/OAbstractPaginatedStorage.java", "func_name": "OAbstractPaginatedStorage.command", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Executes the command request and return the result back.", "docstring_tokens": ["Executes", "the", "command", "request", "and", "return", "the", "result", "back", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/OAbstractPaginatedStorage.java#L3908-L3938", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/OAbstractPaginatedStorage.java", "func_name": "OAbstractPaginatedStorage.registerCluster", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Register the cluster internally.\n\n@param cluster OCluster implementation\n\n@return The id (physical position into the array) of the new cluster just created. First is 0.", "docstring_tokens": ["Register", "the", "cluster", "internally", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/OAbstractPaginatedStorage.java#L4914-L4933", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/db/OPartitionedDatabasePool.java", "func_name": "OPartitionedDatabasePool.setProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets a property value\n\n@param iName Property name\n@param iValue new value to set\n\n@return The previous value if any, otherwise null", "docstring_tokens": ["Sets", "a", "property", "value"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/db/OPartitionedDatabasePool.java#L371-L377", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLCreateClass.java", "func_name": "OCommandExecutorSQLCreateClass.execute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Execute the CREATE CLASS.", "docstring_tokens": ["Execute", "the", "CREATE", "CLASS", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLCreateClass.java#L234-L248", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "distributed/src/main/java/com/orientechnologies/orient/server/distributed/sql/OCommandExecutorSQLHASyncDatabase.java", "func_name": "OCommandExecutorSQLHASyncDatabase.execute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Execute the SYNC DATABASE.", "docstring_tokens": ["Execute", "the", "SYNC", "DATABASE", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/distributed/src/main/java/com/orientechnologies/orient/server/distributed/sql/OCommandExecutorSQLHASyncDatabase.java#L69-L86", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/db/document/ODatabaseDocumentAbstract.java", "func_name": "ODatabaseDocumentAbstract.delete", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Deletes the record checking the version.", "docstring_tokens": ["Deletes", "the", "record", "checking", "the", "version", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/db/document/ODatabaseDocumentAbstract.java#L205-L210", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/db/document/ODatabaseDocumentAbstract.java", "func_name": "ODatabaseDocumentAbstract.callbackHooks", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Callback the registered hooks if any.\n\n@param type Hook type. Define when hook is called.\n@param id Record received in the callback\n\n@return True if the input record is changed, otherwise false", "docstring_tokens": ["Callback", "the", "registered", "hooks", "if", "any", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/db/document/ODatabaseDocumentAbstract.java#L640-L691", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/db/document/ODatabaseDocumentAbstract.java", "func_name": "ODatabaseDocumentAbstract.delete", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Deletes the record without checking the version.", "docstring_tokens": ["Deletes", "the", "record", "without", "checking", "the", "version", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/db/document/ODatabaseDocumentAbstract.java#L1106-L1114", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/db/document/ODatabaseDocumentAbstract.java", "func_name": "ODatabaseDocumentAbstract.countView", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the number of the records of the class iClassName.", "docstring_tokens": ["Returns", "the", "number", "of", "the", "records", "of", "the", "class", "iClassName", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/db/document/ODatabaseDocumentAbstract.java#L1907-L1913", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/db/document/ODatabaseDocumentAbstract.java", "func_name": "ODatabaseDocumentAbstract.countClass", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the number of the records of the class iClassName considering also sub classes if polymorphic is true.", "docstring_tokens": ["Returns", "the", "number", "of", "the", "records", "of", "the", "class", "iClassName", "considering", "also", "sub", "classes", "if", "polymorphic", "is", "true", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/db/document/ODatabaseDocumentAbstract.java#L1925-L1931", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/db/document/ODatabaseDocumentAbstract.java", "func_name": "ODatabaseDocumentAbstract.activateOnCurrentThread", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Activates current database instance on current thread.", "docstring_tokens": ["Activates", "current", "database", "instance", "on", "current", "thread", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/db/document/ODatabaseDocumentAbstract.java#L2251-L2257", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/encryption/OEncryptionFactory.java", "func_name": "OEncryptionFactory.register", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers a stateful implementations, a new instance will be created for each storage.\n\n@param iEncryption\nEncryption instance", "docstring_tokens": ["Registers", "a", "stateful", "implementations", "a", "new", "instance", "will", "be", "created", "for", "each", "storage", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/encryption/OEncryptionFactory.java#L87-L101", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "jdbc/src/main/java/com/orientechnologies/orient/jdbc/OrientBlob.java", "func_name": "OrientBlob.getRelativeIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculates the index within a binary chunk corresponding to the given absolute position within this BLOB\n\n@param pos\n@return", "docstring_tokens": ["Calculates", "the", "index", "within", "a", "binary", "chunk", "corresponding", "to", "the", "given", "absolute", "position", "within", "this", "BLOB"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/jdbc/src/main/java/com/orientechnologies/orient/jdbc/OrientBlob.java#L127-L141", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/common/parser/OBaseParser.java", "func_name": "OBaseParser.parserOptionalWord", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses the next word. It returns the word parsed if any.\n\n@param iUpperCase\nTrue if must return UPPERCASE, otherwise false\n@return The word parsed if any, otherwise null", "docstring_tokens": ["Parses", "the", "next", "word", ".", "It", "returns", "the", "word", "parsed", "if", "any", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/common/parser/OBaseParser.java#L205-L212", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/common/parser/OBaseParser.java", "func_name": "OBaseParser.parserRequiredWord", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses the next word. If no word is found or the parsed word is not present in the word array received as parameter then a\nSyntaxError exception with the custom message received as parameter is thrown. It returns the word parsed if any.\n\n@param iUpperCase\nTrue if must return UPPERCASE, otherwise false\n@param iCustomMessage\nCustom message to include in case of SyntaxError exception\n@param iSeparators\nSeparator characters\n@return The word parsed", "docstring_tokens": ["Parses", "the", "next", "word", ".", "If", "no", "word", "is", "found", "or", "the", "parsed", "word", "is", "not", "present", "in", "the", "word", "array", "received", "as", "parameter", "then", "a", "SyntaxError", "exception", "with", "the", "custom", "message", "received", "as", "parameter", "is", "thrown", ".", "It", "returns", "the", "word", "parsed", "if", "any", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/common/parser/OBaseParser.java#L296-L307", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/common/parser/OBaseParser.java", "func_name": "OBaseParser.parserNextChars", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses the next sequence of chars.\n\n@return The position of the word matched if any, otherwise -1 or an exception if iMandatory is true", "docstring_tokens": ["Parses", "the", "next", "sequence", "of", "chars", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/common/parser/OBaseParser.java#L339-L398", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/common/parser/OBaseParser.java", "func_name": "OBaseParser.parserOptionalKeyword", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses optional keywords between the iWords. If a keyword is found but doesn't match with iWords then a SyntaxError is raised.\n\n@param iWords\nOptional words to match as keyword. If at least one is passed, then the check is made\n@return true if a keyword was found, otherwise false", "docstring_tokens": ["Parses", "optional", "keywords", "between", "the", "iWords", ".", "If", "a", "keyword", "is", "found", "but", "doesn", "t", "match", "with", "iWords", "then", "a", "SyntaxError", "is", "raised", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/common/parser/OBaseParser.java#L407-L426", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/common/parser/OBaseParser.java", "func_name": "OBaseParser.parserCheckSeparator", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check for a separator\n\n@param c\n@param iSeparatorChars\n@return", "docstring_tokens": ["Check", "for", "a", "separator"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/common/parser/OBaseParser.java#L648-L656", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLDropClass.java", "func_name": "OCommandExecutorSQLDropClass.execute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Execute the DROP CLASS.", "docstring_tokens": ["Execute", "the", "DROP", "CLASS", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLDropClass.java#L119-L166", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/OStorageConfigurationSegment.java", "func_name": "OStorageConfigurationSegment.clearConfigurationFiles", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove both backup and primary configuration files on delete\n\n@see #update()", "docstring_tokens": ["Remove", "both", "backup", "and", "primary", "configuration", "files", "on", "delete"], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/OStorageConfigurationSegment.java#L99-L105", "partition": "test"} +{"repo": "orientechnologies/orientdb", "path": "core/src/main/java/com/orientechnologies/orient/core/serialization/OMemoryInputStream.java", "func_name": "OMemoryInputStream.getAsByteArrayOffset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Browse the stream but just return the begin of the byte array. This is used to lazy load the information only when needed.", "docstring_tokens": ["Browse", "the", "stream", "but", "just", "return", "the", "begin", "of", "the", "byte", "array", ".", "This", "is", "used", "to", "lazy", "load", "the", "information", "only", "when", "needed", "."], "sha": "d970b12033f0462f0239ea0ad8ed41207e6e26f1", "url": "https://github.com/orientechnologies/orientdb/blob/d970b12033f0462f0239ea0ad8ed41207e6e26f1/core/src/main/java/com/orientechnologies/orient/core/serialization/OMemoryInputStream.java#L69-L79", "partition": "test"} +{"repo": "spring-cloud/spring-cloud-security", "path": "spring-cloud-security/src/main/java/org/springframework/cloud/security/oauth2/client/feign/OAuth2FeignRequestInterceptor.java", "func_name": "OAuth2FeignRequestInterceptor.extract", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extracts the token extract id the access token exists or returning an empty extract\nif there is no one on the context it may occasionally causes Unauthorized response\nsince the token extract is empty.\n@param tokenType type name of token\n@return token value from context if it exists otherwise empty String", "docstring_tokens": ["Extracts", "the", "token", "extract", "id", "the", "access", "token", "exists", "or", "returning", "an", "empty", "extract", "if", "there", "is", "no", "one", "on", "the", "context", "it", "may", "occasionally", "causes", "Unauthorized", "response", "since", "the", "token", "extract", "is", "empty", "."], "sha": "d2dc14d99a265025454a63952c76274323b29700", "url": "https://github.com/spring-cloud/spring-cloud-security/blob/d2dc14d99a265025454a63952c76274323b29700/spring-cloud-security/src/main/java/org/springframework/cloud/security/oauth2/client/feign/OAuth2FeignRequestInterceptor.java#L114-L117", "partition": "test"} +{"repo": "spring-cloud/spring-cloud-security", "path": "spring-cloud-security/src/main/java/org/springframework/cloud/security/oauth2/client/feign/OAuth2FeignRequestInterceptor.java", "func_name": "OAuth2FeignRequestInterceptor.acquireAccessToken", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Try to acquire the token using a access token provider.\n@return valid access token\n@throws UserRedirectRequiredException in case the user needs to be redirected to an\napproval page or login page", "docstring_tokens": ["Try", "to", "acquire", "the", "token", "using", "a", "access", "token", "provider", "."], "sha": "d2dc14d99a265025454a63952c76274323b29700", "url": "https://github.com/spring-cloud/spring-cloud-security/blob/d2dc14d99a265025454a63952c76274323b29700/spring-cloud-security/src/main/java/org/springframework/cloud/security/oauth2/client/feign/OAuth2FeignRequestInterceptor.java#L153-L180", "partition": "test"} +{"repo": "spring-cloud/spring-cloud-security", "path": "spring-cloud-security/src/main/java/org/springframework/cloud/security/oauth2/client/AccessTokenContextRelay.java", "func_name": "AccessTokenContextRelay.copyToken", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Attempt to copy an access token from the security context into the oauth2 context.\n@return true if the token was copied", "docstring_tokens": ["Attempt", "to", "copy", "an", "access", "token", "from", "the", "security", "context", "into", "the", "oauth2", "context", "."], "sha": "d2dc14d99a265025454a63952c76274323b29700", "url": "https://github.com/spring-cloud/spring-cloud-security/blob/d2dc14d99a265025454a63952c76274323b29700/spring-cloud-security/src/main/java/org/springframework/cloud/security/oauth2/client/AccessTokenContextRelay.java#L51-L72", "partition": "test"} +{"repo": "vigna/fastutil", "path": "src/it/unimi/dsi/fastutil/io/FastBufferedInputStream.java", "func_name": "FastBufferedInputStream.noMoreCharacters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks whether no more bytes will be returned.\n\n

This method will refill the internal buffer.\n\n@return true if there are no characters in the internal buffer and\nthe underlying reader is exhausted.", "docstring_tokens": ["Checks", "whether", "no", "more", "bytes", "will", "be", "returned", "."], "sha": "192ce83affa4a6f2ad34a96c15b5f2ec2929cf1c", "url": "https://github.com/vigna/fastutil/blob/192ce83affa4a6f2ad34a96c15b5f2ec2929cf1c/src/it/unimi/dsi/fastutil/io/FastBufferedInputStream.java#L178-L188", "partition": "test"} +{"repo": "vigna/fastutil", "path": "src/it/unimi/dsi/fastutil/io/FastBufferedInputStream.java", "func_name": "FastBufferedInputStream.readLine", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads a line into the given byte array.\n\n@param array byte array where the next line will be stored.\n@param terminators a set containing the line termination sequences that we want\nto consider as valid.\n@return the number of bytes actually placed in {@code array}, or -1 at end of file.\n@see #readLine(byte[], int, int, EnumSet)", "docstring_tokens": ["Reads", "a", "line", "into", "the", "given", "byte", "array", "."], "sha": "192ce83affa4a6f2ad34a96c15b5f2ec2929cf1c", "url": "https://github.com/vigna/fastutil/blob/192ce83affa4a6f2ad34a96c15b5f2ec2929cf1c/src/it/unimi/dsi/fastutil/io/FastBufferedInputStream.java#L253-L255", "partition": "test"} +{"repo": "vigna/fastutil", "path": "src/it/unimi/dsi/fastutil/io/FastBufferedInputStream.java", "func_name": "FastBufferedInputStream.readLine", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads a line into the given byte-array fragment.\n\n

Reading lines (i.e., characters) out of a byte stream is not always sensible\n(methods available to that purpose in old versions of Java have been mercilessly deprecated).\nNonetheless, in several situations, such as when decoding network protocols or headers\nknown to be ASCII, it is very useful to be able to read a line from a byte stream.\n\n

This method will attempt to read the next line into {@code array} starting at {@code off},\nreading at most {@code len} bytes. The read, however, will be stopped by the end of file or\nwhen meeting a {@linkplain LineTerminator line terminator}. Of course, for this operation\nto be sensible the encoding of the text contained in the stream, if any, must not generate spurious\ncarriage returns or line feeds. Note that the termination detection uses a maximisation\ncriterion, so if you specify both {@link LineTerminator#CR} and\n{@link LineTerminator#CR_LF} meeting a pair CR/LF will consider the whole pair a terminator.\n\n

Terminators are not copied into array or included in the returned count. The\nreturned integer can be used to check whether the line is complete: if it is smaller than\n{@code len}, then more bytes might be available, but note that this method (contrarily\nto {@link #read(byte[], int, int)}) can legitimately return zero when {@code len}\nis nonzero just because a terminator was found as the first character. Thus, the intended\nusage of this method is to call it on a given array, check whether {@code len} bytes\nhave been read, and if so try again (possibly extending the array) until a number of read bytes\nstrictly smaller than {@code len} (possibly, -1) is returned.\n\n

If you need to guarantee that a full line is read, use the following idiom:\n

\nint start = off, len;\nwhile((len = fbis.readLine(array, start, array.length - start, terminators)) == array.length - start) {\nstart += len;\narray = ByteArrays.grow(array, array.length + 1);\n}\n
\n\n

At the end of the loop, the line will be placed in {@code array} starting at\n{@code off} (inclusive) and ending at {@code start + Math.max(len, 0)} (exclusive).\n\n@param array byte array where the next line will be stored.\n@param off the first byte to use in {@code array}.\n@param len the maximum number of bytes to read.\n@param terminators a set containing the line termination sequences that we want\nto consider as valid.\n@return the number of bytes actually placed in {@code array}, or -1 at end of file.\nNote that the returned number will be {@code len} if no line termination sequence\nspecified in {@code terminators} has been met before scanning {@code len} byte,\nand if also we did not meet the end of file.", "docstring_tokens": ["Reads", "a", "line", "into", "the", "given", "byte", "-", "array", "fragment", "."], "sha": "192ce83affa4a6f2ad34a96c15b5f2ec2929cf1c", "url": "https://github.com/vigna/fastutil/blob/192ce83affa4a6f2ad34a96c15b5f2ec2929cf1c/src/it/unimi/dsi/fastutil/io/FastBufferedInputStream.java#L316-L396", "partition": "test"} +{"repo": "vigna/fastutil", "path": "src/it/unimi/dsi/fastutil/io/FastBufferedInputStream.java", "func_name": "FastBufferedInputStream.skipByReading", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Skips the given amount of bytes by repeated reads.\n\nWarning: this method uses destructively the internal buffer.\n\n@param n the number of bytes to skip.\n@return the number of bytes actually skipped.\n@see InputStream#skip(long)", "docstring_tokens": ["Skips", "the", "given", "amount", "of", "bytes", "by", "repeated", "reads", "."], "sha": "192ce83affa4a6f2ad34a96c15b5f2ec2929cf1c", "url": "https://github.com/vigna/fastutil/blob/192ce83affa4a6f2ad34a96c15b5f2ec2929cf1c/src/it/unimi/dsi/fastutil/io/FastBufferedInputStream.java#L451-L461", "partition": "test"} +{"repo": "vigna/fastutil", "path": "src/it/unimi/dsi/fastutil/io/FastBufferedInputStream.java", "func_name": "FastBufferedInputStream.skip", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Skips over and discards the given number of bytes of data from this fast buffered input stream.\n\n

As explained in the {@linkplain FastBufferedInputStream class documentation}, the semantics\nof {@link InputStream#skip(long)} is fatally flawed. This method provides additional semantics as follows:\nit will skip the provided number of bytes, unless the end of file has been reached.\n\n

Additionally, if the underlying input stream is {@link System#in} this method will use\nrepeated reads instead of invoking {@link InputStream#skip(long)}.\n\n@param n the number of bytes to skip.\n@return the number of bytes actually skipped; it can be smaller than {@code n}\nonly if the end of file has been reached.\n@see InputStream#skip(long)", "docstring_tokens": ["Skips", "over", "and", "discards", "the", "given", "number", "of", "bytes", "of", "data", "from", "this", "fast", "buffered", "input", "stream", "."], "sha": "192ce83affa4a6f2ad34a96c15b5f2ec2929cf1c", "url": "https://github.com/vigna/fastutil/blob/192ce83affa4a6f2ad34a96c15b5f2ec2929cf1c/src/it/unimi/dsi/fastutil/io/FastBufferedInputStream.java#L478-L502", "partition": "test"} +{"repo": "vigna/fastutil", "path": "src/it/unimi/dsi/fastutil/Arrays.java", "func_name": "Arrays.ensureOffsetLength", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Ensures that a range given by an offset and a length fits an array of given length.\n\n

This method may be used whenever an array range check is needed.\n\n@param arrayLength an array length.\n@param offset a start index for the fragment\n@param length a length (the number of elements in the fragment).\n@throws IllegalArgumentException if {@code length} is negative.\n@throws ArrayIndexOutOfBoundsException if {@code offset} is negative or {@code offset}+{@code length} is greater than {@code arrayLength}.", "docstring_tokens": ["Ensures", "that", "a", "range", "given", "by", "an", "offset", "and", "a", "length", "fits", "an", "array", "of", "given", "length", "."], "sha": "192ce83affa4a6f2ad34a96c15b5f2ec2929cf1c", "url": "https://github.com/vigna/fastutil/blob/192ce83affa4a6f2ad34a96c15b5f2ec2929cf1c/src/it/unimi/dsi/fastutil/Arrays.java#L70-L74", "partition": "test"} +{"repo": "vigna/fastutil", "path": "src/it/unimi/dsi/fastutil/Arrays.java", "func_name": "Arrays.mergeSort", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sorts the specified range of elements using the specified swapper and according to the order induced by the specified\ncomparator using mergesort.\n\n

This sort is guaranteed to be stable: equal elements will not be reordered as a result\nof the sort. The sorting algorithm is an in-place mergesort that is significantly slower than a\nstandard mergesort, as its running time is O(n (log n)2), but it does not allocate additional memory; as a result, it can be\nused as a generic sorting algorithm.\n\n@param from the index of the first element (inclusive) to be sorted.\n@param to the index of the last element (exclusive) to be sorted.\n@param c the comparator to determine the order of the generic data (arguments are positions).\n@param swapper an object that knows how to swap the elements at any two positions.", "docstring_tokens": ["Sorts", "the", "specified", "range", "of", "elements", "using", "the", "specified", "swapper", "and", "according", "to", "the", "order", "induced", "by", "the", "specified", "comparator", "using", "mergesort", "."], "sha": "192ce83affa4a6f2ad34a96c15b5f2ec2929cf1c", "url": "https://github.com/vigna/fastutil/blob/192ce83affa4a6f2ad34a96c15b5f2ec2929cf1c/src/it/unimi/dsi/fastutil/Arrays.java#L210-L241", "partition": "test"} +{"repo": "vigna/fastutil", "path": "src/it/unimi/dsi/fastutil/Arrays.java", "func_name": "Arrays.swap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Swaps two sequences of elements using a provided swapper.\n\n@param swapper the swapper.\n@param a a position in {@code x}.\n@param b another position in {@code x}.\n@param n the number of elements to exchange starting at {@code a} and {@code b}.", "docstring_tokens": ["Swaps", "two", "sequences", "of", "elements", "using", "a", "provided", "swapper", "."], "sha": "192ce83affa4a6f2ad34a96c15b5f2ec2929cf1c", "url": "https://github.com/vigna/fastutil/blob/192ce83affa4a6f2ad34a96c15b5f2ec2929cf1c/src/it/unimi/dsi/fastutil/Arrays.java#L250-L252", "partition": "test"} +{"repo": "vigna/fastutil", "path": "src/it/unimi/dsi/fastutil/Arrays.java", "func_name": "Arrays.parallelQuickSort", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sorts the specified range of elements using the specified swapper and according to the order induced by the specified\ncomparator using a parallel quicksort.\n\n

The sorting algorithm is a tuned quicksort adapted from Jon L. Bentley and M. Douglas\nMcIlroy, “Engineering a Sort Function”, Software: Practice and Experience, 23(11), pages\n1249−1265, 1993.\n\n

This implementation uses a {@link ForkJoinPool} executor service with {@link Runtime#availableProcessors()} parallel threads.\n\n@param from the index of the first element (inclusive) to be sorted.\n@param to the index of the last element (exclusive) to be sorted.\n@param comp the comparator to determine the order of the generic data.\n@param swapper an object that knows how to swap the elements at any two positions.", "docstring_tokens": ["Sorts", "the", "specified", "range", "of", "elements", "using", "the", "specified", "swapper", "and", "according", "to", "the", "order", "induced", "by", "the", "specified", "comparator", "using", "a", "parallel", "quicksort", "."], "sha": "192ce83affa4a6f2ad34a96c15b5f2ec2929cf1c", "url": "https://github.com/vigna/fastutil/blob/192ce83affa4a6f2ad34a96c15b5f2ec2929cf1c/src/it/unimi/dsi/fastutil/Arrays.java#L348-L352", "partition": "test"} +{"repo": "vigna/fastutil", "path": "src/it/unimi/dsi/fastutil/HashCommon.java", "func_name": "HashCommon.murmurHash3", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Avalanches the bits of an integer by applying the finalisation step of MurmurHash3.\n\n

This method implements the finalisation step of Austin Appleby's MurmurHash3.\nIts purpose is to avalanche the bits of the argument to within 0.25% bias.\n\n@param x an integer.\n@return a hash value with good avalanching properties.", "docstring_tokens": ["Avalanches", "the", "bits", "of", "an", "integer", "by", "applying", "the", "finalisation", "step", "of", "MurmurHash3", "."], "sha": "192ce83affa4a6f2ad34a96c15b5f2ec2929cf1c", "url": "https://github.com/vigna/fastutil/blob/192ce83affa4a6f2ad34a96c15b5f2ec2929cf1c/src/it/unimi/dsi/fastutil/HashCommon.java#L43-L50", "partition": "test"} +{"repo": "vigna/fastutil", "path": "src/it/unimi/dsi/fastutil/HashCommon.java", "func_name": "HashCommon.murmurHash3", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Avalanches the bits of a long integer by applying the finalisation step of MurmurHash3.\n\n

This method implements the finalisation step of Austin Appleby's MurmurHash3.\nIts purpose is to avalanche the bits of the argument to within 0.25% bias.\n\n@param x a long integer.\n@return a hash value with good avalanching properties.", "docstring_tokens": ["Avalanches", "the", "bits", "of", "a", "long", "integer", "by", "applying", "the", "finalisation", "step", "of", "MurmurHash3", "."], "sha": "192ce83affa4a6f2ad34a96c15b5f2ec2929cf1c", "url": "https://github.com/vigna/fastutil/blob/192ce83affa4a6f2ad34a96c15b5f2ec2929cf1c/src/it/unimi/dsi/fastutil/HashCommon.java#L61-L68", "partition": "test"} +{"repo": "vigna/fastutil", "path": "src/it/unimi/dsi/fastutil/io/InspectableFileCachedInputStream.java", "func_name": "InspectableFileCachedInputStream.write", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Appends the content of a specified buffer to the end of the currently represented stream.\n\n@param byteBuffer a byte buffer.\n@return the number of bytes appended (i.e., {@link ByteBuffer#remaining() byteBuffer.remaining()}).", "docstring_tokens": ["Appends", "the", "content", "of", "a", "specified", "buffer", "to", "the", "end", "of", "the", "currently", "represented", "stream", "."], "sha": "192ce83affa4a6f2ad34a96c15b5f2ec2929cf1c", "url": "https://github.com/vigna/fastutil/blob/192ce83affa4a6f2ad34a96c15b5f2ec2929cf1c/src/it/unimi/dsi/fastutil/io/InspectableFileCachedInputStream.java#L138-L156", "partition": "test"} +{"repo": "vigna/fastutil", "path": "src/it/unimi/dsi/fastutil/io/InspectableFileCachedInputStream.java", "func_name": "InspectableFileCachedInputStream.truncate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Truncates the overflow file to a given size if possible.\n\n@param size the new size; the final size is the maximum between the current write position (i.e., the length\nof the represented stream minus the length of the inspection buffer) and this value.", "docstring_tokens": ["Truncates", "the", "overflow", "file", "to", "a", "given", "size", "if", "possible", "."], "sha": "192ce83affa4a6f2ad34a96c15b5f2ec2929cf1c", "url": "https://github.com/vigna/fastutil/blob/192ce83affa4a6f2ad34a96c15b5f2ec2929cf1c/src/it/unimi/dsi/fastutil/io/InspectableFileCachedInputStream.java#L163-L165", "partition": "test"} +{"repo": "vigna/fastutil", "path": "src/it/unimi/dsi/fastutil/io/FastBufferedOutputStream.java", "func_name": "FastBufferedOutputStream.position", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Repositions the stream.\n\n

Note that this method performs a {@link #flush()} before changing the underlying stream position.", "docstring_tokens": ["Repositions", "the", "stream", "."], "sha": "192ce83affa4a6f2ad34a96c15b5f2ec2929cf1c", "url": "https://github.com/vigna/fastutil/blob/192ce83affa4a6f2ad34a96c15b5f2ec2929cf1c/src/it/unimi/dsi/fastutil/io/FastBufferedOutputStream.java#L194-L200", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/api/consumer/metrics/AbstractRefreshMetricsListener.java", "func_name": "AbstractRefreshMetricsListener.noFailRefreshEndMetricsReporting", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Metrics reporting implementation is provided by the extending subclass. If exceptions are not gracefully handled\nin the extending subclass then an exception there can fail the consumer refresh, even though metrics reporting\nmight not be mission critical. This method protects against that scenario by catching all exceptions, logging\nthat there was an exception, and continuing with the consumer refresh.\n@param refreshMetrics Consumer refresh metrics being reported", "docstring_tokens": ["Metrics", "reporting", "implementation", "is", "provided", "by", "the", "extending", "subclass", ".", "If", "exceptions", "are", "not", "gracefully", "handled", "in", "the", "extending", "subclass", "then", "an", "exception", "there", "can", "fail", "the", "consumer", "refresh", "even", "though", "metrics", "reporting", "might", "not", "be", "mission", "critical", ".", "This", "method", "protects", "against", "that", "scenario", "by", "catching", "all", "exceptions", "logging", "that", "there", "was", "an", "exception", "and", "continuing", "with", "the", "consumer", "refresh", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/api/consumer/metrics/AbstractRefreshMetricsListener.java#L104-L111", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/util/SimultaneousExecutor.java", "func_name": "SimultaneousExecutor.awaitSuccessfulCompletionOfCurrentTasks", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Await successful completion of all previously submitted tasks. Throw exception of the first failed task\nif 1 or more tasks failed.\n\nAfter this call completes, the thread pool will not be shut down and can be reused.\n\n@throws ExecutionException if a computation threw an\nexception\n@throws InterruptedException if the current thread was interrupted\nwhile waiting", "docstring_tokens": ["Await", "successful", "completion", "of", "all", "previously", "submitted", "tasks", ".", "Throw", "exception", "of", "the", "first", "failed", "task", "if", "1", "or", "more", "tasks", "failed", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/util/SimultaneousExecutor.java#L231-L237", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/api/consumer/index/HashIndexSelect.java", "func_name": "HashIndexSelect.findMatches", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds matches for a given query.\n\n@param query the query\n@return a stream of matching records (may be empty if there are no matches)", "docstring_tokens": ["Finds", "matches", "for", "a", "given", "query", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/api/consumer/index/HashIndexSelect.java#L135-L144", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/tools/compact/HollowCompactor.java", "func_name": "HollowCompactor.findCompactionTargets", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find candidate types for compaction. No two types in the returned set will have a dependency relationship, either\ndirectly or transitively.", "docstring_tokens": ["Find", "candidate", "types", "for", "compaction", ".", "No", "two", "types", "in", "the", "returned", "set", "will", "have", "a", "dependency", "relationship", "either", "directly", "or", "transitively", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/tools/compact/HollowCompactor.java#L192-L204", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/api/producer/fs/HollowFilesystemBlobStorageCleaner.java", "func_name": "HollowFilesystemBlobStorageCleaner.cleanSnapshots", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Cleans snapshot to keep the last 'n' snapshots. Defaults to 5.", "docstring_tokens": ["Cleans", "snapshot", "to", "keep", "the", "last", "n", "snapshots", ".", "Defaults", "to", "5", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/api/producer/fs/HollowFilesystemBlobStorageCleaner.java#L46-L63", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/read/HollowReadFieldUtils.java", "func_name": "HollowReadFieldUtils.fieldHashCode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Hash a field in an OBJECT record.\n\n@param typeAccess the data access\n@param ordinal the ordinal\n@param fieldPosition the field position\n@return the hash code", "docstring_tokens": ["Hash", "a", "field", "in", "an", "OBJECT", "record", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/read/HollowReadFieldUtils.java#L38-L64", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/read/HollowReadFieldUtils.java", "func_name": "HollowReadFieldUtils.fieldsAreEqual", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determine whether two OBJECT field records are exactly equal.\n\n@param typeAccess1 the first type access\n@param ordinal1 the first ordinal\n@param fieldPosition1 the first field positiom\n@param typeAccess2 the second type access\n@param ordinal2 the second ordinal\n@param fieldPosition2 the second field position\n\n@return if the two OBJECT field records are exactly equal", "docstring_tokens": ["Determine", "whether", "two", "OBJECT", "field", "records", "are", "exactly", "equal", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/read/HollowReadFieldUtils.java#L78-L116", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/tools/traverse/TransitiveSetTraverser.java", "func_name": "TransitiveSetTraverser.removeReferencedOutsideClosure", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove any records from the given selection which are referenced by other records not in the selection.\n@param stateEngine the state engine\n@param matches the matches", "docstring_tokens": ["Remove", "any", "records", "from", "the", "given", "selection", "which", "are", "referenced", "by", "other", "records", "not", "in", "the", "selection", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/tools/traverse/TransitiveSetTraverser.java#L98-L114", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/api/producer/metrics/AbstractProducerMetricsListener.java", "func_name": "AbstractProducerMetricsListener.onAnnouncementComplete", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reports announcement-related metrics.\n@param status Indicates whether the announcement succeeded of failed\n@param readState Hollow data state that is being published, used in this method for computing data size\n@param version Version of data that was announced\n@param elapsed Announcement start to end duration", "docstring_tokens": ["Reports", "announcement", "-", "related", "metrics", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/api/producer/metrics/AbstractProducerMetricsListener.java#L85-L106", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/api/producer/metrics/AbstractProducerMetricsListener.java", "func_name": "AbstractProducerMetricsListener.onCycleComplete", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "On cycle completion this method reports cycle metrics.\n@param status Whether the cycle succeeded or failed\n@param readState Hollow data state published by cycle, not used here because data size is known from when announcement completed\n@param version Version of data that was published in this cycle\n@param elapsed Cycle start to end duration", "docstring_tokens": ["On", "cycle", "completion", "this", "method", "reports", "cycle", "metrics", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/api/producer/metrics/AbstractProducerMetricsListener.java#L115-L137", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/read/engine/HollowBlobHeaderReader.java", "func_name": "HollowBlobHeaderReader.readHeaderTags", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Map of string header tags reading.\n\n@param dis\n@throws IOException", "docstring_tokens": ["Map", "of", "string", "header", "tags", "reading", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/read/engine/HollowBlobHeaderReader.java#L85-L92", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/write/objectmapper/HollowObjectMapper.java", "func_name": "HollowObjectMapper.extractPrimaryKey", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extracts the primary key from the specified POJO.\n\n@param o the POJO\n@return the primary key\n@throws IllegalArgumentException if the POJO does not have primary key defined", "docstring_tokens": ["Extracts", "the", "primary", "key", "from", "the", "specified", "POJO", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/write/objectmapper/HollowObjectMapper.java#L93-L96", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/memory/ThreadSafeBitSet.java", "func_name": "ThreadSafeBitSet.clearAll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Clear all bits to 0.", "docstring_tokens": ["Clear", "all", "bits", "to", "0", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/memory/ThreadSafeBitSet.java#L199-L209", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/read/engine/SnapshotPopulatedOrdinalsReader.java", "func_name": "SnapshotPopulatedOrdinalsReader.readOrdinals", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read populated ordinals as a bit set from a stream, and notify a listener for each populated ordinal.\n\n@param dis the data input stream\n@param listeners the type state listeners\n@throws IOException if the ordinals cannot be read\n@author dkoszewnik", "docstring_tokens": ["Read", "populated", "ordinals", "as", "a", "bit", "set", "from", "a", "stream", "and", "notify", "a", "listener", "for", "each", "populated", "ordinal", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/read/engine/SnapshotPopulatedOrdinalsReader.java#L32-L42", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/index/HollowSparseIntegerSet.java", "func_name": "HollowSparseIntegerSet.size", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Estimate the total number of bits used to represent the integer set.\n\n@return Calculates the total number of bits used by longs in underlying data structure.", "docstring_tokens": ["Estimate", "the", "total", "number", "of", "bits", "used", "to", "represent", "the", "integer", "set", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/index/HollowSparseIntegerSet.java#L150-L158", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow-diff-ui/src/main/java/com/netflix/hollow/diffview/DiffViewOutputGenerator.java", "func_name": "DiffViewOutputGenerator.getFieldValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a String representation of the provided row's field value. If `useFrom` is\ntrue, this will use the `from` value from the pair, otherwise this will use the\n`to` value.", "docstring_tokens": ["Returns", "a", "String", "representation", "of", "the", "provided", "row", "s", "field", "value", ".", "If", "useFrom", "is", "true", "this", "will", "use", "the", "from", "value", "from", "the", "pair", "otherwise", "this", "will", "use", "the", "to", "value", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow-diff-ui/src/main/java/com/netflix/hollow/diffview/DiffViewOutputGenerator.java#L186-L195", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/memory/SegmentedByteArray.java", "func_name": "SegmentedByteArray.copy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copy bytes from another ByteData to this array.\n\n@param src the source data\n@param srcPos the position to begin copying from the source data\n@param destPos the position to begin writing in this array\n@param length the length of the data to copy", "docstring_tokens": ["Copy", "bytes", "from", "another", "ByteData", "to", "this", "array", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/memory/SegmentedByteArray.java#L87-L91", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/memory/SegmentedByteArray.java", "func_name": "SegmentedByteArray.copy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "copies exactly data.length bytes from this SegmentedByteArray into the provided byte array\n\n@param srcPos the position to begin copying from the source data\n@param data the source data\n@param destPos the position to begin writing in this array\n@param length the length of the data to copy\n@return the number of bytes copied", "docstring_tokens": ["copies", "exactly", "data", ".", "length", "bytes", "from", "this", "SegmentedByteArray", "into", "the", "provided", "byte", "array"], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/memory/SegmentedByteArray.java#L129-L148", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/memory/SegmentedByteArray.java", "func_name": "SegmentedByteArray.rangeEquals", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "checks equality for a specified range of bytes in two arrays\n\n@param rangeStart the start position of the comparison range in this array\n@param compareTo the other array to compare\n@param cmpStart the start position of the comparison range in the other array\n@param length the length of the comparison range\n@return", "docstring_tokens": ["checks", "equality", "for", "a", "specified", "range", "of", "bytes", "in", "two", "arrays"], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/memory/SegmentedByteArray.java#L159-L164", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/memory/SegmentedByteArray.java", "func_name": "SegmentedByteArray.orderedCopy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copies the data from the provided source array into this array, guaranteeing that\nif the update is seen by another thread, then all other writes prior to this call\nare also visible to that thread.\n\n@param src the source data\n@param srcPos the position to begin copying from the source data\n@param destPos the position to begin writing in this array\n@param length the length of the data to copy", "docstring_tokens": ["Copies", "the", "data", "from", "the", "provided", "source", "array", "into", "this", "array", "guaranteeing", "that", "if", "the", "update", "is", "seen", "by", "another", "thread", "then", "all", "other", "writes", "prior", "to", "this", "call", "are", "also", "visible", "to", "that", "thread", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/memory/SegmentedByteArray.java#L176-L193", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/memory/SegmentedByteArray.java", "func_name": "SegmentedByteArray.orderedCopy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "copies exactly data.length bytes from this SegmentedByteArray into the provided byte array,\nguaranteeing that if the update is seen by another thread, then all other writes prior to\nthis call are also visible to that thread.\n\n@param srcPos the position to begin copying from the source data\n@param data the source data\n@param destPos the position to begin writing in this array\n@param length the length of the data to copy\n@return the number of bytes copied", "docstring_tokens": ["copies", "exactly", "data", ".", "length", "bytes", "from", "this", "SegmentedByteArray", "into", "the", "provided", "byte", "array", "guaranteeing", "that", "if", "the", "update", "is", "seen", "by", "another", "thread", "then", "all", "other", "writes", "prior", "to", "this", "call", "are", "also", "visible", "to", "that", "thread", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/memory/SegmentedByteArray.java#L206-L225", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/memory/SegmentedByteArray.java", "func_name": "SegmentedByteArray.readFrom", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copy bytes from the supplied InputStream into this array.\n\n@param is the source data\n@param length the length of the data to copy\n@throws IOException if the copy could not be performed", "docstring_tokens": ["Copy", "bytes", "from", "the", "supplied", "InputStream", "into", "this", "array", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/memory/SegmentedByteArray.java#L234-L250", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/memory/SegmentedByteArray.java", "func_name": "SegmentedByteArray.writeTo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write a portion of this data to an OutputStream.\n\n@param os the output stream to write to\n@param startPosition the position to begin copying from this array\n@param len the length of the data to copy\n@throws IOException if the write to the output stream could not be performed", "docstring_tokens": ["Write", "a", "portion", "of", "this", "data", "to", "an", "OutputStream", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/memory/SegmentedByteArray.java#L260-L274", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/memory/SegmentedByteArray.java", "func_name": "SegmentedByteArray.ensureCapacity", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Ensures that the segment at segmentIndex exists\n\n@param segmentIndex the segment index", "docstring_tokens": ["Ensures", "that", "the", "segment", "at", "segmentIndex", "exists"], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/memory/SegmentedByteArray.java#L290-L298", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/schema/HollowObjectSchema.java", "func_name": "HollowObjectSchema.getPosition", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the position of a field previously added to the map, or -1 if the field has not been added to the map.\n\nThe positions of the fields are hashed into the hashedPositionArray by the hashCode of the fieldName.\n\n@param fieldName the field name\n@return the position", "docstring_tokens": ["Returns", "the", "position", "of", "a", "field", "previously", "added", "to", "the", "map", "or", "-", "1", "if", "the", "field", "has", "not", "been", "added", "to", "the", "map", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/schema/HollowObjectSchema.java#L112-L118", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/index/HollowHashIndexBuilder.java", "func_name": "HollowHashIndexBuilder.calculateDedupedSizesAndTotalNumberOfSelectBuckets", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Called after initial pass.\nReturns the sum total number of select buckets in the low 7 bytes, and the bits required for the max set size in the high 1 byte.", "docstring_tokens": ["Called", "after", "initial", "pass", ".", "Returns", "the", "sum", "total", "number", "of", "select", "buckets", "in", "the", "low", "7", "bytes", "and", "the", "bits", "required", "for", "the", "max", "set", "size", "in", "the", "high", "1", "byte", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/index/HollowHashIndexBuilder.java#L295-L341", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/api/codegen/HollowAPIGenerator.java", "func_name": "HollowAPIGenerator.hasCollectionsInDataSet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determines whether DataSet contains any collections schema\n@param dataset the data set\n@return {@code true} if the data set contains any collections schema", "docstring_tokens": ["Determines", "whether", "DataSet", "contains", "any", "collections", "schema"], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/api/codegen/HollowAPIGenerator.java#L288-L297", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/api/codegen/HollowAPIGenerator.java", "func_name": "HollowAPIGenerator.generateFiles", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generate files under the specified directory\n\n@param directory the directory under which to generate files\n@throws IOException if the files cannot be generated\n@deprecated construct {@code HollowAPIGenerator} with a {@code destinationPath} then call {@link #generateSourceFiles()}", "docstring_tokens": ["Generate", "files", "under", "the", "specified", "directory"], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/api/codegen/HollowAPIGenerator.java#L416-L437", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/api/codegen/HollowAPIGenerator.java", "func_name": "HollowAPIGenerator.generateFilesForHollowSchemas", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generate files based on dataset schemas under the specified directory\n\n@param directory the directory under which to generate files\n@throws IOException if the files cannot be generated\n@deprecated construct {@code HollowAPIGenerator} with a {@code destinationPath} then call {@link #generateSourceFilesForHollowSchemas()}", "docstring_tokens": ["Generate", "files", "based", "on", "dataset", "schemas", "under", "the", "specified", "directory"], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/api/codegen/HollowAPIGenerator.java#L455-L486", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/index/key/HollowPrimaryKeyValueDeriver.java", "func_name": "HollowPrimaryKeyValueDeriver.keyMatches", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determine whether or not the specified ordinal contains the provided primary key value.\n\n@param ordinal the oridinal\n@param keys the primary keys\n@return true if the ordinal contains the primary keys", "docstring_tokens": ["Determine", "whether", "or", "not", "the", "specified", "ordinal", "contains", "the", "provided", "primary", "key", "value", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/index/key/HollowPrimaryKeyValueDeriver.java#L66-L76", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/index/key/HollowPrimaryKeyValueDeriver.java", "func_name": "HollowPrimaryKeyValueDeriver.getRecordKey", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retrieve the primary key value for the specified ordinal.\n\n@param ordinal the oridinal\n@return the primary keys", "docstring_tokens": ["Retrieve", "the", "primary", "key", "value", "for", "the", "specified", "ordinal", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/index/key/HollowPrimaryKeyValueDeriver.java#L125-L132", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/index/FieldPaths.java", "func_name": "FieldPaths.createFieldPathForPrimaryKey", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an object-based field path given a data set and the field path in symbolic form conforming to paths\nassociated with a primary key.\n\n@param dataset the data set\n@param type the type name from which to bind the field path\n@param path the symbolic field path\n@return the field path\n@throws IllegalArgumentException if the symbolic field path is ill-formed and cannot be bound", "docstring_tokens": ["Creates", "an", "object", "-", "based", "field", "path", "given", "a", "data", "set", "and", "the", "field", "path", "in", "symbolic", "form", "conforming", "to", "paths", "associated", "with", "a", "primary", "key", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/index/FieldPaths.java#L48-L61", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/index/FieldPaths.java", "func_name": "FieldPaths.createFieldPathForHashIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a field path given a data set and the field path in symbolic form conforming to paths\nassociated with a hash index.\n\n@param dataset the data set\n@param type the type name from which to bind the field path\n@param path the symbolic field path\n@return the field path\n@throws IllegalArgumentException if the symbolic field path is ill-formed and cannot be bound", "docstring_tokens": ["Creates", "a", "field", "path", "given", "a", "data", "set", "and", "the", "field", "path", "in", "symbolic", "form", "conforming", "to", "paths", "associated", "with", "a", "hash", "index", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/index/FieldPaths.java#L73-L75", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/index/FieldPaths.java", "func_name": "FieldPaths.createFieldPathForPrefixIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a field path given a data set and the field path in symbolic form conforming to paths\nassociated with a prefix index.\n\n@param dataset the data set\n@param type the type name from which to bind the field path\n@param path the symbolic field path\n@param autoExpand {@code true} if the field path should be expanded (if needed) to a full path referencing\nan object field whose type is a non-reference type, otherwise the field path is not expanded and must be\na full path\n@return the field path\n@throws IllegalArgumentException if the symbolic field path is ill-formed and cannot be bound", "docstring_tokens": ["Creates", "a", "field", "path", "given", "a", "data", "set", "and", "the", "field", "path", "in", "symbolic", "form", "conforming", "to", "paths", "associated", "with", "a", "prefix", "index", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/index/FieldPaths.java#L90-L95", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow-zenoadapter/src/main/java/com/netflix/hollow/zenoadapter/util/ObjectIdentityOrdinalMap.java", "func_name": "ObjectIdentityOrdinalMap.put", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Associating the obj with an ordinal\n\n@param obj\n@param ordinal", "docstring_tokens": ["Associating", "the", "obj", "with", "an", "ordinal"], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow-zenoadapter/src/main/java/com/netflix/hollow/zenoadapter/util/ObjectIdentityOrdinalMap.java#L224-L228", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/index/HollowPrefixIndex.java", "func_name": "HollowPrefixIndex.initialize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "initialize field positions and field paths.", "docstring_tokens": ["initialize", "field", "positions", "and", "field", "paths", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/index/HollowPrefixIndex.java#L111-L133", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/index/HollowPrefixIndex.java", "func_name": "HollowPrefixIndex.contains", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if the given key exists in the index.\n\n@param key the key\n@return {@code true} if the key exists, otherwise {@code false}", "docstring_tokens": ["Check", "if", "the", "given", "key", "exists", "in", "the", "index", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/index/HollowPrefixIndex.java#L226-L235", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/api/producer/validation/RecordCountVarianceValidator.java", "func_name": "RecordCountVarianceValidator.getChangePercent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "protected for tests", "docstring_tokens": ["protected", "for", "tests"], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/api/producer/validation/RecordCountVarianceValidator.java#L105-L108", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/read/filter/HollowFilterConfig.java", "func_name": "HollowFilterConfig.addField", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add an individual field from an OBJECT schema. This field will be either\nexcluded or included, depending on whether this is an exclude or include filter, respectively.\n\n@param type The OBJECT type from the data model\n@param objectField The field in the specified type to either include or exclude.", "docstring_tokens": ["Add", "an", "individual", "field", "from", "an", "OBJECT", "schema", ".", "This", "field", "will", "be", "either", "excluded", "or", "included", "depending", "on", "whether", "this", "is", "an", "exclude", "or", "include", "filter", "respectively", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/read/filter/HollowFilterConfig.java#L140-L147", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/schema/HollowSchemaSorter.java", "func_name": "HollowSchemaSorter.dependencyOrderedSchemaList", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Dependency types come before dependent types\n\n@param schemas the schema\n@return the dependent schema", "docstring_tokens": ["Dependency", "types", "come", "before", "dependent", "types"], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/schema/HollowSchemaSorter.java#L48-L62", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/api/codegen/CodeGeneratorConfig.java", "func_name": "CodeGeneratorConfig.initWithNextMajorVersionDefaults_V3", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make it easier to automatically use defaults for next major version", "docstring_tokens": ["Make", "it", "easier", "to", "automatically", "use", "defaults", "for", "next", "major", "version"], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/api/codegen/CodeGeneratorConfig.java#L39-L46", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/index/GrowingSegmentedLongArray.java", "func_name": "GrowingSegmentedLongArray.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the value of the byte at the specified index.\n@param index the index\n@return the byte value", "docstring_tokens": ["Get", "the", "value", "of", "the", "byte", "at", "the", "specified", "index", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/index/GrowingSegmentedLongArray.java#L63-L71", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/tools/query/HollowFieldMatchQuery.java", "func_name": "HollowFieldMatchQuery.findMatchingRecords", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Match any records which include a field with the provided fieldName and value.\n\n@param fieldName the field name\n@param fieldValue the field value as a string that will be parsed as the type of the field to match.\n@return the matching records", "docstring_tokens": ["Match", "any", "records", "which", "include", "a", "field", "with", "the", "provided", "fieldName", "and", "value", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/tools/query/HollowFieldMatchQuery.java#L65-L73", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/tools/query/HollowFieldMatchQuery.java", "func_name": "HollowFieldMatchQuery.findMatchingRecords", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Match any records of the specified type, which have the specified field set to the specified value.\n\n@param typeName the type name\n@param fieldName the field name\n@param fieldValue the field value as a string that will be parsed as the type of the field to match.\n@return the matching records", "docstring_tokens": ["Match", "any", "records", "of", "the", "specified", "type", "which", "have", "the", "specified", "field", "set", "to", "the", "specified", "value", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/tools/query/HollowFieldMatchQuery.java#L83-L91", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/tools/diff/specific/HollowSpecificDiff.java", "func_name": "HollowSpecificDiff.setElementMatchPaths", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the paths for which we will inspect differences across the two states\n\n@param paths the paths for inspection", "docstring_tokens": ["Set", "the", "paths", "for", "which", "we", "will", "inspect", "differences", "across", "the", "two", "states"], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/tools/diff/specific/HollowSpecificDiff.java#L78-L83", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/tools/diff/specific/HollowSpecificDiff.java", "func_name": "HollowSpecificDiff.setElementKeyPaths", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Optionally specify paths for which we will match records within an individual type's hierarchy\n\n@param paths the paths for matching", "docstring_tokens": ["Optionally", "specify", "paths", "for", "which", "we", "will", "match", "records", "within", "an", "individual", "type", "s", "hierarchy"], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/tools/diff/specific/HollowSpecificDiff.java#L90-L103", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/tools/diff/specific/HollowSpecificDiff.java", "func_name": "HollowSpecificDiff.calculate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculate the differences", "docstring_tokens": ["Calculate", "the", "differences"], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/tools/diff/specific/HollowSpecificDiff.java#L123-L171", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/api/producer/HollowIncrementalProducer.java", "func_name": "HollowIncrementalProducer.restoreFromLastState", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Initializes the data model and restores from existing state.", "docstring_tokens": ["Initializes", "the", "data", "model", "and", "restores", "from", "existing", "state", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/api/producer/HollowIncrementalProducer.java#L84-L92", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/api/producer/HollowIncrementalProducer.java", "func_name": "HollowIncrementalProducer.runCycle", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Runs a Hollow Cycle, if successful, cleans the mutations map.\n\n@return the version of the cycle if successful, otherwise the {@link #FAILED_VERSION}\n@since 2.9.9", "docstring_tokens": ["Runs", "a", "Hollow", "Cycle", "if", "successful", "cleans", "the", "mutations", "map", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/api/producer/HollowIncrementalProducer.java#L208-L227", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/tools/combine/HollowCombinerExcludePrimaryKeysCopyDirector.java", "func_name": "HollowCombinerExcludePrimaryKeysCopyDirector.excludeKey", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Exclude the record which matches the specified key.\n\n@param idx the index in which to query for the key\n@param key the key", "docstring_tokens": ["Exclude", "the", "record", "which", "matches", "the", "specified", "key", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/tools/combine/HollowCombinerExcludePrimaryKeysCopyDirector.java#L63-L76", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/tools/combine/HollowCombinerExcludePrimaryKeysCopyDirector.java", "func_name": "HollowCombinerExcludePrimaryKeysCopyDirector.excludeReferencedObjects", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Exclude any objects which are referenced by excluded objects.", "docstring_tokens": ["Exclude", "any", "objects", "which", "are", "referenced", "by", "excluded", "objects", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/tools/combine/HollowCombinerExcludePrimaryKeysCopyDirector.java#L81-L101", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/write/HollowBlobHeaderWriter.java", "func_name": "HollowBlobHeaderWriter.writeHeader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write the header to the data output stream\n@param header the blob header\n@param dos the data output stream to write the blov header\n@throws IOException if the blob header could not be written", "docstring_tokens": ["Write", "the", "header", "to", "the", "data", "output", "stream"], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/write/HollowBlobHeaderWriter.java#L34-L64", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/api/metrics/HollowMetrics.java", "func_name": "HollowMetrics.calculateTypeMetrics", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculates the memory heap footprint and populated ordinals per type and total\n@param hollowReadStateEngine", "docstring_tokens": ["Calculates", "the", "memory", "heap", "footprint", "and", "populated", "ordinals", "per", "type", "and", "total"], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/api/metrics/HollowMetrics.java#L45-L62", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/write/HollowObjectWriteRecord.java", "func_name": "HollowObjectWriteRecord.writeDataTo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Concatenates all fields, in order, to the ByteDataBuffer supplied. This concatenation is the\nverbatim serialized representation in the FastBlob.\n\n@param buf the data buffer to write data to", "docstring_tokens": ["Concatenates", "all", "fields", "in", "order", "to", "the", "ByteDataBuffer", "supplied", ".", "This", "concatenation", "is", "the", "verbatim", "serialized", "representation", "in", "the", "FastBlob", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/write/HollowObjectWriteRecord.java#L52-L56", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/write/HollowObjectWriteRecord.java", "func_name": "HollowObjectWriteRecord.writeFixedLengthInt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write 4 consecutive bytes", "docstring_tokens": ["Write", "4", "consecutive", "bytes"], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/write/HollowObjectWriteRecord.java#L235-L240", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/write/HollowObjectWriteRecord.java", "func_name": "HollowObjectWriteRecord.writeFixedLengthLong", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write 8 consecutive bytes", "docstring_tokens": ["Write", "8", "consecutive", "bytes"], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/write/HollowObjectWriteRecord.java#L252-L261", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/memory/FreeOrdinalTracker.java", "func_name": "FreeOrdinalTracker.returnOrdinalToPool", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return an ordinal to the pool after the object to which it was assigned is discarded.\n\n@param ordinal the ordinal", "docstring_tokens": ["Return", "an", "ordinal", "to", "the", "pool", "after", "the", "object", "to", "which", "it", "was", "assigned", "is", "discarded", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/memory/FreeOrdinalTracker.java#L63-L70", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/memory/FreeOrdinalTracker.java", "func_name": "FreeOrdinalTracker.sort", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Ensure that all future ordinals are returned in ascending order.", "docstring_tokens": ["Ensure", "that", "all", "future", "ordinals", "are", "returned", "in", "ascending", "order", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/memory/FreeOrdinalTracker.java#L84-L94", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/read/engine/SetMapKeyHasher.java", "func_name": "SetMapKeyHasher.hash", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Hash a key\n\n@param key the key\n@param fieldType the respective FieldTypes of each key.\n@return the hash code", "docstring_tokens": ["Hash", "a", "key"], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/read/engine/SetMapKeyHasher.java#L35-L44", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/read/engine/SetMapKeyHasher.java", "func_name": "SetMapKeyHasher.hash", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Hash a single key field\n\n@param key the key\n@param fieldType the FieldType of the key.\n@return the hash code", "docstring_tokens": ["Hash", "a", "single", "key", "field"], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/read/engine/SetMapKeyHasher.java#L53-L76", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/memory/encoding/FixedLengthMultipleOccurrenceElementArray.java", "func_name": "FixedLengthMultipleOccurrenceElementArray.resizeStorage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resize the underlying storage to a multiple of what it currently is. This method is not\nthread-safe.", "docstring_tokens": ["Resize", "the", "underlying", "storage", "to", "a", "multiple", "of", "what", "it", "currently", "is", ".", "This", "method", "is", "not", "thread", "-", "safe", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/memory/encoding/FixedLengthMultipleOccurrenceElementArray.java#L145-L170", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/memory/ByteArrayOrdinalMap.java", "func_name": "ByteArrayOrdinalMap.findFreeOrdinal", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If the preferredOrdinal has not already been used, mark it and use it. Otherwise,\ndelegate to the FreeOrdinalTracker.", "docstring_tokens": ["If", "the", "preferredOrdinal", "has", "not", "already", "been", "used", "mark", "it", "and", "use", "it", ".", "Otherwise", "delegate", "to", "the", "FreeOrdinalTracker", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/memory/ByteArrayOrdinalMap.java#L186-L193", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/memory/ByteArrayOrdinalMap.java", "func_name": "ByteArrayOrdinalMap.prepareForWrite", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create an array mapping the ordinals to pointers, so that they can be easily looked up\nwhen writing to blob streams.", "docstring_tokens": ["Create", "an", "array", "mapping", "the", "ordinals", "to", "pointers", "so", "that", "they", "can", "be", "easily", "looked", "up", "when", "writing", "to", "blob", "streams", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/memory/ByteArrayOrdinalMap.java#L324-L350", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/memory/ByteArrayOrdinalMap.java", "func_name": "ByteArrayOrdinalMap.compare", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compare the byte sequence contained in the supplied ByteDataBuffer with the\nsequence contained in the map pointed to by the specified key, byte by byte.", "docstring_tokens": ["Compare", "the", "byte", "sequence", "contained", "in", "the", "supplied", "ByteDataBuffer", "with", "the", "sequence", "contained", "in", "the", "map", "pointed", "to", "by", "the", "specified", "key", "byte", "by", "byte", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/memory/ByteArrayOrdinalMap.java#L453-L471", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/memory/ByteArrayOrdinalMap.java", "func_name": "ByteArrayOrdinalMap.growKeyArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Grow the key array. All of the values in the current array must be re-hashed and added to the new array.", "docstring_tokens": ["Grow", "the", "key", "array", ".", "All", "of", "the", "values", "in", "the", "current", "array", "must", "be", "re", "-", "hashed", "and", "added", "to", "the", "new", "array", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/memory/ByteArrayOrdinalMap.java#L493-L502", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/memory/ByteArrayOrdinalMap.java", "func_name": "ByteArrayOrdinalMap.rehashPreviouslyAddedData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the hash code for the byte array pointed to by the specified key.", "docstring_tokens": ["Get", "the", "hash", "code", "for", "the", "byte", "array", "pointed", "to", "by", "the", "specified", "key", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/memory/ByteArrayOrdinalMap.java#L564-L571", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/memory/ByteArrayOrdinalMap.java", "func_name": "ByteArrayOrdinalMap.emptyKeyArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create an AtomicLongArray of the specified size, each value in the array will be EMPTY_BUCKET_VALUE", "docstring_tokens": ["Create", "an", "AtomicLongArray", "of", "the", "specified", "size", "each", "value", "in", "the", "array", "will", "be", "EMPTY_BUCKET_VALUE"], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/memory/ByteArrayOrdinalMap.java#L576-L584", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/index/traversal/HollowIndexerValueTraverser.java", "func_name": "HollowIndexerValueTraverser.isMatchEqual", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method assumes the other traverser has the same match fields specified in the same order.\n\n@param matchIdx the match index\n@param otherTraverser the other traverser\n@param otherMatchIdx the other match index\n@return true if this and the other traverser are equal", "docstring_tokens": ["This", "method", "assumes", "the", "other", "traverser", "has", "the", "same", "match", "fields", "specified", "in", "the", "same", "order", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/index/traversal/HollowIndexerValueTraverser.java#L108-L115", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/api/consumer/index/UniqueKeyIndex.java", "func_name": "UniqueKeyIndex.findMatch", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds the unique object, an instance of the unique type, for a given key.\n\n@param key the key\n@return the unique object", "docstring_tokens": ["Finds", "the", "unique", "object", "an", "instance", "of", "the", "unique", "type", "for", "a", "given", "key", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/api/consumer/index/UniqueKeyIndex.java#L157-L166", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/api/producer/ReadStateHelper.java", "func_name": "ReadStateHelper.swap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Swap underlying state engines between current and pending while keeping the versions consistent;\nused after delta integrity checks have altered the underlying state engines.\n\n@return", "docstring_tokens": ["Swap", "underlying", "state", "engines", "between", "current", "and", "pending", "while", "keeping", "the", "versions", "consistent", ";", "used", "after", "delta", "integrity", "checks", "have", "altered", "the", "underlying", "state", "engines", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/api/producer/ReadStateHelper.java#L74-L77", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/memory/encoding/HashCodes.java", "func_name": "HashCodes.hashTableSize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determine size of hash table capable of storing the specified number of elements with a load\nfactor applied.\n\n@param numElements number of elements to be stored in the table\n@return size of hash table, always a power of 2\n@throws IllegalArgumentException when numElements is negative or exceeds\n{@link com.netflix.hollow.core.HollowConstants#HASH_TABLE_MAX_SIZE}", "docstring_tokens": ["Determine", "size", "of", "hash", "table", "capable", "of", "storing", "the", "specified", "number", "of", "elements", "with", "a", "load", "factor", "applied", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/memory/encoding/HashCodes.java#L183-L200", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/api/producer/HollowProducer.java", "func_name": "HollowProducer.runCompactionCycle", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Run a compaction cycle, will produce a data state with exactly the same data as currently, but\nreorganized so that ordinal holes are filled. This may need to be run multiple times to arrive\nat an optimal state.\n\n@param config specifies what criteria to use to determine whether a compaction is necessary\n@return the version identifier of the produced state, or AnnouncementWatcher.NO_ANNOUNCEMENT_AVAILABLE if compaction was unnecessary.", "docstring_tokens": ["Run", "a", "compaction", "cycle", "will", "produce", "a", "data", "state", "with", "exactly", "the", "same", "data", "as", "currently", "but", "reorganized", "so", "that", "ordinal", "holes", "are", "filled", ".", "This", "may", "need", "to", "be", "run", "multiple", "times", "to", "arrive", "at", "an", "optimal", "state", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/api/producer/HollowProducer.java#L252-L262", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/write/HollowBlobWriter.java", "func_name": "HollowBlobWriter.writeSnapshot", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write the current state as a snapshot blob.\n@param os the output stream to write the snapshot blob\n@throws IOException if the snapshot blob could not be written", "docstring_tokens": ["Write", "the", "current", "state", "as", "a", "snapshot", "blob", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/write/HollowBlobWriter.java#L48-L81", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/write/HollowBlobWriter.java", "func_name": "HollowBlobWriter.writeDelta", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Serialize the changes necessary to transition a consumer from the previous state\nto the current state as a delta blob.\n\n@param os the output stream to write the delta blob\n@throws IOException if the delta blob could not be written\n@throws IllegalStateException if the current state is restored from the previous state\nand current state contains unrestored state for one or more types. This indicates those\ntypes have not been declared to the producer as part it's initialized data model.\n@see com.netflix.hollow.api.producer.HollowProducer#initializeDataModel(Class[])", "docstring_tokens": ["Serialize", "the", "changes", "necessary", "to", "transition", "a", "consumer", "from", "the", "previous", "state", "to", "the", "current", "state", "as", "a", "delta", "blob", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/write/HollowBlobWriter.java#L94-L135", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/api/codegen/HollowConsumerJavaFileGenerator.java", "func_name": "HollowConsumerJavaFileGenerator.addToSetIfNotPrimitiveOrCollection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds the schema name to the set if the schema name doesn't correspond to a Hollow\nprimitive type. Factored out to prevent bloat in the switch statement it is called\nfrom.", "docstring_tokens": ["Adds", "the", "schema", "name", "to", "the", "set", "if", "the", "schema", "name", "doesn", "t", "correspond", "to", "a", "Hollow", "primitive", "type", ".", "Factored", "out", "to", "prevent", "bloat", "in", "the", "switch", "statement", "it", "is", "called", "from", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/api/codegen/HollowConsumerJavaFileGenerator.java#L154-L162", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/api/codegen/HollowCodeGenerationUtils.java", "func_name": "HollowCodeGenerationUtils.normalizeFieldPathToParamName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert field path into Param name\n\nEg:\n- Actor {@literal->} actor\n- Actor.name {@literal->} actorName\n\n@param fieldPath the field path\n@return the param name", "docstring_tokens": ["Convert", "field", "path", "into", "Param", "name"], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/api/codegen/HollowCodeGenerationUtils.java#L367-L385", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/index/HollowHashIndex.java", "func_name": "HollowHashIndex.reindexHashIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Recreate the hash index entirely", "docstring_tokens": ["Recreate", "the", "hash", "index", "entirely"], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/index/HollowHashIndex.java#L67-L73", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/index/HollowHashIndex.java", "func_name": "HollowHashIndex.findMatches", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Query the index.\n\n@param query the query\n@return the hash index result to gather the matched ordinals. A {@code null} value indicated no matches were\nfound.", "docstring_tokens": ["Query", "the", "index", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/index/HollowHashIndex.java#L83-L117", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/api/client/HollowAnnouncementWatcher.java", "func_name": "HollowAnnouncementWatcher.triggerAsyncRefreshWithRandomDelay", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Triggers async refresh after some random number of milliseconds have passed,\nbetween now and the specified maximum number of milliseconds.\n\nAny subsequent calls for async refresh will not begin until after the specified delay\nhas completed.\n\n@param maxDelayMillis the maximum delay in milliseconds", "docstring_tokens": ["Triggers", "async", "refresh", "after", "some", "random", "number", "of", "milliseconds", "have", "passed", "between", "now", "and", "the", "specified", "maximum", "number", "of", "milliseconds", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/api/client/HollowAnnouncementWatcher.java#L110-L114", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/api/client/HollowAnnouncementWatcher.java", "func_name": "HollowAnnouncementWatcher.triggerAsyncRefreshWithDelay", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Triggers async refresh after the specified number of milliseconds has passed.\n\nAny subsequent calls for async refresh will not begin until after the specified delay\nhas completed.\n\n@param delayMillis the delay in milliseconds", "docstring_tokens": ["Triggers", "async", "refresh", "after", "the", "specified", "number", "of", "milliseconds", "has", "passed", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/api/client/HollowAnnouncementWatcher.java#L124-L140", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/tools/diff/HollowDiff.java", "func_name": "HollowDiff.addTypeDiff", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a type to be included in the diff report\n\n@param type the type name\n@param primaryKeyPaths the path(s) to the field(s) which comprise the type's primary key\n@return the diff type", "docstring_tokens": ["Add", "a", "type", "to", "be", "included", "in", "the", "diff", "report"], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/tools/diff/HollowDiff.java#L102-L107", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/tools/diff/HollowDiff.java", "func_name": "HollowDiff.calculateDiffs", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Run the diff", "docstring_tokens": ["Run", "the", "diff"], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/tools/diff/HollowDiff.java#L133-L145", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/memory/encoding/VarInt.java", "func_name": "VarInt.writeVLong", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Encode the specified long as a variable length integer into the supplied OuputStream\n\n@param out the output stream to write to\n@param value the long value\n@throws IOException if the value cannot be written to the output stream", "docstring_tokens": ["Encode", "the", "specified", "long", "as", "a", "variable", "length", "integer", "into", "the", "supplied", "OuputStream"], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/memory/encoding/VarInt.java#L70-L82", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/memory/encoding/VarInt.java", "func_name": "VarInt.writeVInt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Encode the specified int as a variable length integer into the supplied OutputStream\n\n@param out the output stream to write to\n@param value the int value\n@throws IOException if the value cannot be written to the output stream", "docstring_tokens": ["Encode", "the", "specified", "int", "as", "a", "variable", "length", "integer", "into", "the", "supplied", "OutputStream"], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/memory/encoding/VarInt.java#L106-L113", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/memory/encoding/VarInt.java", "func_name": "VarInt.writeVInt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write the value as a VarInt into the array, starting at the specified position.\n\n@param data the byte array to write to\n@param pos the position in the byte array\n@param value the int value\n@return the next position after the VarInt has been written.", "docstring_tokens": ["Write", "the", "value", "as", "a", "VarInt", "into", "the", "array", "starting", "at", "the", "specified", "position", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/memory/encoding/VarInt.java#L123-L132", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/memory/encoding/VarInt.java", "func_name": "VarInt.readVInt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a variable length integer from the supplied InputStream\n@param in the input stream to read from\n@return the int value\n@throws IOException if the value cannot be read from the input stream", "docstring_tokens": ["Read", "a", "variable", "length", "integer", "from", "the", "supplied", "InputStream"], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/memory/encoding/VarInt.java#L174-L188", "partition": "test"} +{"repo": "Netflix/hollow", "path": "hollow/src/main/java/com/netflix/hollow/core/memory/encoding/VarInt.java", "func_name": "VarInt.readVLong", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a variable length long from the supplied InputStream.\n@param in the input stream to read from\n@return the long value\n@throws IOException if the value cannot be read from the input stream", "docstring_tokens": ["Read", "a", "variable", "length", "long", "from", "the", "supplied", "InputStream", "."], "sha": "43ca100034a01050fb764170bd32b085ac9a3c22", "url": "https://github.com/Netflix/hollow/blob/43ca100034a01050fb764170bd32b085ac9a3c22/hollow/src/main/java/com/netflix/hollow/core/memory/encoding/VarInt.java#L240-L254", "partition": "test"} +{"repo": "chrisbanes/Android-PullToRefresh", "path": "library/src/com/handmark/pulltorefresh/library/PullToRefreshBase.java", "func_name": "PullToRefreshBase.addViewInternal", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Used internally for adding view. Need because we override addView to\npass-through to the Refreshable View", "docstring_tokens": ["Used", "internally", "for", "adding", "view", ".", "Need", "because", "we", "override", "addView", "to", "pass", "-", "through", "to", "the", "Refreshable", "View"], "sha": "3bd8ef6869c3297bfe874d2f15c2ee53c3456e99", "url": "https://github.com/chrisbanes/Android-PullToRefresh/blob/3bd8ef6869c3297bfe874d2f15c2ee53c3456e99/library/src/com/handmark/pulltorefresh/library/PullToRefreshBase.java#L574-L576", "partition": "test"} +{"repo": "chrisbanes/Android-PullToRefresh", "path": "library/src/com/handmark/pulltorefresh/library/PullToRefreshBase.java", "func_name": "PullToRefreshBase.refreshLoadingViewsSize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Re-measure the Loading Views height, and adjust internal padding as\nnecessary", "docstring_tokens": ["Re", "-", "measure", "the", "Loading", "Views", "height", "and", "adjust", "internal", "padding", "as", "necessary"], "sha": "3bd8ef6869c3297bfe874d2f15c2ee53c3456e99", "url": "https://github.com/chrisbanes/Android-PullToRefresh/blob/3bd8ef6869c3297bfe874d2f15c2ee53c3456e99/library/src/com/handmark/pulltorefresh/library/PullToRefreshBase.java#L873-L919", "partition": "test"} +{"repo": "chrisbanes/Android-PullToRefresh", "path": "library/src/com/handmark/pulltorefresh/library/PullToRefreshBase.java", "func_name": "PullToRefreshBase.updateUIForMode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Updates the View State when the mode has been set. This does not do any\nchecking that the mode is different to current state so always updates.", "docstring_tokens": ["Updates", "the", "View", "State", "when", "the", "mode", "has", "been", "set", ".", "This", "does", "not", "do", "any", "checking", "that", "the", "mode", "is", "different", "to", "current", "state", "so", "always", "updates", "."], "sha": "3bd8ef6869c3297bfe874d2f15c2ee53c3456e99", "url": "https://github.com/chrisbanes/Android-PullToRefresh/blob/3bd8ef6869c3297bfe874d2f15c2ee53c3456e99/library/src/com/handmark/pulltorefresh/library/PullToRefreshBase.java#L1023-L1050", "partition": "test"} +{"repo": "chrisbanes/Android-PullToRefresh", "path": "library/src/com/handmark/pulltorefresh/library/PullToRefreshBase.java", "func_name": "PullToRefreshBase.pullEvent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Actions a Pull Event\n\n@return true if the Event has been handled, false if there has been no\nchange", "docstring_tokens": ["Actions", "a", "Pull", "Event"], "sha": "3bd8ef6869c3297bfe874d2f15c2ee53c3456e99", "url": "https://github.com/chrisbanes/Android-PullToRefresh/blob/3bd8ef6869c3297bfe874d2f15c2ee53c3456e99/library/src/com/handmark/pulltorefresh/library/PullToRefreshBase.java#L1164-L1213", "partition": "test"} +{"repo": "chrisbanes/Android-PullToRefresh", "path": "library/src/com/handmark/pulltorefresh/library/OverscrollHelper.java", "func_name": "OverscrollHelper.overScrollBy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Helper method for Overscrolling that encapsulates all of the necessary\nfunction. This is the advanced version of the call.\n\n@param view - PullToRefreshView that is calling this.\n@param deltaX - Change in X in pixels, passed through from from\noverScrollBy call\n@param scrollX - Current X scroll value in pixels before applying deltaY,\npassed through from from overScrollBy call\n@param deltaY - Change in Y in pixels, passed through from from\noverScrollBy call\n@param scrollY - Current Y scroll value in pixels before applying deltaY,\npassed through from from overScrollBy call\n@param scrollRange - Scroll Range of the View, specifically needed for\nScrollView\n@param fuzzyThreshold - Threshold for which the values how fuzzy we\nshould treat the other values. Needed for WebView as it\ndoesn't always scroll back to it's edge. 0 = no fuzziness.\n@param scaleFactor - Scale Factor for overscroll amount\n@param isTouchEvent - true if this scroll operation is the result of a\ntouch event, passed through from from overScrollBy call", "docstring_tokens": ["Helper", "method", "for", "Overscrolling", "that", "encapsulates", "all", "of", "the", "necessary", "function", ".", "This", "is", "the", "advanced", "version", "of", "the", "call", "."], "sha": "3bd8ef6869c3297bfe874d2f15c2ee53c3456e99", "url": "https://github.com/chrisbanes/Android-PullToRefresh/blob/3bd8ef6869c3297bfe874d2f15c2ee53c3456e99/library/src/com/handmark/pulltorefresh/library/OverscrollHelper.java#L102-L173", "partition": "test"} +{"repo": "deliveredtechnologies/rulebook", "path": "rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/lang/GivenRuleBuilder.java", "func_name": "GivenRuleBuilder.given", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a fact to the Rule.\n@param name the name of the fact\n@param value the value of the fact\n@return a GivenRuleBuilder", "docstring_tokens": ["Adds", "a", "fact", "to", "the", "Rule", "."], "sha": "253738f6bc1e7804bb8649863e969956075a19ae", "url": "https://github.com/deliveredtechnologies/rulebook/blob/253738f6bc1e7804bb8649863e969956075a19ae/rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/lang/GivenRuleBuilder.java#L38-L40", "partition": "test"} +{"repo": "deliveredtechnologies/rulebook", "path": "rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/lang/GivenRuleBuilder.java", "func_name": "GivenRuleBuilder.given", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds one or more facts into the Rule.\n@param facts one or more facts\n@return the current builder object", "docstring_tokens": ["Adds", "one", "or", "more", "facts", "into", "the", "Rule", "."], "sha": "253738f6bc1e7804bb8649863e969956075a19ae", "url": "https://github.com/deliveredtechnologies/rulebook/blob/253738f6bc1e7804bb8649863e969956075a19ae/rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/lang/GivenRuleBuilder.java#L57-L61", "partition": "test"} +{"repo": "deliveredtechnologies/rulebook", "path": "rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/lang/RuleBuilder.java", "func_name": "RuleBuilder.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a new RuleBuilder for the specified Rule class.\n@param ruleClass the class of Rule to build\n@param actionType if STOP_ON_FAILURE, stops the rule chain if RuleState is BREAK only if the rule fails\n(for supported rule classes); if ERROR_ON_FAILURE, allows exceptions to be thrown from rule;\ndefault is CONTINUE_ON_FAILURE\n@return a new RuleBuilder", "docstring_tokens": ["Returns", "a", "new", "RuleBuilder", "for", "the", "specified", "Rule", "class", "."], "sha": "253738f6bc1e7804bb8649863e969956075a19ae", "url": "https://github.com/deliveredtechnologies/rulebook/blob/253738f6bc1e7804bb8649863e969956075a19ae/rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/lang/RuleBuilder.java#L48-L51", "partition": "test"} +{"repo": "deliveredtechnologies/rulebook", "path": "rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/lang/RuleBuilder.java", "func_name": "RuleBuilder.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a new RuleBuilder for the default Rule type.\n@return a new RuleBuilder", "docstring_tokens": ["Returns", "a", "new", "RuleBuilder", "for", "the", "default", "Rule", "type", "."], "sha": "253738f6bc1e7804bb8649863e969956075a19ae", "url": "https://github.com/deliveredtechnologies/rulebook/blob/253738f6bc1e7804bb8649863e969956075a19ae/rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/lang/RuleBuilder.java#L66-L70", "partition": "test"} +{"repo": "deliveredtechnologies/rulebook", "path": "rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/lang/RuleBuilder.java", "func_name": "RuleBuilder.withFactType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Specifies the fact type for the Rule being built.\n@param factType the type of facts to be used in the Rule\n@param the type of facts\n@return a builder using the new fact type for building a Rule", "docstring_tokens": ["Specifies", "the", "fact", "type", "for", "the", "Rule", "being", "built", "."], "sha": "253738f6bc1e7804bb8649863e969956075a19ae", "url": "https://github.com/deliveredtechnologies/rulebook/blob/253738f6bc1e7804bb8649863e969956075a19ae/rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/lang/RuleBuilder.java#L92-L98", "partition": "test"} +{"repo": "deliveredtechnologies/rulebook", "path": "rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/lang/RuleBuilder.java", "func_name": "RuleBuilder.withResultType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Specifies the Result type for the Rule being built.\n@param resultType the type of the Result to be used in the Rule\n@param the type of Result\n@return a builder using a new result type for building a Rule", "docstring_tokens": ["Specifies", "the", "Result", "type", "for", "the", "Rule", "being", "built", "."], "sha": "253738f6bc1e7804bb8649863e969956075a19ae", "url": "https://github.com/deliveredtechnologies/rulebook/blob/253738f6bc1e7804bb8649863e969956075a19ae/rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/lang/RuleBuilder.java#L106-L113", "partition": "test"} +{"repo": "deliveredtechnologies/rulebook", "path": "rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/lang/RuleBuilder.java", "func_name": "RuleBuilder.given", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a fact to the Rule using a name value pair to specify a new fact.\n@param name the name of the fact\n@param value the value of the fact\n@return a builder for building rules after a 'given' statement", "docstring_tokens": ["Adds", "a", "fact", "to", "the", "Rule", "using", "a", "name", "value", "pair", "to", "specify", "a", "new", "fact", "."], "sha": "253738f6bc1e7804bb8649863e969956075a19ae", "url": "https://github.com/deliveredtechnologies/rulebook/blob/253738f6bc1e7804bb8649863e969956075a19ae/rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/lang/RuleBuilder.java#L121-L128", "partition": "test"} +{"repo": "deliveredtechnologies/rulebook", "path": "rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/lang/RuleBuilder.java", "func_name": "RuleBuilder.given", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds one or more facts to the Rule.\n@param facts the facts to be added to the Rule\n@return a builder for building rules after a 'given' statement", "docstring_tokens": ["Adds", "one", "or", "more", "facts", "to", "the", "Rule", "."], "sha": "253738f6bc1e7804bb8649863e969956075a19ae", "url": "https://github.com/deliveredtechnologies/rulebook/blob/253738f6bc1e7804bb8649863e969956075a19ae/rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/lang/RuleBuilder.java#L135-L143", "partition": "test"} +{"repo": "deliveredtechnologies/rulebook", "path": "rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/lang/RuleBuilder.java", "func_name": "RuleBuilder.then", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds an action as a Consumer to the Rule.\n@param action a Consumer action to be added to the Rule that accepts the facts specified for the Rule\n@return a builder for building rules after a 'then' action is specified", "docstring_tokens": ["Adds", "an", "action", "as", "a", "Consumer", "to", "the", "Rule", "."], "sha": "253738f6bc1e7804bb8649863e969956075a19ae", "url": "https://github.com/deliveredtechnologies/rulebook/blob/253738f6bc1e7804bb8649863e969956075a19ae/rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/lang/RuleBuilder.java#L192-L199", "partition": "test"} +{"repo": "deliveredtechnologies/rulebook", "path": "rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/model/runner/AbstractRuleBookRunner.java", "func_name": "AbstractRuleBookRunner.getRuleInstance", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a rule instance\n\n

For container aware contexts (like Spring, Guice, Weld, etc.) override this method and instantiate the rule\nvia the container.\n@param rule The rule class\n@return The rule instance", "docstring_tokens": ["Returns", "a", "rule", "instance"], "sha": "253738f6bc1e7804bb8649863e969956075a19ae", "url": "https://github.com/deliveredtechnologies/rulebook/blob/253738f6bc1e7804bb8649863e969956075a19ae/rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/model/runner/AbstractRuleBookRunner.java#L110-L117", "partition": "test"} +{"repo": "deliveredtechnologies/rulebook", "path": "rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/util/AnnotationUtils.java", "func_name": "AnnotationUtils.getAnnotatedField", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Method getAnnotatedField gets the first annotated field of the type of annotation specified.\n@param annotation the type of the annotation\n@param clazz the annotated class\n@return the first annotated field found in clazz of the type annotation", "docstring_tokens": ["Method", "getAnnotatedField", "gets", "the", "first", "annotated", "field", "of", "the", "type", "of", "annotation", "specified", "."], "sha": "253738f6bc1e7804bb8649863e969956075a19ae", "url": "https://github.com/deliveredtechnologies/rulebook/blob/253738f6bc1e7804bb8649863e969956075a19ae/rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/util/AnnotationUtils.java#L47-L50", "partition": "test"} +{"repo": "deliveredtechnologies/rulebook", "path": "rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/util/AnnotationUtils.java", "func_name": "AnnotationUtils.getAnnotatedMethod", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Method getAnnotatedMethod the first annotated method of the type of annotation specified.\n@param annotation the type of the annotation\n@param clazz the annotated class\n@return the first annotated field found in clazz of the type annotation", "docstring_tokens": ["Method", "getAnnotatedMethod", "the", "first", "annotated", "method", "of", "the", "type", "of", "annotation", "specified", "."], "sha": "253738f6bc1e7804bb8649863e969956075a19ae", "url": "https://github.com/deliveredtechnologies/rulebook/blob/253738f6bc1e7804bb8649863e969956075a19ae/rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/util/AnnotationUtils.java#L79-L82", "partition": "test"} +{"repo": "deliveredtechnologies/rulebook", "path": "rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/util/AnnotationUtils.java", "func_name": "AnnotationUtils.getAnnotation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Method getAnnotation returns the annotation on a class or its parent annotation.\n@param clazz the annotated class\n@param annotation the annotation to find\n@param the type of the annotation\n@return the actual annotation used or null if it doesn't exist", "docstring_tokens": ["Method", "getAnnotation", "returns", "the", "annotation", "on", "a", "class", "or", "its", "parent", "annotation", "."], "sha": "253738f6bc1e7804bb8649863e969956075a19ae", "url": "https://github.com/deliveredtechnologies/rulebook/blob/253738f6bc1e7804bb8649863e969956075a19ae/rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/util/AnnotationUtils.java#L91-L100", "partition": "test"} +{"repo": "deliveredtechnologies/rulebook", "path": "rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/model/Auditor.java", "func_name": "Auditor.registerRule", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers a rule to be audited.\n@param rule and {@link Auditable} rule", "docstring_tokens": ["Registers", "a", "rule", "to", "be", "audited", "."], "sha": "253738f6bc1e7804bb8649863e969956075a19ae", "url": "https://github.com/deliveredtechnologies/rulebook/blob/253738f6bc1e7804bb8649863e969956075a19ae/rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/model/Auditor.java#L19-L26", "partition": "test"} +{"repo": "deliveredtechnologies/rulebook", "path": "rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/model/Auditor.java", "func_name": "Auditor.updateRuleStatus", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Updates the status of the rule & stores the status with the Auditor.\n@param rule the rule in question\n@param status the status of the rule", "docstring_tokens": ["Updates", "the", "status", "of", "the", "rule", "&", "stores", "the", "status", "with", "the", "Auditor", "."], "sha": "253738f6bc1e7804bb8649863e969956075a19ae", "url": "https://github.com/deliveredtechnologies/rulebook/blob/253738f6bc1e7804bb8649863e969956075a19ae/rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/model/Auditor.java#L33-L49", "partition": "test"} +{"repo": "deliveredtechnologies/rulebook", "path": "rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/model/Auditor.java", "func_name": "Auditor.getRuleStatusMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets a map of each rule name with its associated status.\n@return a map of rule names and their associated status", "docstring_tokens": ["Gets", "a", "map", "of", "each", "rule", "name", "with", "its", "associated", "status", "."], "sha": "253738f6bc1e7804bb8649863e969956075a19ae", "url": "https://github.com/deliveredtechnologies/rulebook/blob/253738f6bc1e7804bb8649863e969956075a19ae/rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/model/Auditor.java#L64-L74", "partition": "test"} +{"repo": "deliveredtechnologies/rulebook", "path": "rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/lang/RuleBookBuilder.java", "func_name": "RuleBookBuilder.withResultType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Specifies the Result type for the RuleBook.\n@param resultType result class\n@param type of the result class\n@return a builder with the new Result type", "docstring_tokens": ["Specifies", "the", "Result", "type", "for", "the", "RuleBook", "."], "sha": "253738f6bc1e7804bb8649863e969956075a19ae", "url": "https://github.com/deliveredtechnologies/rulebook/blob/253738f6bc1e7804bb8649863e969956075a19ae/rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/lang/RuleBookBuilder.java#L68-L71", "partition": "test"} +{"repo": "deliveredtechnologies/rulebook", "path": "rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/lang/ThenRuleBuilder.java", "func_name": "ThenRuleBuilder.then", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a then action into the Rule.\n@param action an action that the rule will execute based on the condition\n@return a builder that allows for the Rule to be built following the 'then' statement", "docstring_tokens": ["Adds", "a", "then", "action", "into", "the", "Rule", "."], "sha": "253738f6bc1e7804bb8649863e969956075a19ae", "url": "https://github.com/deliveredtechnologies/rulebook/blob/253738f6bc1e7804bb8649863e969956075a19ae/rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/lang/ThenRuleBuilder.java#L42-L45", "partition": "test"} +{"repo": "deliveredtechnologies/rulebook", "path": "rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/lang/ThenRuleBuilder.java", "func_name": "ThenRuleBuilder.then", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Addds a then action into the Rule.\n@param action an action that the rule will execute based on the condition; accepts facts and the result\n@return a builder that allows for the Rule to be built following the 'then' statement", "docstring_tokens": ["Addds", "a", "then", "action", "into", "the", "Rule", "."], "sha": "253738f6bc1e7804bb8649863e969956075a19ae", "url": "https://github.com/deliveredtechnologies/rulebook/blob/253738f6bc1e7804bb8649863e969956075a19ae/rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/lang/ThenRuleBuilder.java#L52-L55", "partition": "test"} +{"repo": "deliveredtechnologies/rulebook", "path": "rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/Result.java", "func_name": "Result.reset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resets the value of the Result to its default value.", "docstring_tokens": ["Resets", "the", "value", "of", "the", "Result", "to", "its", "default", "value", "."], "sha": "253738f6bc1e7804bb8649863e969956075a19ae", "url": "https://github.com/deliveredtechnologies/rulebook/blob/253738f6bc1e7804bb8649863e969956075a19ae/rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/Result.java#L33-L43", "partition": "test"} +{"repo": "deliveredtechnologies/rulebook", "path": "rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/lang/RuleBookRuleBuilder.java", "func_name": "RuleBookRuleBuilder.withFactType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Specifies the fact type\n@param factType the type of object that facts are restricted to in the Rule.\n@param the generic fact type\n@return RuleBookRuleWithFactTypeBuilder for building RuleBook Rules with a specific fact type", "docstring_tokens": ["Specifies", "the", "fact", "type"], "sha": "253738f6bc1e7804bb8649863e969956075a19ae", "url": "https://github.com/deliveredtechnologies/rulebook/blob/253738f6bc1e7804bb8649863e969956075a19ae/rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/lang/RuleBookRuleBuilder.java#L39-L44", "partition": "test"} +{"repo": "deliveredtechnologies/rulebook", "path": "rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/model/runner/RuleBookRunner.java", "func_name": "RuleBookRunner.getPojoRules", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the POJO Rules to be used by the RuleBook via reflection of the specified package.\n@return a List of POJO Rules", "docstring_tokens": ["Gets", "the", "POJO", "Rules", "to", "be", "used", "by", "the", "RuleBook", "via", "reflection", "of", "the", "specified", "package", "."], "sha": "253738f6bc1e7804bb8649863e969956075a19ae", "url": "https://github.com/deliveredtechnologies/rulebook/blob/253738f6bc1e7804bb8649863e969956075a19ae/rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/model/runner/RuleBookRunner.java#L76-L89", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/util/AsciiDocParser.java", "func_name": "AsciiDocParser.readEmptyLineOrEndTable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads empty line or throw an exception if a none empty line was found.", "docstring_tokens": ["Reads", "empty", "line", "or", "throw", "an", "exception", "if", "a", "none", "empty", "line", "was", "found", "."], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/util/AsciiDocParser.java#L130-L142", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "enricher/standard/src/main/java/io/fabric8/maven/enricher/standard/DefaultServiceEnricher.java", "func_name": "DefaultServiceEnricher.toArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "convert list to array, never returns null.", "docstring_tokens": ["convert", "list", "to", "array", "never", "returns", "null", "."], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/enricher/standard/src/main/java/io/fabric8/maven/enricher/standard/DefaultServiceEnricher.java#L129-L142", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "enricher/standard/src/main/java/io/fabric8/maven/enricher/standard/DefaultServiceEnricher.java", "func_name": "DefaultServiceEnricher.getPortsFromBuildConfiguration", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Examine images for build configuration and extract all ports", "docstring_tokens": ["Examine", "images", "for", "build", "configuration", "and", "extract", "all", "ports"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/enricher/standard/src/main/java/io/fabric8/maven/enricher/standard/DefaultServiceEnricher.java#L286-L294", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "enricher/standard/src/main/java/io/fabric8/maven/enricher/standard/DefaultServiceEnricher.java", "func_name": "DefaultServiceEnricher.extractPortsFromConfig", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Config can override ports", "docstring_tokens": ["Config", "can", "override", "ports"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/enricher/standard/src/main/java/io/fabric8/maven/enricher/standard/DefaultServiceEnricher.java#L297-L306", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "enricher/standard/src/main/java/io/fabric8/maven/enricher/standard/DefaultServiceEnricher.java", "func_name": "DefaultServiceEnricher.parsePortMapping", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "parse config specified ports", "docstring_tokens": ["parse", "config", "specified", "ports"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/enricher/standard/src/main/java/io/fabric8/maven/enricher/standard/DefaultServiceEnricher.java#L329-L350", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "enricher/standard/src/main/java/io/fabric8/maven/enricher/standard/DefaultServiceEnricher.java", "func_name": "DefaultServiceEnricher.addPortIfNotNull", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "null ports can happen for ignored mappings", "docstring_tokens": ["null", "ports", "can", "happen", "for", "ignored", "mappings"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/enricher/standard/src/main/java/io/fabric8/maven/enricher/standard/DefaultServiceEnricher.java#L353-L357", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "enricher/standard/src/main/java/io/fabric8/maven/enricher/standard/DefaultServiceEnricher.java", "func_name": "DefaultServiceEnricher.shiftOrNull", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "remove first element of list or null if list is empty", "docstring_tokens": ["remove", "first", "element", "of", "list", "or", "null", "if", "list", "is", "empty"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/enricher/standard/src/main/java/io/fabric8/maven/enricher/standard/DefaultServiceEnricher.java#L457-L462", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "enricher/standard/src/main/java/io/fabric8/maven/enricher/standard/DefaultServiceEnricher.java", "func_name": "DefaultServiceEnricher.addMissingServiceParts", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Merge services of same name with the default service", "docstring_tokens": ["Merge", "services", "of", "same", "name", "with", "the", "default", "service"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/enricher/standard/src/main/java/io/fabric8/maven/enricher/standard/DefaultServiceEnricher.java#L478-L497", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/service/openshift/ImageStreamService.java", "func_name": "ImageStreamService.appendImageStreamResource", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Save the images stream to a file\n@param imageName name of the image for which the stream should be extracted\n@param target file to store the image stream", "docstring_tokens": ["Save", "the", "images", "stream", "to", "a", "file"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/service/openshift/ImageStreamService.java#L80-L105", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/util/kubernetes/ServiceUrlUtil.java", "func_name": "ServiceUrlUtil.portsMatch", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if the given servicePort matches the intOrString value", "docstring_tokens": ["Returns", "true", "if", "the", "given", "servicePort", "matches", "the", "intOrString", "value"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/util/kubernetes/ServiceUrlUtil.java#L234-L250", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/util/kubernetes/ServiceUrlUtil.java", "func_name": "ServiceUrlUtil.serviceToPortOrBlank", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the named port for the given service name or blank", "docstring_tokens": ["Returns", "the", "named", "port", "for", "the", "given", "service", "name", "or", "blank"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/util/kubernetes/ServiceUrlUtil.java#L292-L295", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/util/kubernetes/ServiceUrlUtil.java", "func_name": "ServiceUrlUtil.getServiceHostAndPort", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the service host and port for the given environment variable name.\n\n@param serviceName the name of the service which is used as a prefix to access the ${serviceName}_SERVICE_HOST and ${serviceName}_SERVICE_PORT environment variables to find the hos and port\n@param defaultHost the default host to use if not injected via an environment variable (e.g. localhost)\n@parma defaultPort the default port to use to connect to the service if there is not an environment variable defined", "docstring_tokens": ["Returns", "the", "service", "host", "and", "port", "for", "the", "given", "environment", "variable", "name", "."], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/util/kubernetes/ServiceUrlUtil.java#L320-L330", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/util/MapUtil.java", "func_name": "MapUtil.putIfAbsent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds the given key and value pair into the map if the map does not already contain a value for that key", "docstring_tokens": ["Adds", "the", "given", "key", "and", "value", "pair", "into", "the", "map", "if", "the", "map", "does", "not", "already", "contain", "a", "value", "for", "that", "key"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/util/MapUtil.java#L30-L34", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/util/MapUtil.java", "func_name": "MapUtil.mergeIfAbsent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add all values of a map to another map, but onlfy if not already existing.\n@param map target map\n@param toMerge the values to ad", "docstring_tokens": ["Add", "all", "values", "of", "a", "map", "to", "another", "map", "but", "onlfy", "if", "not", "already", "existing", "."], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/util/MapUtil.java#L41-L45", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/util/MapUtil.java", "func_name": "MapUtil.mergeMaps", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a new map with all the entries of map1 and any from map2 which don't override map1.\n\nCan handle either maps being null. Always returns a new mutable map", "docstring_tokens": ["Returns", "a", "new", "map", "with", "all", "the", "entries", "of", "map1", "and", "any", "from", "map2", "which", "don", "t", "override", "map1", "."], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/util/MapUtil.java#L52-L62", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/util/MapUtil.java", "func_name": "MapUtil.putAllIfNotNull", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copies all of the elements i.e., the mappings, from toPut map into ret, if toPut isn't null.\n@param ret\n@param toPut", "docstring_tokens": ["Copies", "all", "of", "the", "elements", "i", ".", "e", ".", "the", "mappings", "from", "toPut", "map", "into", "ret", "if", "toPut", "isn", "t", "null", "."], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/util/MapUtil.java#L69-L73", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/service/openshift/OpenshiftBuildService.java", "func_name": "OpenshiftBuildService.waitUntilPodIsReady", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "A Simple utility function to watch over pod until it gets ready\n\n@param podName Name of the pod\n@param nAwaitTimeout Time in seconds upto which pod must be watched\n@param log Logger object\n@throws InterruptedException", "docstring_tokens": ["A", "Simple", "utility", "function", "to", "watch", "over", "pod", "until", "it", "gets", "ready"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/service/openshift/OpenshiftBuildService.java#L573-L592", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/util/kubernetes/KubernetesHelper.java", "func_name": "KubernetesHelper.validateKubernetesId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Validates that the given value is valid according to the kubernetes ID parsing rules, throwing an exception if not.", "docstring_tokens": ["Validates", "that", "the", "given", "value", "is", "valid", "according", "to", "the", "kubernetes", "ID", "parsing", "rules", "throwing", "an", "exception", "if", "not", "."], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/util/kubernetes/KubernetesHelper.java#L56-L68", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/util/kubernetes/KubernetesHelper.java", "func_name": "KubernetesHelper.toItemList", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Loads the Kubernetes JSON and converts it to a list of entities", "docstring_tokens": ["Loads", "the", "Kubernetes", "JSON", "and", "converts", "it", "to", "a", "list", "of", "entities"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/util/kubernetes/KubernetesHelper.java#L74-L94", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/util/kubernetes/KubernetesHelper.java", "func_name": "KubernetesHelper.getResourceVersion", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the resource version for the entity or null if it does not have one", "docstring_tokens": ["Returns", "the", "resource", "version", "for", "the", "entity", "or", "null", "if", "it", "does", "not", "have", "one"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/util/kubernetes/KubernetesHelper.java#L130-L141", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/util/kubernetes/KubernetesHelper.java", "func_name": "KubernetesHelper.isPodReady", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if the pod is running and ready", "docstring_tokens": ["Returns", "true", "if", "the", "pod", "is", "running", "and", "ready"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/util/kubernetes/KubernetesHelper.java#L271-L294", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/util/kubernetes/KubernetesHelper.java", "func_name": "KubernetesHelper.getCurrentContext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the current context in the given config", "docstring_tokens": ["Returns", "the", "current", "context", "in", "the", "given", "config"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/util/kubernetes/KubernetesHelper.java#L378-L391", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "enricher/standard/src/main/java/io/fabric8/maven/enricher/standard/openshift/RouteEnricher.java", "func_name": "RouteEnricher.hasRoute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if we already have a route created for the given name", "docstring_tokens": ["Returns", "true", "if", "we", "already", "have", "a", "route", "created", "for", "the", "given", "name"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/enricher/standard/src/main/java/io/fabric8/maven/enricher/standard/openshift/RouteEnricher.java#L111-L124", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/util/MavenUtil.java", "func_name": "MavenUtil.hasResource", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if any of the given resources could be found on the given class loader", "docstring_tokens": ["Returns", "true", "if", "any", "of", "the", "given", "resources", "could", "be", "found", "on", "the", "given", "class", "loader"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/util/MavenUtil.java#L196-L208", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/util/kubernetes/KubernetesResourceUtil.java", "func_name": "KubernetesResourceUtil.readAndEnrichFragment", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read fragment and add default values", "docstring_tokens": ["Read", "fragment", "and", "add", "default", "values"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/util/kubernetes/KubernetesResourceUtil.java#L221-L266", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/util/kubernetes/KubernetesResourceUtil.java", "func_name": "KubernetesResourceUtil.convertToEnvVarList", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert a map of env vars to a list of K8s EnvVar objects.\n@param envVars the name-value map containing env vars which must not be null\n@return list of converted env vars", "docstring_tokens": ["Convert", "a", "map", "of", "env", "vars", "to", "a", "list", "of", "K8s", "EnvVar", "objects", "."], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/util/kubernetes/KubernetesResourceUtil.java#L448-L460", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/util/kubernetes/KubernetesResourceUtil.java", "func_name": "KubernetesResourceUtil.mergeResources", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Merges the given resources together into a single resource.\n\nIf switchOnLocalCustomisation is false then the overrides from item2 are merged into item1\n\n@return the newly merged resources", "docstring_tokens": ["Merges", "the", "given", "resources", "together", "into", "a", "single", "resource", "."], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/util/kubernetes/KubernetesResourceUtil.java#L864-L875", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/util/kubernetes/KubernetesResourceUtil.java", "func_name": "KubernetesResourceUtil.mergeMapsAndRemoveEmptyStrings", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a merge of the given maps and then removes any resulting empty string values (which is the way to remove, say, a label or annotation\nwhen overriding", "docstring_tokens": ["Returns", "a", "merge", "of", "the", "given", "maps", "and", "then", "removes", "any", "resulting", "empty", "string", "values", "(", "which", "is", "the", "way", "to", "remove", "say", "a", "label", "or", "annotation", "when", "overriding"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/util/kubernetes/KubernetesResourceUtil.java#L986-L997", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/util/kubernetes/KubernetesResourceUtil.java", "func_name": "KubernetesResourceUtil.isLocalCustomisation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "we could also use an annotation?", "docstring_tokens": ["we", "could", "also", "use", "an", "annotation?"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/util/kubernetes/KubernetesResourceUtil.java#L1002-L1010", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "generator/api/src/main/java/io/fabric8/maven/generator/api/support/AbstractPortsExtractor.java", "func_name": "AbstractPortsExtractor.readConfig", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads the configuration from the file.\n@param f\n@return\n@throws IOException", "docstring_tokens": ["Reads", "the", "configuration", "from", "the", "file", "."], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/generator/api/src/main/java/io/fabric8/maven/generator/api/support/AbstractPortsExtractor.java#L122-L136", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "generator/api/src/main/java/io/fabric8/maven/generator/api/support/AbstractPortsExtractor.java", "func_name": "AbstractPortsExtractor.addPortIfValid", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a port to the list.\n@param map The list.\n@param key The key.\n@param port The candidate port.", "docstring_tokens": ["Adds", "a", "port", "to", "the", "list", "."], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/generator/api/src/main/java/io/fabric8/maven/generator/api/support/AbstractPortsExtractor.java#L195-L202", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "enricher/api/src/main/java/io/fabric8/maven/enricher/api/MavenEnricherContext.java", "func_name": "MavenEnricherContext.getDockerJsonConfigString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Method used in MOJO", "docstring_tokens": ["Method", "used", "in", "MOJO"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/enricher/api/src/main/java/io/fabric8/maven/enricher/api/MavenEnricherContext.java#L155-L173", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/model/Configuration.java", "func_name": "Configuration.getPluginConfiguration", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets plugin configuration values. Since there can be inner values,\nit returns a Map of Objects where an Object can be a\nsimple type, List or another Map.\n\n@param system the underlying build platform (e.g. \"maven\")\n@param id which plugin configuration to pick\n@return configuration map specific to this id", "docstring_tokens": ["Gets", "plugin", "configuration", "values", ".", "Since", "there", "can", "be", "inner", "values", "it", "returns", "a", "Map", "of", "Objects", "where", "an", "Object", "can", "be", "a", "simple", "type", "List", "or", "another", "Map", "."], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/model/Configuration.java#L85-L87", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/model/Configuration.java", "func_name": "Configuration.getSecretConfiguration", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets configuration values. Since there can be inner values,\nit returns a Map of Objects where an Object can be a\nsimple type, List or another Map.\n\n@param id id specific to the secret store\n@return configuration map specific to this id", "docstring_tokens": ["Gets", "configuration", "values", ".", "Since", "there", "can", "be", "inner", "values", "it", "returns", "a", "Map", "of", "Objects", "where", "an", "Object", "can", "be", "a", "simple", "type", "List", "or", "another", "Map", "."], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/model/Configuration.java#L97-L99", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/util/IoUtil.java", "func_name": "IoUtil.download", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Download with showing the progress a given URL and store it in a file\n@param log logger used to track progress\n@param downloadUrl url to download\n@param target target file where to store the downloaded data\n@throws MojoExecutionException", "docstring_tokens": ["Download", "with", "showing", "the", "progress", "a", "given", "URL", "and", "store", "it", "in", "a", "file"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/util/IoUtil.java#L50-L86", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/util/VersionUtil.java", "func_name": "VersionUtil.compareVersions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compares two version strings such that \"1.10.1\" > \"1.4\" etc", "docstring_tokens": ["Compares", "two", "version", "strings", "such", "that", "1", ".", "10", ".", "1", ">", "1", ".", "4", "etc"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/util/VersionUtil.java#L26-L56", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/util/ProfileUtil.java", "func_name": "ProfileUtil.blendProfileWithConfiguration", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find an enricher or generator config, possibly via a profile and merge it with a given configuration.\n\n@param configExtractor how to extract the config from a profile when found\n@param profile the profile name (can be null, then no profile is used)\n@param resourceDir resource directory where to lookup the profile (in addition to a classpath lookup)\n@return the merged configuration which can be empty if no profile is given\n@param config the provided configuration\n@throws IOException", "docstring_tokens": ["Find", "an", "enricher", "or", "generator", "config", "possibly", "via", "a", "profile", "and", "merge", "it", "with", "a", "given", "configuration", "."], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/util/ProfileUtil.java#L108-L116", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/util/ProfileUtil.java", "func_name": "ProfileUtil.lookup", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Lookup profiles from a given directory and merge it with a profile of the\nsame name found in the classpath\n\n@param name name of the profile to lookup\n@param directory directory to lookup\n@return Profile found or null\n@throws IOException if somethings fails during lookup", "docstring_tokens": ["Lookup", "profiles", "from", "a", "given", "directory", "and", "merge", "it", "with", "a", "profile", "of", "the", "same", "name", "found", "in", "the", "classpath"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/util/ProfileUtil.java#L128-L145", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/util/ProfileUtil.java", "func_name": "ProfileUtil.readProfileFromClasspath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read all default profiles first, then merge in custom profiles found on the classpath", "docstring_tokens": ["Read", "all", "default", "profiles", "first", "then", "merge", "in", "custom", "profiles", "found", "on", "the", "classpath"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/util/ProfileUtil.java#L170-L175", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/util/ProfileUtil.java", "func_name": "ProfileUtil.readAllFromClasspath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read all profiles found in the classpath.\n\n@param name name of the profile to lookup\n@param ext to use (e.g. 'default' for checking 'profile-default.yml'. Can also be null or empty.\n@return all profiles with this name stored in files with this extension\n\n@throws IOException if reading of a profile fails", "docstring_tokens": ["Read", "all", "profiles", "found", "in", "the", "classpath", "."], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/util/ProfileUtil.java#L186-L198", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/util/ProfileUtil.java", "func_name": "ProfileUtil.findProfileYaml", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "check for various variations of profile files", "docstring_tokens": ["check", "for", "various", "variations", "of", "profile", "files"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/util/ProfileUtil.java#L203-L211", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/util/ProfileUtil.java", "func_name": "ProfileUtil.getMetaInfProfilePaths", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "prepend meta-inf location", "docstring_tokens": ["prepend", "meta", "-", "inf", "location"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/util/ProfileUtil.java#L214-L220", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/util/ProfileUtil.java", "func_name": "ProfileUtil.fromYaml", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Load a profile from an input stream. This must be in YAML format\n\n@param is inputstream to read the profile from\n@return the de-serialized profile\n@throws IOException if deserialization fails", "docstring_tokens": ["Load", "a", "profile", "from", "an", "input", "stream", ".", "This", "must", "be", "in", "YAML", "format"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/util/ProfileUtil.java#L233-L236", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "enricher/standard/src/main/java/io/fabric8/maven/enricher/standard/DefaultControllerEnricher.java", "func_name": "DefaultControllerEnricher.getImagePullPolicy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method overrides the ImagePullPolicy value by the value provided in\nXML config.\n\n@param resourceConfig\n@param defaultValue\n@return", "docstring_tokens": ["This", "method", "overrides", "the", "ImagePullPolicy", "value", "by", "the", "value", "provided", "in", "XML", "config", "."], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/enricher/standard/src/main/java/io/fabric8/maven/enricher/standard/DefaultControllerEnricher.java#L193-L198", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "enricher/api/src/main/java/io/fabric8/maven/enricher/api/BaseEnricher.java", "func_name": "BaseEnricher.isOpenShiftMode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if we are in OpenShift S2I binary building mode", "docstring_tokens": ["Returns", "true", "if", "we", "are", "in", "OpenShift", "S2I", "binary", "building", "mode"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/enricher/api/src/main/java/io/fabric8/maven/enricher/api/BaseEnricher.java#L112-L118", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "enricher/api/src/main/java/io/fabric8/maven/enricher/api/BaseEnricher.java", "func_name": "BaseEnricher.getReplicaCount", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method just makes sure that the replica count provided in XML config\noverrides the default option; and resource fragments are always given\ntopmost priority.\n\n@param builder\n@param xmlResourceConfig\n@param defaultValue\n@return resolved replica count", "docstring_tokens": ["This", "method", "just", "makes", "sure", "that", "the", "replica", "count", "provided", "in", "XML", "config", "overrides", "the", "default", "option", ";", "and", "resource", "fragments", "are", "always", "given", "topmost", "priority", "."], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/enricher/api/src/main/java/io/fabric8/maven/enricher/api/BaseEnricher.java#L172-L190", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/util/XmlUtils.java", "func_name": "XmlUtils.firstChild", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the first child element for the given name", "docstring_tokens": ["Returns", "the", "first", "child", "element", "for", "the", "given", "name"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/util/XmlUtils.java#L75-L90", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/service/ApplyService.java", "func_name": "ApplyService.installTemplate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Installs the template into the namespace without processing it", "docstring_tokens": ["Installs", "the", "template", "into", "the", "namespace", "without", "processing", "it"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/service/ApplyService.java#L260-L299", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/service/ApplyService.java", "func_name": "ApplyService.removeTagByName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes all the tags with the given name\n@return the number of tags removed", "docstring_tokens": ["Removes", "all", "the", "tags", "with", "the", "given", "name"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/service/ApplyService.java#L751-L760", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/service/ApplyService.java", "func_name": "ApplyService.applyNamespace", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if the namespace is created", "docstring_tokens": ["Returns", "true", "if", "the", "namespace", "is", "created"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/service/ApplyService.java#L956-L972", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/service/ApplyService.java", "func_name": "ApplyService.applyProject", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates and return a project in openshift\n@param project\n@return", "docstring_tokens": ["Creates", "and", "return", "a", "project", "in", "openshift"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/service/ApplyService.java#L979-L983", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/service/ApplyService.java", "func_name": "ApplyService.applyProjectRequest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if the ProjectRequest is created", "docstring_tokens": ["Returns", "true", "if", "the", "ProjectRequest", "is", "created"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/service/ApplyService.java#L988-L1010", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/service/ApplyService.java", "func_name": "ApplyService.getNamespace", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the namespace defined in the entity or the configured namespace", "docstring_tokens": ["Returns", "the", "namespace", "defined", "in", "the", "entity", "or", "the", "configured", "namespace"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/service/ApplyService.java#L1142-L1150", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/service/ApplyService.java", "func_name": "ApplyService.onApplyError", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Logs an error applying some JSON to Kubernetes and optionally throws an exception", "docstring_tokens": ["Logs", "an", "error", "applying", "some", "JSON", "to", "Kubernetes", "and", "optionally", "throws", "an", "exception"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/service/ApplyService.java#L1191-L1194", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "enricher/standard/src/main/java/io/fabric8/maven/enricher/standard/DefaultNamespaceEnricher.java", "func_name": "DefaultNamespaceEnricher.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method will create a default Namespace or Project if a namespace property is\nspecified in the xml resourceConfig or as a parameter to a mojo.\n@param platformMode\n@param builder", "docstring_tokens": ["This", "method", "will", "create", "a", "default", "Namespace", "or", "Project", "if", "a", "namespace", "property", "is", "specified", "in", "the", "xml", "resourceConfig", "or", "as", "a", "parameter", "to", "a", "mojo", "."], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/enricher/standard/src/main/java/io/fabric8/maven/enricher/standard/DefaultNamespaceEnricher.java#L65-L90", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "enricher/standard/src/main/java/io/fabric8/maven/enricher/standard/DefaultNamespaceEnricher.java", "func_name": "DefaultNamespaceEnricher.enrich", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method will annotate all the items in the KubernetesListBuilder with the\ncreated new namespace or project.\n@param platformMode\n@param builder", "docstring_tokens": ["This", "method", "will", "annotate", "all", "the", "items", "in", "the", "KubernetesListBuilder", "with", "the", "created", "new", "namespace", "or", "project", "."], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/enricher/standard/src/main/java/io/fabric8/maven/enricher/standard/DefaultNamespaceEnricher.java#L98-L145", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "generator/java-exec/src/main/java/io/fabric8/maven/generator/javaexec/JavaExecGenerator.java", "func_name": "JavaExecGenerator.getEnv", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Hook for adding extra environment vars\n\n@return map with environment variables to use\n@param prePackagePhase", "docstring_tokens": ["Hook", "for", "adding", "extra", "environment", "vars"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/generator/java-exec/src/main/java/io/fabric8/maven/generator/javaexec/JavaExecGenerator.java#L147-L169", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "enricher/api/src/main/java/io/fabric8/maven/enricher/api/util/GoTimeUtil.java", "func_name": "GoTimeUtil.durationSeconds", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses a duration string anr returns its value in seconds.", "docstring_tokens": ["Parses", "a", "duration", "string", "anr", "returns", "its", "value", "in", "seconds", "."], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/enricher/api/src/main/java/io/fabric8/maven/enricher/api/util/GoTimeUtil.java#L34-L45", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "enricher/api/src/main/java/io/fabric8/maven/enricher/api/util/GoTimeUtil.java", "func_name": "GoTimeUtil.durationNs", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses a duration string anr returns its value in nanoseconds.", "docstring_tokens": ["Parses", "a", "duration", "string", "anr", "returns", "its", "value", "in", "nanoseconds", "."], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/enricher/api/src/main/java/io/fabric8/maven/enricher/api/util/GoTimeUtil.java#L50-L94", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "generator/webapp/src/main/java/io/fabric8/maven/generator/webapp/handler/AbstractAppServerHandler.java", "func_name": "AbstractAppServerHandler.scanFiles", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Scan the project's output directory for certain files.\n\n@param patterns one or more patterns which fit to Maven's include syntax\n@return list of files found", "docstring_tokens": ["Scan", "the", "project", "s", "output", "directory", "for", "certain", "files", "."], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/generator/webapp/src/main/java/io/fabric8/maven/generator/webapp/handler/AbstractAppServerHandler.java#L51-L63", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "plugin/src/main/java/io/fabric8/maven/plugin/mojo/build/ApplyMojo.java", "func_name": "ApplyMojo.disableOpenShiftFeatures", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Lets disable OpenShift-only features if we are not running on OpenShift", "docstring_tokens": ["Lets", "disable", "OpenShift", "-", "only", "features", "if", "we", "are", "not", "running", "on", "OpenShift"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/plugin/src/main/java/io/fabric8/maven/plugin/mojo/build/ApplyMojo.java#L540-L545", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "plugin/src/main/java/io/fabric8/maven/plugin/mojo/build/ApplyMojo.java", "func_name": "ApplyMojo.serviceHasIngressRule", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if there is an existing ingress rule for the given service", "docstring_tokens": ["Returns", "true", "if", "there", "is", "an", "existing", "ingress", "rule", "for", "the", "given", "service"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/plugin/src/main/java/io/fabric8/maven/plugin/mojo/build/ApplyMojo.java#L618-L650", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/util/PropertiesMappingParser.java", "func_name": "PropertiesMappingParser.parse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method reads properties file to load custom mapping between kinds and filenames.\n\n

\nConfigMap=cm, configmap\nService=service\n
\n\n@param mapping\nstream of a properties file setting mappings between kinds and filenames.\n\n@return Serialization of all elements as a map", "docstring_tokens": ["This", "method", "reads", "properties", "file", "to", "load", "custom", "mapping", "between", "kinds", "and", "filenames", "."], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/util/PropertiesMappingParser.java#L42-L66", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "plugin/src/main/java/io/fabric8/maven/plugin/mojo/build/BuildMojo.java", "func_name": "BuildMojo.getGeneratorContext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get generator context", "docstring_tokens": ["Get", "generator", "context"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/plugin/src/main/java/io/fabric8/maven/plugin/mojo/build/BuildMojo.java#L356-L366", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "plugin/src/main/java/io/fabric8/maven/plugin/mojo/build/BuildMojo.java", "func_name": "BuildMojo.extractGeneratorConfig", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get generator config", "docstring_tokens": ["Get", "generator", "config"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/plugin/src/main/java/io/fabric8/maven/plugin/mojo/build/BuildMojo.java#L379-L385", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "plugin/src/main/java/io/fabric8/maven/plugin/mojo/build/BuildMojo.java", "func_name": "BuildMojo.getEnricherContext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get enricher context", "docstring_tokens": ["Get", "enricher", "context"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/plugin/src/main/java/io/fabric8/maven/plugin/mojo/build/BuildMojo.java#L388-L398", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "plugin/src/main/java/io/fabric8/maven/plugin/mojo/build/BuildMojo.java", "func_name": "BuildMojo.extractEnricherConfig", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get enricher config", "docstring_tokens": ["Get", "enricher", "config"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/plugin/src/main/java/io/fabric8/maven/plugin/mojo/build/BuildMojo.java#L401-L407", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "enricher/deprecated/src/main/java/io/fabric8/maven/enricher/deprecated/IconEnricher.java", "func_name": "IconEnricher.getDefaultIconRef", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Lets use the project and its classpath to try figure out what default icon to use\n\n@return the icon ref if we can detect one or return null", "docstring_tokens": ["Lets", "use", "the", "project", "and", "its", "classpath", "to", "try", "figure", "out", "what", "default", "icon", "to", "use"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/enricher/deprecated/src/main/java/io/fabric8/maven/enricher/deprecated/IconEnricher.java#L212-L244", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "enricher/deprecated/src/main/java/io/fabric8/maven/enricher/deprecated/IconEnricher.java", "func_name": "IconEnricher.copyAppConfigFiles", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copies any local configuration files into the app directory", "docstring_tokens": ["Copies", "any", "local", "configuration", "files", "into", "the", "app", "directory"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/enricher/deprecated/src/main/java/io/fabric8/maven/enricher/deprecated/IconEnricher.java#L302-L315", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/util/SpringBootUtil.java", "func_name": "SpringBootUtil.getPropertiesResource", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the given properties resource on the project classpath if found or an empty properties object if not", "docstring_tokens": ["Returns", "the", "given", "properties", "resource", "on", "the", "project", "classpath", "if", "found", "or", "an", "empty", "properties", "object", "if", "not"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/util/SpringBootUtil.java#L58-L68", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/util/SpringBootUtil.java", "func_name": "SpringBootUtil.getSpringBootVersion", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determine the spring-boot major version for the current project", "docstring_tokens": ["Determine", "the", "spring", "-", "boot", "major", "version", "for", "the", "current", "project"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/util/SpringBootUtil.java#L80-L82", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/util/PluginServiceFactory.java", "func_name": "PluginServiceFactory.createServiceObjects", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a list of services ordered according to the ordering given in the\nservice descriptor files. Note, that the descriptor will be looked up\nin the whole classpath space, which can result in reading in multiple\ndescriptors with a single path. Note, that the reading order for multiple\nresources with the same name is not defined.\n\n@param descriptorPaths a list of resource paths which are handle in the given order.\nNormally, default service should be given as first parameter so that custom\ndescriptors have a chance to remove a default service.\n@param type of the service objects to create\n@return a ordered list of created services or an empty list.", "docstring_tokens": ["Create", "a", "list", "of", "services", "ordered", "according", "to", "the", "ordering", "given", "in", "the", "service", "descriptor", "files", ".", "Note", "that", "the", "descriptor", "will", "be", "looked", "up", "in", "the", "whole", "classpath", "space", "which", "can", "result", "in", "reading", "in", "multiple", "descriptors", "with", "a", "single", "path", ".", "Note", "that", "the", "reading", "order", "for", "multiple", "resources", "with", "the", "same", "name", "is", "not", "defined", "."], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/util/PluginServiceFactory.java#L75-L90", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "plugin/src/main/java/io/fabric8/maven/plugin/enricher/EnricherManager.java", "func_name": "EnricherManager.enrich", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Allow enricher to add Metadata to the resources.\n\n@param builder builder to customize\n@param enricherList list of enrichers", "docstring_tokens": ["Allow", "enricher", "to", "add", "Metadata", "to", "the", "resources", "."], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/plugin/src/main/java/io/fabric8/maven/plugin/enricher/EnricherManager.java#L92-L97", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "enricher/api/src/main/java/io/fabric8/maven/enricher/api/EnricherConfig.java", "func_name": "EnricherConfig.getRawConfig", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the raw, untyped configuration or an empty map\n@return raw configuration.", "docstring_tokens": ["Get", "the", "raw", "untyped", "configuration", "or", "an", "empty", "map"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/enricher/api/src/main/java/io/fabric8/maven/enricher/api/EnricherConfig.java#L54-L56", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/util/YamlUtil.java", "func_name": "YamlUtil.getFlattenedMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Build a flattened representation of the Yaml tree. The conversion is compliant with the thorntail spring-boot rules.", "docstring_tokens": ["Build", "a", "flattened", "representation", "of", "the", "Yaml", "tree", ".", "The", "conversion", "is", "compliant", "with", "the", "thorntail", "spring", "-", "boot", "rules", "."], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/util/YamlUtil.java#L56-L60", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "plugin/src/main/java/io/fabric8/maven/plugin/mojo/develop/WatchMojo.java", "func_name": "WatchMojo.extractWatcherConfig", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get watcher config", "docstring_tokens": ["Get", "watcher", "config"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/plugin/src/main/java/io/fabric8/maven/plugin/mojo/develop/WatchMojo.java#L273-L279", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "plugin/src/main/java/io/fabric8/maven/plugin/mojo/build/ResourceMojo.java", "func_name": "ResourceMojo.getSingletonTemplate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the Template if the list contains a single Template only otherwise returns null", "docstring_tokens": ["Returns", "the", "Template", "if", "the", "list", "contains", "a", "single", "Template", "only", "otherwise", "returns", "null"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/plugin/src/main/java/io/fabric8/maven/plugin/mojo/build/ResourceMojo.java#L291-L303", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "plugin/src/main/java/io/fabric8/maven/plugin/mojo/build/ResourceMojo.java", "func_name": "ResourceMojo.getBuildReferenceDate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "get a reference date", "docstring_tokens": ["get", "a", "reference", "date"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/plugin/src/main/java/io/fabric8/maven/plugin/mojo/build/ResourceMojo.java#L625-L636", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "generator/api/src/main/java/io/fabric8/maven/generator/api/GeneratorConfig.java", "func_name": "GeneratorConfig.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a config value with a default\n@param key key part to lookup. The whole key is build up from prefix + \".\" + key. If key is null,\nthen only the prefix is used for the lookup (this is suitable for enrichers having only one config option)\n@param defaultVal the default value to use when the no config is set\n@return the value looked up or the default value.", "docstring_tokens": ["Get", "a", "config", "value", "with", "a", "default"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/generator/api/src/main/java/io/fabric8/maven/generator/api/GeneratorConfig.java#L56-L64", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/config/ProcessorConfig.java", "func_name": "ProcessorConfig.getConfigMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return full configuration as raw string-string values\n\n@param name name of the enricher / generator\n@return unmodifiable map of the original config", "docstring_tokens": ["Return", "full", "configuration", "as", "raw", "string", "-", "string", "values"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/config/ProcessorConfig.java#L84-L88", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "core/src/main/java/io/fabric8/maven/core/config/ProcessorConfig.java", "func_name": "ProcessorConfig.prepareProcessors", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Order elements according to the order provided by the include statements.\nIf no includes has been configured, return the given list unaltered.\nOtherwise arrange the elements from the list in to the include order and return a new\nlist.\n\nIf an include specifies an element which does not exist, an exception is thrown.\n\n@param namedList the list to order\n@param type a description used in an error message (like 'generator' or 'enricher')\n@param the concrete type\n@return the ordered list according to the algorithm described above\n@throws IllegalArgumentException if the includes reference an non existing element", "docstring_tokens": ["Order", "elements", "according", "to", "the", "order", "provided", "by", "the", "include", "statements", ".", "If", "no", "includes", "has", "been", "configured", "return", "the", "given", "list", "unaltered", ".", "Otherwise", "arrange", "the", "elements", "from", "the", "list", "in", "to", "the", "include", "order", "and", "return", "a", "new", "list", "."], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/core/src/main/java/io/fabric8/maven/core/config/ProcessorConfig.java#L104-L126", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "generator/api/src/main/java/io/fabric8/maven/generator/api/support/BaseGenerator.java", "func_name": "BaseGenerator.addFrom", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add the base image either from configuration or from a given selector\n\n@param builder for the build image configuration to add the from to.", "docstring_tokens": ["Add", "the", "base", "image", "either", "from", "configuration", "or", "from", "a", "given", "selector"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/generator/api/src/main/java/io/fabric8/maven/generator/api/support/BaseGenerator.java#L113-L154", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "generator/api/src/main/java/io/fabric8/maven/generator/api/support/BaseGenerator.java", "func_name": "BaseGenerator.getFromModeDefault", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Use \"istag\" as default for \"redhat\" versions of this plugin", "docstring_tokens": ["Use", "istag", "as", "default", "for", "redhat", "versions", "of", "this", "plugin"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/generator/api/src/main/java/io/fabric8/maven/generator/api/support/BaseGenerator.java#L157-L163", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "generator/api/src/main/java/io/fabric8/maven/generator/api/support/BaseGenerator.java", "func_name": "BaseGenerator.getImageName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get Image name with a standard default\n\n@return Docker image name which is never null", "docstring_tokens": ["Get", "Image", "name", "with", "a", "standard", "default"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/generator/api/src/main/java/io/fabric8/maven/generator/api/support/BaseGenerator.java#L170-L176", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "generator/api/src/main/java/io/fabric8/maven/generator/api/support/BaseGenerator.java", "func_name": "BaseGenerator.getRegistry", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the docker registry where the image should be located.\nIt returns null in Openshift mode.\n\n@return The docker registry if configured", "docstring_tokens": ["Get", "the", "docker", "registry", "where", "the", "image", "should", "be", "located", ".", "It", "returns", "null", "in", "Openshift", "mode", "."], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/generator/api/src/main/java/io/fabric8/maven/generator/api/support/BaseGenerator.java#L184-L190", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "enricher/deprecated/src/main/java/io/fabric8/maven/enricher/deprecated/AbstractLiveEnricher.java", "func_name": "AbstractLiveEnricher.isOnline", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if in offline mode, \"false\" if not speciied.\nCan be overriden by", "docstring_tokens": ["Returns", "true", "if", "in", "offline", "mode", "false", "if", "not", "speciied", ".", "Can", "be", "overriden", "by"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/enricher/deprecated/src/main/java/io/fabric8/maven/enricher/deprecated/AbstractLiveEnricher.java#L51-L58", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "enricher/deprecated/src/main/java/io/fabric8/maven/enricher/deprecated/AbstractLiveEnricher.java", "func_name": "AbstractLiveEnricher.getExternalServiceURL", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the external access to the given service name\n\n@param serviceName name of the service\n@param protocol URL protocol such as http", "docstring_tokens": ["Returns", "the", "external", "access", "to", "the", "given", "service", "name"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/enricher/deprecated/src/main/java/io/fabric8/maven/enricher/deprecated/AbstractLiveEnricher.java#L76-L113", "partition": "test"} +{"repo": "fabric8io/fabric8-maven-plugin", "path": "enricher/deprecated/src/main/java/io/fabric8/maven/enricher/deprecated/AbstractLiveEnricher.java", "func_name": "AbstractLiveEnricher.asBooleanFromGlobalProp", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check a global prop from the project or system props", "docstring_tokens": ["Check", "a", "global", "prop", "from", "the", "project", "or", "system", "props"], "sha": "b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3", "url": "https://github.com/fabric8io/fabric8-maven-plugin/blob/b0e7ad860a5bbe4ab71be3d0613862a1f14a8be3/enricher/deprecated/src/main/java/io/fabric8/maven/enricher/deprecated/AbstractLiveEnricher.java#L138-L144", "partition": "test"} +{"repo": "VanRoy/spring-data-jest", "path": "spring-boot-starter-data-jest/src/main/java/com/github/vanroy/springboot/autoconfigure/data/jest/ElasticsearchJestAutoConfiguration.java", "func_name": "ElasticsearchJestAutoConfiguration.createJestClient", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create Jest client with URI\n@param uri URI of Elasticsearch\n@return JestClient", "docstring_tokens": ["Create", "Jest", "client", "with", "URI"], "sha": "e6bcce1a49696aba34b02244bde74f85575c2c12", "url": "https://github.com/VanRoy/spring-data-jest/blob/e6bcce1a49696aba34b02244bde74f85575c2c12/spring-boot-starter-data-jest/src/main/java/com/github/vanroy/springboot/autoconfigure/data/jest/ElasticsearchJestAutoConfiguration.java#L109-L139", "partition": "test"} +{"repo": "VanRoy/spring-data-jest", "path": "spring-boot-starter-data-jest/src/main/java/com/github/vanroy/springboot/autoconfigure/data/jest/ElasticsearchJestAutoConfiguration.java", "func_name": "ElasticsearchJestAutoConfiguration.createInternalNode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create internal Elasticsearch node.\n@return HTTP port of node", "docstring_tokens": ["Create", "internal", "Elasticsearch", "node", "."], "sha": "e6bcce1a49696aba34b02244bde74f85575c2c12", "url": "https://github.com/VanRoy/spring-data-jest/blob/e6bcce1a49696aba34b02244bde74f85575c2c12/spring-boot-starter-data-jest/src/main/java/com/github/vanroy/springboot/autoconfigure/data/jest/ElasticsearchJestAutoConfiguration.java#L145-L169", "partition": "test"} +{"repo": "VanRoy/spring-data-jest", "path": "spring-boot-starter-data-jest/src/main/java/com/github/vanroy/springboot/autoconfigure/data/jest/ElasticsearchJestAutoConfiguration.java", "func_name": "ElasticsearchJestAutoConfiguration.scanPlugins", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "List all official ES plugins available on ClassPath.\n@return List of plugins class", "docstring_tokens": ["List", "all", "official", "ES", "plugins", "available", "on", "ClassPath", "."], "sha": "e6bcce1a49696aba34b02244bde74f85575c2c12", "url": "https://github.com/VanRoy/spring-data-jest/blob/e6bcce1a49696aba34b02244bde74f85575c2c12/spring-boot-starter-data-jest/src/main/java/com/github/vanroy/springboot/autoconfigure/data/jest/ElasticsearchJestAutoConfiguration.java#L175-L191", "partition": "test"} +{"repo": "braintree/braintree_android", "path": "Braintree/src/main/java/com/braintreepayments/api/models/AmericanExpressRewardsBalance.java", "func_name": "AmericanExpressRewardsBalance.fromJson", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Used to parse a response from the Braintree Gateway to be used for American Express rewards balance.\n\n@param jsonString The json response from the Braintree Gateway American Express rewards balance route.\n@return The {@link com.braintreepayments.api.models.AmericanExpressRewardsBalance} with rewards balance data.\n@throws JSONException when parsing fails.", "docstring_tokens": ["Used", "to", "parse", "a", "response", "from", "the", "Braintree", "Gateway", "to", "be", "used", "for", "American", "Express", "rewards", "balance", "."], "sha": "07b32e6fad73f9fb8432971b0e79fc8c94b11873", "url": "https://github.com/braintree/braintree_android/blob/07b32e6fad73f9fb8432971b0e79fc8c94b11873/Braintree/src/main/java/com/braintreepayments/api/models/AmericanExpressRewardsBalance.java#L43-L62", "partition": "test"} +{"repo": "braintree/braintree_android", "path": "Braintree/src/main/java/com/braintreepayments/api/AmericanExpress.java", "func_name": "AmericanExpress.getRewardsBalance", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the rewards balance associated with a Braintree nonce. Only for American Express cards.\n\n@param fragment the {@link BraintreeFragment} This fragment will also be responsible\nfor handling callbacks to it's listeners\n@param nonce A nonce representing a card that will be used to look up the rewards balance\n@param currencyIsoCode The currencyIsoCode to use. Example: 'USD'", "docstring_tokens": ["Gets", "the", "rewards", "balance", "associated", "with", "a", "Braintree", "nonce", ".", "Only", "for", "American", "Express", "cards", "."], "sha": "07b32e6fad73f9fb8432971b0e79fc8c94b11873", "url": "https://github.com/braintree/braintree_android/blob/07b32e6fad73f9fb8432971b0e79fc8c94b11873/Braintree/src/main/java/com/braintreepayments/api/AmericanExpress.java#L28-L61", "partition": "test"} +{"repo": "braintree/braintree_android", "path": "Braintree/src/main/java/com/braintreepayments/api/models/PayPalPaymentResource.java", "func_name": "PayPalPaymentResource.fromJson", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a PayPalPaymentResource from a jsonString. Checks for keys associated with\nSingle Payment and Billing Agreement flows.\n\n@param jsonString a valid JSON string representing the payment resource\n@return a PayPal payment resource\n@throws JSONException", "docstring_tokens": ["Create", "a", "PayPalPaymentResource", "from", "a", "jsonString", ".", "Checks", "for", "keys", "associated", "with", "Single", "Payment", "and", "Billing", "Agreement", "flows", "."], "sha": "07b32e6fad73f9fb8432971b0e79fc8c94b11873", "url": "https://github.com/braintree/braintree_android/blob/07b32e6fad73f9fb8432971b0e79fc8c94b11873/Braintree/src/main/java/com/braintreepayments/api/models/PayPalPaymentResource.java#L42-L54", "partition": "test"} +{"repo": "braintree/braintree_android", "path": "Braintree/src/main/java/com/braintreepayments/api/internal/BraintreeHttpClient.java", "func_name": "BraintreeHttpClient.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make a HTTP GET request to Braintree using the base url, path and authorization provided.\nIf the path is a full url, it will be used instead of the previously provided url.\n\n@param path The path or url to request from the server via GET\n@param callback The {@link HttpResponseCallback} to receive the response or error.", "docstring_tokens": ["Make", "a", "HTTP", "GET", "request", "to", "Braintree", "using", "the", "base", "url", "path", "and", "authorization", "provided", ".", "If", "the", "path", "is", "a", "full", "url", "it", "will", "be", "used", "instead", "of", "the", "previously", "provided", "url", "."], "sha": "07b32e6fad73f9fb8432971b0e79fc8c94b11873", "url": "https://github.com/braintree/braintree_android/blob/07b32e6fad73f9fb8432971b0e79fc8c94b11873/Braintree/src/main/java/com/braintreepayments/api/internal/BraintreeHttpClient.java#L58-L80", "partition": "test"} +{"repo": "braintree/braintree_android", "path": "Braintree/src/main/java/com/braintreepayments/api/internal/BraintreeHttpClient.java", "func_name": "BraintreeHttpClient.post", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make a HTTP POST request to Braintree using the base url, path and authorization provided.\nIf the path is a full url, it will be used instead of the previously provided url.\n\n@param path The path or url to request from the server via HTTP POST\n@param data The body of the POST request\n@param callback The {@link HttpResponseCallback} to receive the response or error.", "docstring_tokens": ["Make", "a", "HTTP", "POST", "request", "to", "Braintree", "using", "the", "base", "url", "path", "and", "authorization", "provided", ".", "If", "the", "path", "is", "a", "full", "url", "it", "will", "be", "used", "instead", "of", "the", "previously", "provided", "url", "."], "sha": "07b32e6fad73f9fb8432971b0e79fc8c94b11873", "url": "https://github.com/braintree/braintree_android/blob/07b32e6fad73f9fb8432971b0e79fc8c94b11873/Braintree/src/main/java/com/braintreepayments/api/internal/BraintreeHttpClient.java#L90-L104", "partition": "test"} +{"repo": "braintree/braintree_android", "path": "Braintree/src/main/java/com/braintreepayments/api/models/VenmoConfiguration.java", "func_name": "VenmoConfiguration.fromJson", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses the Venmo configuration from json.\n\n@param json The json to parse.\n@return A {@link VenmoConfiguration} instance with data that was able to be parsed from the\n{@link JSONObject}.", "docstring_tokens": ["Parses", "the", "Venmo", "configuration", "from", "json", "."], "sha": "07b32e6fad73f9fb8432971b0e79fc8c94b11873", "url": "https://github.com/braintree/braintree_android/blob/07b32e6fad73f9fb8432971b0e79fc8c94b11873/Braintree/src/main/java/com/braintreepayments/api/models/VenmoConfiguration.java#L33-L44", "partition": "test"} +{"repo": "braintree/braintree_android", "path": "Braintree/src/main/java/com/braintreepayments/api/DataCollector.java", "func_name": "DataCollector.collectDeviceData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Collect device information for fraud identification purposes.\n\n@param fragment {@link BraintreeFragment}\n@param listener to be called with the device data String to send to Braintree.", "docstring_tokens": ["Collect", "device", "information", "for", "fraud", "identification", "purposes", "."], "sha": "07b32e6fad73f9fb8432971b0e79fc8c94b11873", "url": "https://github.com/braintree/braintree_android/blob/07b32e6fad73f9fb8432971b0e79fc8c94b11873/Braintree/src/main/java/com/braintreepayments/api/DataCollector.java#L40-L42", "partition": "test"} +{"repo": "braintree/braintree_android", "path": "Braintree/src/main/java/com/braintreepayments/api/DataCollector.java", "func_name": "DataCollector.collectDeviceData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Collect device information for fraud identification purposes. This should be used in conjunction\nwith a non-aggregate fraud id.\n\n@param fragment {@link BraintreeFragment}\n@param merchantId The fraud merchant id from Braintree.\n@param listener listener to be called with the device data String to send to Braintree.", "docstring_tokens": ["Collect", "device", "information", "for", "fraud", "identification", "purposes", ".", "This", "should", "be", "used", "in", "conjunction", "with", "a", "non", "-", "aggregate", "fraud", "id", "."], "sha": "07b32e6fad73f9fb8432971b0e79fc8c94b11873", "url": "https://github.com/braintree/braintree_android/blob/07b32e6fad73f9fb8432971b0e79fc8c94b11873/Braintree/src/main/java/com/braintreepayments/api/DataCollector.java#L52-L95", "partition": "test"} +{"repo": "braintree/braintree_android", "path": "Braintree/src/main/java/com/braintreepayments/api/DataCollector.java", "func_name": "DataCollector.collectPayPalDeviceData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Collect PayPal device information for fraud identification purposes.\n\n@param fragment {@link BraintreeFragment}\n@param listener listener to be called with the device data String to send to Braintree.", "docstring_tokens": ["Collect", "PayPal", "device", "information", "for", "fraud", "identification", "purposes", "."], "sha": "07b32e6fad73f9fb8432971b0e79fc8c94b11873", "url": "https://github.com/braintree/braintree_android/blob/07b32e6fad73f9fb8432971b0e79fc8c94b11873/Braintree/src/main/java/com/braintreepayments/api/DataCollector.java#L103-L114", "partition": "test"} +{"repo": "braintree/braintree_android", "path": "Braintree/src/main/java/com/braintreepayments/api/DataCollector.java", "func_name": "DataCollector.getPayPalClientMetadataId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Collect device information for fraud identification purposes from PayPal only.\n\n@param context A valid {@link Context}\n@return The client metadata id associated with the collected data.", "docstring_tokens": ["Collect", "device", "information", "for", "fraud", "identification", "purposes", "from", "PayPal", "only", "."], "sha": "07b32e6fad73f9fb8432971b0e79fc8c94b11873", "url": "https://github.com/braintree/braintree_android/blob/07b32e6fad73f9fb8432971b0e79fc8c94b11873/Braintree/src/main/java/com/braintreepayments/api/DataCollector.java#L122-L132", "partition": "test"} +{"repo": "braintree/braintree_android", "path": "Core/src/main/java/com/braintreepayments/api/internal/SignatureVerification.java", "func_name": "SignatureVerification.isSignatureValid", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if an app has the correct, matching, signature. Used to prevent malicious apps from\nimpersonating other apps.\n\n@param context\n@param packageName the package name of the app to verify.\n@param certificateSubject the expected certificate subject of the app.\n@param certificateIssuer the expected certificate issuer of the app.\n@param publicKeyHashCode the hash code of the app's public key.\n@return true is signature is valid or signature verification has been disabled.", "docstring_tokens": ["Check", "if", "an", "app", "has", "the", "correct", "matching", "signature", ".", "Used", "to", "prevent", "malicious", "apps", "from", "impersonating", "other", "apps", "."], "sha": "07b32e6fad73f9fb8432971b0e79fc8c94b11873", "url": "https://github.com/braintree/braintree_android/blob/07b32e6fad73f9fb8432971b0e79fc8c94b11873/Core/src/main/java/com/braintreepayments/api/internal/SignatureVerification.java#L34-L83", "partition": "test"} +{"repo": "braintree/braintree_android", "path": "Core/src/main/java/com/braintreepayments/api/Json.java", "func_name": "Json.optString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the value mapped by name if it exists, coercing it if necessary, or fallback if no such mapping exists.\n\nThis is a work around for http://code.google.com/p/android/issues/detail?id=13830 returning \"null\" if the json\nvalue is null.\n\n@param json\n@param name\n@param fallback\n@return {@link String}", "docstring_tokens": ["Returns", "the", "value", "mapped", "by", "name", "if", "it", "exists", "coercing", "it", "if", "necessary", "or", "fallback", "if", "no", "such", "mapping", "exists", "."], "sha": "07b32e6fad73f9fb8432971b0e79fc8c94b11873", "url": "https://github.com/braintree/braintree_android/blob/07b32e6fad73f9fb8432971b0e79fc8c94b11873/Core/src/main/java/com/braintreepayments/api/Json.java#L18-L24", "partition": "test"} +{"repo": "braintree/braintree_android", "path": "Braintree/src/main/java/com/braintreepayments/api/models/PaymentMethodNonce.java", "func_name": "PaymentMethodNonce.parsePaymentMethodNonces", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses a response from the Braintree gateway for a list of payment method nonces.\n\n@param jsonBody Json-formatted String containing a list of {@link PaymentMethodNonce}s\n@return List of {@link PaymentMethodNonce}s contained in jsonBody\n@throws JSONException", "docstring_tokens": ["Parses", "a", "response", "from", "the", "Braintree", "gateway", "for", "a", "list", "of", "payment", "method", "nonces", "."], "sha": "07b32e6fad73f9fb8432971b0e79fc8c94b11873", "url": "https://github.com/braintree/braintree_android/blob/07b32e6fad73f9fb8432971b0e79fc8c94b11873/Braintree/src/main/java/com/braintreepayments/api/models/PaymentMethodNonce.java#L82-L104", "partition": "test"} +{"repo": "braintree/braintree_android", "path": "PayPalOneTouch/src/main/java/com/paypal/android/sdk/onetouch/core/config/OtcConfiguration.java", "func_name": "OtcConfiguration.getBrowserCheckoutConfig", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the browser recipe that can handle checkout, or null if there is none.\n\n@return", "docstring_tokens": ["Returns", "the", "browser", "recipe", "that", "can", "handle", "checkout", "or", "null", "if", "there", "is", "none", "."], "sha": "07b32e6fad73f9fb8432971b0e79fc8c94b11873", "url": "https://github.com/braintree/braintree_android/blob/07b32e6fad73f9fb8432971b0e79fc8c94b11873/PayPalOneTouch/src/main/java/com/paypal/android/sdk/onetouch/core/config/OtcConfiguration.java#L41-L49", "partition": "test"} +{"repo": "braintree/braintree_android", "path": "PayPalOneTouch/src/main/java/com/paypal/android/sdk/onetouch/core/config/OtcConfiguration.java", "func_name": "OtcConfiguration.getBrowserBillingAgreementConfig", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the browser recipe that can handle billing agreement, or null if there is none.\n\n@return", "docstring_tokens": ["Returns", "the", "browser", "recipe", "that", "can", "handle", "billing", "agreement", "or", "null", "if", "there", "is", "none", "."], "sha": "07b32e6fad73f9fb8432971b0e79fc8c94b11873", "url": "https://github.com/braintree/braintree_android/blob/07b32e6fad73f9fb8432971b0e79fc8c94b11873/PayPalOneTouch/src/main/java/com/paypal/android/sdk/onetouch/core/config/OtcConfiguration.java#L56-L64", "partition": "test"} +{"repo": "braintree/braintree_android", "path": "Core/src/main/java/com/braintreepayments/api/internal/HttpClient.java", "func_name": "HttpClient.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make a HTTP GET request to using the base url and path provided. If the path is a full url,\nit will be used instead of the previously provided base url.\n\n@param path The path or url to request from the server via GET\n@param callback The {@link HttpResponseCallback} to receive the response or error.", "docstring_tokens": ["Make", "a", "HTTP", "GET", "request", "to", "using", "the", "base", "url", "and", "path", "provided", ".", "If", "the", "path", "is", "a", "full", "url", "it", "will", "be", "used", "instead", "of", "the", "previously", "provided", "base", "url", "."], "sha": "07b32e6fad73f9fb8432971b0e79fc8c94b11873", "url": "https://github.com/braintree/braintree_android/blob/07b32e6fad73f9fb8432971b0e79fc8c94b11873/Core/src/main/java/com/braintreepayments/api/internal/HttpClient.java#L136-L166", "partition": "test"} +{"repo": "braintree/braintree_android", "path": "Core/src/main/java/com/braintreepayments/api/internal/HttpClient.java", "func_name": "HttpClient.post", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make a HTTP POST request using the base url and path provided. If the path is a full url,\nit will be used instead of the previously provided url.\n\n@param path The path or url to request from the server via HTTP POST\n@param data The body of the POST request\n@param callback The {@link HttpResponseCallback} to receive the response or error.", "docstring_tokens": ["Make", "a", "HTTP", "POST", "request", "using", "the", "base", "url", "and", "path", "provided", ".", "If", "the", "path", "is", "a", "full", "url", "it", "will", "be", "used", "instead", "of", "the", "previously", "provided", "url", "."], "sha": "07b32e6fad73f9fb8432971b0e79fc8c94b11873", "url": "https://github.com/braintree/braintree_android/blob/07b32e6fad73f9fb8432971b0e79fc8c94b11873/Core/src/main/java/com/braintreepayments/api/internal/HttpClient.java#L176-L192", "partition": "test"} +{"repo": "braintree/braintree_android", "path": "Core/src/main/java/com/braintreepayments/api/internal/HttpClient.java", "func_name": "HttpClient.post", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Performs a synchronous post request.\n\n@param path the path or url to request from the server via HTTP POST\n@param data the body of the post request\n@return The HTTP body the of the response\n\n@see HttpClient#post(String, String, HttpResponseCallback)\n@throws Exception", "docstring_tokens": ["Performs", "a", "synchronous", "post", "request", "."], "sha": "07b32e6fad73f9fb8432971b0e79fc8c94b11873", "url": "https://github.com/braintree/braintree_android/blob/07b32e6fad73f9fb8432971b0e79fc8c94b11873/Core/src/main/java/com/braintreepayments/api/internal/HttpClient.java#L204-L225", "partition": "test"} +{"repo": "braintree/braintree_android", "path": "Braintree/src/main/java/com/braintreepayments/api/LocalPayment.java", "func_name": "LocalPayment.startPayment", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Prepares the payment flow for a specific type of local payment.\n\n@param fragment {@link BraintreeFragment}\n@param request {@link LocalPaymentRequest} with the payment details.\n@param listener {@link BraintreeResponseListener} the callback to which the {@link LocalPaymentRequest} will be sent\nwith a payment ID for preprocessing and an approval URL. Once ready, use {@link #approvePayment(BraintreeFragment, LocalPaymentRequest)}\nto initiate the browser switch.", "docstring_tokens": ["Prepares", "the", "payment", "flow", "for", "a", "specific", "type", "of", "local", "payment", "."], "sha": "07b32e6fad73f9fb8432971b0e79fc8c94b11873", "url": "https://github.com/braintree/braintree_android/blob/07b32e6fad73f9fb8432971b0e79fc8c94b11873/Braintree/src/main/java/com/braintreepayments/api/LocalPayment.java#L39-L98", "partition": "test"} +{"repo": "braintree/braintree_android", "path": "Braintree/src/main/java/com/braintreepayments/api/LocalPayment.java", "func_name": "LocalPayment.approvePayment", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Initiates the browser switch for a payment flow by opening a browser where the customer can authenticate with their bank.\n\n@param fragment {@link BraintreeFragment}\n@param request {@link LocalPaymentRequest} which has already been sent to {@link #startPayment(BraintreeFragment, LocalPaymentRequest, BraintreeResponseListener)}\nand now has an approvalUrl and paymentId.", "docstring_tokens": ["Initiates", "the", "browser", "switch", "for", "a", "payment", "flow", "by", "opening", "a", "browser", "where", "the", "customer", "can", "authenticate", "with", "their", "bank", "."], "sha": "07b32e6fad73f9fb8432971b0e79fc8c94b11873", "url": "https://github.com/braintree/braintree_android/blob/07b32e6fad73f9fb8432971b0e79fc8c94b11873/Braintree/src/main/java/com/braintreepayments/api/LocalPayment.java#L107-L110", "partition": "test"} +{"repo": "braintree/braintree_android", "path": "Braintree/src/main/java/com/braintreepayments/api/BraintreeFragment.java", "func_name": "BraintreeFragment.addListener", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a listener.\n\n@param listener the listener to add.", "docstring_tokens": ["Adds", "a", "listener", "."], "sha": "07b32e6fad73f9fb8432971b0e79fc8c94b11873", "url": "https://github.com/braintree/braintree_android/blob/07b32e6fad73f9fb8432971b0e79fc8c94b11873/Braintree/src/main/java/com/braintreepayments/api/BraintreeFragment.java#L391-L429", "partition": "test"} +{"repo": "braintree/braintree_android", "path": "Braintree/src/main/java/com/braintreepayments/api/BraintreeFragment.java", "func_name": "BraintreeFragment.removeListener", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes a previously added listener.\n\n@param listener the listener to remove.", "docstring_tokens": ["Removes", "a", "previously", "added", "listener", "."], "sha": "07b32e6fad73f9fb8432971b0e79fc8c94b11873", "url": "https://github.com/braintree/braintree_android/blob/07b32e6fad73f9fb8432971b0e79fc8c94b11873/Braintree/src/main/java/com/braintreepayments/api/BraintreeFragment.java#L436-L472", "partition": "test"} +{"repo": "braintree/braintree_android", "path": "Braintree/src/main/java/com/braintreepayments/api/PayPal.java", "func_name": "PayPal.requestBillingAgreement", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Starts the Billing Agreement flow for PayPal with custom PayPal approval handler.\n\n@param fragment A {@link BraintreeFragment} used to process the request.\n@param request A {@link PayPalRequest} used to customize the request.\n@param handler A {@link PayPalApprovalHandler} for custom approval handling.", "docstring_tokens": ["Starts", "the", "Billing", "Agreement", "flow", "for", "PayPal", "with", "custom", "PayPal", "approval", "handler", "."], "sha": "07b32e6fad73f9fb8432971b0e79fc8c94b11873", "url": "https://github.com/braintree/braintree_android/blob/07b32e6fad73f9fb8432971b0e79fc8c94b11873/Braintree/src/main/java/com/braintreepayments/api/PayPal.java#L97-L110", "partition": "test"} +{"repo": "braintree/braintree_android", "path": "Braintree/src/main/java/com/braintreepayments/api/PayPal.java", "func_name": "PayPal.onActivityResult", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The result from PayPal's request.\n\n@param fragment A {@link BraintreeFragment} used to process the request.\n@param data Data associated with the result.", "docstring_tokens": ["The", "result", "from", "PayPal", "s", "request", "."], "sha": "07b32e6fad73f9fb8432971b0e79fc8c94b11873", "url": "https://github.com/braintree/braintree_android/blob/07b32e6fad73f9fb8432971b0e79fc8c94b11873/Braintree/src/main/java/com/braintreepayments/api/PayPal.java#L345-L374", "partition": "test"} +{"repo": "braintree/braintree_android", "path": "Braintree/src/main/java/com/braintreepayments/api/PayPal.java", "func_name": "PayPal.parseResponse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse the PayPal response URL using OneTouchCore.\n\n@param paypalRequest Original {@link PayPalRequest} that started this flow.\n@param result Context that received the result.\n@param intent The {@link Intent} returned in result.\n@return A {@link PayPalAccountBuilder} or null if the intent is invalid.", "docstring_tokens": ["Parse", "the", "PayPal", "response", "URL", "using", "OneTouchCore", "."], "sha": "07b32e6fad73f9fb8432971b0e79fc8c94b11873", "url": "https://github.com/braintree/braintree_android/blob/07b32e6fad73f9fb8432971b0e79fc8c94b11873/Braintree/src/main/java/com/braintreepayments/api/PayPal.java#L404-L426", "partition": "test"} +{"repo": "open-korean-text/open-korean-text", "path": "src/main/java/org/openkoreantext/processor/OpenKoreanTextProcessorJava.java", "func_name": "OpenKoreanTextProcessorJava.addNounsToDictionary", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add user-defined words to the noun dictionary. Spaced words are ignored.\n\n@param words List of user nouns.", "docstring_tokens": ["Add", "user", "-", "defined", "words", "to", "the", "noun", "dictionary", ".", "Spaced", "words", "are", "ignored", "."], "sha": "ed815a224b986e5a5d03fbd8f5c8d154e84e5b40", "url": "https://github.com/open-korean-text/open-korean-text/blob/ed815a224b986e5a5d03fbd8f5c8d154e84e5b40/src/main/java/org/openkoreantext/processor/OpenKoreanTextProcessorJava.java#L66-L68", "partition": "test"} +{"repo": "open-korean-text/open-korean-text", "path": "src/main/java/org/openkoreantext/processor/OpenKoreanTextProcessorJava.java", "func_name": "OpenKoreanTextProcessorJava.removeWordFromDictionary", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove user-defined word List from the dictionary for the specified KoreanPos.\n\n@param pos KoreanPos of words to add.\n@param words Sequence of words to add.", "docstring_tokens": ["Remove", "user", "-", "defined", "word", "List", "from", "the", "dictionary", "for", "the", "specified", "KoreanPos", "."], "sha": "ed815a224b986e5a5d03fbd8f5c8d154e84e5b40", "url": "https://github.com/open-korean-text/open-korean-text/blob/ed815a224b986e5a5d03fbd8f5c8d154e84e5b40/src/main/java/org/openkoreantext/processor/OpenKoreanTextProcessorJava.java#L86-L88", "partition": "test"} +{"repo": "open-korean-text/open-korean-text", "path": "src/main/java/org/openkoreantext/processor/OpenKoreanTextProcessorJava.java", "func_name": "OpenKoreanTextProcessorJava.tokensToJavaStringList", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Tokenize with the builder options into a String Iterable.\n\n@param tokens Korean tokens (output of tokenize(CharSequence text)).\n@return List of token strings.", "docstring_tokens": ["Tokenize", "with", "the", "builder", "options", "into", "a", "String", "Iterable", "."], "sha": "ed815a224b986e5a5d03fbd8f5c8d154e84e5b40", "url": "https://github.com/open-korean-text/open-korean-text/blob/ed815a224b986e5a5d03fbd8f5c8d154e84e5b40/src/main/java/org/openkoreantext/processor/OpenKoreanTextProcessorJava.java#L131-L142", "partition": "test"} +{"repo": "open-korean-text/open-korean-text", "path": "src/main/java/org/openkoreantext/processor/OpenKoreanTextProcessorJava.java", "func_name": "OpenKoreanTextProcessorJava.extractPhrases", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extract phrases from Korean input text\n\n@param tokens Korean tokens (output of tokenize(CharSequence text)).\n@return List of phrase CharSequences.", "docstring_tokens": ["Extract", "phrases", "from", "Korean", "input", "text"], "sha": "ed815a224b986e5a5d03fbd8f5c8d154e84e5b40", "url": "https://github.com/open-korean-text/open-korean-text/blob/ed815a224b986e5a5d03fbd8f5c8d154e84e5b40/src/main/java/org/openkoreantext/processor/OpenKoreanTextProcessorJava.java#L165-L168", "partition": "test"} +{"repo": "open-korean-text/open-korean-text", "path": "src/main/java/org/openkoreantext/processor/OpenKoreanTextProcessorJava.java", "func_name": "OpenKoreanTextProcessorJava.detokenize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Detokenize the input list of words.\n\n@param tokens List of words.\n@return Detokenized string.", "docstring_tokens": ["Detokenize", "the", "input", "list", "of", "words", "."], "sha": "ed815a224b986e5a5d03fbd8f5c8d154e84e5b40", "url": "https://github.com/open-korean-text/open-korean-text/blob/ed815a224b986e5a5d03fbd8f5c8d154e84e5b40/src/main/java/org/openkoreantext/processor/OpenKoreanTextProcessorJava.java#L182-L184", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/common/io/NIOUtils.java", "func_name": "NIOUtils.fetchFrom", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads size amount of bytes from ch into a new ByteBuffer allocated from a\nbuffer buf\n\n@param buf\n@param ch\n@param size\n@return\n@throws IOException", "docstring_tokens": ["Reads", "size", "amount", "of", "bytes", "from", "ch", "into", "a", "new", "ByteBuffer", "allocated", "from", "a", "buffer", "buf"], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/common/io/NIOUtils.java#L105-L111", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/codecs/h264/H264Utils.java", "func_name": "H264Utils.joinNALUnits", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Joins buffers containing individual NAL units into a single AnnexB\ndelimited buffer. Each NAL unit will be separated with 00 00 00 01\nmarkers. Allocates a new byte buffer and writes data into it.\n\n@param nalUnits\n@param out", "docstring_tokens": ["Joins", "buffers", "containing", "individual", "NAL", "units", "into", "a", "single", "AnnexB", "delimited", "buffer", ".", "Each", "NAL", "unit", "will", "be", "separated", "with", "00", "00", "00", "01", "markers", ".", "Allocates", "a", "new", "byte", "buffer", "and", "writes", "data", "into", "it", "."], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/codecs/h264/H264Utils.java#L612-L620", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/codecs/h264/H264Utils.java", "func_name": "H264Utils.joinNALUnitsToBuffer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Joins buffers containing individual NAL units into a single AnnexB\ndelimited buffer. Each NAL unit will be separated with 00 00 00 01\nmarkers.\n\n@param nalUnits\n@param out", "docstring_tokens": ["Joins", "buffers", "containing", "individual", "NAL", "units", "into", "a", "single", "AnnexB", "delimited", "buffer", ".", "Each", "NAL", "unit", "will", "be", "separated", "with", "00", "00", "00", "01", "markers", "."], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/codecs/h264/H264Utils.java#L630-L635", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/net/sourceforge/jaad/aac/Profile.java", "func_name": "Profile.forInt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a profile instance for the given index. If the index is not\nbetween 1 and 23 inclusive, UNKNOWN is returned.\n@return a profile with the given index", "docstring_tokens": ["Returns", "a", "profile", "instance", "for", "the", "given", "index", ".", "If", "the", "index", "is", "not", "between", "1", "and", "23", "inclusive", "UNKNOWN", "is", "returned", "."], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/net/sourceforge/jaad/aac/Profile.java#L44-L49", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/scale/BaseResampler.java", "func_name": "BaseResampler.normalizeAndGenerateFixedPrecision", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts floating point taps to fixed precision taps.\n\n@param taps\nThe 64 bit double representation\n@param precBits\nPrecision bits\n@param out\nTaps converted to fixed precision", "docstring_tokens": ["Converts", "floating", "point", "taps", "to", "fixed", "precision", "taps", "."], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/scale/BaseResampler.java#L60-L91", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/codecs/mpeg12/SegmentReader.java", "func_name": "SegmentReader.readToNextMarkerPartial", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads one full segment till the next marker. Will read as much data as\nthe provided buffer fits, if the provided buffer doesn't fit all data\nwill return MORE_DATA.\n\n@param out\n@return\n@throws IOException", "docstring_tokens": ["Reads", "one", "full", "segment", "till", "the", "next", "marker", ".", "Will", "read", "as", "much", "data", "as", "the", "provided", "buffer", "fits", "if", "the", "provided", "buffer", "doesn", "t", "fit", "all", "data", "will", "return", "MORE_DATA", "."], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/codecs/mpeg12/SegmentReader.java#L67-L107", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/codecs/mpeg12/SegmentReader.java", "func_name": "SegmentReader.readToNextMarkerNewBuffer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads one full segment till the next marker. Will allocate the necessary\nbuffer to hold the full segment. Internally uses a growing collection of\nsmaller buffers since the segment size is intitially unkwnown.\n\n@return\n@throws IOException", "docstring_tokens": ["Reads", "one", "full", "segment", "till", "the", "next", "marker", ".", "Will", "allocate", "the", "necessary", "buffer", "to", "hold", "the", "full", "segment", ".", "Internally", "uses", "a", "growing", "collection", "of", "smaller", "buffers", "since", "the", "segment", "size", "is", "intitially", "unkwnown", "."], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/codecs/mpeg12/SegmentReader.java#L118-L125", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/containers/imgseq/ImageSequenceDemuxer.java", "func_name": "ImageSequenceDemuxer.getMaxAvailableFrame", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds maximum frame of a sequence by bisecting the range.\n\nPerforms at max at max 48 Stat calls ( 2*log2(MAX_MAX) ).\n\n@return", "docstring_tokens": ["Finds", "maximum", "frame", "of", "a", "sequence", "by", "bisecting", "the", "range", "."], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/containers/imgseq/ImageSequenceDemuxer.java#L122-L142", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/movtool/InplaceMP4Editor.java", "func_name": "InplaceMP4Editor.modify", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Tries to modify movie header in place according to what's implemented in\nthe edit, the file gets pysically modified if the operation is\nsuccessful. No temporary file is created.\n\n@param file\nA file to be modified\n@param edit\nAn edit to be carried out on a movie header\n@return Whether or not edit was successful, i.e. was there enough place\nto put the new header\n@throws IOException\n@throws Exception", "docstring_tokens": ["Tries", "to", "modify", "movie", "header", "in", "place", "according", "to", "what", "s", "implemented", "in", "the", "edit", "the", "file", "gets", "pysically", "modified", "if", "the", "operation", "is", "successful", ".", "No", "temporary", "file", "is", "created", "."], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/movtool/InplaceMP4Editor.java#L59-L78", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/movtool/InplaceMP4Editor.java", "func_name": "InplaceMP4Editor.copy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Tries to modify movie header in place according to what's implemented in\nthe edit. Copies modified contents to a new file.\n\nNote: The header is still edited in-place, so the new file will have\nall-the-same sample offsets.\n\nNote: Still subject to the same limitations as 'modify', i.e. the new\nheader must 'fit' into an old place.\n\nThis method is useful when you can't write to the original file, for ex.\nyou don't have permission.\n\n@param src\nAn original file\n@param dst\nA file to store the modified copy\n@param edit\nAn edit logic to apply\n@return\n@throws IOException", "docstring_tokens": ["Tries", "to", "modify", "movie", "header", "in", "place", "according", "to", "what", "s", "implemented", "in", "the", "edit", ".", "Copies", "modified", "contents", "to", "a", "new", "file", "."], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/movtool/InplaceMP4Editor.java#L102-L134", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/containers/mp4/QTTimeUtil.java", "func_name": "QTTimeUtil.getEditedDuration", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculates track duration considering edits\n\n@param track\n@return", "docstring_tokens": ["Calculates", "track", "duration", "considering", "edits"], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/containers/mp4/QTTimeUtil.java#L33-L43", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/containers/mp4/QTTimeUtil.java", "func_name": "QTTimeUtil.frameToTimevalue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds timevalue of a frame number\n\nmight be an expensive operation sinse it traverses compressed time to\nsample table\n\n@param frameNumber\n@return", "docstring_tokens": ["Finds", "timevalue", "of", "a", "frame", "number"], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/containers/mp4/QTTimeUtil.java#L54-L66", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/containers/mp4/QTTimeUtil.java", "func_name": "QTTimeUtil.timevalueToFrame", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds frame by timevalue\n\n@param tv\n@return", "docstring_tokens": ["Finds", "frame", "by", "timevalue"], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/containers/mp4/QTTimeUtil.java#L74-L84", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/containers/mp4/QTTimeUtil.java", "func_name": "QTTimeUtil.mediaToEdited", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts media timevalue to edited timevalue\n\n@param trak\n@param mediaTv\n@param movieTimescale\n@return", "docstring_tokens": ["Converts", "media", "timevalue", "to", "edited", "timevalue"], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/containers/mp4/QTTimeUtil.java#L94-L111", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/containers/mp4/QTTimeUtil.java", "func_name": "QTTimeUtil.editedToMedia", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts edited timevalue to media timevalue\n\n@param trak\n@param mediaTv\n@param movieTimescale\n@return", "docstring_tokens": ["Converts", "edited", "timevalue", "to", "media", "timevalue"], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/containers/mp4/QTTimeUtil.java#L121-L136", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/containers/mp4/QTTimeUtil.java", "func_name": "QTTimeUtil.qtPlayerFrameNo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculates frame number as it shows in quicktime player\n\n@param movie\n@param mediaFrameNo\n@return", "docstring_tokens": ["Calculates", "frame", "number", "as", "it", "shows", "in", "quicktime", "player"], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/containers/mp4/QTTimeUtil.java#L145-L151", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/containers/mp4/QTTimeUtil.java", "func_name": "QTTimeUtil.qtPlayerTime", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculates and formats standard time as in Quicktime player\n\n@param movie\n@param mediaFrameNo\n@return", "docstring_tokens": ["Calculates", "and", "formats", "standard", "time", "as", "in", "Quicktime", "player"], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/containers/mp4/QTTimeUtil.java#L172-L179", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/containers/mp4/QTTimeUtil.java", "func_name": "QTTimeUtil.timevalueToTimecodeFrame", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts timevalue to frame number based on timecode track\n\n@param timecodeTrack\n@param tv\n@return", "docstring_tokens": ["Converts", "timevalue", "to", "frame", "number", "based", "on", "timecode", "track"], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/containers/mp4/QTTimeUtil.java#L235-L238", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/containers/mp4/QTTimeUtil.java", "func_name": "QTTimeUtil.formatTimecode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Formats tape timecode based on frame counter\n\n@param timecodeTrack\n@param counter\n@return", "docstring_tokens": ["Formats", "tape", "timecode", "based", "on", "frame", "counter"], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/containers/mp4/QTTimeUtil.java#L247-L260", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/codecs/common/biari/Packed4BitList.java", "func_name": "Packed4BitList._7", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates packed 4bit list with 7 values in it\n\n@return", "docstring_tokens": ["Creates", "packed", "4bit", "list", "with", "7", "values", "in", "it"], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/codecs/common/biari/Packed4BitList.java#L20-L23", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/codecs/common/biari/Packed4BitList.java", "func_name": "Packed4BitList.set", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets a 4 bit value into the list\n\n@param list\n@param val\n@param n\n@return", "docstring_tokens": ["Sets", "a", "4", "bit", "value", "into", "the", "list"], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/codecs/common/biari/Packed4BitList.java#L37-L42", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/common/model/ColorSpace.java", "func_name": "ColorSpace.matches", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determines if two colors match. Aside from simply comparing the objects\nthis function also takes into account lables ANY, ANY_INTERLEAVED, ANY\nPLANAR.\n\n@param inputColor\n@return True if the color is the same or matches the label.", "docstring_tokens": ["Determines", "if", "two", "colors", "match", ".", "Aside", "from", "simply", "comparing", "the", "objects", "this", "function", "also", "takes", "into", "account", "lables", "ANY", "ANY_INTERLEAVED", "ANY", "PLANAR", "."], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/common/model/ColorSpace.java#L67-L76", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/common/model/ColorSpace.java", "func_name": "ColorSpace.compSize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculates the component size based on the fullt size and color subsampling of the given component index.\n@param size\n@return Component size", "docstring_tokens": ["Calculates", "the", "component", "size", "based", "on", "the", "fullt", "size", "and", "color", "subsampling", "of", "the", "given", "component", "index", "."], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/common/model/ColorSpace.java#L83-L87", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/containers/mp4/demuxer/MP4Demuxer.java", "func_name": "MP4Demuxer.createRawMP4Demuxer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "does not modify packets", "docstring_tokens": ["does", "not", "modify", "packets"], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/containers/mp4/demuxer/MP4Demuxer.java#L54-L61", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/net/sourceforge/jaad/aac/syntax/BitStream.java", "func_name": "BitStream.readCache", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads the next four bytes.\n@param peek if true, the stream pointer will not be increased", "docstring_tokens": ["Reads", "the", "next", "four", "bytes", "."], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/net/sourceforge/jaad/aac/syntax/BitStream.java#L96-L105", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/codecs/wav/WavHeader.java", "func_name": "WavHeader.createWavHeader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates wav header for the specified audio format\n\n@param format\n@param samples", "docstring_tokens": ["Creates", "wav", "header", "for", "the", "specified", "audio", "format"], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/codecs/wav/WavHeader.java#L180-L187", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/codecs/wav/WavHeader.java", "func_name": "WavHeader.multiChannelWav", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Takes single channel wavs as input produces multi channel wav", "docstring_tokens": ["Takes", "single", "channel", "wavs", "as", "input", "produces", "multi", "channel", "wav"], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/codecs/wav/WavHeader.java#L278-L296", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/net/sourceforge/jaad/aac/AACDecoderConfig.java", "func_name": "AACDecoderConfig.parseMP4DecoderSpecificInfo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses the input arrays as a DecoderSpecificInfo, as used in MP4\ncontainers.\n\n@return a AACDecoderConfig", "docstring_tokens": ["Parses", "the", "input", "arrays", "as", "a", "DecoderSpecificInfo", "as", "used", "in", "MP4", "containers", "."], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/net/sourceforge/jaad/aac/AACDecoderConfig.java#L147-L208", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/codecs/common/biari/MQEncoder.java", "func_name": "MQEncoder.encode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Encodes one symbol either 0 or 1\n\n@param symbol\n@throws IOException", "docstring_tokens": ["Encodes", "one", "symbol", "either", "0", "or", "1"], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/codecs/common/biari/MQEncoder.java#L46-L66", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/codecs/h264/decode/SliceHeaderReader.java", "func_name": "SliceHeaderReader.readDecoderPicMarking", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "static int i = 0;", "docstring_tokens": ["static", "int", "i", "=", "0", ";"], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/codecs/h264/decode/SliceHeaderReader.java#L143-L189", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/movtool/Util.java", "func_name": "Util.split", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Splits track on the timevalue specified\n\n@param movie\n@param track\n@param tvMv\n@return", "docstring_tokens": ["Splits", "track", "on", "the", "timevalue", "specified"], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/movtool/Util.java#L102-L104", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/net/sourceforge/jaad/aac/Decoder.java", "func_name": "Decoder.decodeFrame", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Decodes one frame of AAC data in frame mode and returns the raw PCM data.\n\n@param frame\nthe AAC frame\n@param buffer\na buffer to hold the decoded PCM data\n@throws AACException\nif decoding fails", "docstring_tokens": ["Decodes", "one", "frame", "of", "AAC", "data", "in", "frame", "mode", "and", "returns", "the", "raw", "PCM", "data", "."], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/net/sourceforge/jaad/aac/Decoder.java#L84-L96", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/net/sourceforge/jaad/aac/SampleBuffer.java", "func_name": "SampleBuffer.setBigEndian", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the endianness for the data.\n\n@param bigEndian if true the data will be in big endian, else in little\nendian", "docstring_tokens": ["Sets", "the", "endianness", "for", "the", "data", "."], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/net/sourceforge/jaad/aac/SampleBuffer.java#L101-L111", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/codecs/h264/encode/MBDeblocker.java", "func_name": "MBDeblocker.deblockMBP", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Deblocks P-macroblock\n\n@param cur\nPixels and parameters of encoded and reconstructed current\nmacroblock\n@param left\nPixels and parameters of encoded and reconstructed left\nmacroblock\n@param top\nPixels and parameters of encoded and reconstructed top\nmacroblock", "docstring_tokens": ["Deblocks", "P", "-", "macroblock"], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/codecs/h264/encode/MBDeblocker.java#L115-L123", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/api/SequenceEncoder.java", "func_name": "SequenceEncoder.encodeNativeFrame", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Encodes a frame into a movie.\n\n@param pic\n@throws IOException", "docstring_tokens": ["Encodes", "a", "frame", "into", "a", "movie", "."], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/api/SequenceEncoder.java#L87-L108", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/containers/mkv/util/EbmlUtil.java", "func_name": "EbmlUtil.ebmlEncodeLen", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Encodes unsigned integer with given length\n\n@param value\nunsigned integer to be encoded\n@param length\nebml sequence length\n@return", "docstring_tokens": ["Encodes", "unsigned", "integer", "with", "given", "length"], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/containers/mkv/util/EbmlUtil.java#L22-L31", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/containers/mkv/util/EbmlUtil.java", "func_name": "EbmlUtil.ebmlLength", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method is used mostly during writing EBML bitstream. It answers the following question \"How many bytes should be used to encode unsigned integer value\"\n\n@param v\nunsigned integer to be encoded\n@return", "docstring_tokens": ["This", "method", "is", "used", "mostly", "during", "writing", "EBML", "bitstream", ".", "It", "answers", "the", "following", "question", "How", "many", "bytes", "should", "be", "used", "to", "encode", "unsigned", "integer", "value"], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/containers/mkv/util/EbmlUtil.java#L87-L97", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/containers/flv/FLVWriter.java", "func_name": "FLVWriter.addPacket", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a packet to the underlying file\n\n@param pkt\n@throws IOException", "docstring_tokens": ["Add", "a", "packet", "to", "the", "underlying", "file"], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/containers/flv/FLVWriter.java#L38-L46", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/containers/flv/FLVReader.java", "func_name": "FLVReader.repositionFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Searching for the next tag in a file after corrupt segment\n\n@return\n@throws IOException", "docstring_tokens": ["Searching", "for", "the", "next", "tag", "in", "a", "file", "after", "corrupt", "segment"], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/containers/flv/FLVReader.java#L388-L405", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/codecs/common/biari/MDecoder.java", "func_name": "MDecoder.decodeBin", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Decodes one bin from arithmetice code word\n\n@param cm\n@return\n@throws IOException", "docstring_tokens": ["Decodes", "one", "bin", "from", "arithmetice", "code", "word"], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/codecs/common/biari/MDecoder.java#L62-L95", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/codecs/common/biari/MDecoder.java", "func_name": "MDecoder.decodeBinBypass", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Special decoding process for symbols with uniform distribution\n\n@return\n@throws IOException", "docstring_tokens": ["Special", "decoding", "process", "for", "symbols", "with", "uniform", "distribution"], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/codecs/common/biari/MDecoder.java#L124-L140", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/codecs/mpeg12/MPEGUtil.java", "func_name": "MPEGUtil.gotoMarker", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds next Nth MPEG bitstream marker 0x000001xx and returns the data that\npreceeds it as a ByteBuffer slice\n\nSegment byte order is always little endian\n\n@param buf\n@return", "docstring_tokens": ["Finds", "next", "Nth", "MPEG", "bitstream", "marker", "0x000001xx", "and", "returns", "the", "data", "that", "preceeds", "it", "as", "a", "ByteBuffer", "slice"], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/codecs/mpeg12/MPEGUtil.java#L36-L57", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/net/sourceforge/jaad/aac/SampleFrequency.java", "func_name": "SampleFrequency.forInt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a sample frequency instance for the given index. If the index is\nnot between 0 and 11 inclusive, SAMPLE_FREQUENCY_NONE is returned.\n\n@return a sample frequency with the given index", "docstring_tokens": ["Returns", "a", "sample", "frequency", "instance", "for", "the", "given", "index", ".", "If", "the", "index", "is", "not", "between", "0", "and", "11", "inclusive", "SAMPLE_FREQUENCY_NONE", "is", "returned", "."], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/net/sourceforge/jaad/aac/SampleFrequency.java#L57-L64", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/codecs/mpeg12/MPEGPredDbl.java", "func_name": "MPEGPredDbl.predictPlane", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "this may be a result of color greening out in long GOPs.", "docstring_tokens": ["this", "may", "be", "a", "result", "of", "color", "greening", "out", "in", "long", "GOPs", "."], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/codecs/mpeg12/MPEGPredDbl.java#L10-L15", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/common/dct/SparseIDCT.java", "func_name": "SparseIDCT.start", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Starts DCT reconstruction\n\nFaster then call to 'coeff' with ind = 0\n\n@param block\n@param dc", "docstring_tokens": ["Starts", "DCT", "reconstruction"], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/common/dct/SparseIDCT.java#L41-L49", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/common/dct/SparseIDCT.java", "func_name": "SparseIDCT.coeff", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Recalculates image based on new DCT coefficient\n\n@param block\n@param ind\n@param level", "docstring_tokens": ["Recalculates", "image", "based", "on", "new", "DCT", "coefficient"], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/common/dct/SparseIDCT.java#L58-L65", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/common/dct/SparseIDCT.java", "func_name": "SparseIDCT.finish", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finalizes DCT calculation\n\n@param block", "docstring_tokens": ["Finalizes", "DCT", "calculation"], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/common/dct/SparseIDCT.java#L72-L79", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/net/sourceforge/jaad/aac/error/BitsBuffer.java", "func_name": "BitsBuffer.concatBits", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "merge bits of a to b", "docstring_tokens": ["merge", "bits", "of", "a", "to", "b"], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/net/sourceforge/jaad/aac/error/BitsBuffer.java#L74-L100", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/net/sourceforge/jaad/aac/error/BitsBuffer.java", "func_name": "BitsBuffer.rewindReverse32", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "32 bit rewind and reverse", "docstring_tokens": ["32", "bit", "rewind", "and", "reverse"], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/net/sourceforge/jaad/aac/error/BitsBuffer.java#L116-L127", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/net/sourceforge/jaad/aac/error/BitsBuffer.java", "func_name": "BitsBuffer.rewindReverse64", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "64 bit rewind and reverse", "docstring_tokens": ["64", "bit", "rewind", "and", "reverse"], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/net/sourceforge/jaad/aac/error/BitsBuffer.java#L130-L153", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/api/transcode/SourceImpl.java", "func_name": "SourceImpl.seekToKeyFrame", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Seeks to a previous key frame prior or on the given frame, if the track is\nnot seekable returns 0.\n\n@param frame\nA frame to seek\n@return Frame number of a key frame or 0 if the track is not seekable.\n@throws IOException", "docstring_tokens": ["Seeks", "to", "a", "previous", "key", "frame", "prior", "or", "on", "the", "given", "frame", "if", "the", "track", "is", "not", "seekable", "returns", "0", "."], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/api/transcode/SourceImpl.java#L195-L204", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/api/transcode/SourceImpl.java", "func_name": "SourceImpl.getPixelBuffer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a pixel buffer of a suitable size to hold the given video frame. The\nvideo size is taken either from the video metadata or by analyzing the\nincoming video packet.\n\n@param firstFrame\n@return", "docstring_tokens": ["Returns", "a", "pixel", "buffer", "of", "a", "suitable", "size", "to", "hold", "the", "given", "video", "frame", ".", "The", "video", "size", "is", "taken", "either", "from", "the", "video", "metadata", "or", "by", "analyzing", "the", "incoming", "video", "packet", "."], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/api/transcode/SourceImpl.java#L421-L426", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/net/sourceforge/jaad/aac/gain/GainControl.java", "func_name": "GainControl.getGainChangePointID", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "transformes the exponent value of the gain to the id of the gain change\npoint", "docstring_tokens": ["transformes", "the", "exponent", "value", "of", "the", "gain", "to", "the", "id", "of", "the", "gain", "change", "point"], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/net/sourceforge/jaad/aac/gain/GainControl.java#L286-L291", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/algo/DataConvert.java", "func_name": "DataConvert.fromByte", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generic byte-array to integer-array conversion\n\nConverts each depth-bit sequence from the input byte array into integer\n\n@param b\nInput bytes\n@param depth\nBit depth of the integers\n@param isBe\nIf integers are big-endian or little-endian\n@return", "docstring_tokens": ["Generic", "byte", "-", "array", "to", "integer", "-", "array", "conversion"], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/algo/DataConvert.java#L115-L128", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/algo/DataConvert.java", "func_name": "DataConvert.toByte", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generic integer-array to byte-array conversion\n\nConverts each integer into depth-bit sequence in the output byte array\n\n@param ia\nInteger array\n@param depth\nBit depth of the integers\n@param isBe\nIf integers are big-endian or little-endian\n@return", "docstring_tokens": ["Generic", "integer", "-", "array", "to", "byte", "-", "array", "conversion"], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/algo/DataConvert.java#L143-L156", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/common/AudioUtil.java", "func_name": "AudioUtil.toFloat", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts PCM samples stored in buf and described with format to float\narray representation\n\n@param format\nSupported formats - *_*_S16_LE, *_*_S24_LE, *_*_S16_BE,\n*_*_S24_LE\n@param buf\n@param floatBuf\n@return Total number of samples read from the buffer", "docstring_tokens": ["Converts", "PCM", "samples", "stored", "in", "buf", "and", "described", "with", "format", "to", "float", "array", "representation"], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/common/AudioUtil.java#L34-L54", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/common/AudioUtil.java", "func_name": "AudioUtil.fromFloat", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts float PCM samples stored in floatBuf to integer representation\naccording to format and stores them in buf\n\n@param format\nSupported formats - *_*_S16_LE, *_*_S24_LE, *_*_S16_BE,\n*_*_S24_LE\n@param buf\n@param floatBuf\n@return Total number of samples written to the buffer", "docstring_tokens": ["Converts", "float", "PCM", "samples", "stored", "in", "floatBuf", "to", "integer", "representation", "according", "to", "format", "and", "stores", "them", "in", "buf"], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/common/AudioUtil.java#L67-L87", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/common/AudioUtil.java", "func_name": "AudioUtil.interleave", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Interleaves audio samples in ins into outb using sample size from the\nformat\n\n@param format\n@param ins\n@param outb", "docstring_tokens": ["Interleaves", "audio", "samples", "in", "ins", "into", "outb", "using", "sample", "size", "from", "the", "format"], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/common/AudioUtil.java#L273-L294", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/common/AudioUtil.java", "func_name": "AudioUtil.deinterleave", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Deinterleaves audio samples from inb into outs using sample size from\nformat\n\n@param format\n@param inb\n@param outs", "docstring_tokens": ["Deinterleaves", "audio", "samples", "from", "inb", "into", "outs", "using", "sample", "size", "from", "format"], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/common/AudioUtil.java#L304-L315", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/containers/mp4/boxes/TrakBox.java", "func_name": "TrakBox.getCodedSize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retrieves coded size of this video track.\n\nNote: May be different from video display dimension.\n\n@return", "docstring_tokens": ["Retrieves", "coded", "size", "of", "this", "video", "track", "."], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/containers/mp4/boxes/TrakBox.java#L266-L273", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/codecs/h264/decode/aso/SliceGroupMapBuilder.java", "func_name": "SliceGroupMapBuilder.buildBoxOutMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "A boxout macroblock to slice group mapping. Only applicable when there's\nexactly 2 slice groups. Slice group 1 is a background, while slice group\n0 is a box in the middle of the frame.\n\n@param picWidthInMbs\n@param picHeightInMbs\n@param changeDirection\n@param numberOfMbsInBox\nnumber of macroblocks in slice group 0\n@return", "docstring_tokens": ["A", "boxout", "macroblock", "to", "slice", "group", "mapping", ".", "Only", "applicable", "when", "there", "s", "exactly", "2", "slice", "groups", ".", "Slice", "group", "1", "is", "a", "background", "while", "slice", "group", "0", "is", "a", "box", "in", "the", "middle", "of", "the", "frame", "."], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/codecs/h264/decode/aso/SliceGroupMapBuilder.java#L130-L183", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/codecs/h264/decode/aso/SliceGroupMapBuilder.java", "func_name": "SliceGroupMapBuilder.buildWipeMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "A macroblock to slice group map that fills frame column by column\n\n@param picWidthInMbs\n@param picHeightInMbs\n@param sizeOfUpperLeftGroup\n@param changeDirection\n@return", "docstring_tokens": ["A", "macroblock", "to", "slice", "group", "map", "that", "fills", "frame", "column", "by", "column"], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/codecs/h264/decode/aso/SliceGroupMapBuilder.java#L231-L251", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/containers/mxf/model/MXFMetadata.java", "func_name": "MXFMetadata.readULBatch", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Utility method to read a batch of ULS\n\n@param _bb\n@return", "docstring_tokens": ["Utility", "method", "to", "read", "a", "batch", "of", "ULS"], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/containers/mxf/model/MXFMetadata.java#L32-L40", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/containers/mxf/model/MXFMetadata.java", "func_name": "MXFMetadata.readInt32Batch", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Utility method to read a batch of int32\n\n@param _bb\n@return", "docstring_tokens": ["Utility", "method", "to", "read", "a", "batch", "of", "int32"], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/containers/mxf/model/MXFMetadata.java#L48-L56", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/codecs/h264/decode/MBlockDecoderUtils.java", "func_name": "MBlockDecoderUtils.calcMVPredictionMedian", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculates median prediction\n@param a, b, c and d are packed motion vectors", "docstring_tokens": ["Calculates", "median", "prediction"], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/codecs/h264/decode/MBlockDecoderUtils.java#L85-L111", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/codecs/h264/H264Encoder.java", "func_name": "H264Encoder.encodeFrame", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Encode this picture into h.264 frame. Frame type will be selected by\nencoder.", "docstring_tokens": ["Encode", "this", "picture", "into", "h", ".", "264", "frame", ".", "Frame", "type", "will", "be", "selected", "by", "encoder", "."], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/codecs/h264/H264Encoder.java#L106-L119", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/codecs/h264/H264Encoder.java", "func_name": "H264Encoder.encodeIDRFrame", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Encode this picture as an IDR frame. IDR frame starts a new independently\ndecodeable video sequence\n\n@param pic\n@param _out\n@return", "docstring_tokens": ["Encode", "this", "picture", "as", "an", "IDR", "frame", ".", "IDR", "frame", "starts", "a", "new", "independently", "decodeable", "video", "sequence"], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/codecs/h264/H264Encoder.java#L129-L132", "partition": "test"} +{"repo": "jcodec/jcodec", "path": "src/main/java/org/jcodec/codecs/h264/H264Encoder.java", "func_name": "H264Encoder.encodePFrame", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Encode this picture as a P-frame. P-frame is an frame predicted from one\nor more of the previosly decoded frame and is usually 10x less in size\nthen the IDR frame.\n\n@param pic\n@param _out\n@return", "docstring_tokens": ["Encode", "this", "picture", "as", "a", "P", "-", "frame", ".", "P", "-", "frame", "is", "an", "frame", "predicted", "from", "one", "or", "more", "of", "the", "previosly", "decoded", "frame", "and", "is", "usually", "10x", "less", "in", "size", "then", "the", "IDR", "frame", "."], "sha": "cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75", "url": "https://github.com/jcodec/jcodec/blob/cd6efa51ef05f409a8ba8cfb7521f4b4f10ccc75/src/main/java/org/jcodec/codecs/h264/H264Encoder.java#L143-L146", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/video/ContainerFormat.java", "func_name": "ContainerFormat.getSupportedCodecs", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a list of all codecs supported for this Object.\n\n

\n\nIf this object hasn't been set up for output, then\nwe return null.\n\n

\n\n@return A list of supported codecs, in decreasing preferred order.", "docstring_tokens": ["Returns", "a", "list", "of", "all", "codecs", "supported", "for", "this", "Object", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/video/ContainerFormat.java#L146-L163", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/video/ContainerFormat.java", "func_name": "ContainerFormat.getSupportedTags", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a list of all codec tags supported for this container.\n\n

\n\nIf this object hasn't been set up for output, then\nwe return null.\n\n

\n\n@return A list of supported codec tags, in decreasing preferred order.", "docstring_tokens": ["Returns", "a", "list", "of", "all", "codec", "tags", "supported", "for", "this", "container", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/video/ContainerFormat.java#L177-L195", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/ferry/JNIMemoryManager.java", "func_name": "JNIMemoryManager.addReference", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a reference to the set of references we'll collect.\n\n@param ref The reference to collect.\n@return true if already in list; false otherwise.", "docstring_tokens": ["Add", "a", "reference", "to", "the", "set", "of", "references", "we", "ll", "collect", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/ferry/JNIMemoryManager.java#L1241-L1293", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/ferry/JNIMemoryManager.java", "func_name": "JNIMemoryManager.gcInternal", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The actual GC;", "docstring_tokens": ["The", "actual", "GC", ";"], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/ferry/JNIMemoryManager.java#L1336-L1343", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/ferry/JNIMemoryManager.java", "func_name": "JNIMemoryManager.flush", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Internal Only.\n\nImmediately frees all active objects in the system. Do not call unless you\nREALLY know what you're doing.", "docstring_tokens": ["Internal", "Only", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/ferry/JNIMemoryManager.java#L1452-L1471", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/ferry/JNILibrary.java", "func_name": "JNILibrary.load", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Load the given library into the given application.\n\nThis method first searches in the classpath for native libraries that are\nbundled in there, and only if no matches are found, will it search the\nrun-time paths of each OS.\n\n@param appname\nthe name of the application. This should match what shows up in\njar manifests or native property files.\n@param library\nthe library object\n@throws UnsatisfiedLinkError\nif library cannot be loaded.", "docstring_tokens": ["Load", "the", "given", "library", "into", "the", "given", "application", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/ferry/JNILibrary.java#L143-L155", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/ferry/JNILibrary.java", "func_name": "JNILibrary.unpackLibrary", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Looks for a URL in a classpath, and if found, unpacks it", "docstring_tokens": ["Looks", "for", "a", "URL", "in", "a", "classpath", "and", "if", "found", "unpacks", "it"], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/ferry/JNILibrary.java#L219-L305", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/ferry/JNILibrary.java", "func_name": "JNILibrary.deleteTemporaryFiles", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds all \".humble\" temp files in the temp directory and nukes them.", "docstring_tokens": ["Finds", "all", ".", "humble", "temp", "files", "in", "the", "temp", "directory", "and", "nukes", "them", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/ferry/JNILibrary.java#L332-L348", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/video/AudioChannel.java", "func_name": "AudioChannel.getDefaultLayout", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return default channel layout for a given number of channels.", "docstring_tokens": ["Return", "default", "channel", "layout", "for", "a", "given", "number", "of", "channels", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/video/AudioChannel.java#L151-L153", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/video/AudioChannel.java", "func_name": "AudioChannel.getChannelFromLayoutAtIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the channel with the given index in channel_layout.", "docstring_tokens": ["Get", "the", "channel", "with", "the", "given", "index", "in", "channel_layout", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/video/AudioChannel.java#L185-L187", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/video/MediaPacket.java", "func_name": "MediaPacket.make", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a new Packet", "docstring_tokens": ["Create", "a", "new", "Packet"], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/video/MediaPacket.java#L138-L141", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-stage/humble-video-arch-x86_64-apple-darwin18-debug/src/main/java/io/humble/video_native/Version.java", "func_name": "Version.getVersionInfo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Prints the version of this library to System.out along with\nsome information on what this jar is.", "docstring_tokens": ["Prints", "the", "version", "of", "this", "library", "to", "System", ".", "out", "along", "with", "some", "information", "on", "what", "this", "jar", "is", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-stage/humble-video-arch-x86_64-apple-darwin18-debug/src/main/java/io/humble/video_native/Version.java#L34-L48", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/video/Global.java", "func_name": "Global.getDefaultTimeBase", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The default timebase used by media if not otherwise specified.", "docstring_tokens": ["The", "default", "timebase", "used", "by", "media", "if", "not", "otherwise", "specified", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/video/Global.java#L124-L127", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/video/Demuxer.java", "func_name": "Demuxer.make", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a new Demuxer", "docstring_tokens": ["Create", "a", "new", "Demuxer"], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/video/Demuxer.java#L127-L130", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-demos/src/main/java/io/humble/video/demos/DecodeAndPlayVideo.java", "func_name": "DecodeAndPlayVideo.playVideo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Opens a file, and plays the video from it on a screen at the right rate.\n@param filename The file or URL to play.", "docstring_tokens": ["Opens", "a", "file", "and", "plays", "the", "video", "from", "it", "on", "a", "screen", "at", "the", "right", "rate", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-demos/src/main/java/io/humble/video/demos/DecodeAndPlayVideo.java#L70-L221", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-demos/src/main/java/io/humble/video/demos/DecodeAndPlayVideo.java", "func_name": "DecodeAndPlayVideo.displayVideoAtCorrectTime", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Takes the video picture and displays it at the right time.", "docstring_tokens": ["Takes", "the", "video", "picture", "and", "displays", "it", "at", "the", "right", "time", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-demos/src/main/java/io/humble/video/demos/DecodeAndPlayVideo.java#L226-L247", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/video/CodecDescriptor.java", "func_name": "CodecDescriptor.make", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the descriptor for the given id.", "docstring_tokens": ["Get", "the", "descriptor", "for", "the", "given", "id", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/video/CodecDescriptor.java#L178-L181", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/video/Configuration.java", "func_name": "Configuration.printOption", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Print information about the property on the configurable object.\n\n@param stream stream to print to\n@param configObj configurable object\n@param prop property on object", "docstring_tokens": ["Print", "information", "about", "the", "property", "on", "the", "configurable", "object", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/video/Configuration.java#L86-L116", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/video/customio/HumbleIO.java", "func_name": "HumbleIO.registerFactory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Register a new protocol name for this factory that Humble.IO will use for\nthe given protocol.\n\n

\n\nA default factory for the protocol {@value #DEFAULT_PROTOCOL} will already\nbe registered. This just allows you to register the same factory under\ndifferent strings if you want.\n\n

\n

\n\nNOTE: Protocol can only contain alpha characters.\n\n

\n\n@param protocolPrefix The protocol (e.g. \"yourapphandler\").\n@return The factory registered", "docstring_tokens": ["Register", "a", "new", "protocol", "name", "for", "this", "factory", "that", "Humble", ".", "IO", "will", "use", "for", "the", "given", "protocol", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/video/customio/HumbleIO.java#L146-L151", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/video/customio/HumbleIO.java", "func_name": "HumbleIO.generateUniqueName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates a unique name suitable for using in the map methods for the URL\nparameter.\n\n@param src The object you want to generate a unique name for, or null if\nyou don't have one.\n@param extension an option extension to append to the generated URL.\n@return A unique name (will be unique across time and space).", "docstring_tokens": ["Generates", "a", "unique", "name", "suitable", "for", "using", "in", "the", "map", "methods", "for", "the", "URL", "parameter", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/video/customio/HumbleIO.java#L186-L202", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/video/MediaAudioResampler.java", "func_name": "MediaAudioResampler.make", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a new MediaAudioResampler.", "docstring_tokens": ["Create", "a", "new", "MediaAudioResampler", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/video/MediaAudioResampler.java#L118-L121", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/video/Codec.java", "func_name": "Codec.getSupportedVideoFrameRates", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a list of supported frame-rates this codec can encode\nvideo to.\n\n

\n\nNot all codecs support reporting this, in which case the returned list\nwill be empty.\n\n

\n\n@return a list", "docstring_tokens": ["Returns", "a", "list", "of", "supported", "frame", "-", "rates", "this", "codec", "can", "encode", "video", "to", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/video/Codec.java#L168-L181", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/video/Codec.java", "func_name": "Codec.getSupportedVideoPixelFormats", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a list of supported pixel formats this codec can encode\nvideo in.\n\n

\n\nNot all codecs support reporting this, in which case the returned list\nwill be empty.\n\n

\n\n@return a list", "docstring_tokens": ["Returns", "a", "list", "of", "supported", "pixel", "formats", "this", "codec", "can", "encode", "video", "in", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/video/Codec.java#L197-L210", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/video/Codec.java", "func_name": "Codec.getSupportedAudioSampleRates", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a list of supported audio sample rates this codec can encode\naudio in.\n\n

\n\nNot all codecs support reporting this, in which case the returned list\nwill be empty.\n\n

\n\n@return a list", "docstring_tokens": ["Returns", "a", "list", "of", "supported", "audio", "sample", "rates", "this", "codec", "can", "encode", "audio", "in", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/video/Codec.java#L226-L239", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/video/Codec.java", "func_name": "Codec.getSupportedAudioFormats", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a list of supported audio sample formats this codec can encode\naudio in.\n\n

\n\nNot all codecs support reporting this, in which case the returned list\nwill be empty.\n\n

\n\n@return a list", "docstring_tokens": ["Returns", "a", "list", "of", "supported", "audio", "sample", "formats", "this", "codec", "can", "encode", "audio", "in", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/video/Codec.java#L255-L268", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/video/Codec.java", "func_name": "Codec.getSupportedAudioChannelLayouts", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a list of supported audio channel layouts this codec can encode\naudio in.\n\n

\n\nNot all codecs support reporting this, in which case the returned list\nwill be empty.\n\n

\n\n@return a list", "docstring_tokens": ["Returns", "a", "list", "of", "supported", "audio", "channel", "layouts", "this", "codec", "can", "encode", "audio", "in", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/video/Codec.java#L284-L297", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/video/Coder.java", "func_name": "Coder.setFlag", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set a flag to true or false.", "docstring_tokens": ["Set", "a", "flag", "to", "true", "or", "false", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/video/Coder.java#L414-L416", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/video/Coder.java", "func_name": "Coder.setFlag2", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set a flag2 to true or false.", "docstring_tokens": ["Set", "a", "flag2", "to", "true", "or", "false", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/video/Coder.java#L428-L430", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/video/DemuxerStream.java", "func_name": "DemuxerStream.getDecoder", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the decoder that can decode the information in this Demuxer stream.", "docstring_tokens": ["Get", "the", "decoder", "that", "can", "decode", "the", "information", "in", "this", "Demuxer", "stream", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/video/DemuxerStream.java#L139-L142", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/video/DemuxerStream.java", "func_name": "DemuxerStream.getDemuxer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the Demuxer this DemuxerStream belongs to.", "docstring_tokens": ["Get", "the", "Demuxer", "this", "DemuxerStream", "belongs", "to", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/video/DemuxerStream.java#L147-L150", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/video/MuxerFormat.java", "func_name": "MuxerFormat.getFormats", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return a collection of all output formats installed on this system.\n@return the list.", "docstring_tokens": ["Return", "a", "collection", "of", "all", "output", "formats", "installed", "on", "this", "system", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/video/MuxerFormat.java#L134-L147", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/video/FilterGraph.java", "func_name": "FilterGraph.make", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new FilterGraph.", "docstring_tokens": ["Creates", "a", "new", "FilterGraph", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/video/FilterGraph.java#L120-L123", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/video/BitStreamFilter.java", "func_name": "BitStreamFilter.getType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the type of this filter.", "docstring_tokens": ["Get", "the", "type", "of", "this", "filter", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/video/BitStreamFilter.java#L159-L162", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/ferry/Buffer.java", "func_name": "Buffer.getByteBuffer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns up to length bytes, starting at offset in the underlying\nbuffer we're managing.\n\n

\n\nThe buffer position, mark are initialized to zero and limit\nis set to the maximum capacity of this buffer. For some\nBuffer contents, the actual usable data in this buffer will\nbe less that the limit.\n\n

\n

\nIf you want to control exactly when the underlying memory\nbeyind the returned {@link java.nio.ByteBuffer} is released,\nuse {@link #getByteBuffer(int, int, java.util.concurrent.atomic.AtomicReference)}.\n

\n@see #getByteBuffer(int, int, java.util.concurrent.atomic.AtomicReference)", "docstring_tokens": ["Returns", "up", "to", "length", "bytes", "starting", "at", "offset", "in", "the", "underlying", "buffer", "we", "re", "managing", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/ferry/Buffer.java#L960-L963", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/video/javaxsound/AudioFrame.java", "func_name": "AudioFrame.make", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a connection to the speaker, if available.\n@param audioFormat The java audio format that we will use.\n@return A new audio format, or null if we cannot create one.", "docstring_tokens": ["Get", "a", "connection", "to", "the", "speaker", "if", "available", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/video/javaxsound/AudioFrame.java#L53-L60", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/video/awt/AMediaPictureConverter.java", "func_name": "AMediaPictureConverter.resample", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Re-sample a picture.\n\n@param picture1 the picture to re-sample\n@param resampler the picture re-samper to use\n\n@throws RuntimeException if could not re-sample picture", "docstring_tokens": ["Re", "-", "sample", "a", "picture", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/video/awt/AMediaPictureConverter.java#L190-L200", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/video/awt/AMediaPictureConverter.java", "func_name": "AMediaPictureConverter.validateImage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Test that the passed image is valid and conforms to the\nconverters specifications.\n\n@param image the image to test\n\n@throws IllegalArgumentException if the passed {@link\nBufferedImage} is NULL;\n@throws IllegalArgumentException if the passed {@link\nBufferedImage} is not the correct type. See {@link\n#getImageType}.", "docstring_tokens": ["Test", "that", "the", "passed", "image", "is", "valid", "and", "conforms", "to", "the", "converters", "specifications", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/video/awt/AMediaPictureConverter.java#L225-L239", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/video/awt/AMediaPictureConverter.java", "func_name": "AMediaPictureConverter.validatePicture", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Test that the passed picture is valid and conforms to the\nconverters specifications.\n\n@param picture the picture to test\n\n@throws IllegalArgumentException if the passed {@link\nMediaPicture} is NULL;\n@throws IllegalArgumentException if the passed {@link\nMediaPicture} is not complete.\n@throws IllegalArgumentException if the passed {@link\nMediaPicture} is not the correct type.", "docstring_tokens": ["Test", "that", "the", "passed", "picture", "is", "valid", "and", "conforms", "to", "the", "converters", "specifications", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/video/awt/AMediaPictureConverter.java#L255-L278", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/video/FilterLink.java", "func_name": "FilterLink.getFilterGraph", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the FilterGraph this FilterLink belongs to.", "docstring_tokens": ["Get", "the", "FilterGraph", "this", "FilterLink", "belongs", "to", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/video/FilterLink.java#L118-L121", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/video/MediaRaw.java", "func_name": "MediaRaw.getMetaData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get any meta-data associated with this media item", "docstring_tokens": ["Get", "any", "meta", "-", "data", "associated", "with", "this", "media", "item"], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/video/MediaRaw.java#L162-L165", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/ferry/JNIEnv.java", "func_name": "JNIEnv.getCPUArch", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the CPU architecture based on the passed in javaCPUArch specifier.\n\nThe string should be of a format returned from {@link System#getProperty(String)}\nfor the property \"os.arch\".\n\n@param javaCPU the string to parse\n@return the CPU architecture\n@see System#getProperty(String)", "docstring_tokens": ["Get", "the", "CPU", "architecture", "based", "on", "the", "passed", "in", "javaCPUArch", "specifier", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/ferry/JNIEnv.java#L88-L117", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/ferry/JNIEnv.java", "func_name": "JNIEnv.getCPUArchFromGNUString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return a CPUArch from parsing a GNU autoconf triple.\n\nFor example \"x86_64-w64-mingw32\" will return {@link JNIEnv.CPUArch#X86_64}\nand \"ppc-apple-darwin\" will return {@link JNIEnv.CPUArch#PPC}.\n\n@param gnuString the GNU string\n@return the architecture", "docstring_tokens": ["Return", "a", "CPUArch", "from", "parsing", "a", "GNU", "autoconf", "triple", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/ferry/JNIEnv.java#L128-L155", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/ferry/JNIEnv.java", "func_name": "JNIEnv.getOSFamily", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the OSFamily based on the passed in osName specifier.\n\nThe string should be of a format returned from {@link System#getProperty(String)}\nfor the property \"os.name\".\n\n@param osName the string to parse\n@return the OSFamily\n@see System#getProperty(String)", "docstring_tokens": ["Get", "the", "OSFamily", "based", "on", "the", "passed", "in", "osName", "specifier", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/ferry/JNIEnv.java#L167-L184", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/ferry/JNIEnv.java", "func_name": "JNIEnv.getOSFamilyFromGNUString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return an OS Family from parsing a GNU autoconf triple.\n\nFor example \"x86_64-w64-mingw32\" will return {@link JNIEnv.OSFamily#WINDOWS}\nand \"ppc-apple-darwin\" will return {@link JNIEnv.OSFamily#MAC}.\n\n@param gnuString the GNU string\n@return the OSFamily", "docstring_tokens": ["Return", "an", "OS", "Family", "from", "parsing", "a", "GNU", "autoconf", "triple", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/ferry/JNIEnv.java#L195-L208", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-demos/src/main/java/io/humble/video/demos/DecodeAndPlayAudio.java", "func_name": "DecodeAndPlayAudio.playSound", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Opens a file, and plays the audio from it on the speakers.\n@param filename The file or URL to play.\n@throws LineUnavailableException", "docstring_tokens": ["Opens", "a", "file", "and", "plays", "the", "audio", "from", "it", "on", "the", "speakers", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-demos/src/main/java/io/humble/video/demos/DecodeAndPlayAudio.java#L72-L207", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/ferry/JNILibraryLoader.java", "func_name": "JNILibraryLoader.loadLibrary0", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This is the method that actually loads the library. It maintains an object\nlevel lock, and since this class only allows a singleton object, that is a\nclass-level lock. That means if you're loading a library on one thread,\nother threads will block until it finishes.\n\nThis should be OK in general.\n\n@param aLibraryName\nThe library name.\n@param aMajorVersion\nThe version, or null if you don't care.", "docstring_tokens": ["This", "is", "the", "method", "that", "actually", "loads", "the", "library", ".", "It", "maintains", "an", "object", "level", "lock", "and", "since", "this", "class", "only", "allows", "a", "singleton", "object", "that", "is", "a", "class", "-", "level", "lock", ".", "That", "means", "if", "you", "re", "loading", "a", "library", "on", "one", "thread", "other", "threads", "will", "block", "until", "it", "finishes", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/ferry/JNILibraryLoader.java#L254-L284", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/ferry/JNILibraryLoader.java", "func_name": "JNILibraryLoader.setLoadedLibrary", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Tell the cache that we've loaded this version.\n\n@param aLibraryName\n@param aMajorVersion", "docstring_tokens": ["Tell", "the", "cache", "that", "we", "ve", "loaded", "this", "version", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/ferry/JNILibraryLoader.java#L293-L302", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/ferry/JNILibraryLoader.java", "func_name": "JNILibraryLoader.loadCandidateLibrary", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Iterates through the set of aLibCandidates until it succeeds in loading a\nlibrary. If it succeeds, it lets the cache know.\n\n@param aLibraryName\nThe library name.\n@param aMajorVersion\nThe version we want, or null if we don't care.\n@param aLibCandidates\nThe set of candidates generated by\n{@link #getLibraryCandidates(String, Long)}\n@return true if we succeeded in loading a library; false otherwise", "docstring_tokens": ["Iterates", "through", "the", "set", "of", "aLibCandidates", "until", "it", "succeeds", "in", "loading", "a", "library", ".", "If", "it", "succeeds", "it", "lets", "the", "cache", "know", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/ferry/JNILibraryLoader.java#L317-L390", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/ferry/JNILibraryLoader.java", "func_name": "JNILibraryLoader.initializeSearchPaths", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Initialize the paths we'll search for libraries in.", "docstring_tokens": ["Initialize", "the", "paths", "we", "ll", "search", "for", "libraries", "in", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/ferry/JNILibraryLoader.java#L555-L573", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/ferry/JNILibraryLoader.java", "func_name": "JNILibraryLoader.alreadyLoadedLibrary", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks our cache to see if we've already loaded this library.\n\nWe will also detect if we've already loaded another version of this\nlibrary, and log a warning, but otherwise will return false in that case.\n\n@param aLibraryName\nThe library name.\n@param aMajorVersion\nThe version, or null if we don't care.\n@return true if in cache; false otherwise", "docstring_tokens": ["Checks", "our", "cache", "to", "see", "if", "we", "ve", "already", "loaded", "this", "library", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/ferry/JNILibraryLoader.java#L714-L738", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-demos/src/main/java/io/humble/video/demos/RecordAndEncodeVideo.java", "func_name": "RecordAndEncodeVideo.recordScreen", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Records the screen", "docstring_tokens": ["Records", "the", "screen"], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-demos/src/main/java/io/humble/video/demos/RecordAndEncodeVideo.java#L74-L186", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/ferry/JNIReference.java", "func_name": "JNIReference.delete", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Explicitly deletes the underlying native storage used by\nthe object this object references. The underlying native\nobject is now no long valid, and attempts to use it could\ncause unspecified behavior.", "docstring_tokens": ["Explicitly", "deletes", "the", "underlying", "native", "storage", "used", "by", "the", "object", "this", "object", "references", ".", "The", "underlying", "native", "object", "is", "now", "no", "long", "valid", "and", "attempts", "to", "use", "it", "could", "cause", "unspecified", "behavior", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/ferry/JNIReference.java#L186-L201", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/video/Muxer.java", "func_name": "Muxer.getStream", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the MuxerStream at the given position.", "docstring_tokens": ["Get", "the", "MuxerStream", "at", "the", "given", "position", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/video/Muxer.java#L238-L241", "partition": "test"} +{"repo": "artclarke/humble-video", "path": "humble-video-noarch/src/main/java/io/humble/video/MuxerStream.java", "func_name": "MuxerStream.getMuxer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the Muxer that this stream belongs to.", "docstring_tokens": ["Get", "the", "Muxer", "that", "this", "stream", "belongs", "to", "."], "sha": "aa349ae2d7ef74160b7074feac8d298cf90394d1", "url": "https://github.com/artclarke/humble-video/blob/aa349ae2d7ef74160b7074feac8d298cf90394d1/humble-video-noarch/src/main/java/io/humble/video/MuxerStream.java#L147-L150", "partition": "test"} +{"repo": "wavesplatform/WavesJ", "path": "src/main/java/com/wavesplatform/wavesj/Transactions.java", "func_name": "Transactions.makeScriptTx", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a signed SetScript object.\n\n@param sender the account to set the script for\n@param script compiled script, base64 encoded\n@param chainId chain ID\n@param fee object fee\n@param timestamp operation timestamp\n@return object object\n@see Account#MAINNET\n@see Account#TESTNET", "docstring_tokens": ["Creates", "a", "signed", "SetScript", "object", "."], "sha": "ae13a61c4e780b608c30a86e45c9a811549e11dd", "url": "https://github.com/wavesplatform/WavesJ/blob/ae13a61c4e780b608c30a86e45c9a811549e11dd/src/main/java/com/wavesplatform/wavesj/Transactions.java#L127-L129", "partition": "test"} +{"repo": "wavesplatform/WavesJ", "path": "src/main/java/com/wavesplatform/wavesj/Base58.java", "func_name": "Base58.decode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Decodes the given base58 string into the original data bytes.\n\n@param input the base58-encoded string to decode\n@return the decoded data bytes\n@throws IllegalArgumentException if the given string is not a valid base58 string", "docstring_tokens": ["Decodes", "the", "given", "base58", "string", "into", "the", "original", "data", "bytes", "."], "sha": "ae13a61c4e780b608c30a86e45c9a811549e11dd", "url": "https://github.com/wavesplatform/WavesJ/blob/ae13a61c4e780b608c30a86e45c9a811549e11dd/src/main/java/com/wavesplatform/wavesj/Base58.java#L84-L118", "partition": "test"} +{"repo": "wavesplatform/WavesJ", "path": "src/main/java/com/wavesplatform/wavesj/PrivateKeyAccount.java", "func_name": "PrivateKeyAccount.generateSeed", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates a 15-word random seed. This method implements the BIP-39 algorithm with 160 bits of entropy.\n\n@return the seed as a String", "docstring_tokens": ["Generates", "a", "15", "-", "word", "random", "seed", ".", "This", "method", "implements", "the", "BIP", "-", "39", "algorithm", "with", "160", "bits", "of", "entropy", "."], "sha": "ae13a61c4e780b608c30a86e45c9a811549e11dd", "url": "https://github.com/wavesplatform/WavesJ/blob/ae13a61c4e780b608c30a86e45c9a811549e11dd/src/main/java/com/wavesplatform/wavesj/PrivateKeyAccount.java#L250-L264", "partition": "test"} +{"repo": "wavesplatform/WavesJ", "path": "src/main/java/com/wavesplatform/wavesj/Node.java", "func_name": "Node.getTransaction", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns object by its ID.\n\n@param txId object ID\n@return object object\n@throws IOException if no object with the given ID exists", "docstring_tokens": ["Returns", "object", "by", "its", "ID", "."], "sha": "ae13a61c4e780b608c30a86e45c9a811549e11dd", "url": "https://github.com/wavesplatform/WavesJ/blob/ae13a61c4e780b608c30a86e45c9a811549e11dd/src/main/java/com/wavesplatform/wavesj/Node.java#L164-L166", "partition": "test"} +{"repo": "wavesplatform/WavesJ", "path": "src/main/java/com/wavesplatform/wavesj/Node.java", "func_name": "Node.getAddressTransactions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns transactions by address with limit.\n@param address address\n@param limit transactions limit\n@return list of transactions\n@throws IOException if something going wrong", "docstring_tokens": ["Returns", "transactions", "by", "address", "with", "limit", "."], "sha": "ae13a61c4e780b608c30a86e45c9a811549e11dd", "url": "https://github.com/wavesplatform/WavesJ/blob/ae13a61c4e780b608c30a86e45c9a811549e11dd/src/main/java/com/wavesplatform/wavesj/Node.java#L179-L181", "partition": "test"} +{"repo": "wavesplatform/WavesJ", "path": "src/main/java/com/wavesplatform/wavesj/Node.java", "func_name": "Node.getAddressTransactions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns transactions by address with limit after passed transaction id.\n@param address address\n@param limit transactions limit\n@param after separate transaction id\n@return list of transactions\n@throws IOException if something going wrong", "docstring_tokens": ["Returns", "transactions", "by", "address", "with", "limit", "after", "passed", "transaction", "id", "."], "sha": "ae13a61c4e780b608c30a86e45c9a811549e11dd", "url": "https://github.com/wavesplatform/WavesJ/blob/ae13a61c4e780b608c30a86e45c9a811549e11dd/src/main/java/com/wavesplatform/wavesj/Node.java#L191-L197", "partition": "test"} +{"repo": "wavesplatform/WavesJ", "path": "src/main/java/com/wavesplatform/wavesj/Node.java", "func_name": "Node.getBlockHeaderSeq", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns seq of block headers\n\n@param from start block\n@param to end block\n@return sequences of block objects without transactions\n@throws IOException if no block exists at the given height", "docstring_tokens": ["Returns", "seq", "of", "block", "headers"], "sha": "ae13a61c4e780b608c30a86e45c9a811549e11dd", "url": "https://github.com/wavesplatform/WavesJ/blob/ae13a61c4e780b608c30a86e45c9a811549e11dd/src/main/java/com/wavesplatform/wavesj/Node.java#L240-L244", "partition": "test"} +{"repo": "wavesplatform/WavesJ", "path": "src/main/java/com/wavesplatform/wavesj/Node.java", "func_name": "Node.getBlock", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns block by its signature.\n\n@param signature block signature\n@return block object\n@throws IOException if no block with the given signature exists", "docstring_tokens": ["Returns", "block", "by", "its", "signature", "."], "sha": "ae13a61c4e780b608c30a86e45c9a811549e11dd", "url": "https://github.com/wavesplatform/WavesJ/blob/ae13a61c4e780b608c30a86e45c9a811549e11dd/src/main/java/com/wavesplatform/wavesj/Node.java#L253-L255", "partition": "test"} +{"repo": "wavesplatform/WavesJ", "path": "src/main/java/com/wavesplatform/wavesj/Node.java", "func_name": "Node.send", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sends a signed object and returns its ID.\n\n@param tx signed object (as created by static methods in Transaction class)\n@return Transaction ID\n@throws IOException", "docstring_tokens": ["Sends", "a", "signed", "object", "and", "returns", "its", "ID", "."], "sha": "ae13a61c4e780b608c30a86e45c9a811549e11dd", "url": "https://github.com/wavesplatform/WavesJ/blob/ae13a61c4e780b608c30a86e45c9a811549e11dd/src/main/java/com/wavesplatform/wavesj/Node.java#L272-L274", "partition": "test"} +{"repo": "wavesplatform/WavesJ", "path": "src/main/java/com/wavesplatform/wavesj/Node.java", "func_name": "Node.setScript", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets a validating script for an account.\n\n@param from the account\n@param script script text\n@param chainId chain ID\n@param fee object fee\n@return object ID\n@throws IOException if an error occurs\n@see Account#MAINNET\n@see Account#TESTNET", "docstring_tokens": ["Sets", "a", "validating", "script", "for", "an", "account", "."], "sha": "ae13a61c4e780b608c30a86e45c9a811549e11dd", "url": "https://github.com/wavesplatform/WavesJ/blob/ae13a61c4e780b608c30a86e45c9a811549e11dd/src/main/java/com/wavesplatform/wavesj/Node.java#L341-L343", "partition": "test"} +{"repo": "wavesplatform/WavesJ", "path": "src/main/java/com/wavesplatform/wavesj/Node.java", "func_name": "Node.compileScript", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compiles a script.\n\n@param script the script to compile\n@return compiled script, base64 encoded\n@throws IOException if the script is not well formed or some other error occurs", "docstring_tokens": ["Compiles", "a", "script", "."], "sha": "ae13a61c4e780b608c30a86e45c9a811549e11dd", "url": "https://github.com/wavesplatform/WavesJ/blob/ae13a61c4e780b608c30a86e45c9a811549e11dd/src/main/java/com/wavesplatform/wavesj/Node.java#L352-L359", "partition": "test"} +{"repo": "RuedigerMoeller/fast-serialization", "path": "src/main/java/org/nustaq/serialization/coders/FSTBytezEncoder.java", "func_name": "FSTBytezEncoder.writePrimitiveArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "write prim array no len no tag\n\n\n@param array\n@throws IOException", "docstring_tokens": ["write", "prim", "array", "no", "len", "no", "tag"], "sha": "59f8f800b79479d0b9c80901cf55903d9b027f26", "url": "https://github.com/RuedigerMoeller/fast-serialization/blob/59f8f800b79479d0b9c80901cf55903d9b027f26/src/main/java/org/nustaq/serialization/coders/FSTBytezEncoder.java#L112-L140", "partition": "test"} +{"repo": "RuedigerMoeller/fast-serialization", "path": "src/main/java/org/nustaq/serialization/coders/FSTBytezEncoder.java", "func_name": "FSTBytezEncoder.flush", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "writes current buffer to underlying output and resets buffer.\n@throws IOException", "docstring_tokens": ["writes", "current", "buffer", "to", "underlying", "output", "and", "resets", "buffer", "."], "sha": "59f8f800b79479d0b9c80901cf55903d9b027f26", "url": "https://github.com/RuedigerMoeller/fast-serialization/blob/59f8f800b79479d0b9c80901cf55903d9b027f26/src/main/java/org/nustaq/serialization/coders/FSTBytezEncoder.java#L280-L285", "partition": "test"} +{"repo": "RuedigerMoeller/fast-serialization", "path": "src/main/java/org/nustaq/serialization/simpleapi/OffHeapCoder.java", "func_name": "OffHeapCoder.toMemory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "throws FSTBufferTooSmallException in case object does not fit into given range\n\n@param o\n@param address\n@param availableSize\n@throws IOException\n@return number of bytes written to the memory region", "docstring_tokens": ["throws", "FSTBufferTooSmallException", "in", "case", "object", "does", "not", "fit", "into", "given", "range"], "sha": "59f8f800b79479d0b9c80901cf55903d9b027f26", "url": "https://github.com/RuedigerMoeller/fast-serialization/blob/59f8f800b79479d0b9c80901cf55903d9b027f26/src/main/java/org/nustaq/serialization/simpleapi/OffHeapCoder.java#L121-L127", "partition": "test"} +{"repo": "RuedigerMoeller/fast-serialization", "path": "src/main/java/org/nustaq/serialization/coders/FSTJsonDecoder.java", "func_name": "FSTJsonDecoder.readClass", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "in case readClass already reads full minbin value", "docstring_tokens": ["in", "case", "readClass", "already", "reads", "full", "minbin", "value"], "sha": "59f8f800b79479d0b9c80901cf55903d9b027f26", "url": "https://github.com/RuedigerMoeller/fast-serialization/blob/59f8f800b79479d0b9c80901cf55903d9b027f26/src/main/java/org/nustaq/serialization/coders/FSTJsonDecoder.java#L557-L565", "partition": "test"} +{"repo": "RuedigerMoeller/fast-serialization", "path": "src/main/java/org/nustaq/serialization/simpleapi/DefaultCoder.java", "func_name": "DefaultCoder.toByteArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "will throw an FSTBufferTooSmallException if buffer is too small.", "docstring_tokens": ["will", "throw", "an", "FSTBufferTooSmallException", "if", "buffer", "is", "too", "small", "."], "sha": "59f8f800b79479d0b9c80901cf55903d9b027f26", "url": "https://github.com/RuedigerMoeller/fast-serialization/blob/59f8f800b79479d0b9c80901cf55903d9b027f26/src/main/java/org/nustaq/serialization/simpleapi/DefaultCoder.java#L72-L85", "partition": "test"} +{"repo": "RuedigerMoeller/fast-serialization", "path": "src/main/java/org/nustaq/offheap/bytez/malloc/MMFBytez.java", "func_name": "MMFBytez._setMMFData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "hack to update underlying file in slices handed out to app", "docstring_tokens": ["hack", "to", "update", "underlying", "file", "in", "slices", "handed", "out", "to", "app"], "sha": "59f8f800b79479d0b9c80901cf55903d9b027f26", "url": "https://github.com/RuedigerMoeller/fast-serialization/blob/59f8f800b79479d0b9c80901cf55903d9b027f26/src/main/java/org/nustaq/offheap/bytez/malloc/MMFBytez.java#L69-L71", "partition": "test"} +{"repo": "RuedigerMoeller/fast-serialization", "path": "src/main/java/org/nustaq/serialization/FSTClazzLineageInfo.java", "func_name": "FSTClazzLineageInfo.getSpecificity", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the specificity of the specified class as defined above.", "docstring_tokens": ["Returns", "the", "specificity", "of", "the", "specified", "class", "as", "defined", "above", "."], "sha": "59f8f800b79479d0b9c80901cf55903d9b027f26", "url": "https://github.com/RuedigerMoeller/fast-serialization/blob/59f8f800b79479d0b9c80901cf55903d9b027f26/src/main/java/org/nustaq/serialization/FSTClazzLineageInfo.java#L36-L40", "partition": "test"} +{"repo": "RuedigerMoeller/fast-serialization", "path": "src/main/java/org/nustaq/offheap/FSTBinaryOffheapMap.java", "func_name": "FSTBinaryOffheapMap.resizeStore", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "PRIVILEGED method. You gotta know what your doing here ..\n\ncurrently a very expensive operation .. frees everything, resize file and remap.\nRemapping involves rebuild of index.\n@param required", "docstring_tokens": ["PRIVILEGED", "method", ".", "You", "gotta", "know", "what", "your", "doing", "here", ".."], "sha": "59f8f800b79479d0b9c80901cf55903d9b027f26", "url": "https://github.com/RuedigerMoeller/fast-serialization/blob/59f8f800b79479d0b9c80901cf55903d9b027f26/src/main/java/org/nustaq/offheap/FSTBinaryOffheapMap.java#L283-L314", "partition": "test"} +{"repo": "RuedigerMoeller/fast-serialization", "path": "src/main/java/org/nustaq/offheap/FSTBinaryOffheapMap.java", "func_name": "FSTBinaryOffheapMap.removeBinary", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "remove the key from the binary map\n@param key", "docstring_tokens": ["remove", "the", "key", "from", "the", "binary", "map"], "sha": "59f8f800b79479d0b9c80901cf55903d9b027f26", "url": "https://github.com/RuedigerMoeller/fast-serialization/blob/59f8f800b79479d0b9c80901cf55903d9b027f26/src/main/java/org/nustaq/offheap/FSTBinaryOffheapMap.java#L345-L356", "partition": "test"} +{"repo": "RuedigerMoeller/fast-serialization", "path": "src/main/java/org/nustaq/serialization/coders/FSTStreamEncoder.java", "func_name": "FSTStreamEncoder.writeStringAsc", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "length < 127 !!!!!\n\n@param name\n@throws java.io.IOException", "docstring_tokens": ["length", "<", "127", "!!!!!"], "sha": "59f8f800b79479d0b9c80901cf55903d9b027f26", "url": "https://github.com/RuedigerMoeller/fast-serialization/blob/59f8f800b79479d0b9c80901cf55903d9b027f26/src/main/java/org/nustaq/serialization/coders/FSTStreamEncoder.java#L329-L340", "partition": "test"} +{"repo": "RuedigerMoeller/fast-serialization", "path": "src/main/java/org/nustaq/serialization/coders/FSTStreamEncoder.java", "func_name": "FSTStreamEncoder.setOutstream", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "if output stream is null, just encode into a byte array\n@param outstream", "docstring_tokens": ["if", "output", "stream", "is", "null", "just", "encode", "into", "a", "byte", "array"], "sha": "59f8f800b79479d0b9c80901cf55903d9b027f26", "url": "https://github.com/RuedigerMoeller/fast-serialization/blob/59f8f800b79479d0b9c80901cf55903d9b027f26/src/main/java/org/nustaq/serialization/coders/FSTStreamEncoder.java#L513-L528", "partition": "test"} +{"repo": "RuedigerMoeller/fast-serialization", "path": "src/main/java/org/nustaq/serialization/FSTConfiguration.java", "func_name": "FSTConfiguration.createJsonConfiguration", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "create a json conf with given attributes. Note that shared refs = true for jason might be not as stable as for binary encodings\nas fst relies on stream positions to identify objects within a given input, so any inbetween formatting will break proper reference\nresolution.\n\nWARNING: use of sharedrefs = true is Deprecated as its flakey\n\n@param prettyPrint\n@param shareReferences\n@return", "docstring_tokens": ["create", "a", "json", "conf", "with", "given", "attributes", ".", "Note", "that", "shared", "refs", "=", "true", "for", "jason", "might", "be", "not", "as", "stable", "as", "for", "binary", "encodings", "as", "fst", "relies", "on", "stream", "positions", "to", "identify", "objects", "within", "a", "given", "input", "so", "any", "inbetween", "formatting", "will", "break", "proper", "reference", "resolution", "."], "sha": "59f8f800b79479d0b9c80901cf55903d9b027f26", "url": "https://github.com/RuedigerMoeller/fast-serialization/blob/59f8f800b79479d0b9c80901cf55903d9b027f26/src/main/java/org/nustaq/serialization/FSTConfiguration.java#L287-L292", "partition": "test"} +{"repo": "RuedigerMoeller/fast-serialization", "path": "src/main/java/org/nustaq/serialization/FSTConfiguration.java", "func_name": "FSTConfiguration.createStructConfiguration", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "special configuration used internally for struct emulation\n@return", "docstring_tokens": ["special", "configuration", "used", "internally", "for", "struct", "emulation"], "sha": "59f8f800b79479d0b9c80901cf55903d9b027f26", "url": "https://github.com/RuedigerMoeller/fast-serialization/blob/59f8f800b79479d0b9c80901cf55903d9b027f26/src/main/java/org/nustaq/serialization/FSTConfiguration.java#L608-L612", "partition": "test"} +{"repo": "RuedigerMoeller/fast-serialization", "path": "src/main/java/org/nustaq/serialization/FSTConfiguration.java", "func_name": "FSTConfiguration.calcObjectSizeBytesNotAUtility", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "for optimization purposes, do not use to benchmark processing time or in a regular program as\nthis methods creates a temporary binaryoutputstream and serializes the object in order to measure the\nsize.", "docstring_tokens": ["for", "optimization", "purposes", "do", "not", "use", "to", "benchmark", "processing", "time", "or", "in", "a", "regular", "program", "as", "this", "methods", "creates", "a", "temporary", "binaryoutputstream", "and", "serializes", "the", "object", "in", "order", "to", "measure", "the", "size", "."], "sha": "59f8f800b79479d0b9c80901cf55903d9b027f26", "url": "https://github.com/RuedigerMoeller/fast-serialization/blob/59f8f800b79479d0b9c80901cf55903d9b027f26/src/main/java/org/nustaq/serialization/FSTConfiguration.java#L692-L698", "partition": "test"} +{"repo": "RuedigerMoeller/fast-serialization", "path": "src/main/java/org/nustaq/serialization/FSTConfiguration.java", "func_name": "FSTConfiguration.clearCaches", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "clear cached softref's and ThreadLocal.", "docstring_tokens": ["clear", "cached", "softref", "s", "and", "ThreadLocal", "."], "sha": "59f8f800b79479d0b9c80901cf55903d9b027f26", "url": "https://github.com/RuedigerMoeller/fast-serialization/blob/59f8f800b79479d0b9c80901cf55903d9b027f26/src/main/java/org/nustaq/serialization/FSTConfiguration.java#L758-L768", "partition": "test"} +{"repo": "RuedigerMoeller/fast-serialization", "path": "src/main/java/org/nustaq/serialization/FSTConfiguration.java", "func_name": "FSTConfiguration.getObjectInput", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "utility for thread safety and reuse. Do not close the resulting stream. However you should close\nthe given InputStream 'in'\n@param in\n@return", "docstring_tokens": ["utility", "for", "thread", "safety", "and", "reuse", ".", "Do", "not", "close", "the", "resulting", "stream", ".", "However", "you", "should", "close", "the", "given", "InputStream", "in"], "sha": "59f8f800b79479d0b9c80901cf55903d9b027f26", "url": "https://github.com/RuedigerMoeller/fast-serialization/blob/59f8f800b79479d0b9c80901cf55903d9b027f26/src/main/java/org/nustaq/serialization/FSTConfiguration.java#L894-L903", "partition": "test"} +{"repo": "RuedigerMoeller/fast-serialization", "path": "src/main/java/org/nustaq/serialization/FSTConfiguration.java", "func_name": "FSTConfiguration.getObjectInput", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "take the given array as input. the array is NOT copied.\n\nWARNING: the input streams takes over ownership and might overwrite content\nof this array in subsequent IO operations.\n\n@param arr\n@param len\n@return", "docstring_tokens": ["take", "the", "given", "array", "as", "input", ".", "the", "array", "is", "NOT", "copied", "."], "sha": "59f8f800b79479d0b9c80901cf55903d9b027f26", "url": "https://github.com/RuedigerMoeller/fast-serialization/blob/59f8f800b79479d0b9c80901cf55903d9b027f26/src/main/java/org/nustaq/serialization/FSTConfiguration.java#L932-L941", "partition": "test"} +{"repo": "RuedigerMoeller/fast-serialization", "path": "src/main/java/org/nustaq/serialization/FSTConfiguration.java", "func_name": "FSTConfiguration.getObjectInputCopyFrom", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "take the given array and copy it to input. the array IS copied\n@param arr\n@param len\n@return", "docstring_tokens": ["take", "the", "given", "array", "and", "copy", "it", "to", "input", ".", "the", "array", "IS", "copied"], "sha": "59f8f800b79479d0b9c80901cf55903d9b027f26", "url": "https://github.com/RuedigerMoeller/fast-serialization/blob/59f8f800b79479d0b9c80901cf55903d9b027f26/src/main/java/org/nustaq/serialization/FSTConfiguration.java#L949-L958", "partition": "test"} +{"repo": "RuedigerMoeller/fast-serialization", "path": "src/main/java/org/nustaq/serialization/FSTConfiguration.java", "func_name": "FSTConfiguration.getObjectOutput", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "utility for thread safety and reuse. Do not close the resulting stream. However you should close\nthe given OutputStream 'out'\n@param out - can be null (temp bytearrays stream is created then)\n@return", "docstring_tokens": ["utility", "for", "thread", "safety", "and", "reuse", ".", "Do", "not", "close", "the", "resulting", "stream", ".", "However", "you", "should", "close", "the", "given", "OutputStream", "out"], "sha": "59f8f800b79479d0b9c80901cf55903d9b027f26", "url": "https://github.com/RuedigerMoeller/fast-serialization/blob/59f8f800b79479d0b9c80901cf55903d9b027f26/src/main/java/org/nustaq/serialization/FSTConfiguration.java#L991-L995", "partition": "test"} +{"repo": "RuedigerMoeller/fast-serialization", "path": "src/main/java/org/nustaq/serialization/FSTConfiguration.java", "func_name": "FSTConfiguration.registerCrossPlatformClassMapping", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "init right after creation of configuration, not during operation as it is not threadsafe regarding mutation\ncurrently only for minbin serialization\n\n@param keysAndVals { { \"symbolicName\", \"fullQualifiedClazzName\" }, .. }", "docstring_tokens": ["init", "right", "after", "creation", "of", "configuration", "not", "during", "operation", "as", "it", "is", "not", "threadsafe", "regarding", "mutation", "currently", "only", "for", "minbin", "serialization"], "sha": "59f8f800b79479d0b9c80901cf55903d9b027f26", "url": "https://github.com/RuedigerMoeller/fast-serialization/blob/59f8f800b79479d0b9c80901cf55903d9b027f26/src/main/java/org/nustaq/serialization/FSTConfiguration.java#L1085-L1091", "partition": "test"} +{"repo": "RuedigerMoeller/fast-serialization", "path": "src/main/java/org/nustaq/serialization/FSTConfiguration.java", "func_name": "FSTConfiguration.getCPNameForClass", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "get cross platform symbolic class identifier\n@param cl\n@return", "docstring_tokens": ["get", "cross", "platform", "symbolic", "class", "identifier"], "sha": "59f8f800b79479d0b9c80901cf55903d9b027f26", "url": "https://github.com/RuedigerMoeller/fast-serialization/blob/59f8f800b79479d0b9c80901cf55903d9b027f26/src/main/java/org/nustaq/serialization/FSTConfiguration.java#L1140-L1149", "partition": "test"} +{"repo": "RuedigerMoeller/fast-serialization", "path": "src/main/java/org/nustaq/serialization/minbin/MBOut.java", "func_name": "MBOut.writeInt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "write an int type with header\n@param type\n@param data", "docstring_tokens": ["write", "an", "int", "type", "with", "header"], "sha": "59f8f800b79479d0b9c80901cf55903d9b027f26", "url": "https://github.com/RuedigerMoeller/fast-serialization/blob/59f8f800b79479d0b9c80901cf55903d9b027f26/src/main/java/org/nustaq/serialization/minbin/MBOut.java#L62-L67", "partition": "test"} +{"repo": "RuedigerMoeller/fast-serialization", "path": "src/main/java/org/nustaq/serialization/minbin/MBOut.java", "func_name": "MBOut.writeRawInt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "encode int without header tag\n@param data", "docstring_tokens": ["encode", "int", "without", "header", "tag"], "sha": "59f8f800b79479d0b9c80901cf55903d9b027f26", "url": "https://github.com/RuedigerMoeller/fast-serialization/blob/59f8f800b79479d0b9c80901cf55903d9b027f26/src/main/java/org/nustaq/serialization/minbin/MBOut.java#L72-L78", "partition": "test"} +{"repo": "RuedigerMoeller/fast-serialization", "path": "src/main/java/org/nustaq/serialization/minbin/MBOut.java", "func_name": "MBOut.writeIntPacked", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "encode int using only as much bytes as needed to represent it\n@param data", "docstring_tokens": ["encode", "int", "using", "only", "as", "much", "bytes", "as", "needed", "to", "represent", "it"], "sha": "59f8f800b79479d0b9c80901cf55903d9b027f26", "url": "https://github.com/RuedigerMoeller/fast-serialization/blob/59f8f800b79479d0b9c80901cf55903d9b027f26/src/main/java/org/nustaq/serialization/minbin/MBOut.java#L83-L88", "partition": "test"} +{"repo": "RuedigerMoeller/fast-serialization", "path": "src/main/java/org/nustaq/serialization/minbin/MBOut.java", "func_name": "MBOut.writeArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "write primitive array + header. no floating point or object array allowed. Just int based types\n@param primitiveArray\n@param start\n@param len", "docstring_tokens": ["write", "primitive", "array", "+", "header", ".", "no", "floating", "point", "or", "object", "array", "allowed", ".", "Just", "int", "based", "types"], "sha": "59f8f800b79479d0b9c80901cf55903d9b027f26", "url": "https://github.com/RuedigerMoeller/fast-serialization/blob/59f8f800b79479d0b9c80901cf55903d9b027f26/src/main/java/org/nustaq/serialization/minbin/MBOut.java#L96-L153", "partition": "test"} +{"repo": "RuedigerMoeller/fast-serialization", "path": "src/main/java/org/nustaq/serialization/minbin/MBOut.java", "func_name": "MBOut.writeRaw", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "allow write through to underlying byte for performance reasons\n@param bufferedName\n@param i\n@param length", "docstring_tokens": ["allow", "write", "through", "to", "underlying", "byte", "for", "performance", "reasons"], "sha": "59f8f800b79479d0b9c80901cf55903d9b027f26", "url": "https://github.com/RuedigerMoeller/fast-serialization/blob/59f8f800b79479d0b9c80901cf55903d9b027f26/src/main/java/org/nustaq/serialization/minbin/MBOut.java#L221-L227", "partition": "test"} +{"repo": "RuedigerMoeller/fast-serialization", "path": "src/main/java/org/nustaq/serialization/FSTObjectOutput.java", "func_name": "FSTObjectOutput.getCachedFI", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "avoid creation of dummy ref", "docstring_tokens": ["avoid", "creation", "of", "dummy", "ref"], "sha": "59f8f800b79479d0b9c80901cf55903d9b027f26", "url": "https://github.com/RuedigerMoeller/fast-serialization/blob/59f8f800b79479d0b9c80901cf55903d9b027f26/src/main/java/org/nustaq/serialization/FSTObjectOutput.java#L298-L314", "partition": "test"} +{"repo": "RuedigerMoeller/fast-serialization", "path": "src/main/java/org/nustaq/serialization/FSTObjectOutput.java", "func_name": "FSTObjectOutput.objectWillBeWritten", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "hook for debugging profiling. register a FSTSerialisationListener to use\n@param obj\n@param streamPosition", "docstring_tokens": ["hook", "for", "debugging", "profiling", ".", "register", "a", "FSTSerialisationListener", "to", "use"], "sha": "59f8f800b79479d0b9c80901cf55903d9b027f26", "url": "https://github.com/RuedigerMoeller/fast-serialization/blob/59f8f800b79479d0b9c80901cf55903d9b027f26/src/main/java/org/nustaq/serialization/FSTObjectOutput.java#L351-L355", "partition": "test"} +{"repo": "RuedigerMoeller/fast-serialization", "path": "src/main/java/org/nustaq/serialization/FSTObjectOutput.java", "func_name": "FSTObjectOutput.objectHasBeenWritten", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "hook for debugging profiling. empty impl, you need to subclass to make use of this hook\n@param obj\n@param oldStreamPosition\n@param streamPosition", "docstring_tokens": ["hook", "for", "debugging", "profiling", ".", "empty", "impl", "you", "need", "to", "subclass", "to", "make", "use", "of", "this", "hook"], "sha": "59f8f800b79479d0b9c80901cf55903d9b027f26", "url": "https://github.com/RuedigerMoeller/fast-serialization/blob/59f8f800b79479d0b9c80901cf55903d9b027f26/src/main/java/org/nustaq/serialization/FSTObjectOutput.java#L363-L367", "partition": "test"} +{"repo": "RuedigerMoeller/fast-serialization", "path": "src/main/java/org/nustaq/serialization/FSTObjectOutput.java", "func_name": "FSTObjectOutput.getFstClazzInfo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "if class is same as last referenced, returned cached clzinfo, else do a lookup", "docstring_tokens": ["if", "class", "is", "same", "as", "last", "referenced", "returned", "cached", "clzinfo", "else", "do", "a", "lookup"], "sha": "59f8f800b79479d0b9c80901cf55903d9b027f26", "url": "https://github.com/RuedigerMoeller/fast-serialization/blob/59f8f800b79479d0b9c80901cf55903d9b027f26/src/main/java/org/nustaq/serialization/FSTObjectOutput.java#L528-L538", "partition": "test"} +{"repo": "RuedigerMoeller/fast-serialization", "path": "src/main/java/org/nustaq/serialization/FSTObjectOutput.java", "func_name": "FSTObjectOutput.writeArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "incoming array is already registered", "docstring_tokens": ["incoming", "array", "is", "already", "registered"], "sha": "59f8f800b79479d0b9c80901cf55903d9b027f26", "url": "https://github.com/RuedigerMoeller/fast-serialization/blob/59f8f800b79479d0b9c80901cf55903d9b027f26/src/main/java/org/nustaq/serialization/FSTObjectOutput.java#L779-L825", "partition": "test"} +{"repo": "RuedigerMoeller/fast-serialization", "path": "src/main/java/org/nustaq/offheap/structs/structtypes/StructString.java", "func_name": "StructString.setString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "modify content of this StructString. The length of the new String must not exceed\nthe length of internal char array\n@param s", "docstring_tokens": ["modify", "content", "of", "this", "StructString", ".", "The", "length", "of", "the", "new", "String", "must", "not", "exceed", "the", "length", "of", "internal", "char", "array"], "sha": "59f8f800b79479d0b9c80901cf55903d9b027f26", "url": "https://github.com/RuedigerMoeller/fast-serialization/blob/59f8f800b79479d0b9c80901cf55903d9b027f26/src/main/java/org/nustaq/offheap/structs/structtypes/StructString.java#L51-L63", "partition": "test"} +{"repo": "RuedigerMoeller/fast-serialization", "path": "src/main/java/org/nustaq/serialization/coders/FSTMinBinEncoder.java", "func_name": "FSTMinBinEncoder.writePrimitiveArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "does not write class tag and length\n\n@param array\n@param start\n@param length @throws java.io.IOException", "docstring_tokens": ["does", "not", "write", "class", "tag", "and", "length"], "sha": "59f8f800b79479d0b9c80901cf55903d9b027f26", "url": "https://github.com/RuedigerMoeller/fast-serialization/blob/59f8f800b79479d0b9c80901cf55903d9b027f26/src/main/java/org/nustaq/serialization/coders/FSTMinBinEncoder.java#L59-L62", "partition": "test"} +{"repo": "RuedigerMoeller/fast-serialization", "path": "src/main/java/org/nustaq/offheap/structs/FSTStruct.java", "func_name": "FSTStruct.finishChangeTracking", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "works only if change tracking is enabled", "docstring_tokens": ["works", "only", "if", "change", "tracking", "is", "enabled"], "sha": "59f8f800b79479d0b9c80901cf55903d9b027f26", "url": "https://github.com/RuedigerMoeller/fast-serialization/blob/59f8f800b79479d0b9c80901cf55903d9b027f26/src/main/java/org/nustaq/offheap/structs/FSTStruct.java#L408-L413", "partition": "test"} +{"repo": "RuedigerMoeller/fast-serialization", "path": "src/main/java/org/nustaq/offheap/structs/FSTStructChange.java", "func_name": "FSTStructChange.snapshotChanges", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "collects all changes and rebases.\n@param originBase\n@param origin", "docstring_tokens": ["collects", "all", "changes", "and", "rebases", "."], "sha": "59f8f800b79479d0b9c80901cf55903d9b027f26", "url": "https://github.com/RuedigerMoeller/fast-serialization/blob/59f8f800b79479d0b9c80901cf55903d9b027f26/src/main/java/org/nustaq/offheap/structs/FSTStructChange.java#L98-L113", "partition": "test"} +{"repo": "RuedigerMoeller/fast-serialization", "path": "src/main/java/org/nustaq/serialization/FSTObjectRegistry.java", "func_name": "FSTObjectRegistry.registerObjectForWrite", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "add an object to the register, return handle if already present. Called during write only\n\n@param o\n@param streamPosition\n@return 0 if added, handle if already present", "docstring_tokens": ["add", "an", "object", "to", "the", "register", "return", "handle", "if", "already", "present", ".", "Called", "during", "write", "only"], "sha": "59f8f800b79479d0b9c80901cf55903d9b027f26", "url": "https://github.com/RuedigerMoeller/fast-serialization/blob/59f8f800b79479d0b9c80901cf55903d9b027f26/src/main/java/org/nustaq/serialization/FSTObjectRegistry.java#L131-L152", "partition": "test"} +{"repo": "RuedigerMoeller/fast-serialization", "path": "src/main/java/org/nustaq/serialization/simpleapi/OnHeapCoder.java", "func_name": "OnHeapCoder.toByteArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "throws FSTBufferTooSmallExcpetion in case object does not fit into given range\nZero Copy method\n\n@param o\n@param availableSize\n@throws java.io.IOException\n@return number of bytes written to the memory region", "docstring_tokens": ["throws", "FSTBufferTooSmallExcpetion", "in", "case", "object", "does", "not", "fit", "into", "given", "range", "Zero", "Copy", "method"], "sha": "59f8f800b79479d0b9c80901cf55903d9b027f26", "url": "https://github.com/RuedigerMoeller/fast-serialization/blob/59f8f800b79479d0b9c80901cf55903d9b027f26/src/main/java/org/nustaq/serialization/simpleapi/OnHeapCoder.java#L115-L126", "partition": "test"} +{"repo": "RuedigerMoeller/fast-serialization", "path": "src/main/java/org/nustaq/serialization/simpleapi/OnHeapCoder.java", "func_name": "OnHeapCoder.toObject", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "throws FSTBufferTooSmallExcpetion in case object does not fit into given range\n\n@param arr\n@param startIndex\n@param availableSize\n@return\n@throws Exception", "docstring_tokens": ["throws", "FSTBufferTooSmallExcpetion", "in", "case", "object", "does", "not", "fit", "into", "given", "range"], "sha": "59f8f800b79479d0b9c80901cf55903d9b027f26", "url": "https://github.com/RuedigerMoeller/fast-serialization/blob/59f8f800b79479d0b9c80901cf55903d9b027f26/src/main/java/org/nustaq/serialization/simpleapi/OnHeapCoder.java#L160-L171", "partition": "test"} +{"repo": "RuedigerMoeller/fast-serialization", "path": "src/main/java/org/nustaq/offheap/BinaryQueue.java", "func_name": "BinaryQueue.readByteArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "convenience method to read len byte array. Throws an excpetion if not enough data is present\n\n@param len\n@return", "docstring_tokens": ["convenience", "method", "to", "read", "len", "byte", "array", ".", "Throws", "an", "excpetion", "if", "not", "enough", "data", "is", "present"], "sha": "59f8f800b79479d0b9c80901cf55903d9b027f26", "url": "https://github.com/RuedigerMoeller/fast-serialization/blob/59f8f800b79479d0b9c80901cf55903d9b027f26/src/main/java/org/nustaq/offheap/BinaryQueue.java#L135-L148", "partition": "test"} +{"repo": "RuedigerMoeller/fast-serialization", "path": "src/main/java/org/nustaq/offheap/BinaryQueue.java", "func_name": "BinaryQueue.readInt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "read an int. throws an exception if not enough data is present\n@return", "docstring_tokens": ["read", "an", "int", ".", "throws", "an", "exception", "if", "not", "enough", "data", "is", "present"], "sha": "59f8f800b79479d0b9c80901cf55903d9b027f26", "url": "https://github.com/RuedigerMoeller/fast-serialization/blob/59f8f800b79479d0b9c80901cf55903d9b027f26/src/main/java/org/nustaq/offheap/BinaryQueue.java#L154-L163", "partition": "test"} +{"repo": "RuedigerMoeller/fast-serialization", "path": "src/main/java/org/nustaq/offheap/BinaryQueue.java", "func_name": "BinaryQueue.back", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "'unread' len bytes\n@param len", "docstring_tokens": ["unread", "len", "bytes"], "sha": "59f8f800b79479d0b9c80901cf55903d9b027f26", "url": "https://github.com/RuedigerMoeller/fast-serialization/blob/59f8f800b79479d0b9c80901cf55903d9b027f26/src/main/java/org/nustaq/offheap/BinaryQueue.java#L183-L189", "partition": "test"} +{"repo": "hprose/hprose-java", "path": "src/main/java/hprose/server/HproseTcpServer.java", "func_name": "HproseTcpServer.setThreadPoolEnabled", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set thread pool enabled.\nThis thread pool is not for the service threads, it is for the user service method.\nIf your service method takes a long time, or will be blocked, please set this property to be true.\n@param value is thread pool enabled", "docstring_tokens": ["Set", "thread", "pool", "enabled", ".", "This", "thread", "pool", "is", "not", "for", "the", "service", "threads", "it", "is", "for", "the", "user", "service", "method", ".", "If", "your", "service", "method", "takes", "a", "long", "time", "or", "will", "be", "blocked", "please", "set", "this", "property", "to", "be", "true", "."], "sha": "0f8d00f1b2ab7a843c5cca3af3099ead8f63cc76", "url": "https://github.com/hprose/hprose-java/blob/0f8d00f1b2ab7a843c5cca3af3099ead8f63cc76/src/main/java/hprose/server/HproseTcpServer.java#L260-L265", "partition": "test"} +{"repo": "jsevellec/cassandra-unit", "path": "cassandra-unit/src/main/java/org/cassandraunit/utils/EmbeddedCassandraServerHelper.java", "func_name": "EmbeddedCassandraServerHelper.startEmbeddedCassandra", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set embedded cassandra up and spawn it in a new thread.\n\n@throws TTransportException\n@throws IOException\n@throws ConfigurationException", "docstring_tokens": ["Set", "embedded", "cassandra", "up", "and", "spawn", "it", "in", "a", "new", "thread", "."], "sha": "546ef0da4510835b77cb18770209fb0f4568dc14", "url": "https://github.com/jsevellec/cassandra-unit/blob/546ef0da4510835b77cb18770209fb0f4568dc14/cassandra-unit/src/main/java/org/cassandraunit/utils/EmbeddedCassandraServerHelper.java#L121-L168", "partition": "test"} +{"repo": "jsevellec/cassandra-unit", "path": "cassandra-unit/src/main/java/org/cassandraunit/utils/EmbeddedCassandraServerHelper.java", "func_name": "EmbeddedCassandraServerHelper.cleanDataEmbeddedCassandra", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "truncate data in keyspace, except specified tables", "docstring_tokens": ["truncate", "data", "in", "keyspace", "except", "specified", "tables"], "sha": "546ef0da4510835b77cb18770209fb0f4568dc14", "url": "https://github.com/jsevellec/cassandra-unit/blob/546ef0da4510835b77cb18770209fb0f4568dc14/cassandra-unit/src/main/java/org/cassandraunit/utils/EmbeddedCassandraServerHelper.java#L201-L205", "partition": "test"} +{"repo": "jsevellec/cassandra-unit", "path": "cassandra-unit/src/main/java/org/cassandraunit/utils/EmbeddedCassandraServerHelper.java", "func_name": "EmbeddedCassandraServerHelper.copy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copies a resource from within the jar to a directory.\n\n@param resource\n@param directory\n@throws IOException", "docstring_tokens": ["Copies", "a", "resource", "from", "within", "the", "jar", "to", "a", "directory", "."], "sha": "546ef0da4510835b77cb18770209fb0f4568dc14", "url": "https://github.com/jsevellec/cassandra-unit/blob/546ef0da4510835b77cb18770209fb0f4568dc14/cassandra-unit/src/main/java/org/cassandraunit/utils/EmbeddedCassandraServerHelper.java#L309-L316", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-common/src/main/java/org/nd4j/util/ReflectionUtils.java", "func_name": "ReflectionUtils.printThreadInfo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Print all of the thread's information and stack traces.\n\n@param stream the stream to\n@param title a string title for the stack trace", "docstring_tokens": ["Print", "all", "of", "the", "thread", "s", "information", "and", "stack", "traces", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-common/src/main/java/org/nd4j/util/ReflectionUtils.java#L64-L97", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-parameter-server-parent/nd4j-parameter-server/src/main/java/org/nd4j/parameterserver/util/CheckSocket.java", "func_name": "CheckSocket.remotePortTaken", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if a remote port is taken\n@param node the host to check\n@param port the port to check\n@param timeout the timeout for the connection\n@return true if the port is taken false otherwise", "docstring_tokens": ["Check", "if", "a", "remote", "port", "is", "taken"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-parameter-server-parent/nd4j-parameter-server/src/main/java/org/nd4j/parameterserver/util/CheckSocket.java#L20-L49", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-parameter-server-parent/nd4j-parameterserver-model/src/main/java/org/nd4j/parameterserver/model/SubscriberState.java", "func_name": "SubscriberState.empty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an empty subscriber state\nwith -1 as total updates, master as false\nand server state as empty\n@return an empty subscriber state", "docstring_tokens": ["Returns", "an", "empty", "subscriber", "state", "with", "-", "1", "as", "total", "updates", "master", "as", "false", "and", "server", "state", "as", "empty"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-parameter-server-parent/nd4j-parameterserver-model/src/main/java/org/nd4j/parameterserver/model/SubscriberState.java#L42-L45", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/imports/descriptors/onnx/OnnxDescriptorParser.java", "func_name": "OnnxDescriptorParser.onnxOpDescriptors", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the onnx op descriptors by name\n@return the onnx op descriptors by name\n@throws Exception", "docstring_tokens": ["Get", "the", "onnx", "op", "descriptors", "by", "name"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/imports/descriptors/onnx/OnnxDescriptorParser.java#L23-L36", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ops/BaseBroadcastOp.java", "func_name": "BaseBroadcastOp.calculateOutputShape", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculate the output shape for this op\n\n@return", "docstring_tokens": ["Calculate", "the", "output", "shape", "for", "this", "op"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ops/BaseBroadcastOp.java#L147-L155", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/indexing/BooleanIndexing.java", "func_name": "BooleanIndexing.or", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Or over the whole ndarray given some condition\n\n@param n\n@param cond\n@return", "docstring_tokens": ["Or", "over", "the", "whole", "ndarray", "given", "some", "condition"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/indexing/BooleanIndexing.java#L72-L80", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/indexing/BooleanIndexing.java", "func_name": "BooleanIndexing.and", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "And over the whole ndarray given some condition\n\n@param n the ndarray to test\n@param cond the condition to test against\n@return true if all of the elements meet the specified\ncondition false otherwise", "docstring_tokens": ["And", "over", "the", "whole", "ndarray", "given", "some", "condition"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/indexing/BooleanIndexing.java#L91-L113", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/indexing/BooleanIndexing.java", "func_name": "BooleanIndexing.and", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "And over the whole ndarray given some condition, with respect to dimensions\n\n@param n the ndarray to test\n@param condition the condition to test against\n@return true if all of the elements meet the specified\ncondition false otherwise", "docstring_tokens": ["And", "over", "the", "whole", "ndarray", "given", "some", "condition", "with", "respect", "to", "dimensions"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/indexing/BooleanIndexing.java#L123-L141", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/indexing/BooleanIndexing.java", "func_name": "BooleanIndexing.or", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Or over the whole ndarray given some condition, with respect to dimensions\n\n@param n the ndarray to test\n@param condition the condition to test against\n@return true if all of the elements meet the specified\ncondition false otherwise", "docstring_tokens": ["Or", "over", "the", "whole", "ndarray", "given", "some", "condition", "with", "respect", "to", "dimensions"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/indexing/BooleanIndexing.java#L152-L171", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/indexing/BooleanIndexing.java", "func_name": "BooleanIndexing.applyWhere", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method sets provided number to all elements which match specified condition\n\n@param to\n@param condition\n@param number", "docstring_tokens": ["This", "method", "sets", "provided", "number", "to", "all", "elements", "which", "match", "specified", "condition"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/indexing/BooleanIndexing.java#L233-L258", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/indexing/BooleanIndexing.java", "func_name": "BooleanIndexing.firstIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method returns first index matching given condition\n\nPLEASE NOTE: This method will return -1 value if condition wasn't met\n\n@param array\n@param condition\n@return", "docstring_tokens": ["This", "method", "returns", "first", "index", "matching", "given", "condition"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/indexing/BooleanIndexing.java#L437-L444", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/functions/FunctionProperties.java", "func_name": "FunctionProperties.asFlatProperties", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method converts this FunctionProperties instance to FlatBuffers representation\n@param bufferBuilder\n@return", "docstring_tokens": ["This", "method", "converts", "this", "FunctionProperties", "instance", "to", "FlatBuffers", "representation"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/functions/FunctionProperties.java#L34-L50", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/functions/FunctionProperties.java", "func_name": "FunctionProperties.fromFlatProperties", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method creates new FunctionProperties instance from FlatBuffers representation\n@param properties\n@return", "docstring_tokens": ["This", "method", "creates", "new", "FunctionProperties", "instance", "from", "FlatBuffers", "representation"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/functions/FunctionProperties.java#L57-L73", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/functions/FunctionProperties.java", "func_name": "FunctionProperties.asFlatProperties", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method converts multiple FunctionProperties to FlatBuffers representation\n\n@param bufferBuilder\n@param properties\n@return", "docstring_tokens": ["This", "method", "converts", "multiple", "FunctionProperties", "to", "FlatBuffers", "representation"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/functions/FunctionProperties.java#L82-L90", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/util/AtomicThrowable.java", "func_name": "AtomicThrowable.set", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method updates state with given Throwable\n@param t", "docstring_tokens": ["This", "method", "updates", "state", "with", "given", "Throwable"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/util/AtomicThrowable.java#L49-L57", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/util/AtomicThrowable.java", "func_name": "AtomicThrowable.setIfFirst", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method updates state only if it wasn't set before\n\n@param t", "docstring_tokens": ["This", "method", "updates", "state", "only", "if", "it", "wasn", "t", "set", "before"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/util/AtomicThrowable.java#L64-L73", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-common/src/main/java/org/nd4j/linalg/util/MathUtils.java", "func_name": "MathUtils.mergeCoords", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This will merge the coordinates of the given coordinate system.\n\n@param x the x coordinates\n@param y the y coordinates\n@return a vector such that each (x,y) pair is at ret[i],ret[i+1]", "docstring_tokens": ["This", "will", "merge", "the", "coordinates", "of", "the", "given", "coordinate", "system", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-common/src/main/java/org/nd4j/linalg/util/MathUtils.java#L370-L382", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-common/src/main/java/org/nd4j/linalg/util/MathUtils.java", "func_name": "MathUtils.partitionVariable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This will partition the given whole variable data applyTransformToDestination in to the specified chunk number.\n\n@param arr the data applyTransformToDestination to pass in\n@param chunk the number to separate by\n@return a partition data applyTransformToDestination relative to the passed in chunk number", "docstring_tokens": ["This", "will", "partition", "the", "given", "whole", "variable", "data", "applyTransformToDestination", "in", "to", "the", "specified", "chunk", "number", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-common/src/main/java/org/nd4j/linalg/util/MathUtils.java#L626-L644", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/imports/graphmapper/onnx/OnnxGraphMapper.java", "func_name": "OnnxGraphMapper.nd4jTypeFromOnnxType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert an onnx type to the proper nd4j type\n@param dataType the data type to convert\n@return the nd4j type for the onnx type", "docstring_tokens": ["Convert", "an", "onnx", "type", "to", "the", "proper", "nd4j", "type"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/imports/graphmapper/onnx/OnnxGraphMapper.java#L412-L421", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-parameter-server-parent/nd4j-parameter-server-node/src/main/java/org/nd4j/parameterserver/distributed/VoidParameterServer.java", "func_name": "VoidParameterServer.shutdown", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method initiates shutdown sequence for this instance.\n\nPLEASE NOTE: This method is blocking for first caller only", "docstring_tokens": ["This", "method", "initiates", "shutdown", "sequence", "for", "this", "instance", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-parameter-server-parent/nd4j-parameter-server-node/src/main/java/org/nd4j/parameterserver/distributed/VoidParameterServer.java#L363-L378", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/jita/conf/CudaEnvironment.java", "func_name": "CudaEnvironment.getCurrentDeviceArchitecture", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the current device architecture\n@return the major/minor version of\nthe current device", "docstring_tokens": ["Get", "the", "current", "device", "architecture"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/jita/conf/CudaEnvironment.java#L48-L59", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/convolution/Convolution.java", "func_name": "Convolution.col2im", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Rearrange matrix\ncolumns into blocks\n\n@param col the column\ntransposed image to convert\n@param sy stride y\n@param sx stride x\n@param ph padding height\n@param pw padding width\n@param h height\n@param w width\n@return", "docstring_tokens": ["Rearrange", "matrix", "columns", "into", "blocks"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/convolution/Convolution.java#L81-L104", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/convolution/Convolution.java", "func_name": "Convolution.pooling2D", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Pooling 2d implementation\n@param img\n@param kh\n@param kw\n@param sy\n@param sx\n@param ph\n@param pw\n@param dh\n@param dw\n@param isSameMode\n@param type\n@param extra optional argument. I.e. used in pnorm pooling.\n@param virtualHeight\n@param virtualWidth\n@param out\n@return", "docstring_tokens": ["Pooling", "2d", "implementation"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/convolution/Convolution.java#L237-L262", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/compression/CompressionDescriptor.java", "func_name": "CompressionDescriptor.fromByteBuffer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Instantiate a compression descriptor from\nthe given bytebuffer\n@param byteBuffer the bytebuffer to instantiate\nthe descriptor from\n@return the instantiated descriptor based on the given\nbytebuffer", "docstring_tokens": ["Instantiate", "a", "compression", "descriptor", "from", "the", "given", "bytebuffer"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/compression/CompressionDescriptor.java#L79-L96", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ops/aggregates/Batch.java", "func_name": "Batch.getBatches", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Helper method to create batch from list of aggregates, for cases when list of aggregates is higher then batchLimit\n\n@param list\n@param \n@return", "docstring_tokens": ["Helper", "method", "to", "create", "batch", "from", "list", "of", "aggregates", "for", "cases", "when", "list", "of", "aggregates", "is", "higher", "then", "batchLimit"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ops/aggregates/Batch.java#L105-L114", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/BaseNDArrayFactory.java", "func_name": "BaseNDArrayFactory.validateConcat", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "input arrays must have same number of dimensions", "docstring_tokens": ["input", "arrays", "must", "have", "same", "number", "of", "dimensions"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/BaseNDArrayFactory.java#L121-L136", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/BaseNDArrayFactory.java", "func_name": "BaseNDArrayFactory.setDType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the data opType\n\n@param dtype", "docstring_tokens": ["Sets", "the", "data", "opType"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/BaseNDArrayFactory.java#L173-L178", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/BaseNDArrayFactory.java", "func_name": "BaseNDArrayFactory.linspace", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generate a linearly spaced vector\n\n@param lower upper bound\n@param upper lower bound\n@param num the step size\n@return the linearly spaced vector", "docstring_tokens": ["Generate", "a", "linearly", "spaced", "vector"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/BaseNDArrayFactory.java#L213-L230", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/BaseNDArrayFactory.java", "func_name": "BaseNDArrayFactory.toFlattened", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a vector with all of the elements in every nd array\nequal to the sum of the lengths of the ndarrays\n\n@param matrices the ndarrays to getFloat a flattened representation of\n@return the flattened ndarray", "docstring_tokens": ["Returns", "a", "vector", "with", "all", "of", "the", "elements", "in", "every", "nd", "array", "equal", "to", "the", "sum", "of", "the", "lengths", "of", "the", "ndarrays"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/BaseNDArrayFactory.java#L255-L269", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/BaseNDArrayFactory.java", "func_name": "BaseNDArrayFactory.bilinearProducts", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a column vector where each entry is the nth bilinear\nproduct of the nth slices of the two tensors.", "docstring_tokens": ["Returns", "a", "column", "vector", "where", "each", "entry", "is", "the", "nth", "bilinear", "product", "of", "the", "nth", "slices", "of", "the", "two", "tensors", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/BaseNDArrayFactory.java#L285-L308", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/BaseNDArrayFactory.java", "func_name": "BaseNDArrayFactory.createComplex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an ndarray with the specified data\n\n@param data the number of columns in the row vector\n@return ndarray", "docstring_tokens": ["Creates", "an", "ndarray", "with", "the", "specified", "data"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/BaseNDArrayFactory.java#L826-L831", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/BaseNDArrayFactory.java", "func_name": "BaseNDArrayFactory.complexValueOf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an 1 x num ndarray with the specified value\n\n@param num the number of columns\n@param value the value to assign\n@return a complex ndarray of the specified size\nand value", "docstring_tokens": ["Creates", "an", "1", "x", "num", "ndarray", "with", "the", "specified", "value"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/BaseNDArrayFactory.java#L960-L965", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/BaseNDArrayFactory.java", "func_name": "BaseNDArrayFactory.complexValueOf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an shape ndarray with the specified value\n\n@param shape the shape of the ndarray\n@param value the value to assign\n@return a complex ndarray of the specified size\nand value", "docstring_tokens": ["Creates", "an", "shape", "ndarray", "with", "the", "specified", "value"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/BaseNDArrayFactory.java#L975-L980", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-parameter-server-parent/nd4j-parameter-server/src/main/java/org/nd4j/parameterserver/updater/TimeDelayedParameterUpdater.java", "func_name": "TimeDelayedParameterUpdater.shouldReplicate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if\nthe updater has accumulated enough ndarrays to\nreplicate to the workers\n\n@return true if replication should happen,false otherwise", "docstring_tokens": ["Returns", "true", "if", "the", "updater", "has", "accumulated", "enough", "ndarrays", "to", "replicate", "to", "the", "workers"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-parameter-server-parent/nd4j-parameter-server/src/main/java/org/nd4j/parameterserver/updater/TimeDelayedParameterUpdater.java#L64-L69", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-buffer/src/main/java/org/nd4j/linalg/api/complex/BaseComplexDouble.java", "func_name": "BaseComplexDouble.subi", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Subtract two complex numbers, in-place\n\n@param c\n@param result", "docstring_tokens": ["Subtract", "two", "complex", "numbers", "in", "-", "place"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-buffer/src/main/java/org/nd4j/linalg/api/complex/BaseComplexDouble.java#L310-L314", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/util/ComplexUtil.java", "func_name": "ComplexUtil.atan", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the sin value of the given complex number\n\n@param num the number to getScalar the absolute value for\n@return the absolute value of this complex number", "docstring_tokens": ["Return", "the", "sin", "value", "of", "the", "given", "complex", "number"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/util/ComplexUtil.java#L91-L94", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/util/ComplexUtil.java", "func_name": "ComplexUtil.ceil", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the ceiling value of the given complex number\n\n@param num the number to getScalar the absolute value for\n@return the absolute value of this complex number", "docstring_tokens": ["Return", "the", "ceiling", "value", "of", "the", "given", "complex", "number"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/util/ComplexUtil.java#L135-L139", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/util/ComplexUtil.java", "func_name": "ComplexUtil.neg", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the log value of the given complex number\n\n@param num the number to getScalar the absolute value for\n@return the absolute value of this complex number", "docstring_tokens": ["Return", "the", "log", "value", "of", "the", "given", "complex", "number"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/util/ComplexUtil.java#L160-L163", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/util/ComplexUtil.java", "func_name": "ComplexUtil.abs", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the absolute value of the given complex number\n\n@param num the number to getScalar the absolute value for\n@return the absolute value of this complex number", "docstring_tokens": ["Return", "the", "absolute", "value", "of", "the", "given", "complex", "number"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/util/ComplexUtil.java#L196-L199", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/util/ComplexUtil.java", "func_name": "ComplexUtil.pow", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Raise a complex number to a power\n\n@param num the number to raise\n@param power the power to raise to\n@return the number raised to a power", "docstring_tokens": ["Raise", "a", "complex", "number", "to", "a", "power"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/util/ComplexUtil.java#L214-L221", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-parameter-server-parent/nd4j-parameter-server/src/main/java/org/nd4j/parameterserver/ParameterServerSubscriber.java", "func_name": "ParameterServerSubscriber.getContext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "get a context", "docstring_tokens": ["get", "a", "context"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-parameter-server-parent/nd4j-parameter-server/src/main/java/org/nd4j/parameterserver/ParameterServerSubscriber.java#L365-L372", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/dataset/DataSet.java", "func_name": "DataSet.binarize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Binarizes the dataset such that any number greater than cutoff is 1 otherwise zero\n\n@param cutoff the cutoff point", "docstring_tokens": ["Binarizes", "the", "dataset", "such", "that", "any", "number", "greater", "than", "cutoff", "is", "1", "otherwise", "zero"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/dataset/DataSet.java#L547-L557", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/dataset/DataSet.java", "func_name": "DataSet.sample", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sample a dataset\n\n@param numSamples the number of samples to getFromOrigin\n@param rng the rng to use\n@param withReplacement whether to allow duplicates (only tracked by example row number)\n@return the sample dataset", "docstring_tokens": ["Sample", "a", "dataset"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/dataset/DataSet.java#L1124-L1142", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/dataset/DataSet.java", "func_name": "DataSet.getMemoryFootprint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method returns memory used by this DataSet\n\n@return", "docstring_tokens": ["This", "method", "returns", "memory", "used", "by", "this", "DataSet"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/dataset/DataSet.java#L1332-L1340", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-common/src/main/java/org/nd4j/util/StringUtils.java", "func_name": "StringUtils.stringifyException", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make a string representation of the exception.\n@param e The exception to stringify\n@return A string with exception name and call stack.", "docstring_tokens": ["Make", "a", "string", "representation", "of", "the", "exception", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-common/src/main/java/org/nd4j/util/StringUtils.java#L54-L60", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-common/src/main/java/org/nd4j/util/StringUtils.java", "func_name": "StringUtils.simpleHostname", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Given a full hostname, return the word upto the first dot.\n@param fullHostname the full hostname\n@return the hostname to the first dot", "docstring_tokens": ["Given", "a", "full", "hostname", "return", "the", "word", "upto", "the", "first", "dot", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-common/src/main/java/org/nd4j/util/StringUtils.java#L67-L76", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-common/src/main/java/org/nd4j/util/StringUtils.java", "func_name": "StringUtils.arrayToString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Given an array of strings, return a comma-separated list of its elements.\n@param strs Array of strings\n@return Empty string if strs.length is 0, comma separated list of strings\notherwise", "docstring_tokens": ["Given", "an", "array", "of", "strings", "return", "a", "comma", "-", "separated", "list", "of", "its", "elements", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-common/src/main/java/org/nd4j/util/StringUtils.java#L112-L121", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-common/src/main/java/org/nd4j/util/StringUtils.java", "func_name": "StringUtils.byteToHexString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Given an array of bytes it will convert the bytes to a hex string\nrepresentation of the bytes\n@param bytes\n@param start start index, inclusively\n@param end end index, exclusively\n@return hex string representation of the byte array", "docstring_tokens": ["Given", "an", "array", "of", "bytes", "it", "will", "convert", "the", "bytes", "to", "a", "hex", "string", "representation", "of", "the", "bytes"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-common/src/main/java/org/nd4j/util/StringUtils.java#L131-L140", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-common/src/main/java/org/nd4j/util/StringUtils.java", "func_name": "StringUtils.getStrings", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an arraylist of strings.\n@param str the string values\n@param delim delimiter to separate the values\n@return the arraylist of the separated string values", "docstring_tokens": ["Returns", "an", "arraylist", "of", "strings", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-common/src/main/java/org/nd4j/util/StringUtils.java#L326-L332", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-common/src/main/java/org/nd4j/util/StringUtils.java", "func_name": "StringUtils.split", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Split a string using the given separator\n@param str a string that may have escaped separator\n@param escapeChar a char that be used to escape the separator\n@param separator a separator char\n@return an array of strings", "docstring_tokens": ["Split", "a", "string", "using", "the", "given", "separator"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-common/src/main/java/org/nd4j/util/StringUtils.java#L416-L436", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-common/src/main/java/org/nd4j/util/StringUtils.java", "func_name": "StringUtils.split", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Split a string using the given separator, with no escaping performed.\n@param str a string to be split. Note that this may not be null.\n@param separator a separator char\n@return an array of strings", "docstring_tokens": ["Split", "a", "string", "using", "the", "given", "separator", "with", "no", "escaping", "performed", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-common/src/main/java/org/nd4j/util/StringUtils.java#L444-L465", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-common/src/main/java/org/nd4j/util/StringUtils.java", "func_name": "StringUtils.findNext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds the first occurrence of the separator character ignoring the escaped\nseparators starting from the index. Note the substring between the index\nand the position of the separator is passed.\n@param str the source string\n@param separator the character to find\n@param escapeChar character used to escape\n@param start from where to search\n@param split used to pass back the extracted string", "docstring_tokens": ["Finds", "the", "first", "occurrence", "of", "the", "separator", "character", "ignoring", "the", "escaped", "separators", "starting", "from", "the", "index", ".", "Note", "the", "substring", "between", "the", "index", "and", "the", "position", "of", "the", "separator", "is", "passed", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-common/src/main/java/org/nd4j/util/StringUtils.java#L477-L492", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-common/src/main/java/org/nd4j/util/StringUtils.java", "func_name": "StringUtils.escapeHTML", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Escapes HTML Special characters present in the string.\n@param string\n@return HTML Escaped String representation", "docstring_tokens": ["Escapes", "HTML", "Special", "characters", "present", "in", "the", "string", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-common/src/main/java/org/nd4j/util/StringUtils.java#L791-L820", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-common/src/main/java/org/nd4j/util/StringUtils.java", "func_name": "StringUtils.join", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Concatenates strings, using a separator.\n\n@param separator Separator to join with.\n@param strings Strings to join.", "docstring_tokens": ["Concatenates", "strings", "using", "a", "separator", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-common/src/main/java/org/nd4j/util/StringUtils.java#L841-L852", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-common/src/main/java/org/nd4j/util/StringUtils.java", "func_name": "StringUtils.camelize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert SOME_STUFF to SomeStuff\n\n@param s input string\n@return camelized string", "docstring_tokens": ["Convert", "SOME_STUFF", "to", "SomeStuff"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-common/src/main/java/org/nd4j/util/StringUtils.java#L904-L912", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-common/src/main/java/org/nd4j/util/StringUtils.java", "func_name": "StringUtils.replaceTokens", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Matches a template string against a pattern, replaces matched tokens with\nthe supplied replacements, and returns the result. The regular expression\nmust use a capturing group. The value of the first capturing group is used\nto look up the replacement. If no replacement is found for the token, then\nit is replaced with the empty string.\n\nFor example, assume template is \"%foo%_%bar%_%baz%\", pattern is \"%(.*?)%\",\nand replacements contains 2 entries, mapping \"foo\" to \"zoo\" and \"baz\" to\n\"zaz\". The result returned would be \"zoo__zaz\".\n\n@param template String template to receive replacements\n@param pattern Pattern to match for identifying tokens, must use a capturing\ngroup\n@param replacements Map mapping tokens identified by the\ncapturing group to their replacement values\n@return String template with replacements", "docstring_tokens": ["Matches", "a", "template", "string", "against", "a", "pattern", "replaces", "matched", "tokens", "with", "the", "supplied", "replacements", "and", "returns", "the", "result", ".", "The", "regular", "expression", "must", "use", "a", "capturing", "group", ".", "The", "value", "of", "the", "first", "capturing", "group", "is", "used", "to", "look", "up", "the", "replacement", ".", "If", "no", "replacement", "is", "found", "for", "the", "token", "then", "it", "is", "replaced", "with", "the", "empty", "string", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-common/src/main/java/org/nd4j/util/StringUtils.java#L932-L945", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-common/src/main/java/org/nd4j/util/StringUtils.java", "func_name": "StringUtils.getStackTrace", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get stack trace for a given thread.", "docstring_tokens": ["Get", "stack", "trace", "for", "a", "given", "thread", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-common/src/main/java/org/nd4j/util/StringUtils.java#L950-L957", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/inverse/InvertMatrix.java", "func_name": "InvertMatrix.invert", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Inverts a matrix\n@param arr the array to invert\n@param inPlace Whether to store the result in {@code arr}\n@return the inverted matrix", "docstring_tokens": ["Inverts", "a", "matrix"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/inverse/InvertMatrix.java#L23-L45", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-common/src/main/java/org/nd4j/linalg/util/Factorial.java", "func_name": "Factorial.at", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compute the factorial of the non-negative integer.\n\n@param n the argument to the factorial, non-negative.\n@return the factorial of n.", "docstring_tokens": ["Compute", "the", "factorial", "of", "the", "non", "-", "negative", "integer", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-common/src/main/java/org/nd4j/linalg/util/Factorial.java#L58-L65", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/jita/allocator/impl/AllocationPoint.java", "func_name": "AllocationPoint.isActualOnHostSide", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method returns, if host side has actual copy of data\n\n@return true, if data is actual, false otherwise", "docstring_tokens": ["This", "method", "returns", "if", "host", "side", "has", "actual", "copy", "of", "data"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/jita/allocator/impl/AllocationPoint.java#L367-L373", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/jita/allocator/impl/AllocationPoint.java", "func_name": "AllocationPoint.isActualOnDeviceSide", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method returns, if device side has actual copy of data\n\n@return", "docstring_tokens": ["This", "method", "returns", "if", "device", "side", "has", "actual", "copy", "of", "data"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/jita/allocator/impl/AllocationPoint.java#L380-L386", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ndarray/BaseShapeInfoProvider.java", "func_name": "BaseShapeInfoProvider.createShapeInformation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method creates shapeInformation buffer, based on shape being passed in\n\n@param shape\n@return", "docstring_tokens": ["This", "method", "creates", "shapeInformation", "buffer", "based", "on", "shape", "being", "passed", "in"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ndarray/BaseShapeInfoProvider.java#L23-L28", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ndarray/BaseShapeInfoProvider.java", "func_name": "BaseShapeInfoProvider.createShapeInformation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method creates shapeInformation buffer, based on shape & order being passed in\n\n@param shape\n@param order\n@return", "docstring_tokens": ["This", "method", "creates", "shapeInformation", "buffer", "based", "on", "shape", "&", "order", "being", "passed", "in"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ndarray/BaseShapeInfoProvider.java#L76-L84", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/shape/Shape.java", "func_name": "Shape.isVector", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns whether the given shape is a vector\n\n@param shapeInfo the shapeinfo to test\n@return whether the given shape is a vector", "docstring_tokens": ["Returns", "whether", "the", "given", "shape", "is", "a", "vector"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/shape/Shape.java#L1325-L1334", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/shape/Shape.java", "func_name": "Shape.getOrder", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Infer the order for the ndarray based on the\narray's strides\n@param arr the array to get the\nordering for\n@return the ordering for the given array", "docstring_tokens": ["Infer", "the", "order", "for", "the", "ndarray", "based", "on", "the", "array", "s", "strides"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/shape/Shape.java#L2196-L2198", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/shape/Shape.java", "func_name": "Shape.offsetFor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compute the offset for the given array\ngiven the indices\n@param arr the array to compute the offset for\n@param indexes the indexes along each dimension to create the offset for\n@return the offset for the given array and indexes", "docstring_tokens": ["Compute", "the", "offset", "for", "the", "given", "array", "given", "the", "indices"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/shape/Shape.java#L2366-L2370", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/shape/Shape.java", "func_name": "Shape.toIndexes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert the given int indexes\nto nd array indexes\n@param indices the indices to convert\n@return the converted indexes", "docstring_tokens": ["Convert", "the", "given", "int", "indexes", "to", "nd", "array", "indexes"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/shape/Shape.java#L2408-L2413", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-buffer/src/main/java/org/nd4j/linalg/api/buffer/BaseDataBuffer.java", "func_name": "BaseDataBuffer.getShort", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Special method for\n@param i\n@return", "docstring_tokens": ["Special", "method", "for"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-buffer/src/main/java/org/nd4j/linalg/api/buffer/BaseDataBuffer.java#L1032-L1038", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-buffer/src/main/java/org/nd4j/linalg/api/buffer/BaseDataBuffer.java", "func_name": "BaseDataBuffer.reallocate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reallocate the native memory of the buffer\n@param length the new length of the buffer\n@return this databuffer", "docstring_tokens": ["Reallocate", "the", "native", "memory", "of", "the", "buffer"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-buffer/src/main/java/org/nd4j/linalg/api/buffer/BaseDataBuffer.java#L1703-L1746", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-common/src/main/java/org/nd4j/linalg/util/NioUtil.java", "func_name": "NioUtil.copyAtStride", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copy from the given from buffer\nto the to buffer at the specified\noffsets and strides\n@param n\n@param bufferType\n@param from the origin buffer\n@param fromOffset the starting offset\n@param fromStride the stride at which to copy from the origin\n@param to the destination buffer\n@param toOffset the starting point\n@param toStride the to stride", "docstring_tokens": ["Copy", "from", "the", "given", "from", "buffer", "to", "the", "to", "buffer", "at", "the", "specified", "offsets", "and", "strides"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-common/src/main/java/org/nd4j/linalg/util/NioUtil.java#L31-L69", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/jita/constant/ProtectedCudaConstantHandler.java", "func_name": "ProtectedCudaConstantHandler.getConstantBuffer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method returns DataBuffer with contant equal to input array.\n\nPLEASE NOTE: This method assumes that you'll never ever change values within result DataBuffer\n\n@param array\n@return", "docstring_tokens": ["This", "method", "returns", "DataBuffer", "with", "contant", "equal", "to", "input", "array", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/jita/constant/ProtectedCudaConstantHandler.java#L354-L381", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-serde/nd4j-camel-routes/nd4j-kafka/src/main/java/org/nd4j/camel/kafka/KafkaConnectionInformation.java", "func_name": "KafkaConnectionInformation.kafkaUri", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a kafka connection uri\n@return a kafka connection uri\nrepresented by this connection information", "docstring_tokens": ["Returns", "a", "kafka", "connection", "uri"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-serde/nd4j-camel-routes/nd4j-kafka/src/main/java/org/nd4j/camel/kafka/KafkaConnectionInformation.java#L29-L34", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/ops/transforms/Transforms.java", "func_name": "Transforms.pow", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Element-wise power function - x^y, performed element-wise\n\n@param ndArray the ndarray to raise to the power of\n@param power the power to raise by\n@param dup if true:\n@return the ndarray raised to this power", "docstring_tokens": ["Element", "-", "wise", "power", "function", "-", "x^y", "performed", "element", "-", "wise"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/ops/transforms/Transforms.java#L595-L598", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/ops/transforms/Transforms.java", "func_name": "Transforms.log", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Log on arbitrary base\n\n@param ndArray\n@param base\n@return", "docstring_tokens": ["Log", "on", "arbitrary", "base"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/ops/transforms/Transforms.java#L691-L693", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/ops/transforms/Transforms.java", "func_name": "Transforms.max", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Maximum function with a scalar\n\n@param ndArray tbe ndarray\n@param k\n@param dup\n@return", "docstring_tokens": ["Maximum", "function", "with", "a", "scalar"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/ops/transforms/Transforms.java#L792-L794", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/ops/transforms/Transforms.java", "func_name": "Transforms.max", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Element wise maximum function between 2 INDArrays\n\n@param first\n@param second\n@param dup\n@return", "docstring_tokens": ["Element", "wise", "maximum", "function", "between", "2", "INDArrays"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/ops/transforms/Transforms.java#L815-L820", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/ops/transforms/Transforms.java", "func_name": "Transforms.min", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Minimum function with a scalar\n\n@param ndArray tbe ndarray\n@param k\n@param dup\n@return", "docstring_tokens": ["Minimum", "function", "with", "a", "scalar"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/ops/transforms/Transforms.java#L841-L843", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/ops/transforms/Transforms.java", "func_name": "Transforms.min", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Element wise minimum function between 2 INDArrays\n\n@param first\n@param second\n@param dup\n@return", "docstring_tokens": ["Element", "wise", "minimum", "function", "between", "2", "INDArrays"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/ops/transforms/Transforms.java#L864-L869", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/ops/transforms/Transforms.java", "func_name": "Transforms.stabilize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Stabilize to be within a range of k\n\n@param ndArray tbe ndarray\n@param k\n@param dup\n@return", "docstring_tokens": ["Stabilize", "to", "be", "within", "a", "range", "of", "k"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/ops/transforms/Transforms.java#L891-L893", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/ops/transforms/Transforms.java", "func_name": "Transforms.expm1", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Elementwise exponential - 1 function\n\n@param ndArray\n@param dup\n@return", "docstring_tokens": ["Elementwise", "exponential", "-", "1", "function"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/ops/transforms/Transforms.java#L927-L929", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/ops/transforms/Transforms.java", "func_name": "Transforms.log1p", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Log of x + 1 function\n\n@param ndArray\n@param dup\n@return", "docstring_tokens": ["Log", "of", "x", "+", "1", "function"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/ops/transforms/Transforms.java#L1010-L1012", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/finitedifferences/TwoPointApproximation.java", "func_name": "TwoPointApproximation.prepareBounds", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Prepare the boundaries for processing\n@param bounds the bounds\n@param x the input in to the approximation\n@return the lower and upper bounds as an array of ndarrays\n(in that order) of the same shape as x", "docstring_tokens": ["Prepare", "the", "boundaries", "for", "processing"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/finitedifferences/TwoPointApproximation.java#L31-L34", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/finitedifferences/TwoPointApproximation.java", "func_name": "TwoPointApproximation.adjustSchemeToBounds", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adjust final scheme to presence of bounds\n\nReturns (in this order):\nadjusted hypothesis, whether to use onesided as an int mask array\n@param x the point to estimate the derivative\n@param h the finite difference steps\n@param numSteps Number of h steps in 1 direction\nto implement finite difference scheme.\n\n@param lowerBound Lower bounds for independent variable variable\n@param upperBound Upper bounds for independent variable\n@return", "docstring_tokens": ["Adjust", "final", "scheme", "to", "presence", "of", "bounds"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/finitedifferences/TwoPointApproximation.java#L50-L74", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/dataset/api/iterator/MultipleEpochsIterator.java", "func_name": "MultipleEpochsIterator.next", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the next element in the iteration.\n\n@return the next element in the iteration", "docstring_tokens": ["Returns", "the", "next", "element", "in", "the", "iteration", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/dataset/api/iterator/MultipleEpochsIterator.java#L186-L200", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-backend-impls/nd4j-native/src/main/java/org/nd4j/linalg/cpu/nativecpu/blas/CpuLapack.java", "func_name": "CpuLapack.sgeqrf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Q R DECOMP", "docstring_tokens": ["Q", "R", "DECOMP"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-backend-impls/nd4j-native/src/main/java/org/nd4j/linalg/cpu/nativecpu/blas/CpuLapack.java#L53-L84", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/jita/allocator/utils/AllocationUtils.java", "func_name": "AllocationUtils.buildAllocationShape", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method returns AllocationShape for the whole DataBuffer.\n\n@param buffer\n@return", "docstring_tokens": ["This", "method", "returns", "AllocationShape", "for", "the", "whole", "DataBuffer", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/jita/allocator/utils/AllocationUtils.java#L53-L61", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-common/src/main/java/org/nd4j/linalg/util/Paths.java", "func_name": "Paths.nameExistsInPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if a file exists in the path\n@param name the name of the file\n@return true if the name exists\nfalse otherwise", "docstring_tokens": ["Check", "if", "a", "file", "exists", "in", "the", "path"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-common/src/main/java/org/nd4j/linalg/util/Paths.java#L44-L66", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ndarray/BaseNDArrayProxy.java", "func_name": "BaseNDArrayProxy.read", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Custom deserialization for Java serialization", "docstring_tokens": ["Custom", "deserialization", "for", "Java", "serialization"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ndarray/BaseNDArrayProxy.java#L73-L76", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/jita/flow/impl/AsynchronousFlowController.java", "func_name": "AsynchronousFlowController.sweepTail", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method ensures the events in the beginning of FIFO queues are finished", "docstring_tokens": ["This", "method", "ensures", "the", "events", "in", "the", "beginning", "of", "FIFO", "queues", "are", "finished"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/jita/flow/impl/AsynchronousFlowController.java#L501-L526", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/linalg/jcublas/JCublasNDArrayFactory.java", "func_name": "JCublasNDArrayFactory.createFromNpyPointer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create from an in memory numpy pointer\n\n@param pointer the pointer to the\nnumpy array\n@return an ndarray created from the in memory\nnumpy pointer", "docstring_tokens": ["Create", "from", "an", "in", "memory", "numpy", "pointer"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/linalg/jcublas/JCublasNDArrayFactory.java#L1484-L1521", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/linalg/jcublas/JCublasNDArrayFactory.java", "func_name": "JCublasNDArrayFactory.createFromNpyFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create from a given numpy file.\n\n@param file the file to create the ndarray from\n@return the created ndarray", "docstring_tokens": ["Create", "from", "a", "given", "numpy", "file", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/linalg/jcublas/JCublasNDArrayFactory.java#L1529-L1551", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/memory/abstracts/DummyWorkspace.java", "func_name": "DummyWorkspace.alloc", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method does allocation from a given Workspace\n\n@param requiredMemory allocation size, in bytes\n@param kind MemoryKind for allocation\n@param dataType dataType that is going to be used\n@param initialize\n@return", "docstring_tokens": ["This", "method", "does", "allocation", "from", "a", "given", "Workspace"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/memory/abstracts/DummyWorkspace.java#L78-L81", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/jita/allocator/concurrency/RRWLock.java", "func_name": "RRWLock.attachObject", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method notifies locker, that specific object was added to tracking list\n\n@param object", "docstring_tokens": ["This", "method", "notifies", "locker", "that", "specific", "object", "was", "added", "to", "tracking", "list"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/jita/allocator/concurrency/RRWLock.java#L26-L30", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-parameter-server-parent/nd4j-parameterserver-model/src/main/java/org/nd4j/parameterserver/model/MasterStatus.java", "func_name": "MasterStatus.started", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if bth\nthe master and responder are started.\n@return", "docstring_tokens": ["Returns", "true", "if", "bth", "the", "master", "and", "responder", "are", "started", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-parameter-server-parent/nd4j-parameterserver-model/src/main/java/org/nd4j/parameterserver/model/MasterStatus.java#L30-L33", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/linalg/jcublas/ops/executioner/CudaGridExecutioner.java", "func_name": "CudaGridExecutioner.exec", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This is one of the main entry points for ops that are executed without respect to dimension.\n\nDevelopers note: For CudaGridExecutioner that's also the MetaOp/GridOp creation point.\n\n@param op\n@return", "docstring_tokens": ["This", "is", "one", "of", "the", "main", "entry", "points", "for", "ops", "that", "are", "executed", "without", "respect", "to", "dimension", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/linalg/jcublas/ops/executioner/CudaGridExecutioner.java#L97-L122", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/linalg/jcublas/ops/executioner/CudaGridExecutioner.java", "func_name": "CudaGridExecutioner.flushQueueBlocking", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method forces all currently enqueued ops to be executed immediately\n\nPLEASE NOTE: This call is always blocking, until all queued operations are finished", "docstring_tokens": ["This", "method", "forces", "all", "currently", "enqueued", "ops", "to", "be", "executed", "immediately"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/linalg/jcublas/ops/executioner/CudaGridExecutioner.java#L934-L942", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-common/src/main/java/org/nd4j/linalg/util/JarResource.java", "func_name": "JarResource.getInputStream", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns requested ClassPathResource as InputStream object\n\n@return File requested at constructor call\n@throws FileNotFoundException", "docstring_tokens": ["Returns", "requested", "ClassPathResource", "as", "InputStream", "object"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-common/src/main/java/org/nd4j/linalg/util/JarResource.java#L188-L205", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/jita/concurrency/CudaAffinityManager.java", "func_name": "CudaAffinityManager.getDeviceForThread", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method returns deviceId for given thread, identified by threadId\n\nIf no device was assigned to this thread before this call, it'll be assinged here.\n\n@param threadId\n@return", "docstring_tokens": ["This", "method", "returns", "deviceId", "for", "given", "thread", "identified", "by", "threadId"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/jita/concurrency/CudaAffinityManager.java#L78-L119", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/jita/concurrency/CudaAffinityManager.java", "func_name": "CudaAffinityManager.attachThreadToDevice", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method pairs specified thread & device\n\n@param threadId\n@param deviceId", "docstring_tokens": ["This", "method", "pairs", "specified", "thread", "&", "device"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/jita/concurrency/CudaAffinityManager.java#L138-L144", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/jita/concurrency/CudaAffinityManager.java", "func_name": "CudaAffinityManager.getNextDevice", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method returns device id available. Round-robin balancing used here.\n\n@param threadId this parameter can be anything, it's used for logging only.\n@return", "docstring_tokens": ["This", "method", "returns", "device", "id", "available", ".", "Round", "-", "robin", "balancing", "used", "here", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/jita/concurrency/CudaAffinityManager.java#L152-L172", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-buffer/src/main/java/org/nd4j/linalg/api/buffer/util/LibUtils.java", "func_name": "LibUtils.getOsName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the name of the os\nfor libary discovery on the classpath\n@return", "docstring_tokens": ["Get", "the", "name", "of", "the", "os", "for", "libary", "discovery", "on", "the", "classpath"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-buffer/src/main/java/org/nd4j/linalg/api/buffer/util/LibUtils.java#L326-L339", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-buffer/src/main/java/org/nd4j/linalg/api/buffer/util/LibUtils.java", "func_name": "LibUtils.calculateArch", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculates the current ARCHType\n\n@return The current ARCHType", "docstring_tokens": ["Calculates", "the", "current", "ARCHType"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-buffer/src/main/java/org/nd4j/linalg/api/buffer/util/LibUtils.java#L455-L483", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-serde/nd4j-camel-routes/nd4j-kafka/src/main/java/org/nd4j/camel/kafka/Nd4jKafkaProducer.java", "func_name": "Nd4jKafkaProducer.publish", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Publish to a kafka topic\nbased on the connection information\n@param arr", "docstring_tokens": ["Publish", "to", "a", "kafka", "topic", "based", "on", "the", "connection", "information"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-serde/nd4j-camel-routes/nd4j-kafka/src/main/java/org/nd4j/camel/kafka/Nd4jKafkaProducer.java#L25-L29", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-instrumentation/src/main/java/org/nd4j/instrumentation/server/InstrumentationApplication.java", "func_name": "InstrumentationApplication.start", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Start the server", "docstring_tokens": ["Start", "the", "server"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-instrumentation/src/main/java/org/nd4j/instrumentation/server/InstrumentationApplication.java#L58-L73", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-buffer/src/main/java/org/nd4j/linalg/api/buffer/factory/DefaultDataBufferFactory.java", "func_name": "DefaultDataBufferFactory.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a data buffer based on the\ngiven pointer, data buffer opType,\nand length of the buffer\n\n@param pointer the pointer to use\n@param type the opType of buffer\n@param length the length of the buffer\n@param indexer the indexer for the pointer\n@return the data buffer\nbacked by this pointer with the given\nopType and length.", "docstring_tokens": ["Create", "a", "data", "buffer", "based", "on", "the", "given", "pointer", "data", "buffer", "opType", "and", "length", "of", "the", "buffer"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-buffer/src/main/java/org/nd4j/linalg/api/buffer/factory/DefaultDataBufferFactory.java#L500-L513", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ops/executioner/DefaultOpExecutioner.java", "func_name": "DefaultOpExecutioner.interceptIntDataType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method checks if any Op operand has data opType of INT, and throws exception if any.\n\n@param op", "docstring_tokens": ["This", "method", "checks", "if", "any", "Op", "operand", "has", "data", "opType", "of", "INT", "and", "throws", "exception", "if", "any", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ops/executioner/DefaultOpExecutioner.java#L86-L100", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-buffer/src/main/java/org/nd4j/linalg/api/complex/BaseComplexFloat.java", "func_name": "BaseComplexFloat.addi", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add two complex numbers in-place\n\n@param c\n@param result", "docstring_tokens": ["Add", "two", "complex", "numbers", "in", "-", "place"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-buffer/src/main/java/org/nd4j/linalg/api/complex/BaseComplexFloat.java#L246-L250", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-parameter-server-parent/nd4j-parameter-server-node/src/main/java/org/nd4j/parameterserver/distributed/messages/intercom/DistributedAssignMessage.java", "func_name": "DistributedAssignMessage.processMessage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method assigns specific value to either specific row, or whole array.\nArray is identified by key", "docstring_tokens": ["This", "method", "assigns", "specific", "value", "to", "either", "specific", "row", "or", "whole", "array", ".", "Array", "is", "identified", "by", "key"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-parameter-server-parent/nd4j-parameter-server-node/src/main/java/org/nd4j/parameterserver/distributed/messages/intercom/DistributedAssignMessage.java#L45-L62", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/functions/DifferentialFunctionFactory.java", "func_name": "DifferentialFunctionFactory.avgPooling3d", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Avg pooling 3d operation.\n\n@param inputs the inputs to pooling\n@param pooling3DConfig the configuration\n@return", "docstring_tokens": ["Avg", "pooling", "3d", "operation", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/functions/DifferentialFunctionFactory.java#L223-L232", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/functions/DifferentialFunctionFactory.java", "func_name": "DifferentialFunctionFactory.depthWiseConv2d", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Depthwise Conv2d operation. This is just separable convolution with\nonly the depth-wise weights specified.\n\n@param inputs the inputs to conv2d\n@param depthConv2DConfig the configuration\n@return", "docstring_tokens": ["Depthwise", "Conv2d", "operation", ".", "This", "is", "just", "separable", "convolution", "with", "only", "the", "depth", "-", "wise", "weights", "specified", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/functions/DifferentialFunctionFactory.java#L279-L287", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/profiler/OpProfiler.java", "func_name": "OpProfiler.reset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method resets all counters", "docstring_tokens": ["This", "method", "resets", "all", "counters"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/profiler/OpProfiler.java#L119-L145", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/profiler/OpProfiler.java", "func_name": "OpProfiler.getOpClass", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method returns op class opName\n\n@param op\n@return", "docstring_tokens": ["This", "method", "returns", "op", "class", "opName"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/profiler/OpProfiler.java#L166-L190", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java", "func_name": "SDVariable.storeAndAllocateNewArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Allocate and return a new array\nbased on the vertex id and weight initialization.\n@return the allocated array", "docstring_tokens": ["Allocate", "and", "return", "a", "new", "array", "based", "on", "the", "vertex", "id", "and", "weight", "initialization", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java#L142-L157", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java", "func_name": "SDVariable.getShape", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the shape of this variable\n@return", "docstring_tokens": ["Returns", "the", "shape", "of", "this", "variable"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java#L233-L242", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java", "func_name": "SDVariable.eval", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Evaluate the result of this variable\n@return", "docstring_tokens": ["Evaluate", "the", "result", "of", "this", "variable"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SDVariable.java#L858-L869", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-native-api/src/main/java/org/nd4j/compression/impl/AbstractCompressor.java", "func_name": "AbstractCompressor.compress", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method creates compressed INDArray from Java double array, skipping usual INDArray instantiation routines\n\n@param data\n@param shape\n@param order\n@return", "docstring_tokens": ["This", "method", "creates", "compressed", "INDArray", "from", "Java", "double", "array", "skipping", "usual", "INDArray", "instantiation", "routines"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-native-api/src/main/java/org/nd4j/compression/impl/AbstractCompressor.java#L151-L159", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/util/ComplexNDArrayUtil.java", "func_name": "ComplexNDArrayUtil.expi", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the exponential of a complex ndarray\n\n@param toExp the ndarray to convert\n@return the exponential of the specified\nndarray", "docstring_tokens": ["Returns", "the", "exponential", "of", "a", "complex", "ndarray"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/util/ComplexNDArrayUtil.java#L53-L60", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/util/ComplexNDArrayUtil.java", "func_name": "ComplexNDArrayUtil.center", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Center an array\n\n@param arr the arr to center\n@param shape the shape of the array\n@return the center portion of the array based on the\nspecified shape", "docstring_tokens": ["Center", "an", "array"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/util/ComplexNDArrayUtil.java#L70-L101", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/util/ComplexNDArrayUtil.java", "func_name": "ComplexNDArrayUtil.truncate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Truncates an ndarray to the specified shape.\nIf the shape is the same or greater, it just returns\nthe original array\n\n@param nd the ndarray to truncate\n@param n the number of elements to truncate to\n@return the truncated ndarray", "docstring_tokens": ["Truncates", "an", "ndarray", "to", "the", "specified", "shape", ".", "If", "the", "shape", "is", "the", "same", "or", "greater", "it", "just", "returns", "the", "original", "array"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/util/ComplexNDArrayUtil.java#L112-L138", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/util/ComplexNDArrayUtil.java", "func_name": "ComplexNDArrayUtil.padWithZeros", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Pads an ndarray with zeros\n\n@param nd the ndarray to pad\n@param targetShape the the new shape\n@return the padded ndarray", "docstring_tokens": ["Pads", "an", "ndarray", "with", "zeros"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/util/ComplexNDArrayUtil.java#L147-L159", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/blas/impl/SparseBaseLevel1.java", "func_name": "SparseBaseLevel1.iamax", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find the index of the element with maximum absolute value\n\n@param arr a vector\n@return the index of the element with maximum absolute value", "docstring_tokens": ["Find", "the", "index", "of", "the", "element", "with", "maximum", "absolute", "value"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/blas/impl/SparseBaseLevel1.java#L128-L143", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/util/DeviceLocalNDArray.java", "func_name": "DeviceLocalNDArray.broadcast", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method duplicates array, and stores it to all devices\n\n@param array", "docstring_tokens": ["This", "method", "duplicates", "array", "and", "stores", "it", "to", "all", "devices"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/util/DeviceLocalNDArray.java#L30-L46", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-parameter-server-parent/nd4j-parameter-server-node/src/main/java/org/nd4j/parameterserver/distributed/messages/intercom/DistributedVectorMessage.java", "func_name": "DistributedVectorMessage.processMessage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method will be started in context of executor, either Shard, Client or Backup node", "docstring_tokens": ["This", "method", "will", "be", "started", "in", "context", "of", "executor", "either", "Shard", "Client", "or", "Backup", "node"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-parameter-server-parent/nd4j-parameter-server-node/src/main/java/org/nd4j/parameterserver/distributed/messages/intercom/DistributedVectorMessage.java#L32-L38", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-common/src/main/java/org/nd4j/linalg/util/BigDecimalMath.java", "func_name": "BigDecimalMath.gamma", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Euler-Mascheroni constant.\n\n@param mc The required precision of the result.\n@return 0.577...", "docstring_tokens": ["Euler", "-", "Mascheroni", "constant", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-common/src/main/java/org/nd4j/linalg/util/BigDecimalMath.java#L167-L201", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-common/src/main/java/org/nd4j/linalg/util/BigDecimalMath.java", "func_name": "BigDecimalMath.sqrt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The square root.\n\n@param x the non-negative argument.\n@return the square root of the BigDecimal rounded to the precision implied by x.", "docstring_tokens": ["The", "square", "root", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-common/src/main/java/org/nd4j/linalg/util/BigDecimalMath.java#L209-L214", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-common/src/main/java/org/nd4j/linalg/util/BigDecimalMath.java", "func_name": "BigDecimalMath.cbrt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The cube root.\n\n@param x The argument.\n@return The cubic root of the BigDecimal rounded to the precision implied by x.\nThe sign of the result is the sign of the argument.", "docstring_tokens": ["The", "cube", "root", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-common/src/main/java/org/nd4j/linalg/util/BigDecimalMath.java#L223-L229", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-common/src/main/java/org/nd4j/linalg/util/BigDecimalMath.java", "func_name": "BigDecimalMath.root", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The integer root.\n\n@param n the positive argument.\n@param x the non-negative argument.\n@return The n-th root of the BigDecimal rounded to the precision implied by x, x^(1/n).", "docstring_tokens": ["The", "integer", "root", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-common/src/main/java/org/nd4j/linalg/util/BigDecimalMath.java#L238-L275", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-common/src/main/java/org/nd4j/linalg/util/BigDecimalMath.java", "func_name": "BigDecimalMath.exp", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The exponential function.\n\n@param x the argument.\n@return exp(x).\nThe precision of the result is implicitly defined by the precision in the argument.\n16\nIn particular this means that \"Invalid Operation\" errors are thrown if catastrophic\ncancellation of digits causes the result to have no valid digits left.", "docstring_tokens": ["The", "exponential", "function", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-common/src/main/java/org/nd4j/linalg/util/BigDecimalMath.java#L336-L419", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-common/src/main/java/org/nd4j/linalg/util/BigDecimalMath.java", "func_name": "BigDecimalMath.exp", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The base of the natural logarithm.\n\n@param mc the required precision of the result\n@return exp(1) = 2.71828....", "docstring_tokens": ["The", "base", "of", "the", "natural", "logarithm", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-common/src/main/java/org/nd4j/linalg/util/BigDecimalMath.java#L428-L439", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-common/src/main/java/org/nd4j/linalg/util/BigDecimalMath.java", "func_name": "BigDecimalMath.pow", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Power function.\n\n@param x Base of the power.\n@param y Exponent of the power.\n@return x^y.\nThe estimation of the relative error in the result is |log(x)*err(y)|+|y*err(x)/x|", "docstring_tokens": ["Power", "function", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-common/src/main/java/org/nd4j/linalg/util/BigDecimalMath.java#L683-L701", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-common/src/main/java/org/nd4j/linalg/util/BigDecimalMath.java", "func_name": "BigDecimalMath.powRound", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Raise to an integer power and round.\n\n@param x The base.\n@param n The exponent.\n@return x^n.", "docstring_tokens": ["Raise", "to", "an", "integer", "power", "and", "round", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-common/src/main/java/org/nd4j/linalg/util/BigDecimalMath.java#L711-L717", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-common/src/main/java/org/nd4j/linalg/util/BigDecimalMath.java", "func_name": "BigDecimalMath.sin", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Trigonometric sine.\n\n@param x The argument in radians.\n@return sin(x) in the range -1 to 1.", "docstring_tokens": ["Trigonometric", "sine", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-common/src/main/java/org/nd4j/linalg/util/BigDecimalMath.java#L726-L792", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-common/src/main/java/org/nd4j/linalg/util/BigDecimalMath.java", "func_name": "BigDecimalMath.tan", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The trigonometric tangent.\n\n@param x the argument in radians.\n@return the tan(x)", "docstring_tokens": ["The", "trigonometric", "tangent", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-common/src/main/java/org/nd4j/linalg/util/BigDecimalMath.java#L875-L921", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-common/src/main/java/org/nd4j/linalg/util/BigDecimalMath.java", "func_name": "BigDecimalMath.cosh", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The hyperbolic cosine.\n\n@param x The argument.\n@return The cosh(x) = (exp(x)+exp(-x))/2 .", "docstring_tokens": ["The", "hyperbolic", "cosine", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-common/src/main/java/org/nd4j/linalg/util/BigDecimalMath.java#L1203-L1266", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-common/src/main/java/org/nd4j/linalg/util/BigDecimalMath.java", "func_name": "BigDecimalMath.sinh", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The hyperbolic sine.\n\n@param x the argument.\n@return the sinh(x) = (exp(x)-exp(-x))/2 .", "docstring_tokens": ["The", "hyperbolic", "sine", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-common/src/main/java/org/nd4j/linalg/util/BigDecimalMath.java#L1275-L1351", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-common/src/main/java/org/nd4j/linalg/util/BigDecimalMath.java", "func_name": "BigDecimalMath.tanh", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The hyperbolic tangent.\n\n@param x The argument.\n@return The tanh(x) = sinh(x)/cosh(x).", "docstring_tokens": ["The", "hyperbolic", "tangent", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-common/src/main/java/org/nd4j/linalg/util/BigDecimalMath.java#L1360-L1382", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-common/src/main/java/org/nd4j/linalg/util/BigDecimalMath.java", "func_name": "BigDecimalMath.asinh", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The inverse hyperbolic sine.\n\n@param x The argument.\n@return The arcsinh(x) .", "docstring_tokens": ["The", "inverse", "hyperbolic", "sine", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-common/src/main/java/org/nd4j/linalg/util/BigDecimalMath.java#L1391-L1414", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-common/src/main/java/org/nd4j/linalg/util/BigDecimalMath.java", "func_name": "BigDecimalMath.acosh", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The inverse hyperbolic cosine.\n\n@param x The argument.\n@return The arccosh(x) .", "docstring_tokens": ["The", "inverse", "hyperbolic", "cosine", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-common/src/main/java/org/nd4j/linalg/util/BigDecimalMath.java#L1423-L1448", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-common/src/main/java/org/nd4j/linalg/util/BigDecimalMath.java", "func_name": "BigDecimalMath.Gamma", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The Gamma function.\n\n@param x The argument.\n@return Gamma(x).", "docstring_tokens": ["The", "Gamma", "function", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-common/src/main/java/org/nd4j/linalg/util/BigDecimalMath.java#L1457-L1557", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-common/src/main/java/org/nd4j/linalg/util/BigDecimalMath.java", "func_name": "BigDecimalMath.broadhurstBBP", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Broadhurst ladder sequence.\n\n@param a The vector of 8 integer arguments\n@param mc Specification of the accuracy of the result\n@return S_(n, p)(a)\n@see \\protect\\vrule width0pt\\protect\\href{http://arxiv.org/abs/math/9803067}{arXiv:math/9803067}", "docstring_tokens": ["Broadhurst", "ladder", "sequence", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-common/src/main/java/org/nd4j/linalg/util/BigDecimalMath.java#L1995-L2049", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-common/src/main/java/org/nd4j/linalg/util/BigDecimalMath.java", "func_name": "BigDecimalMath.scalePrec", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Append decimal zeros to the value. This returns a value which appears to have\na higher precision than the input.\n\n@param x The input value\n@param d The (positive) value of zeros to be added as least significant digits.\n@return The same value as the input but with increased (pseudo) precision.", "docstring_tokens": ["Append", "decimal", "zeros", "to", "the", "value", ".", "This", "returns", "a", "value", "which", "appears", "to", "have", "a", "higher", "precision", "than", "the", "input", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-common/src/main/java/org/nd4j/linalg/util/BigDecimalMath.java#L2282-L2286", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-common/src/main/java/org/nd4j/linalg/util/BigDecimalMath.java", "func_name": "BigDecimalMath.scalePrec", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Boost the precision by appending decimal zeros to the value. This returns a value which appears to have\na higher precision than the input.\n\n@param x The input value\n@param mc The requirement on the minimum precision on return.\n@return The same value as the input but with increased (pseudo) precision.", "docstring_tokens": ["Boost", "the", "precision", "by", "appending", "decimal", "zeros", "to", "the", "value", ".", "This", "returns", "a", "value", "which", "appears", "to", "have", "a", "higher", "precision", "than", "the", "input", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-common/src/main/java/org/nd4j/linalg/util/BigDecimalMath.java#L2296-L2307", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-common/src/main/java/org/nd4j/linalg/util/BigDecimalMath.java", "func_name": "BigDecimalMath.err2prec", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert an absolute error to a precision.\n\n@param x The value of the variable\n@param xerr The absolute error in the variable\n@return The number of valid digits in x.\nThe value is rounded down, and on the pessimistic side for that reason.", "docstring_tokens": ["Convert", "an", "absolute", "error", "to", "a", "precision", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-common/src/main/java/org/nd4j/linalg/util/BigDecimalMath.java#L2318-L2322", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java", "func_name": "SameDiff.putFunctionForId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Put the function for id\n\n@param id the id\n@param function the function", "docstring_tokens": ["Put", "the", "function", "for", "id"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java#L452-L460", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java", "func_name": "SameDiff.getInputsForFunction", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the inputs for the given function\n\n@param function the function to get the\ninputs for\n@return the input ids for a given function", "docstring_tokens": ["Returns", "the", "inputs", "for", "the", "given", "function"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java#L470-L474", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java", "func_name": "SameDiff.updateArrayForVarName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Update the ndarray for the given vertex id.\n\n@param varName\n@param arr\n@throws {@link ND4JIllegalStateException} when the array does not exist.", "docstring_tokens": ["Update", "the", "ndarray", "for", "the", "given", "vertex", "id", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java#L542-L549", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java", "func_name": "SameDiff.putShapeForVarName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Associate a vertex id with the given shape.\n\n@param varName the vertex id to associate\n@param shape the shape to associate with", "docstring_tokens": ["Associate", "a", "vertex", "id", "with", "the", "given", "shape", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java#L630-L648", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java", "func_name": "SameDiff.associateArrayWithVariable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Associate the array with the given variable.\n\n@param arr the array to get the variable for\n@param variable the variable to associate", "docstring_tokens": ["Associate", "the", "array", "with", "the", "given", "variable", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java#L691-L707", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java", "func_name": "SameDiff.getPropertyForFunction", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the property for a given function\n\n@param functionInstance the function to get the\nproperty for\n@param propertyName the name of the property to get\n@param the inferred return type\n@return the property for the given function", "docstring_tokens": ["Get", "the", "property", "for", "a", "given", "function"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java#L904-L912", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java", "func_name": "SameDiff.addPropertyForFunction", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a property for the given function\n\n@param functionFor the function add a property for\n@param propertyName the property name\n@param property the property value", "docstring_tokens": ["Add", "a", "property", "for", "the", "given", "function"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java#L921-L923", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java", "func_name": "SameDiff.addOutgoingFor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds outgoing arguments to the graph.\nAlso checks for input arguments\nand updates the graph adding an appropriate edge\nwhen the full graph is declared.\n\n@param varNames\n@param function", "docstring_tokens": ["Adds", "outgoing", "arguments", "to", "the", "graph", ".", "Also", "checks", "for", "input", "arguments", "and", "updates", "the", "graph", "adding", "an", "appropriate", "edge", "when", "the", "full", "graph", "is", "declared", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java#L1094-L1125", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java", "func_name": "SameDiff.addArgsFor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds incoming args to the graph\n\n@param variables\n@param function", "docstring_tokens": ["Adds", "incoming", "args", "to", "the", "graph"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java#L1133-L1157", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java", "func_name": "SameDiff.hasArgs", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if this function already\nhas defined arguments\n\n@param function the function to check\n@return true if the function has args false otherwise", "docstring_tokens": ["Returns", "true", "if", "this", "function", "already", "has", "defined", "arguments"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java#L1196-L1204", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java", "func_name": "SameDiff.eval", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Evaluate the given inputs\nbased on the current graph\n\n@param inputs the inputs to evaluate\n@return", "docstring_tokens": ["Evaluate", "the", "given", "inputs", "based", "on", "the", "current", "graph"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java#L1267-L1280", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java", "func_name": "SameDiff.one", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Variable initialization\nwith 1.0\n\n@param name the opName of the variable\n@param shape the shape of the array to be created\n@return the created variable", "docstring_tokens": ["Variable", "initialization", "with", "1", ".", "0"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java#L1335-L1337", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java", "func_name": "SameDiff.onesLike", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return a variable of all 1s, with the same shape as the input\n\n@param input\n@return", "docstring_tokens": ["Return", "a", "variable", "of", "all", "1s", "with", "the", "same", "shape", "as", "the", "input"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java#L1359-L1361", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java", "func_name": "SameDiff.zerosLike", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return a variable of all 0s, with the same shape as the input\n\n@param input\n@return", "docstring_tokens": ["Return", "a", "variable", "of", "all", "0s", "with", "the", "same", "shape", "as", "the", "input"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java#L1396-L1398", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java", "func_name": "SameDiff.removeArgFromFunction", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove an argument for a function. Note that if this function\ndoes not contain the argument, it will just be a no op.\n\n@param varName the variable name to remove\n@param function the function to remove the argument from", "docstring_tokens": ["Remove", "an", "argument", "for", "a", "function", ".", "Note", "that", "if", "this", "function", "does", "not", "contain", "the", "argument", "it", "will", "just", "be", "a", "no", "op", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java#L1514-L1543", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java", "func_name": "SameDiff.setGradientForVariableName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Assign a vertex id\nto a gradient\n\n@param variableName the vertex id\nto assign\n@param variable the variable", "docstring_tokens": ["Assign", "a", "vertex", "id", "to", "a", "gradient"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java#L1624-L1630", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java", "func_name": "SameDiff.avgPooling3d", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Average pooling 3d operation.\n\n@param inputs the inputs to average pooling 3d\n@param pooling3DConfig the configuration\n@return", "docstring_tokens": ["Average", "pooling", "3d", "operation", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java#L1728-L1730", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java", "func_name": "SameDiff.gru", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The gru cell\n\n@param baseName the base name for the gru cell\n@param configuration teh configuration to use\n@return", "docstring_tokens": ["The", "gru", "cell"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java#L4613-L4615", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java", "func_name": "SameDiff.exec", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Executes the list of operations.\nThis exec method is for\nonly invoking operations\nrather than creating them\n\n@param ops the list of already created ops\n@return the passes in list", "docstring_tokens": ["Executes", "the", "list", "of", "operations", ".", "This", "exec", "method", "is", "for", "only", "invoking", "operations", "rather", "than", "creating", "them"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java#L4919-L4925", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java", "func_name": "SameDiff.whileStatement", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a while statement\n\n@param sameDiffConditional\n@param loopBody\n@return", "docstring_tokens": ["Creates", "a", "while", "statement"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java#L4961-L4973", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java", "func_name": "SameDiff.exec", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Exec a given function\n\n@param functionName the opName of the function\nto invoke\n@return", "docstring_tokens": ["Exec", "a", "given", "function"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java#L5093-L5099", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java", "func_name": "SameDiff.exec", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Exec the given function\ngiven the ops\n\n@param functionName the opName of the function to\nexec\n@param cachedOps the cached operations\n@return", "docstring_tokens": ["Exec", "the", "given", "function", "given", "the", "ops"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java#L5110-L5112", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java", "func_name": "SameDiff.execBackwardAndEndResult", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Exec a backwards operation\nand return the end result\n\n@return", "docstring_tokens": ["Exec", "a", "backwards", "operation", "and", "return", "the", "end", "result"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java#L5234-L5244", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java", "func_name": "SameDiff.addAsPlaceHolder", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add this vertex id as a place holder\n\n@param varName the vertex id to add", "docstring_tokens": ["Add", "this", "vertex", "id", "as", "a", "place", "holder"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiff.java#L5326-L5331", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/jita/memory/CudaMemoryManager.java", "func_name": "CudaMemoryManager.allocate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method returns Pointer to allocated memory chunk\n\nPLEASE NOTE: Cache options depend on specific implementations\n\n@param bytes\n@param kind\n@param initialize", "docstring_tokens": ["This", "method", "returns", "Pointer", "to", "allocated", "memory", "chunk"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/jita/memory/CudaMemoryManager.java#L37-L76", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-buffer/src/main/java/org/nd4j/linalg/api/buffer/util/DataTypeUtil.java", "func_name": "DataTypeUtil.lengthForDtype", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the length for the given data opType\n@param type\n@return", "docstring_tokens": ["Returns", "the", "length", "for", "the", "given", "data", "opType"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-buffer/src/main/java/org/nd4j/linalg/api/buffer/util/DataTypeUtil.java#L25-L44", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-buffer/src/main/java/org/nd4j/linalg/api/buffer/util/DataTypeUtil.java", "func_name": "DataTypeUtil.getDTypeForName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the name of the alocation mode\n@param allocationMode\n@return", "docstring_tokens": ["Gets", "the", "name", "of", "the", "alocation", "mode"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-buffer/src/main/java/org/nd4j/linalg/api/buffer/util/DataTypeUtil.java#L70-L83", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-buffer/src/main/java/org/nd4j/linalg/api/buffer/util/DataTypeUtil.java", "func_name": "DataTypeUtil.getDtypeFromContext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "get the allocation mode from the context\n@return", "docstring_tokens": ["get", "the", "allocation", "mode", "from", "the", "context"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-buffer/src/main/java/org/nd4j/linalg/api/buffer/util/DataTypeUtil.java#L89-L108", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ops/factory/DefaultOpFactory.java", "func_name": "DefaultOpFactory.getOpNumByName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method returns op id number for given opName\n\n@param opName\n@return", "docstring_tokens": ["This", "method", "returns", "op", "id", "number", "for", "given", "opName"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ops/factory/DefaultOpFactory.java#L653-L661", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/memory/provider/BasicWorkspaceManager.java", "func_name": "BasicWorkspaceManager.destroyAllWorkspacesForCurrentThread", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method destroys all workspaces allocated in current thread", "docstring_tokens": ["This", "method", "destroys", "all", "workspaces", "allocated", "in", "current", "thread"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/memory/provider/BasicWorkspaceManager.java#L148-L160", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/memory/provider/BasicWorkspaceManager.java", "func_name": "BasicWorkspaceManager.printAllocationStatisticsForCurrentThread", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method prints out basic statistics for workspaces allocated in current thread", "docstring_tokens": ["This", "method", "prints", "out", "basic", "statistics", "for", "workspaces", "allocated", "in", "current", "thread"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/memory/provider/BasicWorkspaceManager.java#L307-L323", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/blas/impl/BaseLevel2.java", "func_name": "BaseLevel2.trmv", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "trmv computes a matrix-vector product using a triangular matrix.\n\n@param order\n@param Uplo\n@param TransA\n@param Diag\n@param A\n@param X", "docstring_tokens": ["trmv", "computes", "a", "matrix", "-", "vector", "product", "using", "a", "triangular", "matrix", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/blas/impl/BaseLevel2.java#L674-L690", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-serde/nd4j-camel-routes/nd4j-kafka/src/main/java/org/nd4j/camel/kafka/Nd4jKafkaConsumer.java", "func_name": "Nd4jKafkaConsumer.receive", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Receive an ndarray\n@return", "docstring_tokens": ["Receive", "an", "ndarray"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-serde/nd4j-camel-routes/nd4j-kafka/src/main/java/org/nd4j/camel/kafka/Nd4jKafkaConsumer.java#L23-L27", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiffOpExecutioner.java", "func_name": "SameDiffOpExecutioner.exec", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Execute an accumulation along one or more dimensions\n\n@param accumulation the accumulation\n@param biasCorrected\n@param dimension the dimension @return the accmulation op", "docstring_tokens": ["Execute", "an", "accumulation", "along", "one", "or", "more", "dimensions"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiffOpExecutioner.java#L227-L230", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiffOpExecutioner.java", "func_name": "SameDiffOpExecutioner.thresholdDecode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method decodes thresholds array, and puts it into target array\n\n@param encoded\n@param target\n@return target is returned", "docstring_tokens": ["This", "method", "decodes", "thresholds", "array", "and", "puts", "it", "into", "target", "array"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiffOpExecutioner.java#L448-L451", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/imports/graphmapper/tf/TFGraphMapper.java", "func_name": "TFGraphMapper.getNodeName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Map a tensorflow node name\nto the samediff equivalent\nfor import\n@param name the name to change\n@return the input tensorflow name", "docstring_tokens": ["Map", "a", "tensorflow", "node", "name", "to", "the", "samediff", "equivalent", "for", "import"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/imports/graphmapper/tf/TFGraphMapper.java#L366-L375", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-backend-impls/nd4j-native/src/main/java/org/nd4j/linalg/cpu/nativecpu/ops/NativeOpExecutioner.java", "func_name": "NativeOpExecutioner.invoke", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "ScalarOp along dimension\n@param op\n@param dimension", "docstring_tokens": ["ScalarOp", "along", "dimension"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-backend-impls/nd4j-native/src/main/java/org/nd4j/linalg/cpu/nativecpu/ops/NativeOpExecutioner.java#L566-L617", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/workspace/WorkspaceUtils.java", "func_name": "WorkspaceUtils.assertNoWorkspacesOpen", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Assert that no workspaces are currently open\n\n@param msg Message to include in the exception, if required", "docstring_tokens": ["Assert", "that", "no", "workspaces", "are", "currently", "open"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/workspace/WorkspaceUtils.java#L29-L40", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/lossfunctions/impl/LossMixtureDensity.java", "func_name": "LossMixtureDensity.negativeLogLikelihood", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method returns an array consisting of each of the training samples,\nfor each label in each sample, the negative log likelihood of that\nvalue falling within the given gaussian mixtures.\n@param alpha\n@param mu\n@param sigma\n@param labels\n@return", "docstring_tokens": ["This", "method", "returns", "an", "array", "consisting", "of", "each", "of", "the", "training", "samples", "for", "each", "label", "in", "each", "sample", "the", "negative", "log", "likelihood", "of", "that", "value", "falling", "within", "the", "given", "gaussian", "mixtures", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/lossfunctions/impl/LossMixtureDensity.java#L326-L334", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/jita/allocator/concurrency/AtomicState.java", "func_name": "AtomicState.requestTick", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method requests to change state to Tick.\n\nPLEASE NOTE: this method is blocking, if memory is in Toe state.\nPLEASE NOTE: if Tick can't be acquired within specified timeframe, exception will be thrown\n\n@param time\n@param timeUnit", "docstring_tokens": ["This", "method", "requests", "to", "change", "state", "to", "Tick", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/jita/allocator/concurrency/AtomicState.java#L59-L80", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/jita/allocator/concurrency/AtomicState.java", "func_name": "AtomicState.tryRequestToe", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method requests to change state to Toe\n\nPLEASE NOTE: this method is non-blocking, if Toe request is impossible atm, it will return false.\n\n@return TRUE, if Toe state entered, FALSE otherwise", "docstring_tokens": ["This", "method", "requests", "to", "change", "state", "to", "Toe"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/jita/allocator/concurrency/AtomicState.java#L130-L142", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/jita/allocator/concurrency/AtomicState.java", "func_name": "AtomicState.releaseToe", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method requests release Toe status back to Tack.\n\nPLEASE NOTE: only the thread originally entered Toe state is able to release it.", "docstring_tokens": ["This", "method", "requests", "release", "Toe", "status", "back", "to", "Tack", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/jita/allocator/concurrency/AtomicState.java#L149-L163", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/jita/allocator/concurrency/AtomicState.java", "func_name": "AtomicState.getCurrentState", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method returns the current memory state\n\n@return", "docstring_tokens": ["This", "method", "returns", "the", "current", "memory", "state"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/jita/allocator/concurrency/AtomicState.java#L170-L184", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/heartbeat/utils/EnvironmentUtils.java", "func_name": "EnvironmentUtils.buildEnvironment", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method build\n@return", "docstring_tokens": ["This", "method", "build"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/heartbeat/utils/EnvironmentUtils.java#L20-L31", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-parameter-server-parent/nd4j-parameter-server-node/src/main/java/org/nd4j/parameterserver/distributed/messages/aggregations/VectorAggregation.java", "func_name": "VectorAggregation.processMessage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Vector aggregations are saved only by Shards started aggregation process. All other Shards are ignoring this meesage", "docstring_tokens": ["Vector", "aggregations", "are", "saved", "only", "by", "Shards", "started", "aggregation", "process", ".", "All", "other", "Shards", "are", "ignoring", "this", "meesage"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-parameter-server-parent/nd4j-parameter-server-node/src/main/java/org/nd4j/parameterserver/distributed/messages/aggregations/VectorAggregation.java#L28-L45", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/dataset/api/iterator/fetcher/BaseDataFetcher.java", "func_name": "BaseDataFetcher.initializeCurrFromList", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Initializes this data transform fetcher from the passed in datasets\n\n@param examples the examples to use", "docstring_tokens": ["Initializes", "this", "data", "transform", "fetcher", "from", "the", "passed", "in", "datasets"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/dataset/api/iterator/fetcher/BaseDataFetcher.java#L80-L93", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/jita/allocator/impl/AtomicAllocator.java", "func_name": "AtomicAllocator.initHostCollectors", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method executes preconfigured number of host memory garbage collectors", "docstring_tokens": ["This", "method", "executes", "preconfigured", "number", "of", "host", "memory", "garbage", "collectors"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/jita/allocator/impl/AtomicAllocator.java#L165-L186", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/jita/allocator/impl/AtomicAllocator.java", "func_name": "AtomicAllocator.getPointer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method returns actual device pointer valid for current object\n\n@param buffer", "docstring_tokens": ["This", "method", "returns", "actual", "device", "pointer", "valid", "for", "current", "object"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/jita/allocator/impl/AtomicAllocator.java#L266-L269", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/jita/allocator/impl/AtomicAllocator.java", "func_name": "AtomicAllocator.synchronizeHostData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method should be called to make sure that data on host side is actualized\n\n@param buffer", "docstring_tokens": ["This", "method", "should", "be", "called", "to", "make", "sure", "that", "data", "on", "host", "side", "is", "actualized"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/jita/allocator/impl/AtomicAllocator.java#L338-L355", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/learning/AdaGradUpdater.java", "func_name": "AdaGradUpdater.applyUpdater", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets feature specific learning rates\nAdagrad keeps a history of gradients being passed in.\nNote that each gradient passed in becomes adapted over time, hence the opName adagrad\n\n@param gradient the gradient to get learning rates for\n@param iteration", "docstring_tokens": ["Gets", "feature", "specific", "learning", "rates", "Adagrad", "keeps", "a", "history", "of", "gradients", "being", "passed", "in", ".", "Note", "that", "each", "gradient", "passed", "in", "becomes", "adapted", "over", "time", "hence", "the", "opName", "adagrad"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/learning/AdaGradUpdater.java#L78-L91", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/jita/flow/impl/GridFlowController.java", "func_name": "GridFlowController.synchronizeToHost", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method makes sure HOST memory contains latest data from GPU\n\nAdditionally, this method checks, that there's no ops pending execution for this array\n\n@param point", "docstring_tokens": ["This", "method", "makes", "sure", "HOST", "memory", "contains", "latest", "data", "from", "GPU"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-backend-impls/nd4j-cuda/src/main/java/org/nd4j/jita/flow/impl/GridFlowController.java#L28-L35", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/indexing/NDArrayIndex.java", "func_name": "NDArrayIndex.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create from a matrix. The rows are the indices\nThe columns are the individual element in each ndarrayindex\n\n@param index the matrix to getFloat indices from\n@return the indices to getFloat", "docstring_tokens": ["Create", "from", "a", "matrix", ".", "The", "rows", "are", "the", "indices", "The", "columns", "are", "the", "individual", "element", "in", "each", "ndarrayindex"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/indexing/NDArrayIndex.java#L564-L595", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/functions/DifferentialFunction.java", "func_name": "DifferentialFunction.propertiesForFunction", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the properties for a given function\n@return", "docstring_tokens": ["Returns", "the", "properties", "for", "a", "given", "function"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/functions/DifferentialFunction.java#L128-L141", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/functions/DifferentialFunction.java", "func_name": "DifferentialFunction.hasPlaceHolderInputs", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if this\nfunction has place holder inputs\n@return", "docstring_tokens": ["Returns", "true", "if", "this", "function", "has", "place", "holder", "inputs"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/functions/DifferentialFunction.java#L418-L424", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/functions/DifferentialFunction.java", "func_name": "DifferentialFunction.diff", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Perform automatic differentiation\nwrt the input variables\n@param i_v1 the input variables\n@return the differentiated output\nwrt each input variable", "docstring_tokens": ["Perform", "automatic", "differentiation", "wrt", "the", "input", "variables"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/functions/DifferentialFunction.java#L504-L532", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/string/NDArrayStrings.java", "func_name": "NDArrayStrings.format", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Format the given ndarray as a string\n\n@param arr the array to format\n@param summarize If true and the number of elements in the array is greater than > 1000 only the first three and last elements in any dimension will print\n@return the formatted array", "docstring_tokens": ["Format", "the", "given", "ndarray", "as", "a", "string"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/string/NDArrayStrings.java#L102-L115", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/imports/graphmapper/BaseGraphMapper.java", "func_name": "BaseGraphMapper.importGraph", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method converts given TF\n@param tfGraph\n@return", "docstring_tokens": ["This", "method", "converts", "given", "TF"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/imports/graphmapper/BaseGraphMapper.java#L145-L223", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-jdbc/nd4j-jdbc-api/src/main/java/org/nd4j/jdbc/loader/impl/BaseLoader.java", "func_name": "BaseLoader.convert", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert an ndarray to a blob\n\n@param toConvert the complex ndarray to convert\n@return the converted complex ndarray", "docstring_tokens": ["Convert", "an", "ndarray", "to", "a", "blob"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-jdbc/nd4j-jdbc-api/src/main/java/org/nd4j/jdbc/loader/impl/BaseLoader.java#L89-L101", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-jdbc/nd4j-jdbc-api/src/main/java/org/nd4j/jdbc/loader/impl/BaseLoader.java", "func_name": "BaseLoader.loadComplex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Load a complex ndarray from a blob\n\n@param blob the blob to load from\n@return the complex ndarray", "docstring_tokens": ["Load", "a", "complex", "ndarray", "from", "a", "blob"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-jdbc/nd4j-jdbc-api/src/main/java/org/nd4j/jdbc/loader/impl/BaseLoader.java#L152-L156", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-jdbc/nd4j-jdbc-api/src/main/java/org/nd4j/jdbc/loader/impl/BaseLoader.java", "func_name": "BaseLoader.save", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Save the ndarray\n\n@param save the ndarray to save", "docstring_tokens": ["Save", "the", "ndarray"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-jdbc/nd4j-jdbc-api/src/main/java/org/nd4j/jdbc/loader/impl/BaseLoader.java#L174-L177", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/complex/BaseComplexNDArray.java", "func_name": "BaseComplexNDArray.copyRealTo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copy real numbers to arr\n@param arr the arr to copy to", "docstring_tokens": ["Copy", "real", "numbers", "to", "arr"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/complex/BaseComplexNDArray.java#L593-L603", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/complex/BaseComplexNDArray.java", "func_name": "BaseComplexNDArray.copyImagTo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copy imaginary numbers to the given\nndarray\n@param arr the array to copy imaginary numbers to", "docstring_tokens": ["Copy", "imaginary", "numbers", "to", "the", "given", "ndarray"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/complex/BaseComplexNDArray.java#L610-L620", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/complex/BaseComplexNDArray.java", "func_name": "BaseComplexNDArray.epsi", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an ndarray with 1 if the element is epsilon equals\n\n@param other the number to compare\n@return a copied ndarray with the given\nbinary conditions", "docstring_tokens": ["Returns", "an", "ndarray", "with", "1", "if", "the", "element", "is", "epsilon", "equals"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/complex/BaseComplexNDArray.java#L726-L741", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/complex/BaseComplexNDArray.java", "func_name": "BaseComplexNDArray.assign", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Assign all of the elements in the given\nndarray to this ndarray\n\n@param arr the elements to assign\n@return this", "docstring_tokens": ["Assign", "all", "of", "the", "elements", "in", "the", "given", "ndarray", "to", "this", "ndarray"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/complex/BaseComplexNDArray.java#L1792-L1804", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/complex/BaseComplexNDArray.java", "func_name": "BaseComplexNDArray.getRows", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get whole rows from the passed indices.\n\n@param rindices", "docstring_tokens": ["Get", "whole", "rows", "from", "the", "passed", "indices", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/complex/BaseComplexNDArray.java#L1820-L1827", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/complex/BaseComplexNDArray.java", "func_name": "BaseComplexNDArray.putRow", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Insert a row in to this array\nWill throw an exception if this\nndarray is not a matrix\n\n@param row the row insert into\n@param toPut the row to insert\n@return this", "docstring_tokens": ["Insert", "a", "row", "in", "to", "this", "array", "Will", "throw", "an", "exception", "if", "this", "ndarray", "is", "not", "a", "matrix"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/complex/BaseComplexNDArray.java#L2130-L2133", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/complex/BaseComplexNDArray.java", "func_name": "BaseComplexNDArray.putColumn", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Insert a column in to this array\nWill throw an exception if this\nndarray is not a matrix\n\n@param column the column to insert\n@param toPut the array to put\n@return this", "docstring_tokens": ["Insert", "a", "column", "in", "to", "this", "array", "Will", "throw", "an", "exception", "if", "this", "ndarray", "is", "not", "a", "matrix"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/complex/BaseComplexNDArray.java#L2144-L2162", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/complex/BaseComplexNDArray.java", "func_name": "BaseComplexNDArray.sub", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "copy subtraction of two matrices\n\n@param other the second ndarray to subtract\n@param result the result ndarray\n@return the result of the subtraction", "docstring_tokens": ["copy", "subtraction", "of", "two", "matrices"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/complex/BaseComplexNDArray.java#L2504-L2507", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/complex/BaseComplexNDArray.java", "func_name": "BaseComplexNDArray.add", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "copy addition of two matrices\n\n@param other the second ndarray to add\n@param result the result ndarray\n@return the result of the addition", "docstring_tokens": ["copy", "addition", "of", "two", "matrices"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/complex/BaseComplexNDArray.java#L2527-L2530", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/complex/BaseComplexNDArray.java", "func_name": "BaseComplexNDArray.subi", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "in place subtraction of two matrices\n\n@param other the second ndarray to subtract\n@param result the result ndarray\n@return the result of the subtraction", "docstring_tokens": ["in", "place", "subtraction", "of", "two", "matrices"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/complex/BaseComplexNDArray.java#L2719-L2744", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/complex/BaseComplexNDArray.java", "func_name": "BaseComplexNDArray.addi", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "in place addition of two matrices\n\n@param other the second ndarray to add\n@param result the result ndarray\n@return the result of the addition", "docstring_tokens": ["in", "place", "addition", "of", "two", "matrices"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/complex/BaseComplexNDArray.java#L2764-L2793", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/complex/BaseComplexNDArray.java", "func_name": "BaseComplexNDArray.assign", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the value of the ndarray to the specified value\n\n@param value the value to assign\n@return the ndarray with the values", "docstring_tokens": ["Set", "the", "value", "of", "the", "ndarray", "to", "the", "specified", "value"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/complex/BaseComplexNDArray.java#L3176-L3182", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/complex/BaseComplexNDArray.java", "func_name": "BaseComplexNDArray.ravel", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Flattens the array for linear indexing\n\n@return the flattened version of this array", "docstring_tokens": ["Flattens", "the", "array", "for", "linear", "indexing"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/complex/BaseComplexNDArray.java#L3447-L3461", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/eigen/Eigen.java", "func_name": "Eigen.eigenvalues", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Computes the eigenvalues of a general matrix.", "docstring_tokens": ["Computes", "the", "eigenvalues", "of", "a", "general", "matrix", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/eigen/Eigen.java#L39-L45", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/eigen/Eigen.java", "func_name": "Eigen.symmetricGeneralizedEigenvalues", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compute generalized eigenvalues of the problem A x = L B x.\nThe data will be unchanged, no eigenvectors returned.\n\n@param A symmetric Matrix A.\n@param B symmetric Matrix B.\n@return a vector of eigenvalues L.", "docstring_tokens": ["Compute", "generalized", "eigenvalues", "of", "the", "problem", "A", "x", "=", "L", "B", "x", ".", "The", "data", "will", "be", "unchanged", "no", "eigenvectors", "returned", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/eigen/Eigen.java#L123-L131", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/blas/impl/BaseLevel1.java", "func_name": "BaseLevel1.iamax", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "finds the element of a vector that has the largest absolute value.\n\n@param arr\n@return", "docstring_tokens": ["finds", "the", "element", "of", "a", "vector", "that", "has", "the", "largest", "absolute", "value", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/blas/impl/BaseLevel1.java#L254-L259", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/blas/impl/BaseLevel1.java", "func_name": "BaseLevel1.copy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "copy a vector to another vector.\n\n@param x\n@param y", "docstring_tokens": ["copy", "a", "vector", "to", "another", "vector", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/blas/impl/BaseLevel1.java#L377-L383", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/blas/impl/BaseLevel1.java", "func_name": "BaseLevel1.scal", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "computes a vector by a scalar product.\n\n@param N\n@param alpha\n@param X", "docstring_tokens": ["computes", "a", "vector", "by", "a", "scalar", "product", "."], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/blas/impl/BaseLevel1.java#L563-L570", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-parameter-server-parent/nd4j-parameter-server-node/src/main/java/org/nd4j/parameterserver/distributed/messages/intercom/DistributedSgDotMessage.java", "func_name": "DistributedSgDotMessage.processMessage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method calculates dot of gives rows", "docstring_tokens": ["This", "method", "calculates", "dot", "of", "gives", "rows"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-parameter-server-parent/nd4j-parameter-server-node/src/main/java/org/nd4j/parameterserver/distributed/messages/intercom/DistributedSgDotMessage.java#L61-L115", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/loss/LossFunctions.java", "func_name": "LossFunctions.nonZeroCount", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determine the number of weight entries that are non-zero, after broadcasting\n\n@param weights\n@param labels\n@return", "docstring_tokens": ["Determine", "the", "number", "of", "weight", "entries", "that", "are", "non", "-", "zero", "after", "broadcasting"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/loss/LossFunctions.java#L200-L207", "partition": "test"} +{"repo": "deeplearning4j/nd4j", "path": "nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/loss/LossFunctions.java", "func_name": "LossFunctions.doReduce", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Perform the final reduction on the loss function\n\n@param sd\n@param outputName\n@param isMean\n@param b\n@param reduction\n@param preReduceLoss\n@param label\n@param weights\n@param dimensions\n@return", "docstring_tokens": ["Perform", "the", "final", "reduction", "on", "the", "loss", "function"], "sha": "8f005bcecb240d1fbb83b9d390ad801d1d3b6933", "url": "https://github.com/deeplearning4j/nd4j/blob/8f005bcecb240d1fbb83b9d390ad801d1d3b6933/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/loss/LossFunctions.java#L223-L280", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/TypeUtils.java", "func_name": "TypeUtils.getNoArgConstructor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Throw an IllegalStateException if the class does not have a no-arg constructor.", "docstring_tokens": ["Throw", "an", "IllegalStateException", "if", "the", "class", "does", "not", "have", "a", "no", "-", "arg", "constructor", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/TypeUtils.java#L36-L49", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/TypeUtils.java", "func_name": "TypeUtils.getConstructor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets a constructor that has the specified types of arguments.\nThrow an IllegalStateException if the class does not have such a constructor.", "docstring_tokens": ["Gets", "a", "constructor", "that", "has", "the", "specified", "types", "of", "arguments", ".", "Throw", "an", "IllegalStateException", "if", "the", "class", "does", "not", "have", "such", "a", "constructor", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/TypeUtils.java#L55-L67", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/TypeUtils.java", "func_name": "TypeUtils.invoke", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Wraps any non-runtime exceptions with a runtime exception", "docstring_tokens": ["Wraps", "any", "non", "-", "runtime", "exceptions", "with", "a", "runtime", "exception"], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/TypeUtils.java#L70-L78", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/TypeUtils.java", "func_name": "TypeUtils.getAnnotation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the annotation that has the specified type, or null if there isn't one", "docstring_tokens": ["Gets", "the", "annotation", "that", "has", "the", "specified", "type", "or", "null", "if", "there", "isn", "t", "one"], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/TypeUtils.java#L107-L114", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/TypeUtils.java", "func_name": "TypeUtils.getDeclaredAnnotation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the declared annotation, ignoring any inherited annotations", "docstring_tokens": ["Get", "the", "declared", "annotation", "ignoring", "any", "inherited", "annotations"], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/TypeUtils.java#L119-L121", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/TypeUtils.java", "func_name": "TypeUtils.isDeclaredAnnotationPresent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Is the declared annotation present, ignoring any inherited annotations", "docstring_tokens": ["Is", "the", "declared", "annotation", "present", "ignoring", "any", "inherited", "annotations"], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/TypeUtils.java#L126-L128", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/util/ResultProxy.java", "func_name": "ResultProxy.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a ResultProxy for the given interface.", "docstring_tokens": ["Create", "a", "ResultProxy", "for", "the", "given", "interface", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/util/ResultProxy.java#L23-L26", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/EntityMetadata.java", "func_name": "EntityMetadata.load", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts an entity to an object of the appropriate type for this metadata structure.\nDoes not check that the entity is appropriate; that should be done when choosing\nwhich EntityMetadata to call.", "docstring_tokens": ["Converts", "an", "entity", "to", "an", "object", "of", "the", "appropriate", "type", "for", "this", "metadata", "structure", ".", "Does", "not", "check", "that", "the", "entity", "is", "appropriate", ";", "that", "should", "be", "done", "when", "choosing", "which", "EntityMetadata", "to", "call", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/EntityMetadata.java#L74-L86", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/EntityMetadata.java", "func_name": "EntityMetadata.save", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts an object to a datastore Entity with the appropriate Key type.", "docstring_tokens": ["Converts", "an", "object", "to", "a", "datastore", "Entity", "with", "the", "appropriate", "Key", "type", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/EntityMetadata.java#L111-L119", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/cache/MemcacheServiceRetryProxy.java", "func_name": "MemcacheServiceRetryProxy.createProxy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create the proxy that does retries. Adds a strict error handler to the service.", "docstring_tokens": ["Create", "the", "proxy", "that", "does", "retries", ".", "Adds", "a", "strict", "error", "handler", "to", "the", "service", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/cache/MemcacheServiceRetryProxy.java#L34-L39", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/Registrar.java", "func_name": "Registrar.getMetadataSafe", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets metadata for the specified kind\n@throws IllegalArgumentException if the kind has not been registered", "docstring_tokens": ["Gets", "metadata", "for", "the", "specified", "kind"], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/Registrar.java#L100-L106", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/QueryEngine.java", "func_name": "QueryEngine.queryKeysOnly", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Perform a keys-only query.", "docstring_tokens": ["Perform", "a", "keys", "-", "only", "query", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/QueryEngine.java#L29-L33", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/QueryEngine.java", "func_name": "QueryEngine.queryHybrid", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Perform a keys-only plus batch gets.", "docstring_tokens": ["Perform", "a", "keys", "-", "only", "plus", "batch", "gets", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/QueryEngine.java#L38-L44", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/QueryEngine.java", "func_name": "QueryEngine.queryNormal", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "A normal, non-hybrid query", "docstring_tokens": ["A", "normal", "non", "-", "hybrid", "query"], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/QueryEngine.java#L49-L65", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/QueryEngine.java", "func_name": "QueryEngine.queryProjection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "A projection query. Bypasses the session entirely.", "docstring_tokens": ["A", "projection", "query", ".", "Bypasses", "the", "session", "entirely", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/QueryEngine.java#L70-L76", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/QueryEngine.java", "func_name": "QueryEngine.queryCount", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The fundamental query count operation. This doesn't appear to be implemented in the new SDK, so we simulate\nwith a keys-only query.", "docstring_tokens": ["The", "fundamental", "query", "count", "operation", ".", "This", "doesn", "t", "appear", "to", "be", "implemented", "in", "the", "new", "SDK", "so", "we", "simulate", "with", "a", "keys", "-", "only", "query", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/QueryEngine.java#L82-L87", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/HybridQueryResults.java", "func_name": "HybridQueryResults.safePartition", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Detects Integer.MAX_VALUE and prevents OOM exceptions", "docstring_tokens": ["Detects", "Integer", ".", "MAX_VALUE", "and", "prevents", "OOM", "exceptions"], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/HybridQueryResults.java#L68-L74", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/HybridQueryResults.java", "func_name": "HybridQueryResults.load", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Loads them; note that it's possible for some loaded results to be null", "docstring_tokens": ["Loads", "them", ";", "note", "that", "it", "s", "possible", "for", "some", "loaded", "results", "to", "be", "null"], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/HybridQueryResults.java#L77-L88", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/util/LogUtils.java", "func_name": "LogUtils.msg", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a log a message for a given path", "docstring_tokens": ["Create", "a", "log", "a", "message", "for", "a", "given", "path"], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/util/LogUtils.java#L22-L36", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/Key.java", "func_name": "Key.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a key from a registered POJO entity.", "docstring_tokens": ["Create", "a", "key", "from", "a", "registered", "POJO", "entity", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/Key.java#L67-L69", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/Key.java", "func_name": "Key.compareToWithIdentityHash", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "I have no idea what this is about, it was in the old logic", "docstring_tokens": ["I", "have", "no", "idea", "what", "this", "is", "about", "it", "was", "in", "the", "old", "logic"], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/Key.java#L271-L273", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/Key.java", "func_name": "Key.key", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Easy null-safe conversion of the raw key.", "docstring_tokens": ["Easy", "null", "-", "safe", "conversion", "of", "the", "raw", "key", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/Key.java#L331-L336", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/Key.java", "func_name": "Key.key", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Easy null-safe conversion of the typed key.", "docstring_tokens": ["Easy", "null", "-", "safe", "conversion", "of", "the", "typed", "key", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/Key.java#L341-L346", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/Key.java", "func_name": "Key.getKindHere", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the kind from the class if the class has an @Entity annotation, otherwise return null.", "docstring_tokens": ["Get", "the", "kind", "from", "the", "class", "if", "the", "class", "has", "an"], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/Key.java#L381-L391", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/repackaged/gentyref/GenericTypeReflector.java", "func_name": "GenericTypeReflector.isMissingTypeParameters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks if the given type is a class that is supposed to have type parameters, but doesn't.\nIn other words, if it's a really raw type.", "docstring_tokens": ["Checks", "if", "the", "given", "type", "is", "a", "class", "that", "is", "supposed", "to", "have", "type", "parameters", "but", "doesn", "t", ".", "In", "other", "words", "if", "it", "s", "a", "really", "raw", "type", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/repackaged/gentyref/GenericTypeReflector.java#L77-L89", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/repackaged/gentyref/GenericTypeReflector.java", "func_name": "GenericTypeReflector.isSuperType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks if the capture of subType is a subtype of superType", "docstring_tokens": ["Checks", "if", "the", "capture", "of", "subType", "is", "a", "subtype", "of", "superType"], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/repackaged/gentyref/GenericTypeReflector.java#L175-L223", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/repackaged/gentyref/GenericTypeReflector.java", "func_name": "GenericTypeReflector.getExactDirectSuperTypes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the direct supertypes of the given type. Resolves type parameters.", "docstring_tokens": ["Returns", "the", "direct", "supertypes", "of", "the", "given", "type", ".", "Resolves", "type", "parameters", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/repackaged/gentyref/GenericTypeReflector.java#L274-L326", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/repackaged/gentyref/GenericTypeReflector.java", "func_name": "GenericTypeReflector.capture", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Applies capture conversion to the given type.", "docstring_tokens": ["Applies", "capture", "conversion", "to", "the", "given", "type", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/repackaged/gentyref/GenericTypeReflector.java#L400-L406", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/translate/CreateContext.java", "func_name": "CreateContext.getTranslator", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the relevant translator, creating it if necessary.", "docstring_tokens": ["Get", "the", "relevant", "translator", "creating", "it", "if", "necessary", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/translate/CreateContext.java#L24-L26", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/translate/CreateContext.java", "func_name": "CreateContext.getPopulator", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the populator for the specified class. This requires looking up the\ntranslator for that class and then getting the populator from it.\n\n@param clazz is the class we want a populator for.", "docstring_tokens": ["Get", "the", "populator", "for", "the", "specified", "class", ".", "This", "requires", "looking", "up", "the", "translator", "for", "that", "class", "and", "then", "getting", "the", "populator", "from", "it", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/translate/CreateContext.java#L34-L42", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/translate/ClassPopulator.java", "func_name": "ClassPopulator.getIndexInstruction", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Figure out if there is an index instruction for the whole class.\n@return true, false, or null (which means no info)", "docstring_tokens": ["Figure", "out", "if", "there", "is", "an", "index", "instruction", "for", "the", "whole", "class", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/translate/ClassPopulator.java#L164-L177", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/translate/ClassPopulator.java", "func_name": "ClassPopulator.isOfInterest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determine if we should create a Property for the method (ie, @AlsoLoad)", "docstring_tokens": ["Determine", "if", "we", "should", "create", "a", "Property", "for", "the", "method", "(", "ie"], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/translate/ClassPopulator.java#L192-L198", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/translate/ClassPopulator.java", "func_name": "ClassPopulator.getDeclaredProperties", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get all the persistable fields and methods declared on a class. Ignores superclasses.\n\n@return the fields we load and save, including @Id and @Parent fields. All fields will be set accessable\nand returned in order of declaration.", "docstring_tokens": ["Get", "all", "the", "persistable", "fields", "and", "methods", "declared", "on", "a", "class", ".", "Ignores", "superclasses", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/translate/ClassPopulator.java#L206-L218", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/translate/ClassPopulator.java", "func_name": "ClassPopulator.getKeyMetadata", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the key metadata but only if this was an @Entity annotated class. Should not be called if not.", "docstring_tokens": ["Gets", "the", "key", "metadata", "but", "only", "if", "this", "was", "an"], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/translate/ClassPopulator.java#L223-L227", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/Round.java", "func_name": "Round.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets a result, using the session cache if possible.", "docstring_tokens": ["Gets", "a", "result", "using", "the", "session", "cache", "if", "possible", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/Round.java#L49-L115", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/Round.java", "func_name": "Round.execute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Turn this into a result set", "docstring_tokens": ["Turn", "this", "into", "a", "result", "set"], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/Round.java#L123-L138", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/Round.java", "func_name": "Round.fetchPending", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Possibly pulls some values from the stuffed collection", "docstring_tokens": ["Possibly", "pulls", "some", "values", "from", "the", "stuffed", "collection"], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/Round.java#L141-L165", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/translate/ClassTranslator.java", "func_name": "ClassTranslator.addIndexedDiscriminators", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Recursively go through the class hierarchy adding any discriminators that are indexed", "docstring_tokens": ["Recursively", "go", "through", "the", "class", "hierarchy", "adding", "any", "discriminators", "that", "are", "indexed"], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/translate/ClassTranslator.java#L151-L162", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/translate/ClassTranslator.java", "func_name": "ClassTranslator.registerSubclass", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Register a subclass translator with this class translator. That way if we get called upon\nto translate an instance of the subclass, we will forward to the correct translator.", "docstring_tokens": ["Register", "a", "subclass", "translator", "with", "this", "class", "translator", ".", "That", "way", "if", "we", "get", "called", "upon", "to", "translate", "an", "instance", "of", "the", "subclass", "we", "will", "forward", "to", "the", "correct", "translator", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/translate/ClassTranslator.java#L168-L176", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/util/GenericUtils.java", "func_name": "GenericUtils.getCollectionComponentType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the component type of a Collection.", "docstring_tokens": ["Get", "the", "component", "type", "of", "a", "Collection", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/util/GenericUtils.java#L19-L25", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/util/GenericUtils.java", "func_name": "GenericUtils.getMapKeyType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the key type of a Map.", "docstring_tokens": ["Get", "the", "key", "type", "of", "a", "Map", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/util/GenericUtils.java#L30-L36", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/ForwardPath.java", "func_name": "ForwardPath.of", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Recursive method which reverses the path into a ForwardPath.\n@param path cannot be the root path.", "docstring_tokens": ["Recursive", "method", "which", "reverses", "the", "path", "into", "a", "ForwardPath", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/ForwardPath.java#L27-L36", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/ForwardPath.java", "func_name": "ForwardPath.getFinalPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the complete path in this chain, typically for error messages or debugging", "docstring_tokens": ["Get", "the", "complete", "path", "in", "this", "chain", "typically", "for", "error", "messages", "or", "debugging"], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/ForwardPath.java#L49-L55", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/Path.java", "func_name": "Path.toPathString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create the full x.y.z string", "docstring_tokens": ["Create", "the", "full", "x", ".", "y", ".", "z", "string"], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/Path.java#L31-L39", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/Path.java", "func_name": "Path.depth", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "ROOT is 0, top level Entity properties are 1, embedded things are higher.", "docstring_tokens": ["ROOT", "is", "0", "top", "level", "Entity", "properties", "are", "1", "embedded", "things", "are", "higher", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/Path.java#L118-L128", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/cache/EntityMemcache.java", "func_name": "EntityMemcache.putAll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Update a set of buckets with new values. If collisions occur, resets the memcache value to null.\n\n@param updates can have null Entity values, which will record a negative cache result. Buckets must have\nbeen obtained from getAll().", "docstring_tokens": ["Update", "a", "set", "of", "buckets", "with", "new", "values", ".", "If", "collisions", "occur", "resets", "the", "memcache", "value", "to", "null", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/cache/EntityMemcache.java#L228-L253", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/cache/EntityMemcache.java", "func_name": "EntityMemcache.empty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Revert a set of keys to the empty state. Will loop on this several times just in case\nthe memcache write fails - we don't want to leave the cache in a nasty state.", "docstring_tokens": ["Revert", "a", "set", "of", "keys", "to", "the", "empty", "state", ".", "Will", "loop", "on", "this", "several", "times", "just", "in", "case", "the", "memcache", "write", "fails", "-", "we", "don", "t", "want", "to", "leave", "the", "cache", "in", "a", "nasty", "state", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/cache/EntityMemcache.java#L259-L267", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/cache/EntityMemcache.java", "func_name": "EntityMemcache.cachePutIfUntouched", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Put buckets in the cache, checking for cacheability and collisions.\n@return the set of keys that were *successfully* handled. That includes buckets that were put without collision\nand buckets that didn't need to be cached.", "docstring_tokens": ["Put", "buckets", "in", "the", "cache", "checking", "for", "cacheability", "and", "collisions", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/cache/EntityMemcache.java#L274-L296", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/cache/EntityMemcache.java", "func_name": "EntityMemcache.cacheGetAll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Bulk get on keys, getting the raw objects", "docstring_tokens": ["Bulk", "get", "on", "keys", "getting", "the", "raw", "objects"], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/cache/EntityMemcache.java#L301-L312", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/cache/EntityMemcache.java", "func_name": "EntityMemcache.keysOf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Basically a list comprehension of the keys for convenience.", "docstring_tokens": ["Basically", "a", "list", "comprehension", "of", "the", "keys", "for", "convenience", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/cache/EntityMemcache.java#L317-L319", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/KeyMetadata.java", "func_name": "KeyMetadata.findKeyFields", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Recursively go through the class hierarchy looking for the idMeta and parentMeta fields.\n@throws IllegalStateException if @Id or @Parent shows up twice.", "docstring_tokens": ["Recursively", "go", "through", "the", "class", "hierarchy", "looking", "for", "the", "idMeta", "and", "parentMeta", "fields", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/KeyMetadata.java#L67-L99", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/KeyMetadata.java", "func_name": "KeyMetadata.setKey", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the key on a container from the POJO.", "docstring_tokens": ["Sets", "the", "key", "on", "a", "container", "from", "the", "POJO", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/KeyMetadata.java#L151-L161", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/KeyMetadata.java", "func_name": "KeyMetadata.setLongId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the numeric id field", "docstring_tokens": ["Sets", "the", "numeric", "id", "field"], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/KeyMetadata.java#L254-L259", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/KeyMetadata.java", "func_name": "KeyMetadata.getParentRaw", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the contents of the @Parent field as a datastore key.\n@return null if there was no @Parent field, or the field is null.", "docstring_tokens": ["Get", "the", "contents", "of", "the"], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/KeyMetadata.java#L265-L273", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/translate/ClassTranslatorFactory.java", "func_name": "ClassTranslatorFactory.registerSubclass", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Recursively register this subclass with all the superclass translators. This works because we cache\ntranslators uniquely in the factory.", "docstring_tokens": ["Recursively", "register", "this", "subclass", "with", "all", "the", "superclass", "translators", ".", "This", "works", "because", "we", "cache", "translators", "uniquely", "in", "the", "factory", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/translate/ClassTranslatorFactory.java#L60-L69", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/repackaged/gentyref/TypeFactory.java", "func_name": "TypeFactory.couldHaveCommonSubtype", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks if the intersection of two types is not empty.", "docstring_tokens": ["Checks", "if", "the", "intersection", "of", "two", "types", "is", "not", "empty", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/repackaged/gentyref/TypeFactory.java#L176-L191", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/repackaged/gentyref/TypeFactory.java", "func_name": "TypeFactory.transformOwner", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Transforms the given owner type into an appropriate one when constructing a parameterized type.", "docstring_tokens": ["Transforms", "the", "given", "owner", "type", "into", "an", "appropriate", "one", "when", "constructing", "a", "parameterized", "type", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/repackaged/gentyref/TypeFactory.java#L196-L220", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/translate/TypeKey.java", "func_name": "TypeKey.getAnnotationAnywhere", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks not only the listed annotations but also annotations on the class.", "docstring_tokens": ["Checks", "not", "only", "the", "listed", "annotations", "but", "also", "annotations", "on", "the", "class", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/translate/TypeKey.java#L76-L84", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/Session.java", "func_name": "Session.addAll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add all entries in the other session to this one", "docstring_tokens": ["Add", "all", "entries", "in", "the", "other", "session", "to", "this", "one"], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/Session.java#L40-L45", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/LoadEngine.java", "func_name": "LoadEngine.load", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the result, possibly from the session, putting it in the session if necessary.\nAlso will recursively prepare the session with @Load parents as appropriate.\n@throws NullPointerException if key is null", "docstring_tokens": ["Gets", "the", "result", "possibly", "from", "the", "session", "putting", "it", "in", "the", "session", "if", "necessary", ".", "Also", "will", "recursively", "prepare", "the", "session", "with"], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/LoadEngine.java#L70-L93", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/LoadEngine.java", "func_name": "LoadEngine.execute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Starts asychronous fetching of the batch.", "docstring_tokens": ["Starts", "asychronous", "fetching", "of", "the", "batch", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/LoadEngine.java#L98-L104", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/LoadEngine.java", "func_name": "LoadEngine.translate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Asynchronously translate raw to processed; might produce successive load operations as refs are filled in", "docstring_tokens": ["Asynchronously", "translate", "raw", "to", "processed", ";", "might", "produce", "successive", "load", "operations", "as", "refs", "are", "filled", "in"], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/LoadEngine.java#L139-L171", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/LoadEngine.java", "func_name": "LoadEngine.fetch", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Fetch the keys from the async datastore using the current transaction context", "docstring_tokens": ["Fetch", "the", "keys", "from", "the", "async", "datastore", "using", "the", "current", "transaction", "context"], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/LoadEngine.java#L176-L181", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/LoadEngine.java", "func_name": "LoadEngine.load", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts a datastore entity into a typed pojo object\n@return an assembled pojo, or the Entity itself if the kind is not registered, or null if the input value was null", "docstring_tokens": ["Converts", "a", "datastore", "entity", "into", "a", "typed", "pojo", "object"], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/LoadEngine.java#L187-L197", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/Keys.java", "func_name": "Keys.createRawAny", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Construct a Key from a Long or String id\n@param id must be either Long or String", "docstring_tokens": ["Construct", "a", "Key", "from", "a", "Long", "or", "String", "id"], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/Keys.java#L165-L172", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/Keys.java", "func_name": "Keys.raw", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Null-safe extraction of the raw key", "docstring_tokens": ["Null", "-", "safe", "extraction", "of", "the", "raw", "key"], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/Keys.java#L215-L217", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/Keys.java", "func_name": "Keys.getIdValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the String or Long id from the key as a Value, or null if incomplete", "docstring_tokens": ["Gets", "the", "String", "or", "Long", "id", "from", "the", "key", "as", "a", "Value", "or", "null", "if", "incomplete"], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/Keys.java#L236-L247", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/Keys.java", "func_name": "Keys.fromUrlSafe", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Understands both the legacy format \"ag1zfnZvb2Rvb2R5bmUwcgcLEgFCGAEM\" and new format,\nproviding the key either way.", "docstring_tokens": ["Understands", "both", "the", "legacy", "format", "ag1zfnZvb2Rvb2R5bmUwcgcLEgFCGAEM", "and", "new", "format", "providing", "the", "key", "either", "way", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/Keys.java#L253-L260", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/TransactorYes.java", "func_name": "TransactorYes.transactionless", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This version goes back to life without a transaction, but preserves current options.\nWe use the session from the parent, ie life before transactions.", "docstring_tokens": ["This", "version", "goes", "back", "to", "life", "without", "a", "transaction", "but", "preserves", "current", "options", ".", "We", "use", "the", "session", "from", "the", "parent", "ie", "life", "before", "transactions", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/TransactorYes.java#L41-L44", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/TransactorYes.java", "func_name": "TransactorYes.transactNew", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "We need to make sure the parentSession is the transactionless session, not the session\nfor our transaction. This gives proper transaction isolation.", "docstring_tokens": ["We", "need", "to", "make", "sure", "the", "parentSession", "is", "the", "transactionless", "session", "not", "the", "session", "for", "our", "transaction", ".", "This", "gives", "proper", "transaction", "isolation", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/TransactorYes.java#L93-L96", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/TransactorNo.java", "func_name": "TransactorNo.transactOnce", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "One attempt at executing a transaction", "docstring_tokens": ["One", "attempt", "at", "executing", "a", "transaction"], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/TransactorNo.java#L133-L159", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/FieldProperty.java", "func_name": "FieldProperty.matches", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Tests whether a set of conditions match.\n@param conditions can be null; this always matches false\n@return true if we match the conditions, false if we do not", "docstring_tokens": ["Tests", "whether", "a", "set", "of", "conditions", "match", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/FieldProperty.java#L123-L141", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/ref/LiveRef.java", "func_name": "LiveRef.ofy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the current objectify instance associated with this ref", "docstring_tokens": ["Get", "the", "current", "objectify", "instance", "associated", "with", "this", "ref"], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/ref/LiveRef.java#L61-L67", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/ObjectifyFactory.java", "func_name": "ObjectifyFactory.asyncDatastore", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Might produce a caching version if caching is enabled.", "docstring_tokens": ["Might", "produce", "a", "caching", "version", "if", "caching", "is", "enabled", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/ObjectifyFactory.java#L140-L145", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/ObjectifyFactory.java", "func_name": "ObjectifyFactory.getMetadataForEntity", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Named differently so you don't accidentally use the Object form\n@return the metadata for a kind of typed object.\n@throws IllegalArgumentException if the kind has not been registered", "docstring_tokens": ["Named", "differently", "so", "you", "don", "t", "accidentally", "use", "the", "Object", "form"], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/ObjectifyFactory.java#L294-L298", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/ObjectifyFactory.java", "func_name": "ObjectifyFactory.allocate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Allocate num copies of the incompleteKey", "docstring_tokens": ["Allocate", "num", "copies", "of", "the", "incompleteKey"], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/ObjectifyFactory.java#L366-L375", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/ObjectifyFactory.java", "func_name": "ObjectifyFactory.open", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This is only public because it is used from the impl package; don't use this as a public API", "docstring_tokens": ["This", "is", "only", "public", "because", "it", "is", "used", "from", "the", "impl", "package", ";", "don", "t", "use", "this", "as", "a", "public", "API"], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/ObjectifyFactory.java#L422-L426", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/ObjectifyFactory.java", "func_name": "ObjectifyFactory.close", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Pops context off of stack after a transaction completes. For internal housekeeping only.", "docstring_tokens": ["Pops", "context", "off", "of", "stack", "after", "a", "transaction", "completes", ".", "For", "internal", "housekeeping", "only", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/ObjectifyFactory.java#L429-L436", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/util/Values.java", "func_name": "Values.homogenizeIndexes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The datastore has a weird behavior of reordering values in a list so that indexed ones come before nonindexed\nones. This can really mess up ordered lists. So if we find a heterogeneous list, we need to force index everything.", "docstring_tokens": ["The", "datastore", "has", "a", "weird", "behavior", "of", "reordering", "values", "in", "a", "list", "so", "that", "indexed", "ones", "come", "before", "nonindexed", "ones", ".", "This", "can", "really", "mess", "up", "ordered", "lists", ".", "So", "if", "we", "find", "a", "heterogeneous", "list", "we", "need", "to", "force", "index", "everything", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/util/Values.java#L29-L38", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/Ref.java", "func_name": "Ref.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a Ref from a registered pojo entity", "docstring_tokens": ["Creates", "a", "Ref", "from", "a", "registered", "pojo", "entity"], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/Ref.java#L30-L33", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/Ref.java", "func_name": "Ref.safe", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Obtain the entity value, throwing an exception if the entity was not found.\n\n@return the entity referenced. Never returns null.\n@throws NotFoundException if the specified entity was not found", "docstring_tokens": ["Obtain", "the", "entity", "value", "throwing", "an", "exception", "if", "the", "entity", "was", "not", "found", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/Ref.java#L100-L106", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/util/IdentityMultimapList.java", "func_name": "IdentityMultimapList.add", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a value to the set associated with the key.", "docstring_tokens": ["Adds", "a", "value", "to", "the", "set", "associated", "with", "the", "key", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/util/IdentityMultimapList.java#L22-L31", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/cache/TriggerFuture.java", "func_name": "TriggerFuture.isDone", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This version also checks to see if we are done and we still need to call the trigger.\nIf so, it calls it.\n\n@see java.util.concurrent.Future#isDone()", "docstring_tokens": ["This", "version", "also", "checks", "to", "see", "if", "we", "are", "done", "and", "we", "still", "need", "to", "call", "the", "trigger", ".", "If", "so", "it", "calls", "it", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/cache/TriggerFuture.java#L79-L91", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/IfConditionGenerator.java", "func_name": "IfConditionGenerator.generateIfConditions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Clever enough to recognize that an empty set of conditions means Always.", "docstring_tokens": ["Clever", "enough", "to", "recognize", "that", "an", "empty", "set", "of", "conditions", "means", "Always", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/IfConditionGenerator.java#L32-L61", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/translate/LoadContext.java", "func_name": "LoadContext.done", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Call this when a load process completes. Executes anything in the batch and then executes any delayed operations.", "docstring_tokens": ["Call", "this", "when", "a", "load", "process", "completes", ".", "Executes", "anything", "in", "the", "batch", "and", "then", "executes", "any", "delayed", "operations", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/translate/LoadContext.java#L67-L79", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/translate/LoadContext.java", "func_name": "LoadContext.getContainer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the container object which is appropriate for the specified property. Go up the chain looking for a compatible\ntype; the first one found is the container. If nothing found, throw an exception.", "docstring_tokens": ["Get", "the", "container", "object", "which", "is", "appropriate", "for", "the", "specified", "property", ".", "Go", "up", "the", "chain", "looking", "for", "a", "compatible", "type", ";", "the", "first", "one", "found", "is", "the", "container", ".", "If", "nothing", "found", "throw", "an", "exception", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/translate/LoadContext.java#L104-L121", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/EntityMemcacheStats.java", "func_name": "EntityMemcacheStats.getStat", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "We're just tracking statistics so we don't really need to worry about these stepping on each other;\nif there's a hit or miss lost no big deal.", "docstring_tokens": ["We", "re", "just", "tracking", "statistics", "so", "we", "don", "t", "really", "need", "to", "worry", "about", "these", "stepping", "on", "each", "other", ";", "if", "there", "s", "a", "hit", "or", "miss", "lost", "no", "big", "deal", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/EntityMemcacheStats.java#L65-L75", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/util/FutureHelper.java", "func_name": "FutureHelper.unwrapAndThrow", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Properly unwraps ExecutionException, throwing the relevant original cause. Otherwise\nRuntimeExceptions get thrown and checked exceptions get wrapped in a RuntimeException.", "docstring_tokens": ["Properly", "unwraps", "ExecutionException", "throwing", "the", "relevant", "original", "cause", ".", "Otherwise", "RuntimeExceptions", "get", "thrown", "and", "checked", "exceptions", "get", "wrapped", "in", "a", "RuntimeException", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/util/FutureHelper.java#L42-L52", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/translate/Translators.java", "func_name": "Translators.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Obtains the Translator appropriate for this type and annotations. May be a cached\ntranslator; if not, one will be discovered and cached.", "docstring_tokens": ["Obtains", "the", "Translator", "appropriate", "for", "this", "type", "and", "annotations", ".", "May", "be", "a", "cached", "translator", ";", "if", "not", "one", "will", "be", "discovered", "and", "cached", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/translate/Translators.java#L121-L131", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/translate/Translators.java", "func_name": "Translators.getRoot", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the translator for a root entity class", "docstring_tokens": ["Get", "the", "translator", "for", "a", "root", "entity", "class"], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/translate/Translators.java#L136-L138", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/translate/Translators.java", "func_name": "Translators.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a translator from scratch by going through the discovery process.", "docstring_tokens": ["Create", "a", "translator", "from", "scratch", "by", "going", "through", "the", "discovery", "process", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/translate/Translators.java#L143-L152", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/PropertyPopulator.java", "func_name": "PropertyPopulator.load", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the appropriate value from the container and sets it on the appropriate field of the pojo.", "docstring_tokens": ["Gets", "the", "appropriate", "value", "from", "the", "container", "and", "sets", "it", "on", "the", "appropriate", "field", "of", "the", "pojo", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/PropertyPopulator.java#L45-L60", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/PropertyPopulator.java", "func_name": "PropertyPopulator.getPropertyFromContainer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the relevant property from the container, detecting alsoload collisions.\n\n@return the value obtained from the container\n@throws IllegalStateException if there are multiple alsoload name matches", "docstring_tokens": ["Gets", "the", "relevant", "property", "from", "the", "container", "detecting", "alsoload", "collisions", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/PropertyPopulator.java#L68-L88", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/PropertyPopulator.java", "func_name": "PropertyPopulator.setValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set this raw datastore value on the relevant property of the pojo, doing whatever translations are necessary.", "docstring_tokens": ["Set", "this", "raw", "datastore", "value", "on", "the", "relevant", "property", "of", "the", "pojo", "doing", "whatever", "translations", "are", "necessary", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/PropertyPopulator.java#L93-L98", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/PropertyPopulator.java", "func_name": "PropertyPopulator.save", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the appropriate field value from the pojo and puts it in the container at the appropriate prop name\nand with the appropriate indexing.\n@param onPojo is the parent pojo which holds the property we represent\n@param index is the default state of indexing up to this point\n@param containerPath is the path to the container; each property will extend this path.", "docstring_tokens": ["Gets", "the", "appropriate", "field", "value", "from", "the", "pojo", "and", "puts", "it", "in", "the", "container", "at", "the", "appropriate", "prop", "name", "and", "with", "the", "appropriate", "indexing", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/PropertyPopulator.java#L118-L138", "partition": "test"} +{"repo": "objectify/objectify", "path": "src/main/java/com/googlecode/objectify/impl/PropertyPopulator.java", "func_name": "PropertyPopulator.getValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the value for the property and translate it into datastore format.", "docstring_tokens": ["Get", "the", "value", "for", "the", "property", "and", "translate", "it", "into", "datastore", "format", "."], "sha": "4bf325d2e49b400326416977c7d9bbdf5380175b", "url": "https://github.com/objectify/objectify/blob/4bf325d2e49b400326416977c7d9bbdf5380175b/src/main/java/com/googlecode/objectify/impl/PropertyPopulator.java#L143-L148", "partition": "test"} +{"repo": "google/openrtb", "path": "openrtb-core/src/main/java/com/google/openrtb/json/AbstractOpenRtbJsonWriter.java", "func_name": "AbstractOpenRtbJsonWriter.writeExtensions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write any extensions that may exist in a message.\n\n@param msg A message that may contain extensions\n@param gen The JSON generator\n@param Type of message being serialized, containing extensions\n@throws IOException any serialization error", "docstring_tokens": ["Write", "any", "extensions", "that", "may", "exist", "in", "a", "message", "."], "sha": "384ed8dde6bd16ac2faab9afbe5b33367836fdec", "url": "https://github.com/google/openrtb/blob/384ed8dde6bd16ac2faab9afbe5b33367836fdec/openrtb-core/src/main/java/com/google/openrtb/json/AbstractOpenRtbJsonWriter.java#L49-L82", "partition": "test"} +{"repo": "google/openrtb", "path": "openrtb-core/src/main/java/com/google/openrtb/json/AbstractOpenRtbJsonWriter.java", "func_name": "AbstractOpenRtbJsonWriter.writeContentCategory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes a string that represents a ContentCategory's JSON name, returning success status.\nIf the factory is in strict mode, the category name is validated.", "docstring_tokens": ["Writes", "a", "string", "that", "represents", "a", "ContentCategory", "s", "JSON", "name", "returning", "success", "status", ".", "If", "the", "factory", "is", "in", "strict", "mode", "the", "category", "name", "is", "validated", "."], "sha": "384ed8dde6bd16ac2faab9afbe5b33367836fdec", "url": "https://github.com/google/openrtb/blob/384ed8dde6bd16ac2faab9afbe5b33367836fdec/openrtb-core/src/main/java/com/google/openrtb/json/AbstractOpenRtbJsonWriter.java#L117-L124", "partition": "test"} +{"repo": "google/openrtb", "path": "openrtb-core/src/main/java/com/google/openrtb/json/AbstractOpenRtbJsonWriter.java", "func_name": "AbstractOpenRtbJsonWriter.writeContentCategories", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes an array of ContentCategory if not empty.\n\n@see #writeContentCategory(String, JsonGenerator)", "docstring_tokens": ["Writes", "an", "array", "of", "ContentCategory", "if", "not", "empty", "."], "sha": "384ed8dde6bd16ac2faab9afbe5b33367836fdec", "url": "https://github.com/google/openrtb/blob/384ed8dde6bd16ac2faab9afbe5b33367836fdec/openrtb-core/src/main/java/com/google/openrtb/json/AbstractOpenRtbJsonWriter.java#L131-L141", "partition": "test"} +{"repo": "google/openrtb", "path": "openrtb-core/src/main/java/com/google/openrtb/snippet/SnippetProcessor.java", "func_name": "SnippetProcessor.process", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Processes the raw snippet that was set by the bid, making any transformations necessary.", "docstring_tokens": ["Processes", "the", "raw", "snippet", "that", "was", "set", "by", "the", "bid", "making", "any", "transformations", "necessary", "."], "sha": "384ed8dde6bd16ac2faab9afbe5b33367836fdec", "url": "https://github.com/google/openrtb/blob/384ed8dde6bd16ac2faab9afbe5b33367836fdec/openrtb-core/src/main/java/com/google/openrtb/snippet/SnippetProcessor.java#L81-L115", "partition": "test"} +{"repo": "google/openrtb", "path": "openrtb-core/src/main/java/com/google/openrtb/util/OpenRtbUtils.java", "func_name": "OpenRtbUtils.bids", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Iterates all bids.\n\n@return Read-only sequence of all bis in the response.\nMay have bids from multiple seats, grouped by seat", "docstring_tokens": ["Iterates", "all", "bids", "."], "sha": "384ed8dde6bd16ac2faab9afbe5b33367836fdec", "url": "https://github.com/google/openrtb/blob/384ed8dde6bd16ac2faab9afbe5b33367836fdec/openrtb-core/src/main/java/com/google/openrtb/util/OpenRtbUtils.java#L140-L142", "partition": "test"} +{"repo": "google/openrtb", "path": "openrtb-core/src/main/java/com/google/openrtb/util/OpenRtbUtils.java", "func_name": "OpenRtbUtils.bidWithId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds a bid by ID.\n\n@param id Bid ID, assumed to be unique within the response\n@return Matching bid's builder, or {@code null} if not found", "docstring_tokens": ["Finds", "a", "bid", "by", "ID", "."], "sha": "384ed8dde6bd16ac2faab9afbe5b33367836fdec", "url": "https://github.com/google/openrtb/blob/384ed8dde6bd16ac2faab9afbe5b33367836fdec/openrtb-core/src/main/java/com/google/openrtb/util/OpenRtbUtils.java#L167-L178", "partition": "test"} +{"repo": "google/openrtb", "path": "openrtb-core/src/main/java/com/google/openrtb/util/OpenRtbUtils.java", "func_name": "OpenRtbUtils.updateBids", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Updates bids, from all seats.\n\n@param updater Update function. The {@code apply()} method can decide or not to update each\nobject, and it's expected to return {@code true} for objects that were updated\n@return {@code true} if at least one bid was updated\n@see ProtoUtils#update(Iterable, Function) for more general updating support", "docstring_tokens": ["Updates", "bids", "from", "all", "seats", "."], "sha": "384ed8dde6bd16ac2faab9afbe5b33367836fdec", "url": "https://github.com/google/openrtb/blob/384ed8dde6bd16ac2faab9afbe5b33367836fdec/openrtb-core/src/main/java/com/google/openrtb/util/OpenRtbUtils.java#L244-L253", "partition": "test"} +{"repo": "google/openrtb", "path": "openrtb-core/src/main/java/com/google/openrtb/util/OpenRtbUtils.java", "func_name": "OpenRtbUtils.removeBids", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove bids by bid.\n\n@param filter Returns {@code true} to keep bid, {@code false} to remove\n@return {@code true} if any bid was removed\n@see ProtoUtils#filter(List, Predicate) for more general filtering support", "docstring_tokens": ["Remove", "bids", "by", "bid", "."], "sha": "384ed8dde6bd16ac2faab9afbe5b33367836fdec", "url": "https://github.com/google/openrtb/blob/384ed8dde6bd16ac2faab9afbe5b33367836fdec/openrtb-core/src/main/java/com/google/openrtb/util/OpenRtbUtils.java#L284-L293", "partition": "test"} +{"repo": "google/openrtb", "path": "openrtb-core/src/main/java/com/google/openrtb/util/OpenRtbUtils.java", "func_name": "OpenRtbUtils.impsWith", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Optimized code for most filtered lookups. This is worth the effort\nbecause bidder code may invoke these lookup methods intensely;\ncommon cases like everything-filtered or nothing-filtered are very dominant;\nand simpler code previously used needed lots of temporary collections.\n\n@param request Container of impressions\n@param impFilter Filters impressions; will be executed exactly once,\nand only for impressions that pass the banner/video type filters.\nThe constants {@link #IMP_NONE} and {@link #IMP_ALL} allow\nmore efficient execution when you want to filter none/all impressions.\n@return Immutable or unmodifiable view for the filtered impressions", "docstring_tokens": ["Optimized", "code", "for", "most", "filtered", "lookups", ".", "This", "is", "worth", "the", "effort", "because", "bidder", "code", "may", "invoke", "these", "lookup", "methods", "intensely", ";", "common", "cases", "like", "everything", "-", "filtered", "or", "nothing", "-", "filtered", "are", "very", "dominant", ";", "and", "simpler", "code", "previously", "used", "needed", "lots", "of", "temporary", "collections", "."], "sha": "384ed8dde6bd16ac2faab9afbe5b33367836fdec", "url": "https://github.com/google/openrtb/blob/384ed8dde6bd16ac2faab9afbe5b33367836fdec/openrtb-core/src/main/java/com/google/openrtb/util/OpenRtbUtils.java#L382-L425", "partition": "test"} +{"repo": "google/openrtb", "path": "openrtb-core/src/main/java/com/google/openrtb/json/AbstractOpenRtbJsonReader.java", "func_name": "AbstractOpenRtbJsonReader.readExtensions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read any extensions that may exist in a message.\n\n@param msg Builder of a message that may contain extensions\n@param par The JSON parser, positioned at the \"ext\" field\n@param Type of message builder being constructed\n@throws IOException any parsing error", "docstring_tokens": ["Read", "any", "extensions", "that", "may", "exist", "in", "a", "message", "."], "sha": "384ed8dde6bd16ac2faab9afbe5b33367836fdec", "url": "https://github.com/google/openrtb/blob/384ed8dde6bd16ac2faab9afbe5b33367836fdec/openrtb-core/src/main/java/com/google/openrtb/json/AbstractOpenRtbJsonReader.java#L64-L117", "partition": "test"} +{"repo": "google/openrtb", "path": "openrtb-core/src/main/java/com/google/openrtb/json/AbstractOpenRtbJsonReader.java", "func_name": "AbstractOpenRtbJsonReader.emptyToNull", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Special case for empty-string input. Returning null in non-@Nullable method,\nbut this is non-strict mode anyway.", "docstring_tokens": ["Special", "case", "for", "empty", "-", "string", "input", ".", "Returning", "null", "in", "non", "-"], "sha": "384ed8dde6bd16ac2faab9afbe5b33367836fdec", "url": "https://github.com/google/openrtb/blob/384ed8dde6bd16ac2faab9afbe5b33367836fdec/openrtb-core/src/main/java/com/google/openrtb/json/AbstractOpenRtbJsonReader.java#L145-L151", "partition": "test"} +{"repo": "google/openrtb", "path": "openrtb-core/src/main/java/com/google/openrtb/json/OpenRtbJsonFactory.java", "func_name": "OpenRtbJsonFactory.register", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Register an extension reader.\n\n@param extReader code to desserialize some extension properties\n@param msgKlass class of extension message's builder, e.g. {@code MyImp.Builder.class}", "docstring_tokens": ["Register", "an", "extension", "reader", "."], "sha": "384ed8dde6bd16ac2faab9afbe5b33367836fdec", "url": "https://github.com/google/openrtb/blob/384ed8dde6bd16ac2faab9afbe5b33367836fdec/openrtb-core/src/main/java/com/google/openrtb/json/OpenRtbJsonFactory.java#L151-L155", "partition": "test"} +{"repo": "google/openrtb", "path": "openrtb-core/src/main/java/com/google/openrtb/json/OpenRtbJsonFactory.java", "func_name": "OpenRtbJsonFactory.register", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Register an extension writer, bound to a specific field name. This writer will be\nused in preference to a non-field-specific writer that may exist for the same class.\n\n@param extWriter code to serialize some {@code extKlass}'s properties\n@param extKlass class of extension message, e.g. {@code MyImp.class}\n@param msgKlass class of container message, e.g. {@code Imp.class}\n@param fieldName name of the field containing the extension\n@param Type of value for the extension\n@see #register(OpenRtbJsonExtWriter, Class, Class)", "docstring_tokens": ["Register", "an", "extension", "writer", "bound", "to", "a", "specific", "field", "name", ".", "This", "writer", "will", "be", "used", "in", "preference", "to", "a", "non", "-", "field", "-", "specific", "writer", "that", "may", "exist", "for", "the", "same", "class", "."], "sha": "384ed8dde6bd16ac2faab9afbe5b33367836fdec", "url": "https://github.com/google/openrtb/blob/384ed8dde6bd16ac2faab9afbe5b33367836fdec/openrtb-core/src/main/java/com/google/openrtb/json/OpenRtbJsonFactory.java#L168-L180", "partition": "test"} +{"repo": "google/openrtb", "path": "openrtb-core/src/main/java/com/google/openrtb/snippet/OpenRtbSnippetProcessor.java", "func_name": "OpenRtbSnippetProcessor.process", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Processes the context's response in-place, modifying properties that may contain macros.", "docstring_tokens": ["Processes", "the", "context", "s", "response", "in", "-", "place", "modifying", "properties", "that", "may", "contain", "macros", "."], "sha": "384ed8dde6bd16ac2faab9afbe5b33367836fdec", "url": "https://github.com/google/openrtb/blob/384ed8dde6bd16ac2faab9afbe5b33367836fdec/openrtb-core/src/main/java/com/google/openrtb/snippet/OpenRtbSnippetProcessor.java#L122-L129", "partition": "test"} +{"repo": "google/openrtb", "path": "openrtb-core/src/main/java/com/google/openrtb/snippet/OpenRtbSnippetProcessor.java", "func_name": "OpenRtbSnippetProcessor.processFields", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Processes all fields of a bid that should support macro expansion.", "docstring_tokens": ["Processes", "all", "fields", "of", "a", "bid", "that", "should", "support", "macro", "expansion", "."], "sha": "384ed8dde6bd16ac2faab9afbe5b33367836fdec", "url": "https://github.com/google/openrtb/blob/384ed8dde6bd16ac2faab9afbe5b33367836fdec/openrtb-core/src/main/java/com/google/openrtb/snippet/OpenRtbSnippetProcessor.java#L134-L176", "partition": "test"} +{"repo": "google/openrtb", "path": "openrtb-core/src/main/java/com/google/openrtb/util/ProtoUtils.java", "func_name": "ProtoUtils.update", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Updates every builder from a sequence.\n\n@param objs List of builders to update\n@param updater Update function. The {@code apply()} method can decide or not to update each\nobject, and it's expected to return {@code true} if some update was made\n@return {@code true} if at least one object was updated", "docstring_tokens": ["Updates", "every", "builder", "from", "a", "sequence", "."], "sha": "384ed8dde6bd16ac2faab9afbe5b33367836fdec", "url": "https://github.com/google/openrtb/blob/384ed8dde6bd16ac2faab9afbe5b33367836fdec/openrtb-core/src/main/java/com/google/openrtb/util/ProtoUtils.java#L72-L81", "partition": "test"} +{"repo": "google/openrtb", "path": "openrtb-core/src/main/java/com/google/openrtb/util/ProtoUtils.java", "func_name": "ProtoUtils.filter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Runs a filter through a sequence of objects.\n\n@param objs Message-or-builder objects\n@param filter Function that returns {@code true} to retain an object, {@code false} to discard\n@return Retained objects. If some elements are retained and others are discarded,\nthis will be a new, mutable {@link List} that contains only the retained elements.\nIf all elements are retained, returns the same, unmodified input sequence.\nIf all elements are discarded, returns an immutable, empty sequence", "docstring_tokens": ["Runs", "a", "filter", "through", "a", "sequence", "of", "objects", "."], "sha": "384ed8dde6bd16ac2faab9afbe5b33367836fdec", "url": "https://github.com/google/openrtb/blob/384ed8dde6bd16ac2faab9afbe5b33367836fdec/openrtb-core/src/main/java/com/google/openrtb/util/ProtoUtils.java#L93-L106", "partition": "test"} +{"repo": "google/openrtb", "path": "openrtb-core/src/main/java/com/google/openrtb/json/OpenRtbJsonUtils.java", "func_name": "OpenRtbJsonUtils.getCurrentName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the current field name, or empty string if none.", "docstring_tokens": ["Returns", "the", "current", "field", "name", "or", "empty", "string", "if", "none", "."], "sha": "384ed8dde6bd16ac2faab9afbe5b33367836fdec", "url": "https://github.com/google/openrtb/blob/384ed8dde6bd16ac2faab9afbe5b33367836fdec/openrtb-core/src/main/java/com/google/openrtb/json/OpenRtbJsonUtils.java#L36-L39", "partition": "test"} +{"repo": "google/openrtb", "path": "openrtb-core/src/main/java/com/google/openrtb/json/OpenRtbJsonUtils.java", "func_name": "OpenRtbJsonUtils.startObject", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Starts an Object, skipping the '{' token, and if necessary a field name before it.", "docstring_tokens": ["Starts", "an", "Object", "skipping", "the", "{", "token", "and", "if", "necessary", "a", "field", "name", "before", "it", "."], "sha": "384ed8dde6bd16ac2faab9afbe5b33367836fdec", "url": "https://github.com/google/openrtb/blob/384ed8dde6bd16ac2faab9afbe5b33367836fdec/openrtb-core/src/main/java/com/google/openrtb/json/OpenRtbJsonUtils.java#L44-L54", "partition": "test"} +{"repo": "google/openrtb", "path": "openrtb-core/src/main/java/com/google/openrtb/json/OpenRtbJsonUtils.java", "func_name": "OpenRtbJsonUtils.startArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Starts an Array, skipping the '[' token, and if necessary a field name before it.", "docstring_tokens": ["Starts", "an", "Array", "skipping", "the", "[", "token", "and", "if", "necessary", "a", "field", "name", "before", "it", "."], "sha": "384ed8dde6bd16ac2faab9afbe5b33367836fdec", "url": "https://github.com/google/openrtb/blob/384ed8dde6bd16ac2faab9afbe5b33367836fdec/openrtb-core/src/main/java/com/google/openrtb/json/OpenRtbJsonUtils.java#L68-L78", "partition": "test"} +{"repo": "google/openrtb", "path": "openrtb-core/src/main/java/com/google/openrtb/json/OpenRtbJsonUtils.java", "func_name": "OpenRtbJsonUtils.peekToken", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Skips a field name if necessary, returning the current token then.", "docstring_tokens": ["Skips", "a", "field", "name", "if", "necessary", "returning", "the", "current", "token", "then", "."], "sha": "384ed8dde6bd16ac2faab9afbe5b33367836fdec", "url": "https://github.com/google/openrtb/blob/384ed8dde6bd16ac2faab9afbe5b33367836fdec/openrtb-core/src/main/java/com/google/openrtb/json/OpenRtbJsonUtils.java#L92-L98", "partition": "test"} +{"repo": "google/openrtb", "path": "openrtb-core/src/main/java/com/google/openrtb/json/OpenRtbJsonUtils.java", "func_name": "OpenRtbJsonUtils.writeIntBoolField", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes a boolean as int, where false = 0 and true = 1.", "docstring_tokens": ["Writes", "a", "boolean", "as", "int", "where", "false", "=", "0", "and", "true", "=", "1", "."], "sha": "384ed8dde6bd16ac2faab9afbe5b33367836fdec", "url": "https://github.com/google/openrtb/blob/384ed8dde6bd16ac2faab9afbe5b33367836fdec/openrtb-core/src/main/java/com/google/openrtb/json/OpenRtbJsonUtils.java#L116-L119", "partition": "test"} +{"repo": "google/openrtb", "path": "openrtb-core/src/main/java/com/google/openrtb/json/OpenRtbJsonUtils.java", "func_name": "OpenRtbJsonUtils.writeStrings", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes a string array if not empty.", "docstring_tokens": ["Writes", "a", "string", "array", "if", "not", "empty", "."], "sha": "384ed8dde6bd16ac2faab9afbe5b33367836fdec", "url": "https://github.com/google/openrtb/blob/384ed8dde6bd16ac2faab9afbe5b33367836fdec/openrtb-core/src/main/java/com/google/openrtb/json/OpenRtbJsonUtils.java#L124-L133", "partition": "test"} +{"repo": "google/openrtb", "path": "openrtb-core/src/main/java/com/google/openrtb/json/OpenRtbJsonUtils.java", "func_name": "OpenRtbJsonUtils.writeInts", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes an int array if not empty.", "docstring_tokens": ["Writes", "an", "int", "array", "if", "not", "empty", "."], "sha": "384ed8dde6bd16ac2faab9afbe5b33367836fdec", "url": "https://github.com/google/openrtb/blob/384ed8dde6bd16ac2faab9afbe5b33367836fdec/openrtb-core/src/main/java/com/google/openrtb/json/OpenRtbJsonUtils.java#L138-L147", "partition": "test"} +{"repo": "google/openrtb", "path": "openrtb-core/src/main/java/com/google/openrtb/json/OpenRtbJsonUtils.java", "func_name": "OpenRtbJsonUtils.writeLongs", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes a long array if not empty, using quotes for values that are too big.\n\n@see #writeLong(long, JsonGenerator)", "docstring_tokens": ["Writes", "a", "long", "array", "if", "not", "empty", "using", "quotes", "for", "values", "that", "are", "too", "big", "."], "sha": "384ed8dde6bd16ac2faab9afbe5b33367836fdec", "url": "https://github.com/google/openrtb/blob/384ed8dde6bd16ac2faab9afbe5b33367836fdec/openrtb-core/src/main/java/com/google/openrtb/json/OpenRtbJsonUtils.java#L174-L183", "partition": "test"} +{"repo": "google/openrtb", "path": "openrtb-core/src/main/java/com/google/openrtb/json/OpenRtbJsonUtils.java", "func_name": "OpenRtbJsonUtils.writeEnums", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes a enum array if not empty.\n\n@see #writeEnum(ProtocolMessageEnum, JsonGenerator)", "docstring_tokens": ["Writes", "a", "enum", "array", "if", "not", "empty", "."], "sha": "384ed8dde6bd16ac2faab9afbe5b33367836fdec", "url": "https://github.com/google/openrtb/blob/384ed8dde6bd16ac2faab9afbe5b33367836fdec/openrtb-core/src/main/java/com/google/openrtb/json/OpenRtbJsonUtils.java#L205-L215", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "core/src/main/java/com/digitalpebble/stormcrawler/util/URLUtil.java", "func_name": "URLUtil.resolveURL", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolve relative URL-s and fix a few java.net.URL errors in handling of\nURLs with embedded params and pure query targets.\n\n@param base\nbase url\n@param target\ntarget url (may be relative)\n@return resolved absolute url.\n@throws MalformedURLException", "docstring_tokens": ["Resolve", "relative", "URL", "-", "s", "and", "fix", "a", "few", "java", ".", "net", ".", "URL", "errors", "in", "handling", "of", "URLs", "with", "embedded", "params", "and", "pure", "query", "targets", "."], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/core/src/main/java/com/digitalpebble/stormcrawler/util/URLUtil.java#L44-L53", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "core/src/main/java/com/digitalpebble/stormcrawler/util/URLUtil.java", "func_name": "URLUtil.fixPureQueryTargets", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Handle the case in RFC3986 section 5.4.1 example 7, and similar.", "docstring_tokens": ["Handle", "the", "case", "in", "RFC3986", "section", "5", ".", "4", ".", "1", "example", "7", "and", "similar", "."], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/core/src/main/java/com/digitalpebble/stormcrawler/util/URLUtil.java#L56-L72", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "core/src/main/java/com/digitalpebble/stormcrawler/util/URLUtil.java", "func_name": "URLUtil.getHostSegments", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Partitions of the hostname of the url by \".\"", "docstring_tokens": ["Partitions", "of", "the", "hostname", "of", "the", "url", "by", "."], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/core/src/main/java/com/digitalpebble/stormcrawler/util/URLUtil.java#L127-L134", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "core/src/main/java/com/digitalpebble/stormcrawler/util/URLUtil.java", "func_name": "URLUtil.getHost", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the lowercased hostname for the url or null if the url is not\nwell formed.\n\n@param url\nThe url to check.\n@return String The hostname for the url.", "docstring_tokens": ["Returns", "the", "lowercased", "hostname", "for", "the", "url", "or", "null", "if", "the", "url", "is", "not", "well", "formed", "."], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/core/src/main/java/com/digitalpebble/stormcrawler/util/URLUtil.java#L154-L160", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "core/src/main/java/com/digitalpebble/stormcrawler/util/URLUtil.java", "func_name": "URLUtil.getPage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the page for the url. The page consists of the protocol, host,\nand path, but does not include the query string. The host is lowercased\nbut the path is not.\n\n@param url\nThe url to check.\n@return String The page for the url.", "docstring_tokens": ["Returns", "the", "page", "for", "the", "url", ".", "The", "page", "consists", "of", "the", "protocol", "host", "and", "path", "but", "does", "not", "include", "the", "query", "string", ".", "The", "host", "is", "lowercased", "but", "the", "path", "is", "not", "."], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/core/src/main/java/com/digitalpebble/stormcrawler/util/URLUtil.java#L171-L181", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "core/src/main/java/com/digitalpebble/stormcrawler/util/ConfUtils.java", "func_name": "ConfUtils.loadListFromConf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return one or more Strings regardless of whether they are represented as\na single String or a list in the config or an empty List if no value\ncould be found for that key.", "docstring_tokens": ["Return", "one", "or", "more", "Strings", "regardless", "of", "whether", "they", "are", "represented", "as", "a", "single", "String", "or", "a", "list", "in", "the", "config", "or", "an", "empty", "List", "if", "no", "value", "could", "be", "found", "for", "that", "key", "."], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/core/src/main/java/com/digitalpebble/stormcrawler/util/ConfUtils.java#L82-L95", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "core/src/main/java/com/digitalpebble/stormcrawler/util/ConfUtils.java", "func_name": "ConfUtils.extractConfigElement", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If the config consists of a single key 'config', its values are used\ninstead", "docstring_tokens": ["If", "the", "config", "consists", "of", "a", "single", "key", "config", "its", "values", "are", "used", "instead"], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/core/src/main/java/com/digitalpebble/stormcrawler/util/ConfUtils.java#L117-L125", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "core/src/main/java/com/digitalpebble/stormcrawler/protocol/ProtocolFactory.java", "func_name": "ProtocolFactory.getProtocol", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an instance of the protocol to use for a given URL", "docstring_tokens": ["Returns", "an", "instance", "of", "the", "protocol", "to", "use", "for", "a", "given", "URL"], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/core/src/main/java/com/digitalpebble/stormcrawler/protocol/ProtocolFactory.java#L90-L94", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "external/warc/src/main/java/com/digitalpebble/stormcrawler/warc/WARCRecordFormat.java", "func_name": "WARCRecordFormat.generateWARCInfo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates a WARC info entry which can be stored at the beginning of each\nWARC file.", "docstring_tokens": ["Generates", "a", "WARC", "info", "entry", "which", "can", "be", "stored", "at", "the", "beginning", "of", "each", "WARC", "file", "."], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/external/warc/src/main/java/com/digitalpebble/stormcrawler/warc/WARCRecordFormat.java#L75-L124", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "core/src/main/java/com/digitalpebble/stormcrawler/util/RefreshTag.java", "func_name": "RefreshTag.extractRefreshURL", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a normalised value of the content attribute for the refresh tag", "docstring_tokens": ["Returns", "a", "normalised", "value", "of", "the", "content", "attribute", "for", "the", "refresh", "tag"], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/core/src/main/java/com/digitalpebble/stormcrawler/util/RefreshTag.java#L50-L63", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "core/src/main/java/com/digitalpebble/stormcrawler/util/MetadataTransfer.java", "func_name": "MetadataTransfer.getMetaForOutlink", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determine which metadata should be transfered to an outlink. Adds\nadditional metadata like the URL path.", "docstring_tokens": ["Determine", "which", "metadata", "should", "be", "transfered", "to", "an", "outlink", ".", "Adds", "additional", "metadata", "like", "the", "URL", "path", "."], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/core/src/main/java/com/digitalpebble/stormcrawler/util/MetadataTransfer.java#L146-L168", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "core/src/main/java/com/digitalpebble/stormcrawler/util/MetadataTransfer.java", "func_name": "MetadataTransfer.filter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determine which metadata should be persisted for a given document\nincluding those which are not necessarily transferred to the outlinks", "docstring_tokens": ["Determine", "which", "metadata", "should", "be", "persisted", "for", "a", "given", "document", "including", "those", "which", "are", "not", "necessarily", "transferred", "to", "the", "outlinks"], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/core/src/main/java/com/digitalpebble/stormcrawler/util/MetadataTransfer.java#L174-L182", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "core/src/main/java/com/digitalpebble/stormcrawler/spout/MemorySpout.java", "func_name": "MemorySpout.add", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a new URL\n\n@param nextFetch", "docstring_tokens": ["Add", "a", "new", "URL"], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/core/src/main/java/com/digitalpebble/stormcrawler/spout/MemorySpout.java#L87-L93", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "external/aws/src/main/java/com/digitalpebble/stormcrawler/aws/bolt/CloudSearchUtils.java", "func_name": "CloudSearchUtils.cleanFieldName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove the non-cloudSearch-legal characters. Note that this might convert\ntwo fields to the same name.\n\n@see \nconfiguring-index-fields.html
\n@param name\n@return", "docstring_tokens": ["Remove", "the", "non", "-", "cloudSearch", "-", "legal", "characters", ".", "Note", "that", "this", "might", "convert", "two", "fields", "to", "the", "same", "name", "."], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/external/aws/src/main/java/com/digitalpebble/stormcrawler/aws/bolt/CloudSearchUtils.java#L78-L87", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "core/src/main/java/com/digitalpebble/stormcrawler/util/CharsetIdentification.java", "func_name": "CharsetIdentification.getCharsetFromBOM", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Detects any BOMs and returns the corresponding charset", "docstring_tokens": ["Detects", "any", "BOMs", "and", "returns", "the", "corresponding", "charset"], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/core/src/main/java/com/digitalpebble/stormcrawler/util/CharsetIdentification.java#L88-L100", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "core/src/main/java/com/digitalpebble/stormcrawler/util/CharsetIdentification.java", "func_name": "CharsetIdentification.getCharsetFromText", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Use a third party library as last resort to guess the charset from the\nbytes.", "docstring_tokens": ["Use", "a", "third", "party", "library", "as", "last", "resort", "to", "guess", "the", "charset", "from", "the", "bytes", "."], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/core/src/main/java/com/digitalpebble/stormcrawler/util/CharsetIdentification.java#L106-L130", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "core/src/main/java/com/digitalpebble/stormcrawler/util/CharsetIdentification.java", "func_name": "CharsetIdentification.getCharsetFromMeta", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Attempt to find a META tag in the HTML that hints at the character set\nused to write the document.", "docstring_tokens": ["Attempt", "to", "find", "a", "META", "tag", "in", "the", "HTML", "that", "hints", "at", "the", "character", "set", "used", "to", "write", "the", "document", "."], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/core/src/main/java/com/digitalpebble/stormcrawler/util/CharsetIdentification.java#L136-L162", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "core/src/main/java/com/digitalpebble/stormcrawler/bolt/SiteMapParserBolt.java", "func_name": "SiteMapParserBolt.sniff", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Examines the first bytes of the content for a clue of whether this\ndocument is a sitemap, based on namespaces. Works for XML and\nnon-compressed documents only.", "docstring_tokens": ["Examines", "the", "first", "bytes", "of", "the", "content", "for", "a", "clue", "of", "whether", "this", "document", "is", "a", "sitemap", "based", "on", "namespaces", ".", "Works", "for", "XML", "and", "non", "-", "compressed", "documents", "only", "."], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/core/src/main/java/com/digitalpebble/stormcrawler/bolt/SiteMapParserBolt.java#L334-L344", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "core/src/main/java/com/digitalpebble/stormcrawler/Metadata.java", "func_name": "Metadata.setValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the value for a given key. The value can be null.", "docstring_tokens": ["Set", "the", "value", "for", "a", "given", "key", ".", "The", "value", "can", "be", "null", "."], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/core/src/main/java/com/digitalpebble/stormcrawler/Metadata.java#L83-L85", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "core/src/main/java/com/digitalpebble/stormcrawler/Metadata.java", "func_name": "Metadata.getFirstValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the first non empty value found for the keys or null if none\nfound.", "docstring_tokens": ["Returns", "the", "first", "non", "empty", "value", "found", "for", "the", "keys", "or", "null", "if", "none", "found", "."], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/core/src/main/java/com/digitalpebble/stormcrawler/Metadata.java#L169-L177", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "core/src/main/java/com/digitalpebble/stormcrawler/util/CookieConverter.java", "func_name": "CookieConverter.getCookies", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a list of cookies based on the cookies string taken from response\nheader and the target url.\n\n@param cookiesString\nthe value of the http header for \"Cookie\" in the http\nresponse.\n@param targetURL\nthe url for which we wish to pass the cookies in the request.\n@return List off cookies to add to the request.", "docstring_tokens": ["Get", "a", "list", "of", "cookies", "based", "on", "the", "cookies", "string", "taken", "from", "response", "header", "and", "the", "target", "url", "."], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/core/src/main/java/com/digitalpebble/stormcrawler/util/CookieConverter.java#L49-L131", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "core/src/main/java/com/digitalpebble/stormcrawler/util/CookieConverter.java", "func_name": "CookieConverter.checkDomainMatchToUrl", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Helper method to check if url matches a cookie domain.\n\n@param cookieDomain\nthe domain in the cookie\n@param urlHostName\nthe host name of the url\n@return does the cookie match the host name", "docstring_tokens": ["Helper", "method", "to", "check", "if", "url", "matches", "a", "cookie", "domain", "."], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/core/src/main/java/com/digitalpebble/stormcrawler/util/CookieConverter.java#L142-L166", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "core/src/main/java/com/digitalpebble/stormcrawler/protocol/HttpRobotRulesParser.java", "func_name": "HttpRobotRulesParser.getCacheKey", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compose unique key to store and access robot rules in cache for given URL", "docstring_tokens": ["Compose", "unique", "key", "to", "store", "and", "access", "robot", "rules", "in", "cache", "for", "given", "URL"], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/core/src/main/java/com/digitalpebble/stormcrawler/protocol/HttpRobotRulesParser.java#L61-L74", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "core/src/main/java/com/digitalpebble/stormcrawler/protocol/HttpRobotRulesParser.java", "func_name": "HttpRobotRulesParser.getRobotRulesSetFromCache", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the robots rules from the cache or empty rules if not found\n\n@see com.digitalpebble.stormcrawler.filtering.robots.RobotsFilter", "docstring_tokens": ["Returns", "the", "robots", "rules", "from", "the", "cache", "or", "empty", "rules", "if", "not", "found"], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/core/src/main/java/com/digitalpebble/stormcrawler/protocol/HttpRobotRulesParser.java#L81-L88", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "core/src/main/java/com/digitalpebble/stormcrawler/util/RobotsTags.java", "func_name": "RobotsTags.extractMetaTags", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "called by the parser bolts", "docstring_tokens": ["called", "by", "the", "parser", "bolts"], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/core/src/main/java/com/digitalpebble/stormcrawler/util/RobotsTags.java#L88-L123", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "core/src/main/java/com/digitalpebble/stormcrawler/persistence/AbstractStatusUpdaterBolt.java", "func_name": "AbstractStatusUpdaterBolt.ack", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Must be called by extending classes to store and collect in one go", "docstring_tokens": ["Must", "be", "called", "by", "extending", "classes", "to", "store", "and", "collect", "in", "one", "go"], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/core/src/main/java/com/digitalpebble/stormcrawler/persistence/AbstractStatusUpdaterBolt.java#L258-L265", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "core/src/main/java/com/digitalpebble/stormcrawler/filtering/regex/FastURLFilter.java", "func_name": "Rules.filter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Try the rules from the hostname, domain name, metadata and global scopes\nin this order. Returns true if the URL should be removed, false\notherwise. The value returns the value of the first matching rule, be it\npositive or negative.\n\n@throws MalformedURLException", "docstring_tokens": ["Try", "the", "rules", "from", "the", "hostname", "domain", "name", "metadata", "and", "global", "scopes", "in", "this", "order", ".", "Returns", "true", "if", "the", "URL", "should", "be", "removed", "false", "otherwise", ".", "The", "value", "returns", "the", "value", "of", "the", "first", "matching", "rule", "be", "it", "positive", "or", "negative", "."], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/core/src/main/java/com/digitalpebble/stormcrawler/filtering/regex/FastURLFilter.java#L215-L258", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "core/src/main/java/com/digitalpebble/stormcrawler/filtering/regex/RegexURLNormalizer.java", "func_name": "RegexURLNormalizer.filter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This function does the replacements by iterating through all the regex\npatterns. It accepts a string url as input and returns the altered\nstring. If the normalized url is an empty string, the function will\nreturn null.", "docstring_tokens": ["This", "function", "does", "the", "replacements", "by", "iterating", "through", "all", "the", "regex", "patterns", ".", "It", "accepts", "a", "string", "url", "as", "input", "and", "returns", "the", "altered", "string", ".", "If", "the", "normalized", "url", "is", "an", "empty", "string", "the", "function", "will", "return", "null", "."], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/core/src/main/java/com/digitalpebble/stormcrawler/filtering/regex/RegexURLNormalizer.java#L100-L118", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "core/src/main/java/com/digitalpebble/stormcrawler/filtering/regex/RegexURLNormalizer.java", "func_name": "RegexURLNormalizer.readRules", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads the configuration file and populates a List of Rules.", "docstring_tokens": ["Reads", "the", "configuration", "file", "and", "populates", "a", "List", "of", "Rules", "."], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/core/src/main/java/com/digitalpebble/stormcrawler/filtering/regex/RegexURLNormalizer.java#L150-L161", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "core/src/main/java/com/digitalpebble/stormcrawler/filtering/basic/BasicURLNormalizer.java", "func_name": "BasicURLNormalizer.processQueryElements", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Basic filter to remove query parameters from urls so parameters that\ndon't change the content of the page can be removed. An example would be\na google analytics query parameter like \"utm_campaign\" which might have\nseveral different values for a url that points to the same content. This\nis also called when removing attributes where the value is a hash.", "docstring_tokens": ["Basic", "filter", "to", "remove", "query", "parameters", "from", "urls", "so", "parameters", "that", "don", "t", "change", "the", "content", "of", "the", "page", "can", "be", "removed", ".", "An", "example", "would", "be", "a", "google", "analytics", "query", "parameter", "like", "utm_campaign", "which", "might", "have", "several", "different", "values", "for", "a", "url", "that", "points", "to", "the", "same", "content", ".", "This", "is", "also", "called", "when", "removing", "attributes", "where", "the", "value", "is", "a", "hash", "."], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/core/src/main/java/com/digitalpebble/stormcrawler/filtering/basic/BasicURLNormalizer.java#L232-L308", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "core/src/main/java/com/digitalpebble/stormcrawler/protocol/selenium/NavigationFilters.java", "func_name": "NavigationFilters.fromConf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Loads and configure the NavigationFilters based on the storm config if\nthere is one otherwise returns an emptyNavigationFilters.", "docstring_tokens": ["Loads", "and", "configure", "the", "NavigationFilters", "based", "on", "the", "storm", "config", "if", "there", "is", "one", "otherwise", "returns", "an", "emptyNavigationFilters", "."], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/core/src/main/java/com/digitalpebble/stormcrawler/protocol/selenium/NavigationFilters.java#L67-L83", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "external/warc/src/main/java/com/digitalpebble/stormcrawler/warc/GzipHdfsBolt.java", "func_name": "GzipHdfsBolt.addRecordFormat", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add an additional record format at given position", "docstring_tokens": ["Add", "an", "additional", "record", "format", "at", "given", "position"], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/external/warc/src/main/java/com/digitalpebble/stormcrawler/warc/GzipHdfsBolt.java#L144-L159", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "core/src/main/java/com/digitalpebble/stormcrawler/persistence/AbstractQueryingSpout.java", "func_name": "AbstractQueryingSpout.throttleQueries", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the amount of time to wait if the backend was queried too\nrecently and needs throttling or -1 if the backend can be queried\nstraight away.", "docstring_tokens": ["Returns", "the", "amount", "of", "time", "to", "wait", "if", "the", "backend", "was", "queried", "too", "recently", "and", "needs", "throttling", "or", "-", "1", "if", "the", "backend", "can", "be", "queried", "straight", "away", "."], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/core/src/main/java/com/digitalpebble/stormcrawler/persistence/AbstractQueryingSpout.java#L229-L238", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "core/src/main/java/com/digitalpebble/stormcrawler/persistence/AbstractQueryingSpout.java", "func_name": "AbstractQueryingSpout.triggerQueries", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Indicates whether enough time has elapsed since receiving the results of\nthe previous query so that a new one can be sent even if the buffer is\nnot empty. Applies to asynchronous clients only.", "docstring_tokens": ["Indicates", "whether", "enough", "time", "has", "elapsed", "since", "receiving", "the", "results", "of", "the", "previous", "query", "so", "that", "a", "new", "one", "can", "be", "sent", "even", "if", "the", "buffer", "is", "not", "empty", ".", "Applies", "to", "asynchronous", "clients", "only", "."], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/core/src/main/java/com/digitalpebble/stormcrawler/persistence/AbstractQueryingSpout.java#L245-L255", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "core/src/main/java/com/digitalpebble/stormcrawler/parse/ParseFilters.java", "func_name": "ParseFilters.fromConf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Loads and configure the ParseFilters based on the storm config if there\nis one otherwise returns an emptyParseFilter.", "docstring_tokens": ["Loads", "and", "configure", "the", "ParseFilters", "based", "on", "the", "storm", "config", "if", "there", "is", "one", "otherwise", "returns", "an", "emptyParseFilter", "."], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/core/src/main/java/com/digitalpebble/stormcrawler/parse/ParseFilters.java#L61-L77", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "external/tika/src/main/java/com/digitalpebble/stormcrawler/tika/DOMBuilder.java", "func_name": "DOMBuilder.append", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Append a node to the current container.\n\n@param newNode\nNew node to append", "docstring_tokens": ["Append", "a", "node", "to", "the", "current", "container", "."], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/external/tika/src/main/java/com/digitalpebble/stormcrawler/tika/DOMBuilder.java#L141-L175", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "external/tika/src/main/java/com/digitalpebble/stormcrawler/tika/DOMBuilder.java", "func_name": "DOMBuilder.ignorableWhitespace", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Receive notification of ignorable whitespace in element content.\n\n

\nValidating Parsers must use this method to report each chunk of ignorable\nwhitespace (see the W3C XML 1.0 recommendation, section 2.10):\nnon-validating parsers may also use this method if they are capable of\nparsing and using content models.\n

\n\n

\nSAX parsers may return all contiguous whitespace in a single chunk, or\nthey may split it into several chunks; however, all of the characters in\nany single event must come from the same external entity, so that the\nLocator provides useful information.\n

\n\n

\nThe application must not attempt to read from the array outside of the\nspecified range.\n

\n\n@param ch\nThe characters from the XML document.\n@param start\nThe start position in the array.\n@param length\nThe number of characters to read from the array.\n@see #characters", "docstring_tokens": ["Receive", "notification", "of", "ignorable", "whitespace", "in", "element", "content", "."], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/external/tika/src/main/java/com/digitalpebble/stormcrawler/tika/DOMBuilder.java#L542-L552", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "external/tika/src/main/java/com/digitalpebble/stormcrawler/tika/DOMBuilder.java", "func_name": "DOMBuilder.processingInstruction", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Receive notification of a processing instruction.\n\n

\nThe Parser will invoke this method once for each processing instruction\nfound: note that processing instructions may occur before or after the\nmain document element.\n

\n\n

\nA SAX parser should never report an XML declaration (XML 1.0, section\n2.8) or a text declaration (XML 1.0, section 4.3.1) using this method.\n

\n\n@param target\nThe processing instruction target.\n@param data\nThe processing instruction data, or null if none was supplied.", "docstring_tokens": ["Receive", "notification", "of", "a", "processing", "instruction", "."], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/external/tika/src/main/java/com/digitalpebble/stormcrawler/tika/DOMBuilder.java#L584-L588", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "external/tika/src/main/java/com/digitalpebble/stormcrawler/tika/DOMBuilder.java", "func_name": "DOMBuilder.comment", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Report an XML comment anywhere in the document.\n\nThis callback will be used for comments inside or outside the document\nelement, including comments in the external DTD subset (if read).\n\n@param ch\nAn array holding the characters in the comment.\n@param start\nThe starting position in the array.\n@param length\nThe number of characters to use from the array.", "docstring_tokens": ["Report", "an", "XML", "comment", "anywhere", "in", "the", "document", "."], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/external/tika/src/main/java/com/digitalpebble/stormcrawler/tika/DOMBuilder.java#L603-L612", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "external/tika/src/main/java/com/digitalpebble/stormcrawler/tika/DOMBuilder.java", "func_name": "DOMBuilder.cdata", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Receive notification of cdata.\n\n

\nThe Parser will call this method to report each chunk of character data.\nSAX parsers may return all contiguous character data in a single chunk,\nor they may split it into several chunks; however, all of the characters\nin any single event must come from the same external entity, so that the\nLocator provides useful information.\n

\n\n

\nThe application must not attempt to read from the array outside of the\nspecified range.\n

\n\n

\nNote that some parsers will report whitespace using the\nignorableWhitespace() method rather than this one (validating parsers\nmust do so).\n

\n\n@param ch\nThe characters from the XML document.\n@param start\nThe start position in the array.\n@param length\nThe number of characters to read from the array.\n@see #ignorableWhitespace\n@see org.xml.sax.Locator", "docstring_tokens": ["Receive", "notification", "of", "cdata", "."], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/external/tika/src/main/java/com/digitalpebble/stormcrawler/tika/DOMBuilder.java#L669-L684", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "external/tika/src/main/java/com/digitalpebble/stormcrawler/tika/DOMBuilder.java", "func_name": "DOMBuilder.startDTD", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Report the start of DTD declarations, if any.\n\nAny declarations are assumed to be in the internal subset unless\notherwise indicated.\n\n@param name\nThe document type name.\n@param publicId\nThe declared public identifier for the external DTD subset, or\nnull if none was declared.\n@param systemId\nThe declared system identifier for the external DTD subset, or\nnull if none was declared.\n@see #endDTD\n@see #startEntity", "docstring_tokens": ["Report", "the", "start", "of", "DTD", "declarations", "if", "any", "."], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/external/tika/src/main/java/com/digitalpebble/stormcrawler/tika/DOMBuilder.java#L703-L708", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "external/tika/src/main/java/com/digitalpebble/stormcrawler/tika/DOMBuilder.java", "func_name": "DOMBuilder.startPrefixMapping", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Begin the scope of a prefix-URI Namespace mapping.\n\n

\nThe information from this event is not necessary for normal Namespace\nprocessing: the SAX XML reader will automatically replace prefixes for\nelement and attribute names when the\nhttp://xml.org/sax/features/namespaces feature is true (the default).\n

\n\n

\nThere are cases, however, when applications need to use prefixes in\ncharacter data or in attribute values, where they cannot safely be\nexpanded automatically; the start/endPrefixMapping event supplies the\ninformation to the application to expand prefixes in those contexts\nitself, if necessary.\n

\n\n

\nNote that start/endPrefixMapping events are not guaranteed to be properly\nnested relative to each-other: all startPrefixMapping events will occur\nbefore the corresponding startElement event, and all endPrefixMapping\nevents will occur after the corresponding endElement event, but their\norder is not guaranteed.\n

\n\n@param prefix\nThe Namespace prefix being declared.\n@param uri\nThe Namespace URI the prefix is mapped to.\n@see #endPrefixMapping\n@see #startElement", "docstring_tokens": ["Begin", "the", "scope", "of", "a", "prefix", "-", "URI", "Namespace", "mapping", "."], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/external/tika/src/main/java/com/digitalpebble/stormcrawler/tika/DOMBuilder.java#L754-L770", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "core/src/main/java/com/digitalpebble/stormcrawler/indexing/AbstractIndexerBolt.java", "func_name": "AbstractIndexerBolt.valueForURL", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the value to be used as the URL for indexing purposes, if present\nthe canonical value is used instead", "docstring_tokens": ["Returns", "the", "value", "to", "be", "used", "as", "the", "URL", "for", "indexing", "purposes", "if", "present", "the", "canonical", "value", "is", "used", "instead"], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/core/src/main/java/com/digitalpebble/stormcrawler/indexing/AbstractIndexerBolt.java#L190-L229", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "core/src/main/java/com/digitalpebble/stormcrawler/indexing/AbstractIndexerBolt.java", "func_name": "AbstractIndexerBolt.trimText", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a trimmed string or the original one if it is below the threshold\nset in the configuration.", "docstring_tokens": ["Returns", "a", "trimmed", "string", "or", "the", "original", "one", "if", "it", "is", "below", "the", "threshold", "set", "in", "the", "configuration", "."], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/core/src/main/java/com/digitalpebble/stormcrawler/indexing/AbstractIndexerBolt.java#L243-L251", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "core/src/main/java/com/digitalpebble/stormcrawler/persistence/DefaultScheduler.java", "func_name": "DefaultScheduler.checkCustomInterval", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the first matching custom interval", "docstring_tokens": ["Returns", "the", "first", "matching", "custom", "interval"], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/core/src/main/java/com/digitalpebble/stormcrawler/persistence/DefaultScheduler.java#L170-L188", "partition": "test"} +{"repo": "DigitalPebble/storm-crawler", "path": "core/src/main/java/com/digitalpebble/stormcrawler/filtering/URLFilters.java", "func_name": "URLFilters.fromConf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Loads and configure the URLFilters based on the storm config if there is\none otherwise returns an empty URLFilter.", "docstring_tokens": ["Loads", "and", "configure", "the", "URLFilters", "based", "on", "the", "storm", "config", "if", "there", "is", "one", "otherwise", "returns", "an", "empty", "URLFilter", "."], "sha": "5d0465192ab8fbd89a90db32cb20960a282411ea", "url": "https://github.com/DigitalPebble/storm-crawler/blob/5d0465192ab8fbd89a90db32cb20960a282411ea/core/src/main/java/com/digitalpebble/stormcrawler/filtering/URLFilters.java#L62-L78", "partition": "test"} +{"repo": "LukeDeighton/WheelView", "path": "WheelViewLib/src/main/java/com/lukedeighton/wheelview/WheelView.java", "func_name": "WheelView.setWheelItemCount", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the number of items to be displayed on the wheel.", "docstring_tokens": ["Sets", "the", "number", "of", "items", "to", "be", "displayed", "on", "the", "wheel", "."], "sha": "0949e04df02f7ad43e1c0384542fa4c9bebe5161", "url": "https://github.com/LukeDeighton/WheelView/blob/0949e04df02f7ad43e1c0384542fa4c9bebe5161/WheelViewLib/src/main/java/com/lukedeighton/wheelview/WheelView.java#L541-L549", "partition": "test"} +{"repo": "LukeDeighton/WheelView", "path": "WheelViewLib/src/main/java/com/lukedeighton/wheelview/WheelView.java", "func_name": "WheelView.resolveSizeAndState", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Taken and modified from Android Source for API < 11", "docstring_tokens": ["Taken", "and", "modified", "from", "Android", "Source", "for", "API", "<", "11"], "sha": "0949e04df02f7ad43e1c0384542fa4c9bebe5161", "url": "https://github.com/LukeDeighton/WheelView/blob/0949e04df02f7ad43e1c0384542fa4c9bebe5161/WheelViewLib/src/main/java/com/lukedeighton/wheelview/WheelView.java#L645-L665", "partition": "test"} +{"repo": "LukeDeighton/WheelView", "path": "WheelViewLib/src/main/java/com/lukedeighton/wheelview/WheelView.java", "func_name": "WheelView.setEmptyItemDrawable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the empty item drawable that is drawn when outside of the adapter range.\n\n@see #isEmptyItemPosition(int)", "docstring_tokens": ["Sets", "the", "empty", "item", "drawable", "that", "is", "drawn", "when", "outside", "of", "the", "adapter", "range", "."], "sha": "0949e04df02f7ad43e1c0384542fa4c9bebe5161", "url": "https://github.com/LukeDeighton/WheelView/blob/0949e04df02f7ad43e1c0384542fa4c9bebe5161/WheelViewLib/src/main/java/com/lukedeighton/wheelview/WheelView.java#L799-L806", "partition": "test"} +{"repo": "LukeDeighton/WheelView", "path": "WheelViewLib/src/main/java/com/lukedeighton/wheelview/WheelView.java", "func_name": "WheelView.setAngle", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the angle of the wheel instantaneously.\nNote this does not animate to the provided angle.\n\n@param angle given in degrees and can be any value (not only between 0 and 360)", "docstring_tokens": ["Set", "the", "angle", "of", "the", "wheel", "instantaneously", ".", "Note", "this", "does", "not", "animate", "to", "the", "provided", "angle", "."], "sha": "0949e04df02f7ad43e1c0384542fa4c9bebe5161", "url": "https://github.com/LukeDeighton/WheelView/blob/0949e04df02f7ad43e1c0384542fa4c9bebe5161/WheelViewLib/src/main/java/com/lukedeighton/wheelview/WheelView.java#L915-L925", "partition": "test"} +{"repo": "LukeDeighton/WheelView", "path": "WheelViewLib/src/main/java/com/lukedeighton/wheelview/WheelView.java", "func_name": "WheelView.updateSelectedPosition", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks to see if the selectedPosition has changed.", "docstring_tokens": ["Checks", "to", "see", "if", "the", "selectedPosition", "has", "changed", "."], "sha": "0949e04df02f7ad43e1c0384542fa4c9bebe5161", "url": "https://github.com/LukeDeighton/WheelView/blob/0949e04df02f7ad43e1c0384542fa4c9bebe5161/WheelViewLib/src/main/java/com/lukedeighton/wheelview/WheelView.java#L930-L933", "partition": "test"} +{"repo": "LukeDeighton/WheelView", "path": "WheelViewLib/src/main/java/com/lukedeighton/wheelview/WheelView.java", "func_name": "WheelView.invalidateWheelItemDrawable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Invalidate the drawable at the specific position so that the next Draw call\nwill refresh the Drawable at this given position in the adapter.", "docstring_tokens": ["Invalidate", "the", "drawable", "at", "the", "specific", "position", "so", "that", "the", "next", "Draw", "call", "will", "refresh", "the", "Drawable", "at", "this", "given", "position", "in", "the", "adapter", "."], "sha": "0949e04df02f7ad43e1c0384542fa4c9bebe5161", "url": "https://github.com/LukeDeighton/WheelView/blob/0949e04df02f7ad43e1c0384542fa4c9bebe5161/WheelViewLib/src/main/java/com/lukedeighton/wheelview/WheelView.java#L972-L979", "partition": "test"} +{"repo": "LukeDeighton/WheelView", "path": "WheelViewLib/src/main/java/com/lukedeighton/wheelview/WheelView.java", "func_name": "WheelView.rawPositionToWheelPosition", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts the raw position to a position within the wheel item bounds.\n\n@see #rawPositionToAdapterPosition(int)\n@see #rawPositionToWheelPosition(int)", "docstring_tokens": ["Converts", "the", "raw", "position", "to", "a", "position", "within", "the", "wheel", "item", "bounds", "."], "sha": "0949e04df02f7ad43e1c0384542fa4c9bebe5161", "url": "https://github.com/LukeDeighton/WheelView/blob/0949e04df02f7ad43e1c0384542fa4c9bebe5161/WheelViewLib/src/main/java/com/lukedeighton/wheelview/WheelView.java#L1164-L1168", "partition": "test"} +{"repo": "LukeDeighton/WheelView", "path": "WheelViewLib/src/main/java/com/lukedeighton/wheelview/WheelView.java", "func_name": "WheelView.update", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Estimates the wheel's new angle and angular velocity", "docstring_tokens": ["Estimates", "the", "wheel", "s", "new", "angle", "and", "angular", "velocity"], "sha": "0949e04df02f7ad43e1c0384542fa4c9bebe5161", "url": "https://github.com/LukeDeighton/WheelView/blob/0949e04df02f7ad43e1c0384542fa4c9bebe5161/WheelViewLib/src/main/java/com/lukedeighton/wheelview/WheelView.java#L1173-L1190", "partition": "test"} +{"repo": "LukeDeighton/WheelView", "path": "WheelViewSample/src/main/java/com/lukedeighton/wheelsample/MainActivity.java", "func_name": "MainActivity.getContrastColor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "get the materials darker contrast", "docstring_tokens": ["get", "the", "materials", "darker", "contrast"], "sha": "0949e04df02f7ad43e1c0384542fa4c9bebe5161", "url": "https://github.com/LukeDeighton/WheelView/blob/0949e04df02f7ad43e1c0384542fa4c9bebe5161/WheelViewSample/src/main/java/com/lukedeighton/wheelsample/MainActivity.java#L73-L76", "partition": "test"} +{"repo": "LukeDeighton/WheelView", "path": "WheelViewLib/src/main/java/com/lukedeighton/wheelview/Circle.java", "func_name": "Circle.clamp", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Clamps the value to a number between 0 and the upperLimit", "docstring_tokens": ["Clamps", "the", "value", "to", "a", "number", "between", "0", "and", "the", "upperLimit"], "sha": "0949e04df02f7ad43e1c0384542fa4c9bebe5161", "url": "https://github.com/LukeDeighton/WheelView/blob/0949e04df02f7ad43e1c0384542fa4c9bebe5161/WheelViewLib/src/main/java/com/lukedeighton/wheelview/Circle.java#L55-L61", "partition": "test"} +{"repo": "trautonen/coveralls-maven-plugin", "path": "src/main/java/org/eluder/coveralls/maven/plugin/CoverallsReportMojo.java", "func_name": "CoverallsReportMojo.writeCoveralls", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes coverage data to JSON file.\n\n@param writer JSON writer that writes the coveralls data\n@param sourceCallback the source callback handler\n@param parsers list of coverage parsers\n@throws ProcessingException if process to to create JSON file fails\n@throws IOException if an I/O error occurs", "docstring_tokens": ["Writes", "coverage", "data", "to", "JSON", "file", "."], "sha": "0a4b0e6d8448e51f723046643ad88f8ac43c52ca", "url": "https://github.com/trautonen/coveralls-maven-plugin/blob/0a4b0e6d8448e51f723046643ad88f8ac43c52ca/src/main/java/org/eluder/coveralls/maven/plugin/CoverallsReportMojo.java#L379-L394", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/ArrayChar.java", "func_name": "ArrayChar.getDataAsByteBuffer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Trasfer data to a ByteBuffer.\nNote we cast char to byte, discarding top byte, if any.\nThis is because CDM char is really a byte, not a java char.\n@return data in a ByteBuffer", "docstring_tokens": ["Trasfer", "data", "to", "a", "ByteBuffer", ".", "Note", "we", "cast", "char", "to", "byte", "discarding", "top", "byte", "if", "any", ".", "This", "is", "because", "CDM", "char", "is", "really", "a", "byte", "not", "a", "java", "char", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/ArrayChar.java#L126-L133", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/ArrayChar.java", "func_name": "ArrayChar.setString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the ArrayChar values from the characters in the String. Rank must be 1.\nIf String longer than ArrayChar, ignore extra chars; if shorter, fill with 0.\n\n@param val set characters from this String\n@throws IllegalArgumentException if rank != 2", "docstring_tokens": ["Set", "the", "ArrayChar", "values", "from", "the", "characters", "in", "the", "String", ".", "Rank", "must", "be", "1", ".", "If", "String", "longer", "than", "ArrayChar", "ignore", "extra", "chars", ";", "if", "shorter", "fill", "with", "0", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/ArrayChar.java#L326-L339", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/ArrayChar.java", "func_name": "ArrayChar.make1DStringArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make this into the equivilent 1D ArrayObject of Strings.\n\n@return 1D ArrayObject of Strings", "docstring_tokens": ["Make", "this", "into", "the", "equivilent", "1D", "ArrayObject", "of", "Strings", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/ArrayChar.java#L825-L835", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/ArrayChar.java", "func_name": "ArrayChar.makeFromString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create an ArrayChar from a String\n\n@param s String\n@param max maximum length\n@return equivilent ArrayChar", "docstring_tokens": ["Create", "an", "ArrayChar", "from", "a", "String"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/ArrayChar.java#L844-L850", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/ArrayChar.java", "func_name": "ArrayChar.makeFromStringArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create an ArrayChar from an ArrayObject of Strings.\n\n@param values ArrayObject of String\n@return equivilent ArrayChar, using maximum length of String. Unused are zero filled.", "docstring_tokens": ["Create", "an", "ArrayChar", "from", "an", "ArrayObject", "of", "Strings", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/ArrayChar.java#L858-L868", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/ArrayChar.java", "func_name": "ArrayChar.makeFromStringArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create an ArrayChar from an ArrayObject of Strings.\nInverse of make1DStringArray. Copies the data.\n\n@param values ArrayObject of String\n@param strlen string length dimension size\n@return equivilent ArrayChar. Unused are zero filled.", "docstring_tokens": ["Create", "an", "ArrayChar", "from", "an", "ArrayObject", "of", "Strings", ".", "Inverse", "of", "make1DStringArray", ".", "Copies", "the", "data", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/ArrayChar.java#L878-L906", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/grib2/table/CfsrLocalTables.java", "func_name": "CfsrLocalTables.getForecastTimeIntervalOffset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reference time is the start time of the first forecast, other forecasts at 6-hour intervals. Number in Ave = number of forecast used", "docstring_tokens": ["Reference", "time", "is", "the", "start", "time", "of", "the", "first", "forecast", "other", "forecasts", "at", "6", "-", "hour", "intervals", ".", "Number", "in", "Ave", "=", "number", "of", "forecast", "used"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/grib2/table/CfsrLocalTables.java#L78-L116", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/widget/IndependentWindow.java", "func_name": "IndependentWindow.show", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "show the window.", "docstring_tokens": ["show", "the", "window", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/widget/IndependentWindow.java#L77-L86", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/widget/IndependentWindow.java", "func_name": "IndependentWindow.showIfNotIconified", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "show if not iconified", "docstring_tokens": ["show", "if", "not", "iconified"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/widget/IndependentWindow.java#L89-L97", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dt/grid/CFGridWriter2.java", "func_name": "CFGridWriter2.makeSizeEstimate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compute the size of the file without writing\n\n@param gds the GridDataset\n@param gridList the list of variables to be written, or null for all\n@param llbb the lat/lon bounding box, or null for all\n@param projRect the projection bounding box, or null for all\n@param horizStride the x and y stride\n@param zRange the z stride\n@param dateRange date range, or null for all\n@param stride_time the time stride\n@param addLatLon add 2D lat/lon coordinates if needed\n@return total bytes written\n@throws IOException\n@throws InvalidRangeException", "docstring_tokens": ["Compute", "the", "size", "of", "the", "file", "without", "writing"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dt/grid/CFGridWriter2.java#L56-L62", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/grib1/Grib1RecordScanner.java", "func_name": "Grib1RecordScanner.main", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Count the number of records in a grib1 file.", "docstring_tokens": ["Count", "the", "number", "of", "records", "in", "a", "grib1", "file", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/grib1/Grib1RecordScanner.java#L290-L302", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/UnitName.java", "func_name": "UnitName.newUnitName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Factory method for constructing a UnitName from a name and a plural form\nof the name.\n\n@param name\nThe name of the unit. Shall not be \nnull.\n@param plural\nThe plural form of the name. May be \nnull, in which\ncase regular plural- forming rules are used to construct the\nplural form from the name.\n@throws NameException\nname == null.", "docstring_tokens": ["Factory", "method", "for", "constructing", "a", "UnitName", "from", "a", "name", "and", "a", "plural", "form", "of", "the", "name", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/UnitName.java#L111-L114", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/UnitName.java", "func_name": "UnitName.newUnitName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Factory method for constructing a UnitName from a name, a plural form of\nthe name, and a symbol.\n\n@param name\nThe name of the unit. Shall not be \nnull.\n@param plural\nThe plural form of the name. May be \nnull, in which\ncase regular plural- forming rules are used to construct the\nplural form from the name.\n@param symbol\nThe symbol for the unit. May be null\n.\n@throws NameException\nname == null.", "docstring_tokens": ["Factory", "method", "for", "constructing", "a", "UnitName", "from", "a", "name", "a", "plural", "form", "of", "the", "name", "and", "a", "symbol", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/UnitName.java#L134-L137", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/UnitName.java", "func_name": "UnitName.makePlural", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the plural form of a name. Regular rules are used to generate the\nplural form.\n\n@param name\nThe name.\n@return The plural form of the name.", "docstring_tokens": ["Returns", "the", "plural", "form", "of", "a", "name", ".", "Regular", "rules", "are", "used", "to", "generate", "the", "plural", "form", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/UnitName.java#L215-L239", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/units/DateRange.java", "func_name": "DateRange.included", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determine if the given date is included in this date range.\nThe date range includes the start and end dates.\n\n@param d date to check\n@return true if date in inside this range", "docstring_tokens": ["Determine", "if", "the", "given", "date", "is", "included", "in", "this", "date", "range", ".", "The", "date", "range", "includes", "the", "start", "and", "end", "dates", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/units/DateRange.java#L158-L165", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/units/DateRange.java", "func_name": "DateRange.intersect", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Intersect with another date range\n\n@param clip intersect with this date range\n@return new date range that is the intersection", "docstring_tokens": ["Intersect", "with", "another", "date", "range"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/units/DateRange.java#L209-L220", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/units/DateRange.java", "func_name": "DateRange.extend", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extend this date range by the given one.\n\n@param dr given DateRange", "docstring_tokens": ["Extend", "this", "date", "range", "by", "the", "given", "one", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/units/DateRange.java#L227-L233", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/units/DateRange.java", "func_name": "DateRange.extend", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extend this date range by the given Date.\n\n@param d given Date", "docstring_tokens": ["Extend", "this", "date", "range", "by", "the", "given", "Date", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/units/DateRange.java#L240-L245", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/units/DateRange.java", "func_name": "DateRange.setStart", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the starting Date. Makes useStart true.\nIf useEnd, recalculate the duration, else recalculate end.\n\n@param start starting Date", "docstring_tokens": ["Set", "the", "starting", "Date", ".", "Makes", "useStart", "true", ".", "If", "useEnd", "recalculate", "the", "duration", "else", "recalculate", "end", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/units/DateRange.java#L262-L276", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/units/DateRange.java", "func_name": "DateRange.setEnd", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the ending Date. Makes useEnd true.\nIf useStart, recalculate the duration, else recalculate start.\n\n@param end ending Date", "docstring_tokens": ["Set", "the", "ending", "Date", ".", "Makes", "useEnd", "true", ".", "If", "useStart", "recalculate", "the", "duration", "else", "recalculate", "start", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/units/DateRange.java#L293-L307", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/units/DateRange.java", "func_name": "DateRange.setDuration", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the duration of the interval. Makes useDuration true.\nIf useStart, recalculate end, else recalculate start.\n\n@param duration duration of the interval", "docstring_tokens": ["Set", "the", "duration", "of", "the", "interval", ".", "Makes", "useDuration", "true", ".", "If", "useStart", "recalculate", "end", "else", "recalculate", "start", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/units/DateRange.java#L326-L340", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/units/DateRange.java", "func_name": "DateRange.recalcDuration", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "assumes not moving", "docstring_tokens": ["assumes", "not", "moving"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/units/DateRange.java#L343-L371", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/grid/GridUI.java", "func_name": "GridUI.addMapBean", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "add a MapBean to the User Interface", "docstring_tokens": ["add", "a", "MapBean", "to", "the", "User", "Interface"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/grid/GridUI.java#L222-L238", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/ce/parser/CELexer.java", "func_name": "CELexer.yyerror", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Entry point for error reporting. Emits an error\nin a user-defined way.\nPart of Lexer interface.\n\n@param s The string for the error message.", "docstring_tokens": ["Entry", "point", "for", "error", "reporting", ".", "Emits", "an", "error", "in", "a", "user", "-", "defined", "way", ".", "Part", "of", "Lexer", "interface", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/ce/parser/CELexer.java#L349-L356", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft2/coverage/adapter/DtCoverageDataset.java", "func_name": "DtCoverageDataset.getName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "the name of the dataset is the last part of the location\n\n@return the name of the dataset", "docstring_tokens": ["the", "name", "of", "the", "dataset", "is", "the", "last", "part", "of", "the", "location"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft2/coverage/adapter/DtCoverageDataset.java#L262-L268", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/geoloc/projection/proj4/LambertConformalConicEllipse.java", "func_name": "LambertConformalConicEllipse.paramsToString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a String of the parameters.\n\n@return a String of the parameters", "docstring_tokens": ["Create", "a", "String", "of", "the", "parameters", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/geoloc/projection/proj4/LambertConformalConicEllipse.java#L375-L379", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4lib/src/main/java/dap4/dap4lib/FileDSP.java", "func_name": "FileDSP.open", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extension to access a raw byte stream", "docstring_tokens": ["Extension", "to", "access", "a", "raw", "byte", "stream"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4lib/src/main/java/dap4/dap4lib/FileDSP.java#L107-L122", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft2/coverage/HorizCoordSys2D.java", "func_name": "HorizCoordSys2D.computeBounds", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "return y, x ranges", "docstring_tokens": ["return", "y", "x", "ranges"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft2/coverage/HorizCoordSys2D.java#L120-L125", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/widget/RangeDateSelector.java", "func_name": "RangeDateSelector.synchUI", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "set values on the UI", "docstring_tokens": ["set", "values", "on", "the", "UI"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/widget/RangeDateSelector.java#L348-L362", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/write/Nc4ChunkingDefault.java", "func_name": "Nc4ChunkingDefault.computeUnlimitedChunking", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "make it easy to test by using dimension list", "docstring_tokens": ["make", "it", "easy", "to", "test", "by", "using", "dimension", "list"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/write/Nc4ChunkingDefault.java#L101-L111", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tdcommon/src/main/java/thredds/server/catalog/tracker/CatalogWatcher.java", "func_name": "CatalogWatcher.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": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tdcommon/src/main/java/thredds/server/catalog/tracker/CatalogWatcher.java#L57-L72", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tdcommon/src/main/java/thredds/server/catalog/tracker/CatalogWatcher.java", "func_name": "CatalogWatcher.processEvents", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Process all events for keys queued to the watcher", "docstring_tokens": ["Process", "all", "events", "for", "keys", "queued", "to", "the", "watcher"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tdcommon/src/main/java/thredds/server/catalog/tracker/CatalogWatcher.java#L95-L154", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft2/coverage/TimeHelper.java", "func_name": "TimeHelper.setReferenceDate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "copy on modify", "docstring_tokens": ["copy", "on", "modify"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft2/coverage/TimeHelper.java#L60-L63", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft/FeatureDatasetFactoryManager.java", "func_name": "FeatureDatasetFactoryManager.open", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Open a dataset as a FeatureDataset.\n\n@param wantFeatureType open this kind of FeatureDataset; may be null, which means search all factories.\nIf datatype is not null, only return correct FeatureDataset (eg PointFeatureDataset for DataType.POINT).\n@param location URL or file location of the dataset. This may be a\n
    \n
  1. thredds catalog#dataset (with a thredds: prefix)\n
  2. cdmrFeature dataset (with a cdmrFeature: prefix)\n
  3. cdmremote dataset (with a cdmremote: prefix)\n
  4. collection dataset (with a collection: prefix)\n
  5. file location for a CDM dataset opened with NetcdfDataset.acquireDataset()\n
\n@param task user may cancel\n@param errlog place errors here, may not be null\n@return a subclass of FeatureDataset, or null if no suitable factory was found, message in errlog\n@throws java.io.IOException on io error", "docstring_tokens": ["Open", "a", "dataset", "as", "a", "FeatureDataset", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft/FeatureDatasetFactoryManager.java#L221-L268", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft/FeatureDatasetFactoryManager.java", "func_name": "FeatureDatasetFactoryManager.wrap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Wrap a NetcdfDataset as a FeatureDataset.\n\n@param wantFeatureType open this kind of FeatureDataset; may be null, which means search all factories.\nIf datatype is not null, only return FeatureDataset with objects of that type\n@param ncd the NetcdfDataset to wrap as a FeatureDataset\n@param task user may cancel\n@param errlog place errors here, may not be null\n@return a subclass of FeatureDataset, or null if no suitable factory was found\n@throws java.io.IOException on io error", "docstring_tokens": ["Wrap", "a", "NetcdfDataset", "as", "a", "FeatureDataset", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft/FeatureDatasetFactoryManager.java#L281-L310", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft/FeatureDatasetFactoryManager.java", "func_name": "FeatureDatasetFactoryManager.featureTypeOk", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determine if factory type matches wanted feature type.\n\n@param want want this FeatureType\n@param facType factory is of this type\n@return true if match", "docstring_tokens": ["Determine", "if", "factory", "type", "matches", "wanted", "feature", "type", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft/FeatureDatasetFactoryManager.java#L382-L411", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft/FeatureDatasetFactoryManager.java", "func_name": "FeatureDatasetFactoryManager.findFeatureType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Try to determine the feature type of the dataset, by examining its metadata.\n\n@param ncd the dataset\n@return FeatureType if found, else null", "docstring_tokens": ["Try", "to", "determine", "the", "feature", "type", "of", "the", "dataset", "by", "examining", "its", "metadata", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft/FeatureDatasetFactoryManager.java#L419-L442", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/core/ConfigCatalogHtmlWriter.java", "func_name": "ConfigCatalogHtmlWriter.writeCatalog", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write an Catalog to the HttpServletResponse, return the size in bytes of the catalog written to the response.\n\n@param req the HttpServletRequest\n@param res the HttpServletResponse.\n@param cat the InvCatalogImpl to write to the HttpServletResponse.\n@param isLocalCatalog indicates whether this catalog is local to this server.\n@return the size in bytes of the catalog written to the HttpServletResponse.\n@throws IOException if problems writing the response.", "docstring_tokens": ["Write", "an", "Catalog", "to", "the", "HttpServletResponse", "return", "the", "size", "in", "bytes", "of", "the", "catalog", "written", "to", "the", "response", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/core/ConfigCatalogHtmlWriter.java#L76-L91", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/core/ConfigCatalogHtmlWriter.java", "func_name": "ConfigCatalogHtmlWriter.convertCatalogToHtml", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write a catalog in HTML, make it look like a file directory.\n\n@param cat catalog to write", "docstring_tokens": ["Write", "a", "catalog", "in", "HTML", "make", "it", "look", "like", "a", "file", "directory", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/core/ConfigCatalogHtmlWriter.java#L98-L162", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/core/ConfigCatalogHtmlWriter.java", "func_name": "ConfigCatalogHtmlWriter.getUserCSS", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "public static final String UNIDATA_CSS", "docstring_tokens": ["public", "static", "final", "String", "UNIDATA_CSS"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/core/ConfigCatalogHtmlWriter.java#L405-L410", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/core/ConfigCatalogHtmlWriter.java", "func_name": "ConfigCatalogHtmlWriter.getUserHead", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "public static final String UNIDATA_HEAD", "docstring_tokens": ["public", "static", "final", "String", "UNIDATA_HEAD"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/core/ConfigCatalogHtmlWriter.java#L427-L438", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/core/CatalogManager.java", "func_name": "CatalogManager.makeDynamicCatalog", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "barfola on the return type", "docstring_tokens": ["barfola", "on", "the", "return", "type"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/core/CatalogManager.java#L98-L156", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/core/CatalogManager.java", "func_name": "CatalogManager.addGlobalServices", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "rigamorole to modify invariant catalogs; we may need to add global services", "docstring_tokens": ["rigamorole", "to", "modify", "invariant", "catalogs", ";", "we", "may", "need", "to", "add", "global", "services"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/core/CatalogManager.java#L161-L189", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/util/net/HttpClientManager.java", "func_name": "HttpClientManager.init", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "initialize the HttpClient layer.\n\n@param provider CredentialsProvider.\n@param userAgent Content of User-Agent header, may be null", "docstring_tokens": ["initialize", "the", "HttpClient", "layer", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/util/net/HttpClientManager.java#L36-L49", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/util/net/HttpClientManager.java", "func_name": "HttpClientManager.getContentAsString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the content from a url. For large returns, its better to use getResponseAsStream.\n\n@param session use this session, if null, create a new one\n@param urlencoded url as a String\n@return contents of url as a String\n@throws java.io.IOException on error", "docstring_tokens": ["Get", "the", "content", "from", "a", "url", ".", "For", "large", "returns", "its", "better", "to", "use", "getResponseAsStream", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/util/net/HttpClientManager.java#L73-L89", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/util/net/HttpClientManager.java", "func_name": "HttpClientManager.putContent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Put content to a url, using HTTP PUT. Handles one level of 302 redirection.\n\n@param urlencoded url as a String\n@param content PUT this content at the given url.\n@return the HTTP status return code\n@throws java.io.IOException on error", "docstring_tokens": ["Put", "content", "to", "a", "url", "using", "HTTP", "PUT", ".", "Handles", "one", "level", "of", "302", "redirection", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/util/net/HttpClientManager.java#L99-L119", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4ts/src/main/java/dap4/d4ts/D4TSServlet.java", "func_name": "D4TSServlet.getFrontPage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Isolate front page builder so we can override if desired for testing.\n\n@param drq\n@param cxt\n@return FrontPage object", "docstring_tokens": ["Isolate", "front", "page", "builder", "so", "we", "can", "override", "if", "desired", "for", "testing", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4ts/src/main/java/dap4/d4ts/D4TSServlet.java#L185-L201", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/featurecollection/InvDatasetFcGrib.java", "func_name": "InvDatasetFcGrib.makeCatalog", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "see top javadoc for possible URLs", "docstring_tokens": ["see", "top", "javadoc", "for", "possible", "URLs"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/featurecollection/InvDatasetFcGrib.java#L392-L418", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/featurecollection/InvDatasetFcGrib.java", "func_name": "InvDatasetFcGrib.extractGeospatial", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "LOOK how come we arent using MetadataExtractor ??", "docstring_tokens": ["LOOK", "how", "come", "we", "arent", "using", "MetadataExtractor", "??"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/featurecollection/InvDatasetFcGrib.java#L501-L514", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/featurecollection/InvDatasetFcGrib.java", "func_name": "InvDatasetFcGrib.getSingleDatasetOrByTypeName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "kinda kludgey, but trying not keep URLs stable", "docstring_tokens": ["kinda", "kludgey", "but", "trying", "not", "keep", "URLs", "stable"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/featurecollection/InvDatasetFcGrib.java#L666-L671", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/coord/VertCoordValue.java", "func_name": "VertCoordValue.nearlyEquals", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "cannot do approx equals and be consistent with hashCode, so make seperate call", "docstring_tokens": ["cannot", "do", "approx", "equals", "and", "be", "consistent", "with", "hashCode", "so", "make", "seperate", "call"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/coord/VertCoordValue.java#L73-L75", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/UnitID.java", "func_name": "UnitID.newUnitID", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Factory method for constructing an identifier from a name, plural, and\nsymbol.\n\n@param name\nThe name for the unit. May be null\n.\n@param plural\nThe plural form of the name. If null\n and\nname is non-\nnull, then regular\nplural-forming rules are used on the name.\n@param symbol\nThe symbol for the unit. May be null\n.", "docstring_tokens": ["Factory", "method", "for", "constructing", "an", "identifier", "from", "a", "name", "plural", "and", "symbol", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/UnitID.java#L34-L46", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/grads/GradsAttribute.java", "func_name": "GradsAttribute.parseAttribute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse an attribute spec\n\n@param attrSpec the attribute spec (e.g. @ precip String units mm/day)\n\n@return the associated attribute", "docstring_tokens": ["Parse", "an", "attribute", "spec"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/grads/GradsAttribute.java#L77-L88", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/nowrad/NOWRadheader.java", "func_name": "NOWRadheader.readTop", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "read the header of input file and parsing the NOWRAD part\n@param raf input file\n@return 1 if checking passing\n@throws IOException", "docstring_tokens": ["read", "the", "header", "of", "input", "file", "and", "parsing", "the", "NOWRAD", "part"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/nowrad/NOWRadheader.java#L104-L134", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/nowrad/NOWRadheader.java", "func_name": "NOWRadheader.shortsToInt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "convert two short into a integer\n@param s1 short one\n@param s2 short two\n@param swapBytes if swap bytes\n@return integer", "docstring_tokens": ["convert", "two", "short", "into", "a", "integer"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/nowrad/NOWRadheader.java#L701-L710", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/nowrad/NOWRadheader.java", "func_name": "NOWRadheader.bytesToInt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "convert bytes into integer\n@param bytes bytes array\n@param swapBytes if need to swap\n@return integer", "docstring_tokens": ["convert", "bytes", "into", "integer"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/nowrad/NOWRadheader.java#L718-L729", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/nowrad/NOWRadheader.java", "func_name": "NOWRadheader.getDate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "get jave date\n@param julianDays\n@param msecs\n@return java date", "docstring_tokens": ["get", "jave", "date"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/nowrad/NOWRadheader.java#L778-L782", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/netcdf3/N3iosp.java", "func_name": "N3iosp.makeValidNetcdfObjectName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert a name to a legal netcdf-3 name.\n\n@param name the name to convert.\n@return the converted name.\n@see #isValidNetcdfObjectName(String)", "docstring_tokens": ["Convert", "a", "name", "to", "a", "legal", "netcdf", "-", "3", "name", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/netcdf3/N3iosp.java#L187-L233", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/netcdf3/N3iosp.java", "func_name": "N3iosp.isValidNetcdf3ObjectName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determine if the given name can be used for a Dimension, Attribute, or Variable name.\nShould match makeValidNetcdf3ObjectName.\n@param name test this.\n@return true if valid name.\n@deprecated use isValidNetcdfObjectName", "docstring_tokens": ["Determine", "if", "the", "given", "name", "can", "be", "used", "for", "a", "Dimension", "Attribute", "or", "Variable", "name", ".", "Should", "match", "makeValidNetcdf3ObjectName", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/netcdf3/N3iosp.java#L286-L289", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/netcdf3/N3iosp.java", "func_name": "N3iosp.openForWriting", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "read existing file", "docstring_tokens": ["read", "existing", "file"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/netcdf3/N3iosp.java#L397-L401", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/netcdf3/N3iosp.java", "func_name": "N3iosp.readRecordData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read data from record structure. For N3, this is the only possible structure, and there can be no nesting.\nRead all variables for each record, put in ByteBuffer.\n\n@param s the record structure\n@param section the record range to read\n@return an ArrayStructure, with all the data read in.\n@throws IOException on error", "docstring_tokens": ["Read", "data", "from", "record", "structure", ".", "For", "N3", "this", "is", "the", "only", "possible", "structure", "and", "there", "can", "be", "no", "nesting", ".", "Read", "all", "variables", "for", "each", "record", "put", "in", "ByteBuffer", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/netcdf3/N3iosp.java#L471-L512", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/netcdf3/N3iosp.java", "func_name": "N3iosp.readRecordDataSubset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read data from record structure, that has been subsetted.\nRead one record at at time, put requested variable into ArrayStructureMA.\n\n@param s the record structure\n@param section the record range to read\n@return an ArrayStructure, with all the data read in.\n@throws IOException on error", "docstring_tokens": ["Read", "data", "from", "record", "structure", "that", "has", "been", "subsetted", ".", "Read", "one", "record", "at", "at", "time", "put", "requested", "variable", "into", "ArrayStructureMA", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/netcdf3/N3iosp.java#L523-L572", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/netcdf3/N3iosp.java", "func_name": "N3iosp.fillNonRecordVariables", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "fill buffer with fill value", "docstring_tokens": ["fill", "buffer", "with", "fill", "value"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/netcdf3/N3iosp.java#L809-L819", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/grads/GradsTimeDimension.java", "func_name": "GradsTimeDimension.makeTimeStruct", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make a time struct from the index.\n\n@param timeIndex the time value index\n\n@return the corresponding TimeStruct", "docstring_tokens": ["Make", "a", "time", "struct", "from", "the", "index", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/grads/GradsTimeDimension.java#L203-L210", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/grads/GradsTimeDimension.java", "func_name": "GradsTimeDimension.makeTimeStruct", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make a GradsTimeStruct from the calendar state\n\n@param calendar the calendar\n\n@return the corresponding GradsTimeStruct", "docstring_tokens": ["Make", "a", "GradsTimeStruct", "from", "the", "calendar", "state"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/grads/GradsTimeDimension.java#L219-L228", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/grads/GradsTimeDimension.java", "func_name": "GradsTimeDimension.hasTimeTemplate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Does this file definition have a time template in it?\n@param template the file template\n@return true if it does", "docstring_tokens": ["Does", "this", "file", "definition", "have", "a", "time", "template", "in", "it?"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/grads/GradsTimeDimension.java#L482-L489", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/servers/FunctionLibrary.java", "func_name": "FunctionLibrary.add", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a function to the library. The function will be inspected\nto determine whether it is a boolean or BaseType function.", "docstring_tokens": ["Adds", "a", "function", "to", "the", "library", ".", "The", "function", "will", "be", "inspected", "to", "determine", "whether", "it", "is", "a", "boolean", "or", "BaseType", "function", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/servers/FunctionLibrary.java#L132-L139", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/servers/FunctionLibrary.java", "func_name": "FunctionLibrary.getBoolFunction", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retrieves a boolean function from the library. If the function\nis not found the library will attempt to load it using the\nmechanism described in the class documentation.\n\n@param name The name of the function being requested.\n@return Null if the function is not\nin the library, and the attempt to load it fails.", "docstring_tokens": ["Retrieves", "a", "boolean", "function", "from", "the", "library", ".", "If", "the", "function", "is", "not", "found", "the", "library", "will", "attempt", "to", "load", "it", "using", "the", "mechanism", "described", "in", "the", "class", "documentation", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/servers/FunctionLibrary.java#L150-L157", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/servers/FunctionLibrary.java", "func_name": "FunctionLibrary.getBTFunction", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retrieves a BaseType function from the library. If the function\nis not found the library will attempt to load it using the\nmechanism described in the class documentation.\n\n@param name The name of the function being requested.\n@return Null if the function is not\nin the library, and the attempt to load it fails.", "docstring_tokens": ["Retrieves", "a", "BaseType", "function", "from", "the", "library", ".", "If", "the", "function", "is", "not", "found", "the", "library", "will", "attempt", "to", "load", "it", "using", "the", "mechanism", "described", "in", "the", "class", "documentation", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/servers/FunctionLibrary.java#L169-L176", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/servers/FunctionLibrary.java", "func_name": "FunctionLibrary.loadNewFunction", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Tries to load a function with the given name.", "docstring_tokens": ["Tries", "to", "load", "a", "function", "with", "the", "given", "name", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/servers/FunctionLibrary.java#L181-L193", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/mcidas/McIDASLookup.java", "func_name": "McIDASLookup.getLevelName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "gets the LevelName.", "docstring_tokens": ["gets", "the", "LevelName", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/mcidas/McIDASLookup.java#L82-L107", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/mcidas/McIDASLookup.java", "func_name": "McIDASLookup.getLevelDescription", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "gets the LevelDescription.", "docstring_tokens": ["gets", "the", "LevelDescription", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/mcidas/McIDASLookup.java#L112-L120", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/mcidas/McIDASLookup.java", "func_name": "McIDASLookup.getLevelUnit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "gets the LevelUnit.", "docstring_tokens": ["gets", "the", "LevelUnit", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/mcidas/McIDASLookup.java#L125-L132", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/mcidas/McIDASLookup.java", "func_name": "McIDASLookup.getProjectionType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "gets the ProjectionType.", "docstring_tokens": ["gets", "the", "ProjectionType", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/mcidas/McIDASLookup.java#L157-L169", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/mcidas/McIDASLookup.java", "func_name": "McIDASLookup.isVerticalCoordinate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "is this a VerticalCoordinate.", "docstring_tokens": ["is", "this", "a", "VerticalCoordinate", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/mcidas/McIDASLookup.java#L174-L204", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/mcidas/McIDASLookup.java", "func_name": "McIDASLookup.isLayer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Is this a layer?\n\n@param gr record to check\n@return true if a layer", "docstring_tokens": ["Is", "this", "a", "layer?"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/mcidas/McIDASLookup.java#L259-L268", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/CoordTransBuilder.java", "func_name": "CoordTransBuilder.makeCoordinateTransform", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make a CoordinateTransform object from the parameters in a Coordinate Transform Variable, using an intrinsic or registered CoordTransBuilder.\n@param ds enclosing dataset, only used for vertical transforms\n@param ctv the Coordinate Transform Variable - container for the transform parameters\n@param parseInfo pass back information about the parsing.\n@param errInfo pass back error information.\n@return CoordinateTransform, or null if failure.", "docstring_tokens": ["Make", "a", "CoordinateTransform", "object", "from", "the", "parameters", "in", "a", "Coordinate", "Transform", "Variable", "using", "an", "intrinsic", "or", "registered", "CoordTransBuilder", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/CoordTransBuilder.java#L145-L213", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/CoordTransBuilder.java", "func_name": "CoordTransBuilder.makeDummyTransformVariable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a \"dummy\" Coordinate Transform Variable based on the given CoordinateTransform.\nThis creates a scalar Variable with dummy data, and adds the Parameters of the CoordinateTransform\nas attributes.\n@param ds for this dataset\n@param ct based on the CoordinateTransform\n@return the Coordinate Transform Variable. You must add it to the dataset.", "docstring_tokens": ["Create", "a", "dummy", "Coordinate", "Transform", "Variable", "based", "on", "the", "given", "CoordinateTransform", ".", "This", "creates", "a", "scalar", "Variable", "with", "dummy", "data", "and", "adds", "the", "Parameters", "of", "the", "CoordinateTransform", "as", "attributes", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/CoordTransBuilder.java#L224-L243", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/CoordTransBuilder.java", "func_name": "CoordTransBuilder.makeProjection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make a CoordinateTransform object from the parameters in a GridCoordTransform, using an intrinsic or\nregistered CoordTransBuilder.\n@param errInfo pass back error information.\n@return CoordinateTransform, or null if failure.", "docstring_tokens": ["Make", "a", "CoordinateTransform", "object", "from", "the", "parameters", "in", "a", "GridCoordTransform", "using", "an", "intrinsic", "or", "registered", "CoordTransBuilder", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/CoordTransBuilder.java#L251-L294", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/thredds/ui/catalog/ThreddsDatasetChooser.java", "func_name": "ThreddsDatasetChooser.main", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Standalone application.\n\n@param args recognized values:\n
  • -usePopup to popup messages
", "docstring_tokens": ["Standalone", "application", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/thredds/ui/catalog/ThreddsDatasetChooser.java#L278-L321", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/op/FmrcCollectionTable.java", "func_name": "FmrcCollectionTable.save", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "private MetadataManager mm;", "docstring_tokens": ["private", "MetadataManager", "mm", ";"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/op/FmrcCollectionTable.java#L109-L114", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/uk/ac/rdg/resc/edal/time/FixedYearLengthChronology.java", "func_name": "FixedYearLengthChronology.withZone", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Throws UnsupportedOperationException unless the time zone is UTC", "docstring_tokens": ["Throws", "UnsupportedOperationException", "unless", "the", "time", "zone", "is", "UTC"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/uk/ac/rdg/resc/edal/time/FixedYearLengthChronology.java#L282-L286", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4servlet/src/main/java/dap4/servlet/SerialWriter.java", "func_name": "SerialWriter.writeCount", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write out a prefix count\n\n@param count the count to write out\n@throws IOException", "docstring_tokens": ["Write", "out", "a", "prefix", "count"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4servlet/src/main/java/dap4/servlet/SerialWriter.java#L274-L286", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4servlet/src/main/java/dap4/servlet/SerialWriter.java", "func_name": "SerialWriter.writeAtomicArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write out an array of atomic values\n\n@param daptype type of the values\n@param values the array of values\n@throws IOException", "docstring_tokens": ["Write", "out", "an", "array", "of", "atomic", "values"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4servlet/src/main/java/dap4/servlet/SerialWriter.java#L295-L312", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4servlet/src/main/java/dap4/servlet/SerialWriter.java", "func_name": "SerialWriter.writeBytes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write out a set of bytes\n\n@param bytes\n@param len\n@throws IOException", "docstring_tokens": ["Write", "out", "a", "set", "of", "bytes"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4servlet/src/main/java/dap4/servlet/SerialWriter.java#L321-L336", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4servlet/src/main/java/dap4/servlet/SerialWriter.java", "func_name": "SerialWriter.outputBytes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Deliberate choke point for debugging\n\n@param bytes\n@param start\n@param count\n@throws IOException", "docstring_tokens": ["Deliberate", "choke", "point", "for", "debugging"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4servlet/src/main/java/dap4/servlet/SerialWriter.java#L346-L359", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/simplegeom/SimpleGeomController.java", "func_name": "SimpleGeomController.finishInit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "stuff to do after UI is complete", "docstring_tokens": ["stuff", "to", "do", "after", "UI", "is", "complete"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/simplegeom/SimpleGeomController.java#L167-L192", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/time/CalendarDateRange.java", "func_name": "CalendarDateRange.of", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Does not handle non-standard calendars\n@deprecated", "docstring_tokens": ["Does", "not", "handle", "non", "-", "standard", "calendars"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/time/CalendarDateRange.java#L131-L134", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/grib2/Grib2Gds.java", "func_name": "Grib2Gds.factory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "reletive error in position - GRIB numbers sometimes miscoded", "docstring_tokens": ["reletive", "error", "in", "position", "-", "GRIB", "numbers", "sometimes", "miscoded"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/grib2/Grib2Gds.java#L35-L80", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/dap/parsers/Dap2Parse.java", "func_name": "Dap2Parse.ddsparse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Call this to parse a DDS", "docstring_tokens": ["Call", "this", "to", "parse", "a", "DDS"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/dap/parsers/Dap2Parse.java#L131-L135", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/dap/parsers/Dap2Parse.java", "func_name": "Dap2Parse.dasparse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Call this to parse a DAS", "docstring_tokens": ["Call", "this", "to", "parse", "a", "DAS"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/dap/parsers/Dap2Parse.java#L138-L143", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/mcidas/McIDASGridReader.java", "func_name": "McIDASGridReader.swapGridHeader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Swap the grid header, avoiding strings\n\n@param gh grid header to swap", "docstring_tokens": ["Swap", "the", "grid", "header", "avoiding", "strings"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/mcidas/McIDASGridReader.java#L238-L244", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/mcidas/McIDASGridReader.java", "func_name": "McIDASGridReader.readGrid", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read the grid\n\n@param gr the grid record\n@return the data", "docstring_tokens": ["Read", "the", "grid"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/mcidas/McIDASGridReader.java#L252-L281", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/mcidas/McIDASGridReader.java", "func_name": "McIDASGridReader.main", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "for testing purposes\n\n@param args file name\n@throws IOException problem reading file", "docstring_tokens": ["for", "testing", "purposes"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/mcidas/McIDASGridReader.java#L330-L344", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/server/wfs/WFSGetCapabilitiesWriter.java", "func_name": "WFSGetCapabilitiesWriter.writeAConstraint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes a constraint OWS element out.\n\n@param name of the constraint\n@boolean isImplemented or not", "docstring_tokens": ["Writes", "a", "constraint", "OWS", "element", "out", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/server/wfs/WFSGetCapabilitiesWriter.java#L65-L75", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/server/wfs/WFSGetCapabilitiesWriter.java", "func_name": "WFSGetCapabilitiesWriter.writeHeadersAndSS", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes headers and service sections", "docstring_tokens": ["Writes", "headers", "and", "service", "sections"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/server/wfs/WFSGetCapabilitiesWriter.java#L80-L92", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/server/wfs/WFSGetCapabilitiesWriter.java", "func_name": "WFSGetCapabilitiesWriter.writeOperations", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Takes all added operations and writes an operations metadata section.", "docstring_tokens": ["Takes", "all", "added", "operations", "and", "writes", "an", "operations", "metadata", "section", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/server/wfs/WFSGetCapabilitiesWriter.java#L126-L179", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/thredds/logs/LogReader.java", "func_name": "LogReader.readAll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read all the files in a directory and process them. Files are sorted by filename.\n@param dir read from this directory\n@param ff files must pass this filter (may be null)\n@param closure send each Log to this closure\n@param logf filter out these Logs (may be null)\n@param stat accumulate statistics (may be null)\n@throws IOException on read error", "docstring_tokens": ["Read", "all", "the", "files", "in", "a", "directory", "and", "process", "them", ".", "Files", "are", "sorted", "by", "filename", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/thredds/logs/LogReader.java#L201-L217", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/thredds/logs/LogReader.java", "func_name": "LogReader.scanLogFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a log file.\n@param file file to read\n@param closure send each Log to this closure\n@param logf filter out these Logs (may be null)\n@param stat accumulate statistics (may be null)\n@throws IOException on read error", "docstring_tokens": ["Read", "a", "log", "file", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/thredds/logs/LogReader.java#L227-L253", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakGridReader.java", "func_name": "GempakGridReader.getGridPackingType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the grid packing type\n\n@param gridNumber grid number\n@return packing type or error number\n@throws IOException problem reading file", "docstring_tokens": ["Get", "the", "grid", "packing", "type"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakGridReader.java#L297-L342", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakGridReader.java", "func_name": "GempakGridReader.findGrid", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find the first grid with this name\n\n@param parm name of grid\n@return the grid header or null", "docstring_tokens": ["Find", "the", "first", "grid", "with", "this", "name"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakGridReader.java#L350-L362", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakGridReader.java", "func_name": "GempakGridReader.DM_RPKG", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Unpack a packed grid\n\n@param isword starting word (1 based)\n@param nword number of words to read\n@param decimalScale decimal scale\n@return array of unpacked data or null;\n@throws IOException problem reading data", "docstring_tokens": ["Unpack", "a", "packed", "grid"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakGridReader.java#L393-L450", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakGridReader.java", "func_name": "GempakGridReader.unpackData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read packed data\n\n@param iiword Starting word (FORTRAN 1 based)\n@param nword Number of words\n@param ipktyp Packing type\n@param kxky Number of grid points\n@param nbits Number of bits\n@param ref Reference minimum value of grid\n@param scale Scaling factor\n@param miss Missing data flag\n@param difmin Minimum value of differences\n@param kx Number of points in x direction\n@param decimalScale scale of the values for the units\n@return unpacked data\n@throws IOException problem reading file", "docstring_tokens": ["Read", "packed", "data"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakGridReader.java#L469-L494", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakGridReader.java", "func_name": "GempakGridReader.DP_UGRB", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Unpack grib data packed into ints\n\n@param idata int array of packed data\n@param kxky number of output points\n@param nbits number of bits per point\n@param qmin minimum (reference) value\n@param scale parameter scale\n@param misflg missing flag\n@param decimalScale scale of value to jive with units\n@return the array of unpacked values\n@throws IOException problem reading from the file", "docstring_tokens": ["Unpack", "grib", "data", "packed", "into", "ints"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakGridReader.java#L514-L583", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakGridReader.java", "func_name": "GempakGridReader.unpackGrib1Data", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read packed Grib1 data using ucar.grib code\n\n@param iiword Starting word (FORTRAN 1 based)\n@param nword number of words\n@param kxky size of grid (kx*ky)\n@param nbits number of bits per word\n@param ref reference value\n@param scale scale value\n@param miss replace missing\n@param decimalScale scale of the values\n@return unpacked data\n@throws IOException problem reading file", "docstring_tokens": ["Read", "packed", "Grib1", "data", "using", "ucar", ".", "grib", "code"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakGridReader.java#L599-L633", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakGridReader.java", "func_name": "GempakGridReader.unpackGrib2Data", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read packed Grib2 data\n\n@param iiword Starting word (FORTRAN 1 based)\n@param lendat Number of words\n@param iarray integer packing info\n@param rarray float packing info\n@return unpacked data\n@throws IOException problem reading file", "docstring_tokens": ["Read", "packed", "Grib2", "data"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakGridReader.java#L645-L657", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakGridReader.java", "func_name": "GempakGridReader.printGrids", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Print out the grids.", "docstring_tokens": ["Print", "out", "the", "grids", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakGridReader.java#L761-L770", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakGridReader.java", "func_name": "GempakGridReader.getNextByte", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the next byte\n\n@throws IOException problem reading the byte", "docstring_tokens": ["Get", "the", "next", "byte"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakGridReader.java#L1000-L1021", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/time/CalendarDate.java", "func_name": "CalendarDate.of", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get Calendar date from fields. Uses UTZ time zone\n@param cal calendar to use, or null for default\n@param year any integer\n@param monthOfYear 1-12\n@param dayOfMonth 1-31\n@param hourOfDay 0-23\n@param minuteOfHour 0-59\n@param secondOfMinute 0-59\n@return CalendarDate", "docstring_tokens": ["Get", "Calendar", "date", "from", "fields", ".", "Uses", "UTZ", "time", "zone"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/time/CalendarDate.java#L56-L67", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/time/CalendarDate.java", "func_name": "CalendarDate.of", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create CalendarDate from a java.util.Date.\nUses standard Calendar.\n@param date java.util.Date\n@return CalendarDate in UTC", "docstring_tokens": ["Create", "CalendarDate", "from", "a", "java", ".", "util", ".", "Date", ".", "Uses", "standard", "Calendar", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/time/CalendarDate.java#L90-L93", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/time/CalendarDate.java", "func_name": "CalendarDate.of", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create CalendarDate from msecs since epoch\nUses standard Calendar.\n@param msecs milliseconds from 1970-01-01T00:00:00Z\n@return CalendarDate in UTC", "docstring_tokens": ["Create", "CalendarDate", "from", "msecs", "since", "epoch", "Uses", "standard", "Calendar", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/time/CalendarDate.java#L101-L105", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/time/CalendarDate.java", "func_name": "CalendarDate.of", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create CalendarDate from msecs since epoch\nUses the given Calendar.\n@param cal calendar to use, or null for default\n@param msecs milliseconds from 1970-01-01T00:00:00Z\n@return CalendarDate in UTC time zone.", "docstring_tokens": ["Create", "CalendarDate", "from", "msecs", "since", "epoch", "Uses", "the", "given", "Calendar", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/time/CalendarDate.java#L114-L118", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/time/CalendarDate.java", "func_name": "CalendarDate.parseUdunits", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get CalendarDate from udunit date string\n@param calendarName get Calendar from Calendar.get(calendarName). may be null\n@param udunits must be value (space) udunits string\n@return CalendarDate", "docstring_tokens": ["Get", "CalendarDate", "from", "udunit", "date", "string"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/time/CalendarDate.java#L161-L170", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/time/CalendarDate.java", "func_name": "CalendarDate.getDifference", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get difference between two calendar dates in given Field units\n@param o other calendar date\n@return (this minus o) difference in units of this Field", "docstring_tokens": ["Get", "difference", "between", "two", "calendar", "dates", "in", "given", "Field", "units"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/time/CalendarDate.java#L394-L419", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4cdm/src/main/java/dap4/cdm/nc2/DataToCDM.java", "func_name": "DataToCDM.createAtomicVar", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create an Atomic Valued variable.\n\n@return An Array object wrapping d4var.\n@throws DapException", "docstring_tokens": ["Create", "an", "Atomic", "Valued", "variable", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4cdm/src/main/java/dap4/cdm/nc2/DataToCDM.java#L139-L145", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/server/reify/DownloadController.java", "func_name": "DownloadController.setup", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Setup for each request", "docstring_tokens": ["Setup", "for", "each", "request"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/server/reify/DownloadController.java#L180-L194", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/server/reify/DownloadController.java", "func_name": "DownloadController.escapeString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Given a typical string, insert backslashes\nbefore '\"' and '\\\\' characters and control characters.", "docstring_tokens": ["Given", "a", "typical", "string", "insert", "backslashes", "before", "and", "\\\\", "characters", "and", "control", "characters", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/server/reify/DownloadController.java#L406-L439", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4cdm/src/main/java/dap4/cdm/CDMUtil.java", "func_name": "CDMUtil.createSlices", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert a list of ucar.ma2.Range to a list of Slice\nMore or less the inverst of create CDMRanges\n\n@param rangelist the set of ucar.ma2.Range\n@result the equivalent list of Slice", "docstring_tokens": ["Convert", "a", "list", "of", "ucar", ".", "ma2", ".", "Range", "to", "a", "list", "of", "Slice", "More", "or", "less", "the", "inverst", "of", "create", "CDMRanges"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4cdm/src/main/java/dap4/cdm/CDMUtil.java#L43-L59", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4cdm/src/main/java/dap4/cdm/CDMUtil.java", "func_name": "CDMUtil.unwrapfile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "NetcdfDataset can wrap a NetcdfFile.\nGoal of this procedure is to get down to the\nlowest level NetcdfFile instance.\n\n@param file NetcdfFile or NetcdfDataset\n@return the lowest level NetcdfFile instance", "docstring_tokens": ["NetcdfDataset", "can", "wrap", "a", "NetcdfFile", ".", "Goal", "of", "this", "procedure", "is", "to", "get", "down", "to", "the", "lowest", "level", "NetcdfFile", "instance", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4cdm/src/main/java/dap4/cdm/CDMUtil.java#L205-L215", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4cdm/src/main/java/dap4/cdm/CDMUtil.java", "func_name": "CDMUtil.containsVLEN", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Test if any dimension is variable length", "docstring_tokens": ["Test", "if", "any", "dimension", "is", "variable", "length"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4cdm/src/main/java/dap4/cdm/CDMUtil.java#L236-L245", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4cdm/src/main/java/dap4/cdm/CDMUtil.java", "func_name": "CDMUtil.computeEffectiveShape", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compute the shape inferred from a set of slices.\n'Effective' means that any trailing vlen will be\nignored.\n\n@param dimset from which to generate shape\n@return", "docstring_tokens": ["Compute", "the", "shape", "inferred", "from", "a", "set", "of", "slices", ".", "Effective", "means", "that", "any", "trailing", "vlen", "will", "be", "ignored", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4cdm/src/main/java/dap4/cdm/CDMUtil.java#L255-L266", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/units/TimeUnit.java", "func_name": "TimeUnit.add", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add the time amount to the given Date, return a new Date.\n@param d add to this Date\n@return Date with getValueInSeconds() added to it.", "docstring_tokens": ["Add", "the", "time", "amount", "to", "the", "given", "Date", "return", "a", "new", "Date", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/units/TimeUnit.java#L156-L161", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/ScaledUnit.java", "func_name": "ScaledUnit.myMultiplyBy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Multiplies this unit by another unit.\n\n@param that\nThe other unit.\n@return The product of this unit and the other unit.\n@throws MultiplyException\nCan't multiply these units together.", "docstring_tokens": ["Multiplies", "this", "unit", "by", "another", "unit", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/ScaledUnit.java#L138-L144", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/ScaledUnit.java", "func_name": "ScaledUnit.myDivideBy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Divides this unit by another unit.\n\n@param that\nThe other unit.\n@return The quotient of this unit divided by the other unit.\n@throws OperationException\nCan't divide these units.", "docstring_tokens": ["Divides", "this", "unit", "by", "another", "unit", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/ScaledUnit.java#L155-L161", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/ScaledUnit.java", "func_name": "ScaledUnit.myDivideInto", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Divides this unit into another unit.\n\n@param that\nThe other unit.\n@return The quotient of this unit divided into the other unit.\n@throws OperationException\nCan't divide these units.", "docstring_tokens": ["Divides", "this", "unit", "into", "another", "unit", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/ScaledUnit.java#L172-L178", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/ScaledUnit.java", "func_name": "ScaledUnit.myRaiseTo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Raises this unit to a power.\n\n@param power\nThe power.\n@return The result of raising this unit to the power.\n@throws RaiseException\nCan't raise this unit to a power.", "docstring_tokens": ["Raises", "this", "unit", "to", "a", "power", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/ScaledUnit.java#L189-L193", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/ScaledUnit.java", "func_name": "ScaledUnit.toDerivedUnit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts a numeric value from this unit to the underlying derived unit.\n\n@param amount\nThe numeric value in this unit.\n@return The equivalent value in the underlying derived unit.\n@throws ConversionException\nCan't convert value to the underlying derived unit.", "docstring_tokens": ["Converts", "a", "numeric", "value", "from", "this", "unit", "to", "the", "underlying", "derived", "unit", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/ScaledUnit.java#L226-L231", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/ScaledUnit.java", "func_name": "ScaledUnit.toDerivedUnit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts numeric values from this unit to the underlying derived unit.\n\n@param input\nThe numeric values in this unit.\n@param output\nThe equivalent values in the underlying derived unit.\n@return output.\n@throws ConversionException\nCan't convert values to the underlying derived unit.", "docstring_tokens": ["Converts", "numeric", "values", "from", "this", "unit", "to", "the", "underlying", "derived", "unit", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/ScaledUnit.java#L244-L254", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/ScaledUnit.java", "func_name": "ScaledUnit.fromDerivedUnit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts a numeric value from the underlying derived unit to this unit.\n\n@param amount\nThe numeric value in the underlying derived unit.\n@return The equivalent value in this unit.\n@throws ConversionException\nCan't convert value.", "docstring_tokens": ["Converts", "a", "numeric", "value", "from", "the", "underlying", "derived", "unit", "to", "this", "unit", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/ScaledUnit.java#L301-L307", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/ScaledUnit.java", "func_name": "ScaledUnit.getCanonicalString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the canonical string representation of the unit.\n\n@return The canonical string representation.", "docstring_tokens": ["Returns", "the", "canonical", "string", "representation", "of", "the", "unit", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/ScaledUnit.java#L422-L426", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/collection/GribDataReader.java", "func_name": "GribDataReader.readData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read the section of data described by want\n@param want which data do you want?\n@return data as an Array", "docstring_tokens": ["Read", "the", "section", "of", "data", "described", "by", "want"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/collection/GribDataReader.java#L75-L80", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/collection/GribDataReader.java", "func_name": "GribDataReader.readData2", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Coordinate based subsetting for Coverage", "docstring_tokens": ["Coordinate", "based", "subsetting", "for", "Coverage"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/collection/GribDataReader.java#L169-L174", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft/point/StationTimeSeriesCollectionImpl.java", "func_name": "StationTimeSeriesCollectionImpl.flatten", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "might need to override for efficiency", "docstring_tokens": ["might", "need", "to", "override", "for", "efficiency"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft/point/StationTimeSeriesCollectionImpl.java#L154-L161", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/InvCatalog.java", "func_name": "InvCatalog.findService", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find the named service declared in the top level of this catalog.\n\n@param name match this name\n@return service that matches the given name, or null if none found.", "docstring_tokens": ["Find", "the", "named", "service", "declared", "in", "the", "top", "level", "of", "this", "catalog", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/InvCatalog.java#L135-L149", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/nexrad2/Level2Record.java", "func_name": "Level2Record.getGateSize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method returns the gate size in meters\n\n@param datatype which type of data : REFLECTIVITY, VELOCITY_HI, VELOCITY_LO, SPECTRUM_WIDTH\n@return the gate size in meters", "docstring_tokens": ["This", "method", "returns", "the", "gate", "size", "in", "meters"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/nexrad2/Level2Record.java#L959-L984", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/nexrad2/Level2Record.java", "func_name": "Level2Record.getGateStart", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method returns the starting gate in meters\n\n@param datatype which type of data : REFLECTIVITY, VELOCITY_HI, VELOCITY_LO, SPECTRUM_WIDTH\n@return the starting gate in meters", "docstring_tokens": ["This", "method", "returns", "the", "starting", "gate", "in", "meters"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/nexrad2/Level2Record.java#L992-L1017", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/nexrad2/Level2Record.java", "func_name": "Level2Record.getGateCount", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method returns the number of gates\n\n@param datatype which type of data : REFLECTIVITY, VELOCITY_HI, VELOCITY_LO, SPECTRUM_WIDTH\n@return the number of gates", "docstring_tokens": ["This", "method", "returns", "the", "number", "of", "gates"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/nexrad2/Level2Record.java#L1025-L1049", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ncml/NcMLGWriter.java", "func_name": "NcMLGWriter.writeXML", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write a NetcdfDataset as an NcML-G document to the specified stream.\n\n@param ncd write this dataset; should have opened with \"add coordinates\".\n@param os write to this OutputStream\n@param showCoords show 1D coordinate values\n@param uri use this url, if null use getLocation()\n@throws IOException on io error", "docstring_tokens": ["Write", "a", "NetcdfDataset", "as", "an", "NcML", "-", "G", "document", "to", "the", "specified", "stream", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ncml/NcMLGWriter.java#L43-L50", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/widget/MFlowLayout.java", "func_name": "MFlowLayout.preferredLayoutSize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "deal with having components on more than one line", "docstring_tokens": ["deal", "with", "having", "components", "on", "more", "than", "one", "line"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/widget/MFlowLayout.java#L20-L45", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/cataloggen/CatalogBuilderHelper.java", "func_name": "CatalogBuilderHelper.verifyDescendantDataset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the requested dataset if it is the ancestor dataset or an allowed\ndescendant of the ancestor dataset, otherwise return null. The given\nfilter determines whether a dataset is allowed or not.\n\n@param ancestorCrDs the dataset from which the requested dataset must be descended (or self).\n@param path the path of the requested dataset.\n@param filter the CrawlableDatasetFilter that determines which datasets are allowed.\n@return the CrawlableDataset that represents the given path or null.\n\n@throws NullPointerException if the given path or ancestor dataset are null.\n@throws IllegalArgumentException if the abstract dataset is not a descendant of the ancestor dataset.", "docstring_tokens": ["Return", "the", "requested", "dataset", "if", "it", "is", "the", "ancestor", "dataset", "or", "an", "allowed", "descendant", "of", "the", "ancestor", "dataset", "otherwise", "return", "null", ".", "The", "given", "filter", "determines", "whether", "a", "dataset", "is", "allowed", "or", "not", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/cataloggen/CatalogBuilderHelper.java#L41-L74", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/cataloggen/SimpleCatalogBuilder.java", "func_name": "SimpleCatalogBuilder.generateProxyDsResolverCatalog", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Not supported by SimpleCatalogBuilder.", "docstring_tokens": ["Not", "supported", "by", "SimpleCatalogBuilder", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/cataloggen/SimpleCatalogBuilder.java#L65-L68", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/time/CalendarDateUnit.java", "func_name": "CalendarDateUnit.of", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a CalendarDateUnit from a calendar name and a udunit string = \"unit since calendarDate\"\n@param calendarName must match a calendar enum, or one of its aliases, see ucar.nc2.time.Calendar.get()\n@param udunitString \"unit since calendarDate\"\n@return CalendarDateUnit\n@throws IllegalArgumentException if udunitString is not paresable", "docstring_tokens": ["Create", "a", "CalendarDateUnit", "from", "a", "calendar", "name", "and", "a", "udunit", "string", "=", "unit", "since", "calendarDate"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/time/CalendarDateUnit.java#L64-L68", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/time/CalendarDateUnit.java", "func_name": "CalendarDateUnit.withCalendar", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a CalendarDateUnit from a calendar and a udunit string = \"unit since calendarDate\"\n@param calt use this Calendar, or null for default calendar\n@param udunitString \"unit since calendarDate\"\n@return CalendarDateUnit\n@throws IllegalArgumentException if udunitString is not paresable", "docstring_tokens": ["Create", "a", "CalendarDateUnit", "from", "a", "calendar", "and", "a", "udunit", "string", "=", "unit", "since", "calendarDate"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/time/CalendarDateUnit.java#L77-L80", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/time/CalendarDateUnit.java", "func_name": "CalendarDateUnit.of", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a CalendarDateUnit from a calendar, a CalendarPeriod.Field, and a base date\n@param calt use this Calendar, or null for default calendar\n@param periodField a CalendarPeriod.Field like Hour or second\n@param baseDate \"since baseDate\"\n@return CalendarDateUnit", "docstring_tokens": ["Create", "a", "CalendarDateUnit", "from", "a", "calendar", "a", "CalendarPeriod", ".", "Field", "and", "a", "base", "date"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/time/CalendarDateUnit.java#L89-L92", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/time/CalendarDateUnit.java", "func_name": "CalendarDateUnit.makeOffsetFromRefDate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "inverse of makeCalendarDate", "docstring_tokens": ["inverse", "of", "makeCalendarDate"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/time/CalendarDateUnit.java#L147-L155", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/time/CalendarDateUnit.java", "func_name": "CalendarDateUnit.makeCalendarDate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "inverse of makeOffsetFromRefDate", "docstring_tokens": ["inverse", "of", "makeOffsetFromRefDate"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/time/CalendarDateUnit.java#L159-L164", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/UnitDimension.java", "func_name": "UnitDimension.getQuantityDimension", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the corresponding quantity dimension.\n@return\t\t\tThe quantity dimension corresponding to this\nunit dimension.", "docstring_tokens": ["Returns", "the", "corresponding", "quantity", "dimension", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/UnitDimension.java#L97-L110", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/sigmet/SigmetIOServiceProvider.java", "func_name": "SigmetIOServiceProvider.isValidFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if this is a valid SIGMET-IRIS file for this IOServiceProvider.", "docstring_tokens": ["Check", "if", "this", "is", "a", "valid", "SIGMET", "-", "IRIS", "file", "for", "this", "IOServiceProvider", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/sigmet/SigmetIOServiceProvider.java#L121-L141", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/sigmet/SigmetIOServiceProvider.java", "func_name": "SigmetIOServiceProvider.readStnNames", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read StationName strings", "docstring_tokens": ["Read", "StationName", "strings"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/sigmet/SigmetIOServiceProvider.java#L240-L254", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/sigmet/SigmetIOServiceProvider.java", "func_name": "SigmetIOServiceProvider.readData1", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read data from a top level Variable and return a memory resident Array.\n\n@param v2 Variable. It may have FLOAT/INTEGER data type.\n@param section wanted section of data of Variable. The section list is a list\nof ucar.ma2.Range which define the requested data subset.\n@return Array of data which will be read from Variable through this call.", "docstring_tokens": ["Read", "data", "from", "a", "top", "level", "Variable", "and", "return", "a", "memory", "resident", "Array", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/sigmet/SigmetIOServiceProvider.java#L739-L753", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/sigmet/SigmetIOServiceProvider.java", "func_name": "SigmetIOServiceProvider.readIntData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read data from a top level Variable of INTEGER data type and return a memory resident Array.\n\n@param index LayoutRegular object\n@param v2 Variable has INTEGER data type.\n@return Array of data which will be read from Variable through this call.", "docstring_tokens": ["Read", "data", "from", "a", "top", "level", "Variable", "of", "INTEGER", "data", "type", "and", "return", "a", "memory", "resident", "Array", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/sigmet/SigmetIOServiceProvider.java#L825-L833", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/sigmet/SigmetIOServiceProvider.java", "func_name": "SigmetIOServiceProvider.readToByteChannel11", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read data from a top level Variable and send data to a WritableByteChannel.\n\n@param v2 Variable\n@param section wanted section of data of Variable. The section list is a list\nof ucar.ma2.Range which define the requested data subset.\n@param channel WritableByteChannel object - channel that can write bytes.\n@return the number of bytes written, possibly zero.", "docstring_tokens": ["Read", "data", "from", "a", "top", "level", "Variable", "and", "send", "data", "to", "a", "WritableByteChannel", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/sigmet/SigmetIOServiceProvider.java#L864-L891", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/sigmet/SigmetIOServiceProvider.java", "func_name": "SigmetIOServiceProvider.calcElev", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculate radial elevation of each ray\n\n@param angle two bytes binary angle\n@return float value of elevation in degrees with precision of two decimal", "docstring_tokens": ["Calculate", "radial", "elevation", "of", "each", "ray"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/sigmet/SigmetIOServiceProvider.java#L934-L942", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/sigmet/SigmetIOServiceProvider.java", "func_name": "SigmetIOServiceProvider.calcStep", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculate distance between sequential bins in a ray\n\n@param range_first range of first bin in centimeters\n@param range_last range of last bin in centimeters\n@param num_bins number of bins\n@return float distance in centimeters with precision of two decimal", "docstring_tokens": ["Calculate", "distance", "between", "sequential", "bins", "in", "a", "ray"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/sigmet/SigmetIOServiceProvider.java#L952-L957", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/sigmet/SigmetIOServiceProvider.java", "func_name": "SigmetIOServiceProvider.calcAz", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculate azimuth of a ray\n\n@param az0 azimuth at beginning of ray (binary angle)\n@param az1 azimuth at end of ray (binary angle)\n@return float azimuth in degrees with precision of two decimal", "docstring_tokens": ["Calculate", "azimuth", "of", "a", "ray"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/sigmet/SigmetIOServiceProvider.java#L966-L982", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/sigmet/SigmetIOServiceProvider.java", "func_name": "SigmetIOServiceProvider.calcData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculate data values from raw ingest data\n\n@param recHdr java.util.Map object with values for calculation\n@param dty type of data ( \"Total_Power\", \"Reflectivity\", \"Velocity\",\n\"Width\", \"Differential_Reflectivity\")\n@param data 1-byte input value\n@return float value with precision of two decimal", "docstring_tokens": ["Calculate", "data", "values", "from", "raw", "ingest", "data"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/sigmet/SigmetIOServiceProvider.java#L993-L1024", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/sigmet/SigmetIOServiceProvider.java", "func_name": "SigmetIOServiceProvider.calcNyquist", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculate of Nyquist velocity\n\n@param prf PRF in Hertz\n@param wave wavelength in 1/100 of centimeters\n@return float value of Nyquist velocity in m/sec with precision of two decimal", "docstring_tokens": ["Calculate", "of", "Nyquist", "velocity"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/sigmet/SigmetIOServiceProvider.java#L1059-L1065", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/VerticalCT.java", "func_name": "VerticalCT.makeVerticalTransform", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Use the builder to make the Vertical Transform function\n\n@param ds containing dataset\n@param timeDim time Dimension\n@return VerticalTransform\n@see VertTransformBuilderIF#makeMathTransform", "docstring_tokens": ["Use", "the", "builder", "to", "make", "the", "Vertical", "Transform", "function"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/VerticalCT.java#L70-L72", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/grid/GridServiceProvider.java", "func_name": "GridServiceProvider.setDebugFlags", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the debug flags\n\n@param debugFlag debug flags", "docstring_tokens": ["Set", "the", "debug", "flags"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/grid/GridServiceProvider.java#L75-L82", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/grid/GridServiceProvider.java", "func_name": "GridServiceProvider.setExtendIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set how indexes are used for both open and sync\n\n@param b if true, set modes to IndexExtendMode.extendwrite, else IndexExtendMode.readonly\n@deprecated use setIndexFileModeOnSync and setIndexFileModeOnOpen", "docstring_tokens": ["Set", "how", "indexes", "are", "used", "for", "both", "open", "and", "sync"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/grid/GridServiceProvider.java#L130-L133", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/grid/GridServiceProvider.java", "func_name": "GridServiceProvider.readXY", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "read one YX array\n\n@param v2 variable to put the data into\n@param ensIdx ensemble index\n@param timeIdx time index\n@param levIdx level index\n@param yRange x range\n@param xRange y range\n@param ii index iterator\n@throws IOException problem reading the file\n@throws InvalidRangeException invalid range", "docstring_tokens": ["read", "one", "YX", "array"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/grid/GridServiceProvider.java#L225-L258", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/grid/GridServiceProvider.java", "func_name": "GridServiceProvider.isMissingXY", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Is this XY level missing?\n\n@param v2 Variable\n@param timeIdx time index\n@param ensIdx ensemble index\n@param levIdx level index\n@return true if missing\n@throws InvalidRangeException invalid range", "docstring_tokens": ["Is", "this", "XY", "level", "missing?"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/grid/GridServiceProvider.java#L270-L282", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft2/coverage/adapter/DtCoverageCS.java", "func_name": "DtCoverageCS.getLatLonBoundingBox", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get horizontal bounding box in lat, lon coordinates.\n\n@return lat, lon bounding box.", "docstring_tokens": ["Get", "horizontal", "bounding", "box", "in", "lat", "lon", "coordinates", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft2/coverage/adapter/DtCoverageCS.java#L261-L340", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/ArraySequenceNested.java", "func_name": "ArraySequenceNested.finish", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Call this when you have set all the sequence lengths.", "docstring_tokens": ["Call", "this", "when", "you", "have", "set", "all", "the", "sequence", "lengths", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/ArraySequenceNested.java#L77-L101", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/util/Format.java", "func_name": "Format.tab", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Blank fill sbuff with blanks, until position tabStop.\n\n@param sbuff StringBuffer to manipulate\n@param tabStop pad out to here\n@param alwaysOne true if you want to guarentee at least one space.", "docstring_tokens": ["Blank", "fill", "sbuff", "with", "blanks", "until", "position", "tabStop", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/util/Format.java#L24-L35", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/util/Format.java", "func_name": "Format.pad", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a new string by padding the existing one with blanks to specified width.\nDo nothing if length is already greater or equal to width.\n\n@param s string to pad\n@param width length of return string\n@param rightJustify if true, right justify, else left justify\n@return padded string", "docstring_tokens": ["Create", "a", "new", "string", "by", "padding", "the", "existing", "one", "with", "blanks", "to", "specified", "width", ".", "Do", "nothing", "if", "length", "is", "already", "greater", "or", "equal", "to", "width", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/util/Format.java#L78-L96", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/util/Format.java", "func_name": "Format.i", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Format an integer value.\n\n@param v : value\n@param width pad to this width\n@return formatted string", "docstring_tokens": ["Format", "an", "integer", "value", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/util/Format.java#L105-L107", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/util/Format.java", "func_name": "Format.l", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Format a long value.\n\n@param v : value\n@param width pad to this width\n@return formatted string", "docstring_tokens": ["Format", "a", "long", "value", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/util/Format.java#L116-L118", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/util/Format.java", "func_name": "Format.formatByteSize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Nicely formatted representation of bytes, eg turn 5.636E7 into\n\n@param size the size in bytes\n@return formatted string", "docstring_tokens": ["Nicely", "formatted", "representation", "of", "bytes", "eg", "turn", "5", ".", "636E7", "into"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/util/Format.java#L337-L359", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/util/Format.java", "func_name": "Format.show", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Show the value of a double to the significant figures\n\n@param d double value\n@param sigfig number of significant figures", "docstring_tokens": ["Show", "the", "value", "of", "a", "double", "to", "the", "significant", "figures"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/util/Format.java#L369-L372", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/util/Format.java", "func_name": "Format.show2", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Show the value of a double with specified number of decimal places\n\n@param d double value\n@param dec_places number of decimal places", "docstring_tokens": ["Show", "the", "value", "of", "a", "double", "with", "specified", "number", "of", "decimal", "places"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/util/Format.java#L380-L383", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dt/grid/GridDatasetInfo.java", "func_name": "GridDatasetInfo.getShapeString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "display name plus the dimensions", "docstring_tokens": ["display", "name", "plus", "the", "dimensions"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dt/grid/GridDatasetInfo.java#L479-L486", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/util/Slice.java", "func_name": "Slice.finish", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Perform sanity checks on a slice and repair where possible.\n\n@return this (fluent interface)\n@throws dap4.core.util.DapException if slice is malformed", "docstring_tokens": ["Perform", "sanity", "checks", "on", "a", "slice", "and", "repair", "where", "possible", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/util/Slice.java#L150-L181", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/util/Slice.java", "func_name": "Slice.toConstraintString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert this slice to a string\nsuitable for use in a constraint\n\n@return constraint usable string\n@throws DapException", "docstring_tokens": ["Convert", "this", "slice", "to", "a", "string", "suitable", "for", "use", "in", "a", "constraint"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/util/Slice.java#L342-L355", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/util/Slice.java", "func_name": "Slice.compose", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Take two slices and compose src wrt target\nAssume neither argument is null. This code\nshould match ucar.ma2.Section in thredds\nand dceconstraint.c in the netcdf-c library.\n\n@param target\n@param src\n@return new, composed Range\n@throws DapException", "docstring_tokens": ["Take", "two", "slices", "and", "compose", "src", "wrt", "target", "Assume", "neither", "argument", "is", "null", ".", "This", "code", "should", "match", "ucar", ".", "ma2", ".", "Section", "in", "thredds", "and", "dceconstraint", ".", "c", "in", "the", "netcdf", "-", "c", "library", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/util/Slice.java#L370-L379", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/util/Slice.java", "func_name": "Slice.MAP", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Map ith element of one range wrt a target range\n\n@param target the target range\n@param i index of the element\n@return the i-th element of a range\n@throws DapException if index is invalid", "docstring_tokens": ["Map", "ith", "element", "of", "one", "range", "wrt", "a", "target", "range"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/util/Slice.java#L389-L398", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/util/DapDump.java", "func_name": "DapDump.dumpbytes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Provide a simple dump of binary data", "docstring_tokens": ["Provide", "a", "simple", "dump", "of", "binary", "data"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/util/DapDump.java#L26-L52", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/util/DapDump.java", "func_name": "DapDump.dumpbytes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Dump the contents of a buffer from 0 to position\n\n@param buf0 byte buffer to dump", "docstring_tokens": ["Dump", "the", "contents", "of", "a", "buffer", "from", "0", "to", "position"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/util/DapDump.java#L59-L107", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/geoloc/EarthEllipsoid.java", "func_name": "EarthEllipsoid.getType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find the EarthEllipsoid that matches this name.\n\n@param name : name to match\n@return EarthEllipsoid or null if no match.", "docstring_tokens": ["Find", "the", "EarthEllipsoid", "that", "matches", "this", "name", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/geoloc/EarthEllipsoid.java#L58-L62", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/geoloc/EarthEllipsoid.java", "func_name": "EarthEllipsoid.getType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find the EarthEllipsoid that matches this EPSG Id.\n\n@param epsgId : epsg Id to match\n@return EarthEllipsoid or null if no match.", "docstring_tokens": ["Find", "the", "EarthEllipsoid", "that", "matches", "this", "EPSG", "Id", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/geoloc/EarthEllipsoid.java#L70-L78", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/stream/NcStreamDataCol.java", "func_name": "NcStreamDataCol.decodeVlenData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "top level vlen", "docstring_tokens": ["top", "level", "vlen"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/stream/NcStreamDataCol.java#L591-L615", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/stream/NcStreamDataCol.java", "func_name": "NcStreamDataCol.decodeVlenData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "vlen inside a Structure", "docstring_tokens": ["vlen", "inside", "a", "Structure"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/stream/NcStreamDataCol.java#L618-L652", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/util/DodsURLExtractor.java", "func_name": "DodsURLExtractor.extract", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extract all A-HREF contained URLS from the given URL and return in List", "docstring_tokens": ["Extract", "all", "A", "-", "HREF", "contained", "URLS", "from", "the", "given", "URL", "and", "return", "in", "List"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/util/DodsURLExtractor.java#L47-L61", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/util/DodsURLExtractor.java", "func_name": "DodsURLExtractor.getTextContent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extract text content from the given URL and return in String", "docstring_tokens": ["Extract", "text", "content", "from", "the", "given", "URL", "and", "return", "in", "String"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/util/DodsURLExtractor.java#L66-L80", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/util/DodsURLExtractor.java", "func_name": "DodsURLExtractor.filterTag", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "workaround for HTMLEditorKit.Parser, cant deal with \"content-encoding\"", "docstring_tokens": ["workaround", "for", "HTMLEditorKit", ".", "Parser", "cant", "deal", "with", "content", "-", "encoding"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/util/DodsURLExtractor.java#L84-L100", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/AbstractIOServiceProvider.java", "func_name": "AbstractIOServiceProvider.readToByteChannel", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "LOOK DataOutputStream uses big-endian", "docstring_tokens": ["LOOK", "DataOutputStream", "uses", "big", "-", "endian"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/AbstractIOServiceProvider.java#L85-L91", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/AttributeContainerHelper.java", "func_name": "AttributeContainerHelper.addAll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add all; replace old if has same name", "docstring_tokens": ["Add", "all", ";", "replace", "old", "if", "has", "same", "name"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/AttributeContainerHelper.java#L60-L63", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/AttributeContainerHelper.java", "func_name": "AttributeContainerHelper.removeAttribute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove an Attribute by name.\n\n@param attName if exists, remove this attribute\n@return true if was found and removed", "docstring_tokens": ["Remove", "an", "Attribute", "by", "name", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/AttributeContainerHelper.java#L114-L118", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/AttributeContainerHelper.java", "func_name": "AttributeContainerHelper.removeAttributeIgnoreCase", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove an Attribute by name, ignoring case\n\n@param attName if exists, remove this attribute\n@return true if was found and removed", "docstring_tokens": ["Remove", "an", "Attribute", "by", "name", "ignoring", "case"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/AttributeContainerHelper.java#L126-L130", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/coord/CoordinateRuntime.java", "func_name": "CoordinateRuntime.getOffsetsInTimeUnits", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get offsets from firstDate, in units of timeUnit\n@return for each runtime, a list of values from firstdate", "docstring_tokens": ["Get", "offsets", "from", "firstDate", "in", "units", "of", "timeUnit"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/coord/CoordinateRuntime.java#L67-L77", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/event/ActionCoordinator.java", "func_name": "ActionCoordinator.addActionSourceListener", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "add an ActionSource listener", "docstring_tokens": ["add", "an", "ActionSource", "listener"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/event/ActionCoordinator.java#L44-L51", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/units/DateUnit.java", "func_name": "DateUnit.getStandardDate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a java.util.Date from this udunits String.\n\n@param text a udunit string.\n
[number] (units) since [-]Y[Y[Y[Y]]]-MM-DD[(T| )hh[:mm[:ss[.sss*]]][ [+|-]hh[[:]mm]]]
\n@return Date or null if not date unit.", "docstring_tokens": ["Create", "a", "java", ".", "util", ".", "Date", "from", "this", "udunits", "String", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/units/DateUnit.java#L32-L55", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/units/DateUnit.java", "func_name": "DateUnit.getStandardOrISO", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a java.util.Date from a udunit or ISO String.\n\n@param text a udunit or ISO string.\n@return Date or null if not date unit.\n@see #getStandardDate\n@see DateFormatter#getISODate", "docstring_tokens": ["Create", "a", "java", ".", "util", ".", "Date", "from", "a", "udunit", "or", "ISO", "String", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/units/DateUnit.java#L65-L72", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/units/DateUnit.java", "func_name": "DateUnit.getDateOrigin", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the origin Date.\n\n@return Date or null if not a time unit.", "docstring_tokens": ["Get", "the", "origin", "Date", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/units/DateUnit.java#L156-L160", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/units/DateUnit.java", "func_name": "DateUnit.getDate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the equivalent java.util.Date.\n\n@return Date or null if failure", "docstring_tokens": ["Get", "the", "equivalent", "java", ".", "util", ".", "Date", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/units/DateUnit.java#L185-L188", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/units/DateUnit.java", "func_name": "DateUnit.makeDate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a Date from this base unit and the given value.\n\n@param val value in the units of this base unit, eg sec since base date\n@return Date .", "docstring_tokens": ["Create", "a", "Date", "from", "this", "base", "unit", "and", "the", "given", "value", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/units/DateUnit.java#L205-L209", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/units/DateUnit.java", "func_name": "DateUnit.makeValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create the equivalent value from this base unit and the given Date.\nInverse of makeDate.\n\n@param date to convert.\n@return value in units of this base unit.", "docstring_tokens": ["Create", "the", "equivalent", "value", "from", "this", "base", "unit", "and", "the", "given", "Date", ".", "Inverse", "of", "makeDate", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/units/DateUnit.java#L218-L229", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/units/DateUnit.java", "func_name": "DateUnit.makeStandardDateString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make a standard GMT string representation from this unit and given value.\n\n@param value of time in these units.\n@return String or null if not time unit.", "docstring_tokens": ["Make", "a", "standard", "GMT", "string", "representation", "from", "this", "unit", "and", "given", "value", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/units/DateUnit.java#L237-L242", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/grid/GridHorizCoordSys.java", "func_name": "GridHorizCoordSys.getGridSpacingInKm", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the grid spacing in kilometers\n@param type param name\n@return the grid spacing in kilometers", "docstring_tokens": ["Get", "the", "grid", "spacing", "in", "kilometers"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/grid/GridHorizCoordSys.java#L207-L223", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/grid/GridHorizCoordSys.java", "func_name": "GridHorizCoordSys.addDimensionsToNetcdfFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add the dimensions associated with this coord sys to the netCDF file\n\n@param ncfile netCDF file to add to", "docstring_tokens": ["Add", "the", "dimensions", "associated", "with", "this", "coord", "sys", "to", "the", "netCDF", "file"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/grid/GridHorizCoordSys.java#L230-L239", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/grid/GridHorizCoordSys.java", "func_name": "GridHorizCoordSys.addCoordAxis", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a coordinate axis\n\n@param ncfile the netCDF file to add to\n@param name name of the axis\n@param n number of points\n@param start starting value\n@param incr increment between points\n@param units units\n@param desc description\n@param standard_name standard name\n@param axis axis type\n@return the coordinate values", "docstring_tokens": ["Add", "a", "coordinate", "axis"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/grid/GridHorizCoordSys.java#L335-L362", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/grid/GridHorizCoordSys.java", "func_name": "GridHorizCoordSys.makeProjection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make a projection and add it to the netCDF file\n\n@param ncfile netCDF file\n@return true if projection was added and coordinates need to be added, false means do nothing", "docstring_tokens": ["Make", "a", "projection", "and", "add", "it", "to", "the", "netCDF", "file"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/grid/GridHorizCoordSys.java#L502-L576", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/grid/GridHorizCoordSys.java", "func_name": "GridHorizCoordSys.addGDSparams", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add the GDS params to the variable as attributes\n\n@param v the GDS params.", "docstring_tokens": ["Add", "the", "GDS", "params", "to", "the", "variable", "as", "attributes"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/grid/GridHorizCoordSys.java#L587-L614", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/grid/GridHorizCoordSys.java", "func_name": "GridHorizCoordSys.addCoordSystemVariable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add coordinate system variable\n\n@param ncfile netCDF file\n@param name name of the variable\n@param dims dimensions", "docstring_tokens": ["Add", "coordinate", "system", "variable"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/grid/GridHorizCoordSys.java#L623-L636", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/grid/GridHorizCoordSys.java", "func_name": "GridHorizCoordSys.makeLC", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make a LambertConformalConic projection", "docstring_tokens": ["Make", "a", "LambertConformalConic", "projection"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/grid/GridHorizCoordSys.java#L641-L683", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/grid/GridHorizCoordSys.java", "func_name": "GridHorizCoordSys.makePS", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make a PolarStereographic projection", "docstring_tokens": ["Make", "a", "PolarStereographic", "projection"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/grid/GridHorizCoordSys.java#L688-L728", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/grid/GridHorizCoordSys.java", "func_name": "GridHorizCoordSys.makeMercator", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make a Mercator projection", "docstring_tokens": ["Make", "a", "Mercator", "projection"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/grid/GridHorizCoordSys.java#L733-L780", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/grid/GridHorizCoordSys.java", "func_name": "GridHorizCoordSys.makeMSGgeostationary", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make a Eumetsat MSG \"Normalized Geostationary Projection\" projection.\nFake coordinates for now, then see if this can be generalized.\n\nfrom FM 92 GRIB-2 doc:\n\nGrid Definition Template 3.90: Space view perspective or orthographic\nOctet Number(s) Contents\n15 Shape of the earth (see Code Table 3.2)\n16 Scale factor of radius of spherical earth\n17-20 Scaled value of radius of spherical earth\n21 Scale factor of major axis of oblate spheroid earth\n22-25 Scaled value of major axis of oblate spheroid earth\n26 Scale factor of minor axis of oblate spheroid earth\n27-30 Scaled value of minor axis of oblate spheroid earth\n31-34 Nx - number of points along X-axis (columns)\n35-38 Ny - number of points along Y-axis (rows or lines)\n39-42 Lap - latitude of sub-satellite point\n43-46 Lop - longitude of sub-satellite point\n47 Resolution and component flags (see Flag Table 3.3)\n48-51 dx - apparent diameter of Earth in grid lengths, in X-direction\n52-55 dy - apparent diameter of Earth in grid lengths, in Y-direction\n56-59 Xp - X-coordinate of sub-satellite point (in units of 10-3 grid length expressed as an integer)\n60-63 Yp - Y-coordinate of sub-satellite point (in units of 10-3 grid length expressed as an integer)\n64 Scanning mode (flags - see Flag Table 3.4)\n65-68 Orientation of the grid; i.e., the angle between the increasing Y-axis and the meridian of the sub-satellite point in the direction of increasing latitude (see Note 3)\n69-72 Nr - altitude of the camera from the Earths centre, measured in units of the Earth (equatorial) radius multiplied by a scale factor of 10 6 (see Notes 4 and 5)\n73-76 Xo - X-coordinate of origin of sector image\n77-80 Yo - Y-coordinate of origin of sector image\n\nNotes:\n(1) It is assumed that the satellite is at its nominal position, i.e., it is looking directly at its sub-satellite point.\n(2) Octets 69-72 shall be set to all ones (missing) to indicate the orthographic view (from infinite distance)\n(3) It is the angle between the increasing Y-axis and the meridian 180E if the sub-satellite point is the North Pole; or the meridian 0 if the sub-satellite point is the South Pole.\n(4) The apparent angular size of the Earth will be given by 2 * Arcsin (10^6 )/Nr).\n(5) For orthographic view from infinite distance, the value of Nr should be encoded as missing (all bits set to 1).\n(6) The horizontal and vertical angular resolutions of the sensor (Rx and Ry), needed for navigation equation, can be calculated from the following:\nRx = 2 * Arcsin (106 )/Nr)/ dx\nRy = 2 * Arcsin (106 )/Nr)/ dy\n\n=======\n\nfrom simon.elliott@eumetsat.int\n\nFor products on a single pixel resolution grid, the scan angle is 83.84333 E-6 rad.\nSo dx = 2 * arcsin(10e6/Nr) / 83.84333 E-6 = 3622.30, which encoded to the nearest integer is 3622.\nThis is correctly encoded in our products.\n\nFor products on a 3x3 pixel resolution grid, the scan angle is 3 * 83.84333 E-6 rad = 251.52999 E-6 rad.\nSo dx = 2 * arcsin(10e6/Nr) / 251.52999 E-6 = 1207.43, which encoded to the nearest integer is 1207.\nThis is correctly encoded in our products.\n\nDue to the elliptical shape of the earth, the calculation is a bit different in the y direction (Nr is in multiples of\nthe equatorial radius, but the tangent point is much closer to the polar radius from the earth's centre.\nApproximating that the tangent point is actually at the polar radius from the earth's centre:\nThe sine of the angle subtended by the Earths centre and the tangent point on the equator as seen from the spacecraft\n= Rp / (( Nr * Re) / 10^6) = (Rp * 10^6) / (Re * Nr)\n\nThe angle subtended by the Earth equator as seen by the spacecraft is, by symmetry twice the inverse sine above,\n= 2 * arcsine ((Rp * 10^6) / (Re * Nr))\n\nFor products on a single pixel resolution grid, the scan angle is 83.84333 E-6 rad.\nSo dy = 2 * arcsine ((Rp * 10^6) / (Re * Nr)) / 83.84333 E-6 = 3610.06, which encoded to the nearest integer is 3610.\nThis is currently encoded in our products as 3568.\n\nFor products on a 3x3 pixel resolution grid, the scan angle is 3 * 83.84333 E-6 rad = 251.52999 E-6 rad.\nSo dy = 2 * arcsine ((Rp * 10^6) / (Re * Nr)) / 251.52999 E-6 = 1203.35, which encoded to the nearest integer is 1203.\nThis is currently encoded in our products as 1189.\n\nAs you can see the dx and dy values we are using will lead to an error of around 1% in the y direction.\nI will ensure that the values are corrected to those explained here (3610 and 1203) as soon as possible.", "docstring_tokens": ["Make", "a", "Eumetsat", "MSG", "Normalized", "Geostationary", "Projection", "projection", ".", "Fake", "coordinates", "for", "now", "then", "see", "if", "this", "can", "be", "generalized", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/grid/GridHorizCoordSys.java#L978-L1053", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/grid/GridHorizCoordSys.java", "func_name": "GridHorizCoordSys.setDxDy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculate the dx and dy from startx, starty and projection.\n\n@param startx starting x projection point\n@param starty starting y projection point\n@param proj projection for transform", "docstring_tokens": ["Calculate", "the", "dx", "and", "dy", "from", "startx", "starty", "and", "projection", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/grid/GridHorizCoordSys.java#L1161-L1177", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/parser/jdom/InvCatalogFactory10.java", "func_name": "InvCatalogFactory10.readDataset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "read a dataset element", "docstring_tokens": ["read", "a", "dataset", "element"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/parser/jdom/InvCatalogFactory10.java#L199-L218", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/parser/jdom/InvCatalogFactory10.java", "func_name": "InvCatalogFactory10.readDatasetScan", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "read a dataset scan element", "docstring_tokens": ["read", "a", "dataset", "scan", "element"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/parser/jdom/InvCatalogFactory10.java#L359-L423", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/parser/jdom/InvCatalogFactory10.java", "func_name": "InvCatalogFactory10.readMetadataContentFromURL", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "this is only called for ThredddsMetadata", "docstring_tokens": ["this", "is", "only", "called", "for", "ThredddsMetadata"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/parser/jdom/InvCatalogFactory10.java#L1151-L1156", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/mcidas/McIDASGridRecord.java", "func_name": "McIDASGridRecord.getLevelType1", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the type for the first level of this GridRecord\n\n@return level type", "docstring_tokens": ["Get", "the", "type", "for", "the", "first", "level", "of", "this", "GridRecord"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/mcidas/McIDASGridRecord.java#L76-L86", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/misc/Nldn.java", "func_name": "Nldn.isValidFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if this is a valid file for this IOServiceProvider.\nYou must make this method thread safe, ie dont keep any state.\n\n@param raf RandomAccessFile\n@return true if valid.\n@throws IOException if read error", "docstring_tokens": ["Check", "if", "this", "is", "a", "valid", "file", "for", "this", "IOServiceProvider", ".", "You", "must", "make", "this", "method", "thread", "safe", "ie", "dont", "keep", "any", "state", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/misc/Nldn.java#L115-L119", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/servlet/DummySink.java", "func_name": "DummySink.write", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes an array of bytes to the compressed output stream. This\nmethod will block until all the bytes are written.\n\n@param off the start offset of the data\n@param len the length of the data\n@throws IOException if an I/O error has occurred", "docstring_tokens": ["Writes", "an", "array", "of", "bytes", "to", "the", "compressed", "output", "stream", ".", "This", "method", "will", "block", "until", "all", "the", "bytes", "are", "written", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/servlet/DummySink.java#L111-L116", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/dap/BaseType.java", "func_name": "BaseType.setClearName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the unencoded name of the class instance.\n\n@param clearname the unencoded name of the class instance.", "docstring_tokens": ["Sets", "the", "unencoded", "name", "of", "the", "class", "instance", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/dap/BaseType.java#L109-L115", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft/point/standard/plug/UnidataPointDatasetHelper.java", "func_name": "UnidataPointDatasetHelper.getCoordinateName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Tries to find the coordinate variable of the specified type.\n@param ds search in this dataset\n@param a AxisType.LAT, LON, HEIGHT, or TIME\n@return coordinate variable, or null if not found.", "docstring_tokens": ["Tries", "to", "find", "the", "coordinate", "variable", "of", "the", "specified", "type", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft/point/standard/plug/UnidataPointDatasetHelper.java#L86-L120", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft/point/standard/plug/UnidataPointDatasetHelper.java", "func_name": "UnidataPointDatasetHelper.getCoordinateName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Tries to find the coordinate variable of the specified type, which has the specified dimension as its firsst dimension\n@param ds search in this dataset\n@param a AxisType.LAT, LON, HEIGHT, or TIME\n@param dim must use this dimension\n@return coordinate variable, or null if not found.", "docstring_tokens": ["Tries", "to", "find", "the", "coordinate", "variable", "of", "the", "specified", "type", "which", "has", "the", "specified", "dimension", "as", "its", "firsst", "dimension"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft/point/standard/plug/UnidataPointDatasetHelper.java#L129-L140", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/dmr/ErrorResponse.java", "func_name": "ErrorResponse.buildXML", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert an ErrorResponse to the equivalent XML\n@return XML representation of the ErrorResponse", "docstring_tokens": ["Convert", "an", "ErrorResponse", "to", "the", "equivalent", "XML"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/dmr/ErrorResponse.java#L84-L98", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/dmr/ErrorResponse.java", "func_name": "ErrorResponse.buildException", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert an ErrorResponse to the equivalent DapException.\n@return DapException representation of the ErrorResponse", "docstring_tokens": ["Convert", "an", "ErrorResponse", "to", "the", "equivalent", "DapException", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/dmr/ErrorResponse.java#L104-L109", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/conv/AWIPSConvention.java", "func_name": "AWIPSConvention.breakupLevels", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "return the list of Dimensions that were created", "docstring_tokens": ["return", "the", "list", "of", "Dimensions", "that", "were", "created"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/conv/AWIPSConvention.java#L162-L212", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/conv/AWIPSConvention.java", "func_name": "AWIPSConvention.makeZCoordAxis", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "make a new variable out of the list in \"values\"", "docstring_tokens": ["make", "a", "new", "variable", "out", "of", "the", "list", "in", "values"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/conv/AWIPSConvention.java#L216-L271", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/conv/AWIPSConvention.java", "func_name": "AWIPSConvention.createNewVariables", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "create new variables as sections of ncVar", "docstring_tokens": ["create", "new", "variables", "as", "sections", "of", "ncVar"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/conv/AWIPSConvention.java#L304-L337", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/conv/AWIPSConvention.java", "func_name": "AWIPSConvention.makeTimeCoordAxisFromReference", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "construct time coordinate from reftime variable", "docstring_tokens": ["construct", "time", "coordinate", "from", "reftime", "variable"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/conv/AWIPSConvention.java#L583-L615", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/writer/GribToNetcdfWriter.java", "func_name": "GribToNetcdfWriter.bitShave", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Shave n bits off the float\n@param value original floating point\n@param bitMask bitMask from getBitMask()\n@return modified float", "docstring_tokens": ["Shave", "n", "bits", "off", "the", "float"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/writer/GribToNetcdfWriter.java#L72-L78", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/writer/GribToNetcdfWriter.java", "func_name": "GribToNetcdfWriter.main", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write Grib file to a netcdf4 file. Experimental.", "docstring_tokens": ["Write", "Grib", "file", "to", "a", "netcdf4", "file", ".", "Experimental", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/writer/GribToNetcdfWriter.java#L87-L98", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/NetcdfDataset.java", "func_name": "NetcdfDataset.wrap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make NetcdfFile into NetcdfDataset with given enhance mode\n\n@param ncfile wrap this\n@param mode using this enhance mode (may be null, meaning no enhance)\n@return NetcdfDataset wrapping the given ncfile\n@throws IOException on io error", "docstring_tokens": ["Make", "NetcdfFile", "into", "NetcdfDataset", "with", "given", "enhance", "mode"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/NetcdfDataset.java#L311-L321", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/NetcdfDataset.java", "func_name": "NetcdfDataset.openFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Factory method for opening a NetcdfFile through the netCDF API.\n\n@param location location of dataset.\n@param cancelTask use to allow task to be cancelled; may be null.\n@return NetcdfFile object\n@throws java.io.IOException on read error", "docstring_tokens": ["Factory", "method", "for", "opening", "a", "NetcdfFile", "through", "the", "netCDF", "API", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/NetcdfDataset.java#L578-L581", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/NetcdfDataset.java", "func_name": "NetcdfDataset.clearCoordinateSystems", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Clear Coordinate System metadata, to allow them to be redone", "docstring_tokens": ["Clear", "Coordinate", "System", "metadata", "to", "allow", "them", "to", "be", "redone"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/NetcdfDataset.java#L937-L948", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/NetcdfDataset.java", "func_name": "NetcdfDataset.findCoordinateAxis", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retrieve the CoordinateAxis with the specified Axis Type.\n\n@param type axis type\n@return the first CoordinateAxis that has that type, or null if not found", "docstring_tokens": ["Retrieve", "the", "CoordinateAxis", "with", "the", "specified", "Axis", "Type", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/NetcdfDataset.java#L965-L972", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/NetcdfDataset.java", "func_name": "NetcdfDataset.findCoordinateAxis", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retrieve the CoordinateAxis with the specified type.\n\n@param fullName full escaped name of the coordinate axis\n@return the CoordinateAxis, or null if not found", "docstring_tokens": ["Retrieve", "the", "CoordinateAxis", "with", "the", "specified", "type", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/NetcdfDataset.java#L980-L987", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/NetcdfDataset.java", "func_name": "NetcdfDataset.findCoordinateSystem", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retrieve the CoordinateSystem with the specified name.\n\n@param name String which identifies the desired CoordinateSystem\n@return the CoordinateSystem, or null if not found", "docstring_tokens": ["Retrieve", "the", "CoordinateSystem", "with", "the", "specified", "name", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/NetcdfDataset.java#L995-L1002", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/NetcdfDataset.java", "func_name": "NetcdfDataset.findCoordinateTransform", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retrieve the CoordinateTransform with the specified name.\n\n@param name String which identifies the desired CoordinateSystem\n@return the CoordinateSystem, or null if not found", "docstring_tokens": ["Retrieve", "the", "CoordinateTransform", "with", "the", "specified", "name", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/NetcdfDataset.java#L1010-L1017", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/NetcdfDataset.java", "func_name": "NetcdfDataset.enhanceNeeded", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "is this enhancement already done ?\n\n@param want enhancements wanted\n@return true if wanted enhancement is not done\n@throws java.io.IOException on error", "docstring_tokens": ["is", "this", "enhancement", "already", "done", "?"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/NetcdfDataset.java#L1403-L1409", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/NetcdfDataset.java", "func_name": "NetcdfDataset.setValues", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generate the list of values from a starting value and an increment.\nWill reshape to variable if needed.\n\n@param v for this variable\n@param npts number of values, must = v.getSize()\n@param start starting value\n@param incr increment\n@deprecated use Variable.setValues()", "docstring_tokens": ["Generate", "the", "list", "of", "values", "from", "a", "starting", "value", "and", "an", "increment", ".", "Will", "reshape", "to", "variable", "if", "needed", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/NetcdfDataset.java#L1425-L1432", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/NetcdfDataset.java", "func_name": "NetcdfDataset.setValues", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the data values from a list of Strings.\n\n@param v for this variable\n@param values list of Strings\n@throws IllegalArgumentException if values array not correct size, or values wont parse to the correct type\n@deprecated use Variable.setValues()", "docstring_tokens": ["Set", "the", "data", "values", "from", "a", "list", "of", "Strings", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/NetcdfDataset.java#L1442-L1453", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/NetcdfDataset.java", "func_name": "NetcdfDataset.makeArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make a 1D array from a list of strings.\n\n@param dtype data type of the array.\n@param stringValues list of strings.\n@return resulting 1D array.\n@throws NumberFormatException if string values not parssable to specified data type\n@deprecated use Array#makeArray directly", "docstring_tokens": ["Make", "a", "1D", "array", "from", "a", "list", "of", "strings", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/NetcdfDataset.java#L1464-L1466", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/util/Index.java", "func_name": "Index.index", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compute the linear index\nfrom the current odometer indices.", "docstring_tokens": ["Compute", "the", "linear", "index", "from", "the", "current", "odometer", "indices", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/util/Index.java#L70-L79", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/thredds/filesystem/MFileOS7.java", "func_name": "MFileOS7.getExistingFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make MFileOS7 if file exists, otherwise return null\n@param filename full path name\n@return MFileOS or null", "docstring_tokens": ["Make", "MFileOS7", "if", "file", "exists", "otherwise", "return", "null"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/thredds/filesystem/MFileOS7.java#L33-L38", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/gis/shapefile/EsriShapefile.java", "func_name": "EsriShapefile.getFeatures", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a List of all the features in the shapefile that intersect\nthe specified bounding box. This requires testing every\nfeature in the List created at construction, so it's faster to\njust give a bounding box o the constructor if you will only do\nthis once.\n\n@param bBox specifying the bounding box with which all\nthe returned features bounding boxes have a non-empty\nintersection.\n@return a new list of features in the shapefile whose bounding\nboxes intersect the specified bounding box.", "docstring_tokens": ["Get", "a", "List", "of", "all", "the", "features", "in", "the", "shapefile", "that", "intersect", "the", "specified", "bounding", "box", ".", "This", "requires", "testing", "every", "feature", "in", "the", "List", "created", "at", "construction", "so", "it", "s", "faster", "to", "just", "give", "a", "bounding", "box", "o", "the", "constructor", "if", "you", "will", "only", "do", "this", "once", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/gis/shapefile/EsriShapefile.java#L377-L387", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/gis/shapefile/EsriShapefile.java", "func_name": "EsriShapefile.discretize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Discretize elements of array to a lower resolution. For\nexample, if resolution = 100., the value 3.14159265358979 will\nbe changed to 3.14.\n\n@param d array of values to discretize to lower resolution\n@param n number of values in array to discretize", "docstring_tokens": ["Discretize", "elements", "of", "array", "to", "a", "lower", "resolution", ".", "For", "example", "if", "resolution", "=", "100", ".", "the", "value", "3", ".", "14159265358979", "will", "be", "changed", "to", "3", ".", "14", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/gis/shapefile/EsriShapefile.java#L468-L474", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/ThreddsMetadata.java", "func_name": "ThreddsMetadata.add", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add all the content from another ThreddsMetadata\n\n@param tmd get content from here\n@param includeInherited if false, dont add inherited InvMetadata", "docstring_tokens": ["Add", "all", "the", "content", "from", "another", "ThreddsMetadata"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/ThreddsMetadata.java#L78-L107", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/ThreddsMetadata.java", "func_name": "ThreddsMetadata.addDocumentation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "set specified type of documentation\n\n@param type type of documentation\n@param content documentation contenet", "docstring_tokens": ["set", "specified", "type", "of", "documentation"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/ThreddsMetadata.java#L564-L580", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/ThreddsMetadata.java", "func_name": "ThreddsMetadata.removeDocumentation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "remove all instances of specified type of documentation\n@param type type of documentation", "docstring_tokens": ["remove", "all", "instances", "of", "specified", "type", "of", "documentation"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/ThreddsMetadata.java#L586-L594", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/LayoutSegmented.java", "func_name": "LayoutSegmented.getMaxBytes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "how many more bytes are in this segment ?", "docstring_tokens": ["how", "many", "more", "bytes", "are", "in", "this", "segment", "?"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/LayoutSegmented.java#L90-L94", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/conv/NsslRadarMosaicConvention.java", "func_name": "NsslRadarMosaicConvention.isMine", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Is this my file?\n\n@param ncfile test this NetcdfFile\n@return true if we think this is a NsslRadarMosaicConvention file.", "docstring_tokens": ["Is", "this", "my", "file?"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/conv/NsslRadarMosaicConvention.java#L34-L52", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/thredds/inventory/CollectionManagerCatalog.java", "func_name": "CollectionManagerCatalog.getDataset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "CatalogCrawler.Listener", "docstring_tokens": ["CatalogCrawler", ".", "Listener"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/thredds/inventory/CollectionManagerCatalog.java#L154-L165", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/CoordSysBuilder.java", "func_name": "CoordSysBuilder.breakupConventionNames", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Breakup list of Convention names in the Convention attribute in CF compliant way.\n\n@param convAttValue original value of Convention attribute\n@return list of Convention names", "docstring_tokens": ["Breakup", "list", "of", "Convention", "names", "in", "the", "Convention", "attribute", "in", "CF", "compliant", "way", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/CoordSysBuilder.java#L259-L282", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/CoordSysBuilder.java", "func_name": "CoordSysBuilder.buildConventionAttribute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Build a list of Conventions\n\n@param mainConv this is the main convention\n@param convAtts list of others, onbly use \"extra\" Conventions\n@return comma separated list of Conventions", "docstring_tokens": ["Build", "a", "list", "of", "Conventions"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/CoordSysBuilder.java#L291-L314", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/CoordSysBuilder.java", "func_name": "CoordSysBuilder.buildCoordinateSystems", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Heres where the work is to identify coordinate axes and coordinate systems.\n\n@param ncDataset modify this dataset", "docstring_tokens": ["Heres", "where", "the", "work", "is", "to", "identify", "coordinate", "axes", "and", "coordinate", "systems", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/CoordSysBuilder.java#L518-L554", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/CoordSysBuilder.java", "func_name": "CoordSysBuilder.findCoordinateAxes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Identify coordinate axes, set VarProcess.isCoordinateAxis = true.\nDefault is to look for those referenced by _CoordinateAxes attribute.\nNote coordinate variables are already identified.\n\n@param ncDataset why", "docstring_tokens": ["Identify", "coordinate", "axes", "set", "VarProcess", ".", "isCoordinateAxis", "=", "true", ".", "Default", "is", "to", "look", "for", "those", "referenced", "by", "_CoordinateAxes", "attribute", ".", "Note", "coordinate", "variables", "are", "already", "identified", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/CoordSysBuilder.java#L574-L581", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/CoordSysBuilder.java", "func_name": "CoordSysBuilder.findCoordinateSystems", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Identify coordinate systems, set VarProcess.isCoordinateSystem = true.\nDefault is to look for those referenced by _CoordinateSystems attribute.\n\n@param ncDataset why", "docstring_tokens": ["Identify", "coordinate", "systems", "set", "VarProcess", ".", "isCoordinateSystem", "=", "true", ".", "Default", "is", "to", "look", "for", "those", "referenced", "by", "_CoordinateSystems", "attribute", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/CoordSysBuilder.java#L616-L634", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/CoordSysBuilder.java", "func_name": "CoordSysBuilder.makeCoordinateSystems", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Take all previously identified Coordinate Systems and create a\nCoordinateSystem object.\n\n@param ncDataset why", "docstring_tokens": ["Take", "all", "previously", "identified", "Coordinate", "Systems", "and", "create", "a", "CoordinateSystem", "object", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/CoordSysBuilder.java#L688-L694", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/CoordSysBuilder.java", "func_name": "CoordSysBuilder.makeCoordinateSystemsMaximal", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If a variable still doesnt have a coordinate system, use hueristics to try to find one that was probably forgotten.\nExamine existing CS. create a subset of axes that fits the variable. Choose the one with highest rank.\nIt must have X,Y or lat,lon. If so, add it.\n\n@param ncDataset need this to see if incomplete coordinate systems are allowed", "docstring_tokens": ["If", "a", "variable", "still", "doesnt", "have", "a", "coordinate", "system", "use", "hueristics", "to", "try", "to", "find", "one", "that", "was", "probably", "forgotten", ".", "Examine", "existing", "CS", ".", "create", "a", "subset", "of", "axes", "that", "fits", "the", "variable", ".", "Choose", "the", "one", "with", "highest", "rank", ".", "It", "must", "have", "X", "Y", "or", "lat", "lon", ".", "If", "so", "add", "it", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/CoordSysBuilder.java#L836-L891", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/CoordSysBuilder.java", "func_name": "CoordSysBuilder.isCoordinateAxisForVariable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Does this axis \"fit\" this variable.\nTrue if all of the dimensions in the axis also appear in the variable.\nIf char variable, last dimension is left out.\n\n@param axis check if this axis is ok for the given variable\n@param v the given variable\n@return true if all of the dimensions in the axis also appear in the variable.", "docstring_tokens": ["Does", "this", "axis", "fit", "this", "variable", ".", "True", "if", "all", "of", "the", "dimensions", "in", "the", "axis", "also", "appear", "in", "the", "variable", ".", "If", "char", "variable", "last", "dimension", "is", "left", "out", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/CoordSysBuilder.java#L902-L918", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/CoordSysBuilder.java", "func_name": "CoordSysBuilder.addCoordinateVariable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "track coordinate variables", "docstring_tokens": ["track", "coordinate", "variables"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/CoordSysBuilder.java#L1063-L1071", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/InvCatalogImpl.java", "func_name": "InvCatalogImpl.subset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Munge this catalog so the given dataset is the top catalog.\n\n@param ds make this top; must be existing dataset in this catalog.\n\n@deprecated in favor of thredds.catalog.util.DeepCopyUtils.subsetCatalogOnDataset", "docstring_tokens": ["Munge", "this", "catalog", "so", "the", "given", "dataset", "is", "the", "top", "catalog", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/InvCatalogImpl.java#L37-L66", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/InvCatalogImpl.java", "func_name": "InvCatalogImpl.filter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Munge this catalog to remove any dataset that doesnt pass through the filter.\n\n@param filter remove datasets that dont pass this filter.", "docstring_tokens": ["Munge", "this", "catalog", "to", "remove", "any", "dataset", "that", "doesnt", "pass", "through", "the", "filter", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/InvCatalogImpl.java#L119-L123", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/InvCatalogImpl.java", "func_name": "InvCatalogImpl.mark", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "unread CatalogRefs are always kept.", "docstring_tokens": ["unread", "CatalogRefs", "are", "always", "kept", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/InvCatalogImpl.java#L136-L156", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/InvCatalogImpl.java", "func_name": "InvCatalogImpl.delete", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "remove marked datasets", "docstring_tokens": ["remove", "marked", "datasets"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/InvCatalogImpl.java#L161-L176", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/server/reify/LoadCommon.java", "func_name": "LoadCommon.initOnce", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Invoked on first get so that everything is available,\nespecially Spring stuff.", "docstring_tokens": ["Invoked", "on", "first", "get", "so", "that", "everything", "is", "available", "especially", "Spring", "stuff", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/server/reify/LoadCommon.java#L368-L411", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/Counters.java", "func_name": "Counters.count", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add value to the named counter.\nAdd counter if it doesnt already exist.\n@return true if its a new value, not seen before.", "docstring_tokens": ["Add", "value", "to", "the", "named", "counter", ".", "Add", "counter", "if", "it", "doesnt", "already", "exist", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/Counters.java#L55-L61", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/StandardPrefixDB.java", "func_name": "StandardPrefixDB.add", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a prefix to the database.\n\n@param name The name of the prefix.\n@param symbol The symbol for the prefix.\n@param definition The numeric value of the prefix.\n@throws PrefixExistsException Attempt to redefine an existing prefix.", "docstring_tokens": ["Adds", "a", "prefix", "to", "the", "database", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/StandardPrefixDB.java#L93-L97", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/table/TableRowAbstract.java", "func_name": "TableRowAbstract.compare", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "for other behavior, override this; use compareXXX routines.", "docstring_tokens": ["for", "other", "behavior", "override", "this", ";", "use", "compareXXX", "routines", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/table/TableRowAbstract.java#L43-L52", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/table/TableRowAbstract.java", "func_name": "TableRowAbstract.compareBoolean", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "for use by the subclass", "docstring_tokens": ["for", "use", "by", "the", "subclass"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/table/TableRowAbstract.java#L55-L60", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/dmr/parser/bison/Dap4ParserImpl.java", "func_name": "Dap4ParserImpl.getGroupScope", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parser specific methods", "docstring_tokens": ["Parser", "specific", "methods"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/dmr/parser/bison/Dap4ParserImpl.java#L91-L98", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/dmr/parser/bison/Dap4ParserImpl.java", "func_name": "Dap4ParserImpl.passReserved", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "add any reserved xml attributes to a node unchanged", "docstring_tokens": ["add", "any", "reserved", "xml", "attributes", "to", "a", "node", "unchanged"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/dmr/parser/bison/Dap4ParserImpl.java#L193-L209", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/server/ncss/validation/TimeParamsValidator.java", "func_name": "TimeParamsValidator.hasValidDateRange", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determine if a valid date range was specified\n\n@return true if there is a valid date range, false if not.", "docstring_tokens": ["Determine", "if", "a", "valid", "date", "range", "was", "specified"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/server/ncss/validation/TimeParamsValidator.java#L126-L143", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/util/SliceIterator.java", "func_name": "SliceIterator.hasNext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Iterator interface extended", "docstring_tokens": ["Iterator", "interface", "extended"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/util/SliceIterator.java#L67-L78", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/data/DSPRegistry.java", "func_name": "DSPRegistry.register", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Register a DSP, using its class string name.\n\n@param className Name of class that implements DSP.\n@throws IllegalAccessException if class is not accessible.\n@throws InstantiationException if class doesnt have a no-arg constructor.\n@throws ClassNotFoundException if class not found.", "docstring_tokens": ["Register", "a", "DSP", "using", "its", "class", "string", "name", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/data/DSPRegistry.java#L89-L98", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/data/DSPRegistry.java", "func_name": "DSPRegistry.register", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Register a DSP class.\n\n@param klass Class that implements DSP.\n@param last true=>insert at the end of the list; otherwise front\n@throws IllegalAccessException if class is not accessible.\n@throws InstantiationException if class doesnt have a no-arg constructor.\n@throws ClassCastException if class doesnt implement DSP interface.", "docstring_tokens": ["Register", "a", "DSP", "class", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/data/DSPRegistry.java#L109-L118", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/data/DSPRegistry.java", "func_name": "DSPRegistry.registered", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "See if a specific DSP is registered\n\n@param klass Class for which to search", "docstring_tokens": ["See", "if", "a", "specific", "DSP", "is", "registered"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/data/DSPRegistry.java#L126-L133", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/data/DSPRegistry.java", "func_name": "DSPRegistry.unregister", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Unregister dsp.\n\n@param klass Class for which to search", "docstring_tokens": ["Unregister", "dsp", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/data/DSPRegistry.java#L140-L149", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/grib2/table/Grib2Tables.java", "func_name": "Grib2Tables.factory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Lazy instantiation.", "docstring_tokens": ["Lazy", "instantiation", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/grib2/table/Grib2Tables.java#L48-L59", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/grib2/table/Grib2Tables.java", "func_name": "Grib2Tables.getForecastTimeIntervalSizeInHours", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get interval size in units of hours.\nOnly use in GribVariable to decide on variable identity when intvMerge = false.\n@param pds must be a Grib2Pds.PdsInterval\n@return interval size in units of hours", "docstring_tokens": ["Get", "interval", "size", "in", "units", "of", "hours", ".", "Only", "use", "in", "GribVariable", "to", "decide", "on", "variable", "identity", "when", "intvMerge", "=", "false", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/grib2/table/Grib2Tables.java#L282-L314", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/grib2/table/Grib2Tables.java", "func_name": "Grib2Tables.getForecastTimeIntervalOffset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If this has a time interval coordinate, get time interval\n\n@param gr from this record\n@return time interval in units of pds.getTimeUnit(), or null if not a time interval", "docstring_tokens": ["If", "this", "has", "a", "time", "interval", "coordinate", "get", "time", "interval"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/grib2/table/Grib2Tables.java#L322-L335", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/grib2/table/Grib2Tables.java", "func_name": "Grib2Tables.getVertUnit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Unit of vertical coordinate.\nfrom Grib2 code table 4.5.\nOnly levels with units get a dimension added\n\n@param code code from table 4.5\n@return level unit, default is empty unit string", "docstring_tokens": ["Unit", "of", "vertical", "coordinate", ".", "from", "Grib2", "code", "table", "4", ".", "5", ".", "Only", "levels", "with", "units", "get", "a", "dimension", "added"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/grib2/table/Grib2Tables.java#L410-L475", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/dmr/DapDataset.java", "func_name": "DapDataset.finish", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compute inferred information", "docstring_tokens": ["Compute", "inferred", "information"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/dmr/DapDataset.java#L71-L92", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/dmr/DapDataset.java", "func_name": "DapDataset.sort", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sort the nodelist into prefix left to right order", "docstring_tokens": ["Sort", "the", "nodelist", "into", "prefix", "left", "to", "right", "order"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/dmr/DapDataset.java#L337-L347", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/collection/PartitionCollectionImmutable.java", "func_name": "PartitionCollectionImmutable.getRaf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "stuff for Iosp", "docstring_tokens": ["stuff", "for", "Iosp"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/collection/PartitionCollectionImmutable.java#L158-L163", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft/point/standard/Evaluator.java", "func_name": "Evaluator.findVariableWithAttribute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find first variable with given attribute name\n\n@param ds in this dataset\n@param attName attribute name, case insensitive\n@return first variable with given attribute name, or null", "docstring_tokens": ["Find", "first", "variable", "with", "given", "attribute", "name"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft/point/standard/Evaluator.java#L81-L98", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft/point/standard/Evaluator.java", "func_name": "Evaluator.findVariableWithAttributeValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find first variable with given attribute name and value.\nIf not found, search one level into structures.\n\n@param ds in this dataset\n@param attName attribute name, case insensitive\n@param attValue attribute value, case sensitive\n@return first variable with given attribute name and value, or null", "docstring_tokens": ["Find", "first", "variable", "with", "given", "attribute", "name", "and", "value", ".", "If", "not", "found", "search", "one", "level", "into", "structures", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft/point/standard/Evaluator.java#L109-L124", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft/point/standard/Evaluator.java", "func_name": "Evaluator.findNameOfVariableWithAttributeValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find first variable with given attribute name and value\n\n@param ds in this dataset\n@param attName attribute name, case insensitive\n@param attValue attribute value, case sensitive\n@return name of first variable with given attribute name and value, or null", "docstring_tokens": ["Find", "first", "variable", "with", "given", "attribute", "name", "and", "value"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft/point/standard/Evaluator.java#L134-L137", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft/point/standard/Evaluator.java", "func_name": "Evaluator.findVariableWithAttributeValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find first member variable in this struct with given attribute name and value\n\n@param struct in this structure\n@param attName attribute name, case insensitive\n@param attValue attribute value, case sensitive\n@return first member variable with given attribute name and value, or null", "docstring_tokens": ["Find", "first", "member", "variable", "in", "this", "struct", "with", "given", "attribute", "name", "and", "value"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft/point/standard/Evaluator.java#L147-L154", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft/point/standard/Evaluator.java", "func_name": "Evaluator.findNestedStructure", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find first nested structure\n@param s in this structure\n@return first nested structure or null", "docstring_tokens": ["Find", "first", "nested", "structure"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft/point/standard/Evaluator.java#L182-L188", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft/point/standard/Evaluator.java", "func_name": "Evaluator.hasNetcdf3RecordStructure", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Does this dataset have a record structure? netcdf-3 specific\n@param ds in this dataset\n@return true if record structure exists", "docstring_tokens": ["Does", "this", "dataset", "have", "a", "record", "structure?", "netcdf", "-", "3", "specific"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft/point/standard/Evaluator.java#L195-L198", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft/point/standard/Evaluator.java", "func_name": "Evaluator.getLiteral", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Translate key to value\n\n@param ds search in this dataset\n@param key if starts with \":\", search for global attribute\n@param errlog error messages here\n@return return global attribute value or the key itself", "docstring_tokens": ["Translate", "key", "to", "value"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft/point/standard/Evaluator.java#L211-L220", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft/point/standard/Evaluator.java", "func_name": "Evaluator.getFeatureType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Turn the key into a String and return the corresponding featureType, if any.\n\n@param ds look in this datset\n@param key if starts with \":\", replace with value of global attribute\n@param errlog error messages here\n@return featureType, or null", "docstring_tokens": ["Turn", "the", "key", "into", "a", "String", "and", "return", "the", "corresponding", "featureType", "if", "any", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft/point/standard/Evaluator.java#L230-L239", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft/point/standard/Evaluator.java", "func_name": "Evaluator.getVariableName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find the variable pointed to by key\n\n@param ds in this dataset\n@param key may be variable name or \":gatt\" where gatt is local attribute whose value is the variable name\n@param errlog error messages here\n@return name of variable or null if not exist", "docstring_tokens": ["Find", "the", "variable", "pointed", "to", "by", "key"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft/point/standard/Evaluator.java#L249-L258", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/CoordinateAxis2D.java", "func_name": "CoordinateAxis2D.getCoordValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the coordinate value at the i, j index.\n\n@param i index 0 (fastest varying, right-most)\n@param j index 1\n@return midpoint.get(j, i).", "docstring_tokens": ["Get", "the", "coordinate", "value", "at", "the", "i", "j", "index", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/CoordinateAxis2D.java#L57-L60", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/CoordinateAxis2D.java", "func_name": "CoordinateAxis2D.connectLon", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "larger than you would ever expect", "docstring_tokens": ["larger", "than", "you", "would", "ever", "expect"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/CoordinateAxis2D.java#L118-L130", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/CoordinateAxis2D.java", "func_name": "CoordinateAxis2D.getCoordValues", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the coordinate values as a 1D double array, in canonical order.\n\n@return coordinate values\n@throws UnsupportedOperationException if !isNumeric()", "docstring_tokens": ["Get", "the", "coordinate", "values", "as", "a", "1D", "double", "array", "in", "canonical", "order", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/CoordinateAxis2D.java#L139-L144", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/CoordinateAxis2D.java", "func_name": "CoordinateAxis2D.section", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a new CoordinateAxis2D as a section of this CoordinateAxis2D.\n\n@param r1 the section on the first index\n@param r2 the section on the second index\n@return a section of this CoordinateAxis2D\n@throws InvalidRangeException if specified Ranges are invalid", "docstring_tokens": ["Create", "a", "new", "CoordinateAxis2D", "as", "a", "section", "of", "this", "CoordinateAxis2D", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/CoordinateAxis2D.java#L154-L159", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/CoordinateAxis2D.java", "func_name": "CoordinateAxis2D.findClosest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "return index of closest value to target", "docstring_tokens": ["return", "index", "of", "closest", "value", "to", "target"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/CoordinateAxis2D.java#L407-L420", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/CDMNode.java", "func_name": "CDMNode.getName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "getName is deprecated because, as the code below shows,\nit has no consistent meaning. Sometimes it returns\nthe short name, sometimes it returns the full name.\n\n@deprecated Replaced by {@link #getShortName()} and {@link #getFullName()}", "docstring_tokens": ["getName", "is", "deprecated", "because", "as", "the", "code", "below", "shows", "it", "has", "no", "consistent", "meaning", ".", "Sometimes", "it", "returns", "the", "short", "name", "sometimes", "it", "returns", "the", "full", "name", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/CDMNode.java#L247-L267", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/widget/PopupMenu.java", "func_name": "PopupMenu.addAction", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add an action to the popup menu.\nNote that the menuName is made the NAME value of the action.\n@param menuName name of the action on the menu.\n@param act the Action.", "docstring_tokens": ["Add", "an", "action", "to", "the", "popup", "menu", ".", "Note", "that", "the", "menuName", "is", "made", "the", "NAME", "value", "of", "the", "action", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/widget/PopupMenu.java#L62-L65", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/thredds/logs/PathMatcher.java", "func_name": "PathMatcher.match", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find the longest match.\n@param path find object with longest match where path.startsWith( key)\n@return the value whose key is the longest that matches path, or null if none", "docstring_tokens": ["Find", "the", "longest", "match", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/thredds/logs/PathMatcher.java#L68-L86", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/geoloc/ProjectionManager.java", "func_name": "ProjectionManager.main", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "testing 1-2-3", "docstring_tokens": ["testing", "1", "-", "2", "-", "3"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/geoloc/ProjectionManager.java#L532-L535", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/io/KMPMatch.java", "func_name": "KMPMatch.indexOf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds the first occurrence of match in data.\n@param data search in this byte block\n@param start start at data[start]\n@param max end at data[start+max]\n@return index into data[] of first match, else -1 if not found.", "docstring_tokens": ["Finds", "the", "first", "occurrence", "of", "match", "in", "data", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/io/KMPMatch.java#L41-L59", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/image/PictureCache.java", "func_name": "PictureCache.add", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "store an image in the cache\n@param url\tThe URL of the picture\n@param sp\tThe picture to be stored", "docstring_tokens": ["store", "an", "image", "in", "the", "cache"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/image/PictureCache.java#L122-L146", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/image/PictureCache.java", "func_name": "PictureCache.reportCache", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "method to inspect the cache", "docstring_tokens": ["method", "to", "inspect", "the", "cache"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/image/PictureCache.java#L181-L192", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/image/PictureCache.java", "func_name": "PictureCache.stopBackgroundLoading", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "method to stop all background loading", "docstring_tokens": ["method", "to", "stop", "all", "background", "loading"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/image/PictureCache.java#L199-L204", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/image/PictureCache.java", "func_name": "PictureCache.stopBackgroundLoadingExcept", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "method to stop all background loading except the indicated file. Returns whether the\nimage is already being loaded. True = loading in progress, False = not in progress.", "docstring_tokens": ["method", "to", "stop", "all", "background", "loading", "except", "the", "indicated", "file", ".", "Returns", "whether", "the", "image", "is", "already", "being", "loaded", ".", "True", "=", "loading", "in", "progress", "False", "=", "not", "in", "progress", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/image/PictureCache.java#L212-L227", "partition": "test"} +{"repo": "Unidata/thredds", "path": "httpservices/src/main/java/ucar/httpservices/HTTPFactory.java", "func_name": "HTTPFactory.Get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Static factory methods for creating HTTPMethod instances", "docstring_tokens": ["Static", "factory", "methods", "for", "creating", "HTTPMethod", "instances"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/httpservices/src/main/java/ucar/httpservices/HTTPFactory.java#L60-L63", "partition": "test"} +{"repo": "Unidata/thredds", "path": "httpservices/src/main/java/ucar/httpservices/HTTPFactory.java", "func_name": "HTTPFactory.makemethod", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Common method creation code so we can isolate mocking\n\n@param session\n@return\n@throws HTTPException", "docstring_tokens": ["Common", "method", "creation", "code", "so", "we", "can", "isolate", "mocking"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/httpservices/src/main/java/ucar/httpservices/HTTPFactory.java#L142-L163", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4servlet/src/main/java/dap4/servlet/RandomValue.java", "func_name": "RandomValue.nextFloat", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "return a float type value", "docstring_tokens": ["return", "a", "float", "type", "value"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4servlet/src/main/java/dap4/servlet/RandomValue.java#L137-L151", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4servlet/src/main/java/dap4/servlet/RandomValue.java", "func_name": "RandomValue.nextCount", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return an integer in range 1..max inclusive.\n\n@param max\n@return random integer in range\n@throws DapException", "docstring_tokens": ["Return", "an", "integer", "in", "range", "1", "..", "max", "inclusive", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4servlet/src/main/java/dap4/servlet/RandomValue.java#L261-L274", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4cdm/src/main/java/dap4/cdm/nc2/DapNetcdfFile.java", "func_name": "DapNetcdfFile.readData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Primary read entry point.\nThis is the primary implementor of Variable.read.\n\n@param cdmvar A top-level variable\n@param section the section of databuffer to read.\nThere must be a Range for each Dimension in the variable,\nin order. Note: no nulls allowed.\n@return An Array object for accessing the databuffer\n@throws IOException if read error\n@throws InvalidRangeException if invalid section", "docstring_tokens": ["Primary", "read", "entry", "point", ".", "This", "is", "the", "primary", "implementor", "of", "Variable", ".", "read", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4cdm/src/main/java/dap4/cdm/nc2/DapNetcdfFile.java#L276-L301", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/server/radarServer2/RadarServerConfig.java", "func_name": "RadarServerConfig.getProvider", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "filesystem can't be re-created either.", "docstring_tokens": ["filesystem", "can", "t", "be", "re", "-", "created", "either", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/server/radarServer2/RadarServerConfig.java#L129-L144", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/nexrad2/NexradStationDB.java", "func_name": "NexradStationDB.readStationTable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "this is the old Gempak table, not as precise", "docstring_tokens": ["this", "is", "the", "old", "Gempak", "table", "not", "as", "precise"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/nexrad2/NexradStationDB.java#L100-L118", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/coord/CoordinateBuilderImpl.java", "func_name": "CoordinateBuilderImpl.getIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Used by CoordinateND.makeSparseArray; not used by CoordinateTime2D", "docstring_tokens": ["Used", "by", "CoordinateND", ".", "makeSparseArray", ";", "not", "used", "by", "CoordinateTime2D"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/coord/CoordinateBuilderImpl.java#L58-L62", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/ucar/nc2/dt/TypedDatasetImpl.java", "func_name": "TypedDatasetImpl.removeDataVariable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "reminder for subclasses to set this", "docstring_tokens": ["reminder", "for", "subclasses", "to", "set", "this"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/ucar/nc2/dt/TypedDatasetImpl.java#L68-L75", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/ucar/nc2/dt/point/decode/MetarParseReport.java", "func_name": "MetarParseReport.cloud_hgt2_meters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "convert cloud height to meters", "docstring_tokens": ["convert", "cloud", "height", "to", "meters"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/ucar/nc2/dt/point/decode/MetarParseReport.java#L1665-L1673", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft/fmrc/FmrcDataset.java", "func_name": "ProxyReader2D.reallyRead", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "here is where agg variables get read", "docstring_tokens": ["here", "is", "where", "agg", "variables", "get", "read"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft/fmrc/FmrcDataset.java#L718-L775", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/grid/ColorScale.java", "func_name": "ColorScale.setNumColors", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the number of colors in the colorscale.", "docstring_tokens": ["Set", "the", "number", "of", "colors", "in", "the", "colorscale", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/grid/ColorScale.java#L263-L276", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/widget/ScaledPanel.java", "func_name": "ScaledPanel.calcTransform", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "map world coords to screen coords.\n\n@param world world coordinate rectangle\n@param screen screen coordinate rectangle\n@return AffineTransform for converting world to screen.", "docstring_tokens": ["map", "world", "coords", "to", "screen", "coords", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/widget/ScaledPanel.java#L198-L226", "partition": "test"} +{"repo": "Unidata/thredds", "path": "httpservices/src/main/java/ucar/httpservices/HTTPAuthUtil.java", "func_name": "HTTPAuthUtil.uriToAuthScope", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create an AuthScope from a URI; remove any principal\n\n@param uri to convert\n@returns an AuthScope instance", "docstring_tokens": ["Create", "an", "AuthScope", "from", "a", "URI", ";", "remove", "any", "principal"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/httpservices/src/main/java/ucar/httpservices/HTTPAuthUtil.java#L109-L114", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/grid/GridIndex.java", "func_name": "GridIndex.finish", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "compares GDS for duplicates", "docstring_tokens": ["compares", "GDS", "for", "duplicates"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/grid/GridIndex.java#L116-L123", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/Factor.java", "func_name": "Factor.isReciprocalOf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Indicates if this Factor is the reciprocal of another Factor.\n\n@param that\nThe other factor.\n@return true if and only if this Factor is the reciprocal of\nthat.", "docstring_tokens": ["Indicates", "if", "this", "Factor", "is", "the", "reciprocal", "of", "another", "Factor", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/Factor.java#L168-L171", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/cataloggen/DirectoryScanner.java", "func_name": "DirectoryScanner.getDirCatalog", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return a catalog for the given directory.\n\n@param directory - the directory to represent as a catalog.\n@param filterPattern\n@param sortInIncreasingOrder\n@return An InvCatalog that represents the given directory of datasets.\n\n@throws NullPointerException if the given directory is null.\n@throws IllegalArgumentException if the given directory is not actually a directory or if it is not under the service base URL directory.", "docstring_tokens": ["Return", "a", "catalog", "for", "the", "given", "directory", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/cataloggen/DirectoryScanner.java#L122-L125", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/cache/SmartArrayInt.java", "func_name": "SmartArrayInt.findIdx", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find which index holds the value want\n@param want value wanted\n@return < 0 if not found, else the index. If duplicates, then return any match", "docstring_tokens": ["Find", "which", "index", "holds", "the", "value", "want"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/cache/SmartArrayInt.java#L80-L90", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/cataloggen/config/CatGenConfigMetadataFactory.java", "func_name": "CatGenConfigMetadataFactory.readMetadataContentFromURL", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create an InvMetadata content object from an XML document at a named URL.\nThe content object is an ArrayList of CatalogGenConfig instances.\n\n@param dataset - the containing dataset\n@param urlString - the URL where the XML doc is located.\n@return\n@throws java.net.MalformedURLException if given URL is malformed.\n@throws java.io.IOException if problems reading from given URL", "docstring_tokens": ["Create", "an", "InvMetadata", "content", "object", "from", "an", "XML", "document", "at", "a", "named", "URL", ".", "The", "content", "object", "is", "an", "ArrayList", "of", "CatalogGenConfig", "instances", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/cataloggen/config/CatGenConfigMetadataFactory.java#L59-L81", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/cataloggen/config/CatGenConfigMetadataFactory.java", "func_name": "CatGenConfigMetadataFactory.readMetadataContent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create an InvMetadata content object from an org.w3c.dom.Element.\nThe content object is an ArrayList of CatalogGenConfig instances.\n\n@param dataset - the containing dataset\n@param mdataElement - the metadata element as an org.w3c.dom.Element\n@return an object representing the metadata which is an ArrayList of CatalogGenConfig instances.", "docstring_tokens": ["Create", "an", "InvMetadata", "content", "object", "from", "an", "org", ".", "w3c", ".", "dom", ".", "Element", ".", "The", "content", "object", "is", "an", "ArrayList", "of", "CatalogGenConfig", "instances", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/cataloggen/config/CatGenConfigMetadataFactory.java#L91-L98", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/cataloggen/config/CatGenConfigMetadataFactory.java", "func_name": "CatGenConfigMetadataFactory.addMetadataContent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Serialize the InvMetadata content object to a org.w3c.dom.Element\n\n@param mdataJdomElement - add content to this org.w3c.dom.Element\n@param contentObject - the content model", "docstring_tokens": ["Serialize", "the", "InvMetadata", "content", "object", "to", "a", "org", ".", "w3c", ".", "dom", ".", "Element"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/cataloggen/config/CatGenConfigMetadataFactory.java#L111-L123", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/cataloggen/config/CatGenConfigMetadataFactory.java", "func_name": "CatGenConfigMetadataFactory.validateMetadataContent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Validate the content object.", "docstring_tokens": ["Validate", "the", "content", "object", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/cataloggen/config/CatGenConfigMetadataFactory.java#L126-L137", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/cataloggen/config/CatGenConfigMetadataFactory.java", "func_name": "CatGenConfigMetadataFactory.readCatGenConfigElement", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return a CatalogGenConfig when given a 'catalogGenConfig' JDOM element.", "docstring_tokens": ["Return", "a", "CatalogGenConfig", "when", "given", "a", "catalogGenConfig", "JDOM", "element", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/cataloggen/config/CatGenConfigMetadataFactory.java#L172-L202", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/cataloggen/config/CatGenConfigMetadataFactory.java", "func_name": "CatGenConfigMetadataFactory.readDatasetSourceElement", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return a DatasetSource when given a 'datasetSource' JDOM element.", "docstring_tokens": ["Return", "a", "DatasetSource", "when", "given", "a", "datasetSource", "JDOM", "element", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/cataloggen/config/CatGenConfigMetadataFactory.java#L205-L249", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/cataloggen/config/CatGenConfigMetadataFactory.java", "func_name": "CatGenConfigMetadataFactory.readDatasetNamerElement", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return a DatasetNamer when given a 'datasetNamer' JDOM element.", "docstring_tokens": ["Return", "a", "DatasetNamer", "when", "given", "a", "datasetNamer", "JDOM", "element", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/cataloggen/config/CatGenConfigMetadataFactory.java#L252-L269", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/cataloggen/config/CatGenConfigMetadataFactory.java", "func_name": "CatGenConfigMetadataFactory.readDatasetFilterElement", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return a DatasetFilter when given a 'datasetFilter' JDOM element.", "docstring_tokens": ["Return", "a", "DatasetFilter", "when", "given", "a", "datasetFilter", "JDOM", "element", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/cataloggen/config/CatGenConfigMetadataFactory.java#L272-L301", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/cataloggen/config/CatGenConfigMetadataFactory.java", "func_name": "CatGenConfigMetadataFactory.readResultServiceElement", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return a ResultService when given a 'resultService' JDOM element.", "docstring_tokens": ["Return", "a", "ResultService", "when", "given", "a", "resultService", "JDOM", "element", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/cataloggen/config/CatGenConfigMetadataFactory.java#L304-L316", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/cataloggen/config/CatGenConfigMetadataFactory.java", "func_name": "CatGenConfigMetadataFactory.createCatGenConfigElement", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a 'catalogGenConfig' JDOM element", "docstring_tokens": ["Create", "a", "catalogGenConfig", "JDOM", "element"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/cataloggen/config/CatGenConfigMetadataFactory.java#L322-L340", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/cataloggen/config/CatGenConfigMetadataFactory.java", "func_name": "CatGenConfigMetadataFactory.createDatasetSourceElement", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a 'DatasetSource' JDOM element", "docstring_tokens": ["Create", "a", "DatasetSource", "JDOM", "element"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/cataloggen/config/CatGenConfigMetadataFactory.java#L343-L397", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/cataloggen/config/CatGenConfigMetadataFactory.java", "func_name": "CatGenConfigMetadataFactory.createDatasetNamerElement", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a 'DatasetNamer' JDOM element", "docstring_tokens": ["Create", "a", "DatasetNamer", "JDOM", "element"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/cataloggen/config/CatGenConfigMetadataFactory.java#L400-L447", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/cataloggen/config/CatGenConfigMetadataFactory.java", "func_name": "CatGenConfigMetadataFactory.createDatasetFilterElement", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a 'DatasetFilter' JDOM element", "docstring_tokens": ["Create", "a", "DatasetFilter", "JDOM", "element"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/cataloggen/config/CatGenConfigMetadataFactory.java#L450-L491", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/cataloggen/config/CatGenConfigMetadataFactory.java", "func_name": "CatGenConfigMetadataFactory.createResultServiceElement", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a 'ResultService' JDOM element", "docstring_tokens": ["Create", "a", "ResultService", "JDOM", "element"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/cataloggen/config/CatGenConfigMetadataFactory.java#L494-L531", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/util/prefs/ui/Debug.java", "func_name": "Debug.isSet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the value of the named flag. If it doesnt exist, it will be added\nto the store and the menu with a value of \"false\".", "docstring_tokens": ["Return", "the", "value", "of", "the", "named", "flag", ".", "If", "it", "doesnt", "exist", "it", "will", "be", "added", "to", "the", "store", "and", "the", "menu", "with", "a", "value", "of", "false", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/util/prefs/ui/Debug.java#L77-L93", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/util/prefs/ui/Debug.java", "func_name": "Debug.constructMenu", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Construct cascading pull-aside menus using the values of the debug flags\nin the Preferences object.\n@param topMenu attach the menus as children of this one.", "docstring_tokens": ["Construct", "cascading", "pull", "-", "aside", "menus", "using", "the", "values", "of", "the", "debug", "flags", "in", "the", "Preferences", "object", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/util/prefs/ui/Debug.java#L143-L154", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/util/prefs/ui/Debug.java", "func_name": "Debug.addToMenu", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "recursive menu adding", "docstring_tokens": ["recursive", "menu", "adding"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/util/prefs/ui/Debug.java#L157-L175", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakParameterTable.java", "func_name": "GempakParameterTable.addParameters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add parameters from the table\n\n@param tbl table location\n@throws IOException problem reading table.", "docstring_tokens": ["Add", "parameters", "from", "the", "table"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakParameterTable.java#L72-L119", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakParameterTable.java", "func_name": "GempakParameterTable.makeParameter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make a parameter from the tokens\n\n@param words the tokens\n@return a grid parameter (may be null)", "docstring_tokens": ["Make", "a", "parameter", "from", "the", "tokens"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakParameterTable.java#L127-L171", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakParameterTable.java", "func_name": "GempakParameterTable.getParameter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the parameter for the given name\n\n@param name name of the parameter (eg:, TMPK);\n@return corresponding parameter or null if not found in table", "docstring_tokens": ["Get", "the", "parameter", "for", "the", "given", "name"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakParameterTable.java#L179-L202", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakParameterTable.java", "func_name": "GempakParameterTable.readContents", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read in the bytes from the given InputStream\nand construct and return a String.\nCloses the InputStream argument.\n\n@param is InputStream to read from\n@return contents as a String\n@throws IOException problem reading contents", "docstring_tokens": ["Read", "in", "the", "bytes", "from", "the", "given", "InputStream", "and", "construct", "and", "return", "a", "String", ".", "Closes", "the", "InputStream", "argument", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakParameterTable.java#L233-L235", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakParameterTable.java", "func_name": "GempakParameterTable.readBytes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read the bytes in the given input stream.\n\n@param is The input stream\n@return The bytes\n@throws IOException On badness", "docstring_tokens": ["Read", "the", "bytes", "in", "the", "given", "input", "stream", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakParameterTable.java#L244-L270", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/grads/GradsEnsembleDimension.java", "func_name": "GradsEnsembleDimension.replaceFileTemplate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Replace the ensemble template parameter in a filename\n\n@param filespec the file template\n@param ensIndex the ensemble index\n\n@return the filled in template", "docstring_tokens": ["Replace", "the", "ensemble", "template", "parameter", "in", "a", "filename"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/grads/GradsEnsembleDimension.java#L69-L72", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/ucar/nc2/dt/point/RecordDatasetHelper.java", "func_name": "RecordDatasetHelper.setStationInfo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set extra information used by station obs datasets.\n\n@param stnIdVName the obs variable that is used to find the station in the stnHash; may be type int or a String (char).\n@param stnDescVName optional station var containing station description", "docstring_tokens": ["Set", "extra", "information", "used", "by", "station", "obs", "datasets", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/ucar/nc2/dt/point/RecordDatasetHelper.java#L134-L140", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/util/prefs/ui/Field.java", "func_name": "Field.accept", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get current value from editComponent, save to store.\nIf different from old value, fire PropertyChangeEvent.\nReturn false if invalid format, add error message to buff if not null.", "docstring_tokens": ["Get", "current", "value", "from", "editComponent", "save", "to", "store", ".", "If", "different", "from", "old", "value", "fire", "PropertyChangeEvent", ".", "Return", "false", "if", "invalid", "format", "add", "error", "message", "to", "buff", "if", "not", "null", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/util/prefs/ui/Field.java#L224-L234", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/util/prefs/ui/Field.java", "func_name": "Field.showFormatInfo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "An integer input field with an associated CDM.UNITS label.\n\nstatic public class IntUnits extends Int implements UnitsField {\nprivate String units;\nIntUnits(String name, String label, String units, int defValue, PersistenceManager storeData) {\nsuper(name, label, defValue, storeData);\nthis.units = units;\n}\npublic String getUnits() { return units; }\n}\n\n\n\nA boolean input box that is used to enable/disable another field.\n\nstatic public class BooleanEnabler extends YesNo {\nprivate JRadioButton enabler;\nprivate Field enabledField;\n\nBooleanEnabler(String fldName, boolean initValue, Field enField, PersistenceManager storeData) {\nsuper( fldName, \"\", initValue, storeData);\nthis.enabledField = enField;\n\nenabler = new JRadioButton();\nenabler.setSelected( ((Boolean)valueObj).booleanValue());\neditComp = (JComponent) enabler;\n\nenabledField.setEnabled(initValue);\nenabler.addItemListener( new ItemListener() {\npublic void itemStateChanged(ItemEvent e) {\nboolean isOn = (e.getStateChange() == ItemEvent.SELECTED);\nenabledField.setEnabled(isOn);\n}\n});\n}\n\nprotected void setValue(Object newValue) {\nboolean bvalue = ((Boolean)newValue).booleanValue();\nenabler.setSelected(bvalue);\nenabledField.setEnabled(bvalue);\n_setValue( newValue);\n}\n\npublic boolean isSelected() { return enabler.isSelected(); }\npublic void setSelected(boolean v) { enabler.setSelected(v); }\n\nField getEnabledField() { return enabledField; }\n}", "docstring_tokens": ["An", "integer", "input", "field", "with", "an", "associated", "CDM", ".", "UNITS", "label", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/util/prefs/ui/Field.java#L1382-L1405", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/grib2/Grib2SectionBitMap.java", "func_name": "Grib2SectionBitMap.getBitmap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read the bit map array.\n\n@param raf read from here\n@return bit map as array of byte values, or null if none.\n@throws java.io.IOException on read error", "docstring_tokens": ["Read", "the", "bit", "map", "array", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/grib2/Grib2SectionBitMap.java#L82-L104", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/op/NCdumpPanel.java", "func_name": "NCdumpPanel.setNetcdfFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "allow calling from outside", "docstring_tokens": ["allow", "calling", "from", "outside"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/op/NCdumpPanel.java#L130-L143", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/ucar/nc2/dods/DODSNetcdfFile.java", "func_name": "DODSNetcdfFile.setDebugFlags", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Debugging flags. This is a way to decouple setting flags from particular implementations.\n\n@param debugFlag set of debug flags.", "docstring_tokens": ["Debugging", "flags", ".", "This", "is", "a", "way", "to", "decouple", "setting", "flags", "from", "particular", "implementations", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/ucar/nc2/dods/DODSNetcdfFile.java#L100-L113", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/ucar/nc2/dods/DODSNetcdfFile.java", "func_name": "DODSNetcdfFile.parseName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Utility to decompose a name", "docstring_tokens": ["Utility", "to", "decompose", "a", "name"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/ucar/nc2/dods/DODSNetcdfFile.java#L667-L694", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/ucar/nc2/dods/DODSNetcdfFile.java", "func_name": "DODSNetcdfFile.isGroup", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "make a structure into a group if its scalar and all parents are groups", "docstring_tokens": ["make", "a", "structure", "into", "a", "group", "if", "its", "scalar", "and", "all", "parents", "are", "groups"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/ucar/nc2/dods/DODSNetcdfFile.java#L976-L982", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/ucar/nc2/dods/DODSNetcdfFile.java", "func_name": "DODSNetcdfFile.getNetcdfStrlenDim", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks to see if this is netcdf char array.\n\n@param v must be type STRING\n@return string length dimension, else null", "docstring_tokens": ["Checks", "to", "see", "if", "this", "is", "netcdf", "char", "array", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/ucar/nc2/dods/DODSNetcdfFile.java#L1122-L1150", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/ucar/nc2/dods/DODSNetcdfFile.java", "func_name": "DODSNetcdfFile.getSharedDimension", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If an equivilent shared dimension already exists, use it, else add d to shared dimensions.\nEquivilent is same name and length.\n\n@param group from this group, if null, use rootGroup\n@param d find equivilent shared dimension to this one.\n@return equivilent shared dimension or d.", "docstring_tokens": ["If", "an", "equivilent", "shared", "dimension", "already", "exists", "use", "it", "else", "add", "d", "to", "shared", "dimensions", ".", "Equivilent", "is", "same", "name", "and", "length", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/ucar/nc2/dods/DODSNetcdfFile.java#L1160-L1171", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/ucar/nc2/dods/DODSNetcdfFile.java", "func_name": "DODSNetcdfFile.constructDimensions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "construct list of dimensions to use", "docstring_tokens": ["construct", "list", "of", "dimensions", "to", "use"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/ucar/nc2/dods/DODSNetcdfFile.java#L1175-L1211", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/ucar/nc2/dods/DODSNetcdfFile.java", "func_name": "DODSNetcdfFile.isUnsigned", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get whether this is an unsigned type.\n\n@param dtype DODS BaseType.\n@return true if unsigned", "docstring_tokens": ["Get", "whether", "this", "is", "an", "unsigned", "type", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/ucar/nc2/dods/DODSNetcdfFile.java#L1405-L1410", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/ucar/nc2/dods/DODSNetcdfFile.java", "func_name": "DODSNetcdfFile.readDataDDSfromServer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This does the actual connection to the opendap server and reading of the data.\nAll data calls go through here so we can add debugging.\n\n@param CE constraint expression; use empty string if none\n@return DataDDS\n@throws java.io.IOException on io error\n@throws opendap.dap.parsers.ParseException\nif error parsing return\n@throws opendap.dap.DAP2Exception if you have otherwise been bad", "docstring_tokens": ["This", "does", "the", "actual", "connection", "to", "the", "opendap", "server", "and", "reading", "of", "the", "data", ".", "All", "data", "calls", "go", "through", "here", "so", "we", "can", "add", "debugging", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/ucar/nc2/dods/DODSNetcdfFile.java#L1425-L1447", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/util/Resource.java", "func_name": "Resource.getIcon", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a gif file, make it into an ImageIcon.\n@param fullIconName full path name of gif file (use forward slashes!)\n@param errMsg print err message on failure\n@return ImageIcon or null on failure", "docstring_tokens": ["Get", "a", "gif", "file", "make", "it", "into", "an", "ImageIcon", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/util/Resource.java#L36-L52", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/util/Resource.java", "func_name": "Resource.getImage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a gif file, make it into an Image.\n@param fullImageName full path name of gif file (use forward slashes!)\n@return Image or null on failure", "docstring_tokens": ["Get", "a", "gif", "file", "make", "it", "into", "an", "Image", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/util/Resource.java#L58-L65", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/util/Resource.java", "func_name": "Resource.makeCursor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a gif file, make it into a Cursor.\n@param name full path name of gif file (use forward slashes!)\n@return Cursor or null on failure", "docstring_tokens": ["Get", "a", "gif", "file", "make", "it", "into", "a", "Cursor", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/util/Resource.java#L79-L102", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/IospHelper.java", "func_name": "IospHelper.readDataFill", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read data subset from RandomAccessFile, create primitive array of size Layout.getTotalNelems.\nReading is controlled by the Layout object.\n\n@param raf read from here.\n@param index handles skipping around in the file.\n@param dataType dataType of the variable\n@param fillValue must be Number if dataType.isNumeric(), or String for STRING, byte[] for Structure, or null for none\n@param byteOrder if equal to RandomAccessFile.ORDER_XXXX, set the byte order just before reading\n@return primitive array with data read in\n@throws java.io.IOException on read error", "docstring_tokens": ["Read", "data", "subset", "from", "RandomAccessFile", "create", "primitive", "array", "of", "size", "Layout", ".", "getTotalNelems", ".", "Reading", "is", "controlled", "by", "the", "Layout", "object", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/IospHelper.java#L47-L52", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/IospHelper.java", "func_name": "IospHelper.readDataFill", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read data subset from PositioningDataInputStream, create primitive array of size Layout.getTotalNelems.\nReading is controlled by the Layout object.\n\n@param is read from here.\n@param index handles skipping around in the file.\n@param dataType dataType of the variable\n@param fillValue must be Number if dataType.isNumeric(), or String for STRING, byte[] for Structure, or null for none\n@return primitive array with data read in\n@throws java.io.IOException on read error", "docstring_tokens": ["Read", "data", "subset", "from", "PositioningDataInputStream", "create", "primitive", "array", "of", "size", "Layout", ".", "getTotalNelems", ".", "Reading", "is", "controlled", "by", "the", "Layout", "object", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/IospHelper.java#L164-L168", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/IospHelper.java", "func_name": "IospHelper.readDataFill", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read data subset from ByteBuffer, create primitive array of size Layout.getTotalNelems.\nReading is controlled by the Layout object.\n\n@param layout handles skipping around in the file, provide ByteBuffer to read from\n@param dataType dataType of the variable\n@param fillValue must be Number if dataType.isNumeric(), or String for STRING, byte[] for Structure, or null for none\n@return primitive array with data read in\n@throws java.io.IOException on read error", "docstring_tokens": ["Read", "data", "subset", "from", "ByteBuffer", "create", "primitive", "array", "of", "size", "Layout", ".", "getTotalNelems", ".", "Reading", "is", "controlled", "by", "the", "Layout", "object", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/IospHelper.java#L258-L264", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/IospHelper.java", "func_name": "IospHelper.makePrimitiveArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create 1D primitive array of the given size and type\n\n@param size the size of the array to create\n@param dataType dataType of the variable\n@return primitive array with data read in", "docstring_tokens": ["Create", "1D", "primitive", "array", "of", "the", "given", "size", "and", "type"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/IospHelper.java#L597-L623", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/IospHelper.java", "func_name": "IospHelper.convertByteToCharUTF", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "convert byte array to char array, assuming UTF-8 encoding", "docstring_tokens": ["convert", "byte", "array", "to", "char", "array", "assuming", "UTF", "-", "8", "encoding"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/IospHelper.java#L703-L707", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/IospHelper.java", "func_name": "IospHelper.convertCharToByteUTF", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "convert char array to byte array, assuming UTF-8 encoding", "docstring_tokens": ["convert", "char", "array", "to", "byte", "array", "assuming", "UTF", "-", "8", "encoding"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/IospHelper.java#L710-L714", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/IospHelper.java", "func_name": "IospHelper.convertByteToChar", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "convert byte array to char array", "docstring_tokens": ["convert", "byte", "array", "to", "char", "array"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/IospHelper.java#L718-L737", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/IospHelper.java", "func_name": "IospHelper.readSection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "section reading for member data", "docstring_tokens": ["section", "reading", "for", "member", "data"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/IospHelper.java#L788-L808", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/IospHelper.java", "func_name": "IospHelper.sectionArrayStructure", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "LOOK could be used in createView ??", "docstring_tokens": ["LOOK", "could", "be", "used", "in", "createView", "??"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/IospHelper.java#L848-L861", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4cdm/src/main/java/dap4/cdm/nc2/CDMArrayStructure.java", "func_name": "CDMArrayStructure.getScalarString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get member databuffer of type String or char.\n\n@param recnum get databuffer from the recnum-th StructureData of the ArrayStructure. Must be less than getSize();\n@param m get databuffer from this StructureMembers.Member. Must be of type String or char.\n@return scalar String value", "docstring_tokens": ["Get", "member", "databuffer", "of", "type", "String", "or", "char", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4cdm/src/main/java/dap4/cdm/nc2/CDMArrayStructure.java#L272-L276", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4cdm/src/main/java/dap4/cdm/nc2/CDMArrayStructure.java", "func_name": "CDMArrayStructure.getScalarStructure", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Non-atomic cases", "docstring_tokens": ["Non", "-", "atomic", "cases"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4cdm/src/main/java/dap4/cdm/nc2/CDMArrayStructure.java#L420-L430", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4cdm/src/main/java/dap4/cdm/nc2/CDMArrayStructure.java", "func_name": "CDMArrayStructure.getArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Key interface method coming in from StructureDataA.\n\n@param recno The instance # of the array of Structure instances\n@param m The member of interest in the Structure instance\n@return The ucar.ma2.Array instance corresponding to the instance.\n

\nHidden: friend of StructureDataA", "docstring_tokens": ["Key", "interface", "method", "coming", "in", "from", "StructureDataA", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4cdm/src/main/java/dap4/cdm/nc2/CDMArrayStructure.java#L467-L472", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4cdm/src/main/java/dap4/cdm/nc2/CDMArrayStructure.java", "func_name": "CDMArrayStructure.computemembers", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compute the StructureMembers object\nfrom a DapStructure. May need to recurse\nif a field is itself a Structure\n\n@param var The DapVariable to use to construct\na StructureMembers object.\n@return The StructureMembers object for the given DapStructure", "docstring_tokens": ["Compute", "the", "StructureMembers", "object", "from", "a", "DapStructure", ".", "May", "need", "to", "recurse", "if", "a", "field", "is", "itself", "a", "Structure"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4cdm/src/main/java/dap4/cdm/nc2/CDMArrayStructure.java#L495-L519", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/grid/GridEnsembleCoord.java", "func_name": "GridEnsembleCoord.addDimensionsToNetcdfFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add this as a dimension to a netCDF file\n\n@param ncfile the netCDF file\n@param g the group in the file", "docstring_tokens": ["Add", "this", "as", "a", "dimension", "to", "a", "netCDF", "file"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/grid/GridEnsembleCoord.java#L96-L98", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/crawlabledataset/CrawlableDatasetFactory.java", "func_name": "CrawlableDatasetFactory.createCrawlableDataset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Construct a CrawlableDataset for the given path using the\nCrawlableDataset implementation indicated by the given class name.\n\nThe class given by className is used to instantiate the requested\nCrawlableDataset and so must be an implementation of\nthredds.crawlabledataset.CrawlableDataset. The given class must also\nsupply a public constructor with a single String argument. The String\nargument is the path for the CrawlableDataset being constructed.\n\nIf className is null, thredds.crawlabledataset.CrawlableDatasetFile will\nbe used.\n\nIf the path is an alias containing wildcard characters (\"*\"),\nthe class thredds.crawlabledataset.CrawlableDatasetAlias will be used to\nexpand the alias into a collection of CrawlableDatasets of the type given\nby className.\n\n@param path the path of the CrawlableDataset.\n@param className the class name of the CrawlableDataset implementation to instantiate.\n@param configObj\n\n@return a CrawlableDataset for the given path and of the type given by the class name.\n\n@throws IOException if a CrawlableDataset cannot be created due to IO problems.\n@throws ClassNotFoundException if the given CrawlableDataset implementation was not found.\n@throws NoSuchMethodException if the given CrawlableDataset implementation does not have a constructor with a single String parameter which is required.\n@throws IllegalAccessException if the constructor is inaccessible due to Java language access control.\n@throws InvocationTargetException if the constructor throws an exception.\n@throws InstantiationException if the given CrawlableDataset implementation is an abstract class.\n\n@throws NullPointerException if the given path is null.\n@throws IllegalArgumentException if the given class name is not an implementation of CrawlableDataset.", "docstring_tokens": ["Construct", "a", "CrawlableDataset", "for", "the", "given", "path", "using", "the", "CrawlableDataset", "implementation", "indicated", "by", "the", "given", "class", "name", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/crawlabledataset/CrawlableDatasetFactory.java#L58-L98", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/crawlabledataset/CrawlableDatasetFactory.java", "func_name": "CrawlableDatasetFactory.normalizePath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Normalize the given path so that it can be used in the creation of a CrawlableDataset.\nThis method can be used on absolute or relative paths.\n\nNormal uses slashes (\"/\") as path seperator, not backslashes (\"\\\"), and does\nnot use trailing slashes. This function allows users to specify Windows\npathnames and UNC pathnames in there normal manner.\n\n@param path the path to be normalized.\n@return the normalized path.\n@throws NullPointerException if path is null.", "docstring_tokens": ["Normalize", "the", "given", "path", "so", "that", "it", "can", "be", "used", "in", "the", "creation", "of", "a", "CrawlableDataset", ".", "This", "method", "can", "be", "used", "on", "absolute", "or", "relative", "paths", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/crawlabledataset/CrawlableDatasetFactory.java#L112-L125", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ncml/Aggregation.java", "func_name": "Aggregation.addExplicitDataset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a nested dataset, specified by an explicit netcdf element.\nenhance is handled by the reader, so its always false here.\n\n@param cacheName a unique name to use for caching\n@param location attribute \"location\" on the netcdf element\n@param id attribute \"id\" on the netcdf element\n@param ncoordS attribute \"ncoords\" on the netcdf element\n@param coordValueS attribute \"coordValue\" on the netcdf element\n@param sectionSpec attribute \"section\" on the netcdf element\n@param reader factory for reading this netcdf dataset", "docstring_tokens": ["Add", "a", "nested", "dataset", "specified", "by", "an", "explicit", "netcdf", "element", ".", "enhance", "is", "handled", "by", "the", "reader", "so", "its", "always", "false", "here", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ncml/Aggregation.java#L179-L184", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ncml/Aggregation.java", "func_name": "Aggregation.addDatasetScan", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a dataset scan\n\n@param crawlableDatasetElement defines a CrawlableDataset, or null\n@param dirName scan this directory\n@param suffix filter on this suffix (may be null)\n@param regexpPatternString include if full name matches this regular expression (may be null)\n@param dateFormatMark create dates from the filename (may be null)\n@param enhanceMode how should files be enhanced\n@param subdirs equals \"false\" if should not descend into subdirectories\n@param olderThan files must be older than this time (now - lastModified >= olderThan); must be a time unit, may ne bull", "docstring_tokens": ["Add", "a", "dataset", "scan"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ncml/Aggregation.java#L202-L214", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ncml/Aggregation.java", "func_name": "Aggregation.finish", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "all elements are processed, finish construction", "docstring_tokens": ["all", "elements", "are", "processed", "finish", "construction"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ncml/Aggregation.java#L387-L395", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ncml/Aggregation.java", "func_name": "Aggregation.makeDatasets", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make the list of Datasets, from explicit and scans.\n\n@param cancelTask user can cancel\n@throws IOException on i/o error", "docstring_tokens": ["Make", "the", "list", "of", "Datasets", "from", "explicit", "and", "scans", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ncml/Aggregation.java#L407-L487", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ncml/Aggregation.java", "func_name": "Aggregation.getTypicalDataset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Open one of the nested datasets as a template for the aggregation dataset.\n\n@return a typical Dataset\n@throws IOException if there are no datasets", "docstring_tokens": ["Open", "one", "of", "the", "nested", "datasets", "as", "a", "template", "for", "the", "aggregation", "dataset", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ncml/Aggregation.java#L495-L514", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ncml/Aggregation.java", "func_name": "Aggregation.makeDataset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Dataset factory, so subclasses can override\n\n@param cacheName a unique name to use for caching\n@param location attribute \"location\" on the netcdf element\n@param id attribute \"id\" on the netcdf element\n@param ncoordS attribute \"ncoords\" on the netcdf element\n@param coordValueS attribute \"coordValue\" on the netcdf element\n@param sectionSpec attribute \"sectionSpec\" on the netcdf element\n@param enhance open dataset in enhance mode NOT USED\n@param reader factory for reading this netcdf dataset\n@return a Aggregation.Dataset", "docstring_tokens": ["Dataset", "factory", "so", "subclasses", "can", "override"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ncml/Aggregation.java#L558-L561", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tdcommon/src/main/java/thredds/server/catalog/tracker/DatasetTrackerInMem.java", "func_name": "DatasetTrackerInMem.putResourceControl", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This tracks Dataset elements that have resource control attributes\n\n@param ds the dataset", "docstring_tokens": ["This", "tracks", "Dataset", "elements", "that", "have", "resource", "control", "attributes"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tdcommon/src/main/java/thredds/server/catalog/tracker/DatasetTrackerInMem.java#L68-L95", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft2/simpgeometry/CFLine.java", "func_name": "CFLine.addPoint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a point to the end of the line.", "docstring_tokens": ["Add", "a", "point", "to", "the", "end", "of", "the", "line", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft2/simpgeometry/CFLine.java#L47-L56", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft2/simpgeometry/CFLine.java", "func_name": "CFLine.getBBUpper", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the upper bounding box coordinate on the line.\n@return double array = (x, y)", "docstring_tokens": ["Gets", "the", "upper", "bounding", "box", "coordinate", "on", "the", "line", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft2/simpgeometry/CFLine.java#L318-L341", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft2/simpgeometry/CFLine.java", "func_name": "CFLine.getBBLower", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the lower bounding box coordinate on the line.\n@return double array = (x, y)", "docstring_tokens": ["Gets", "the", "lower", "bounding", "box", "coordinate", "on", "the", "line", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft2/simpgeometry/CFLine.java#L347-L370", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/cataloggen/config/DatasetFilter.java", "func_name": "DatasetFilter.validate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Validate this DatasetFilter object. Return true if valid, false if invalid.\n\n@param out StringBuffer with validation messages.\n@return boolean true if valid, false if invalid", "docstring_tokens": ["Validate", "this", "DatasetFilter", "object", ".", "Return", "true", "if", "valid", "false", "if", "invalid", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/cataloggen/config/DatasetFilter.java#L192-L229", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/cataloggen/config/DatasetFilter.java", "func_name": "DatasetFilter.match", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Test whether the given dataset matches the filter criteria.\n\n@param dataset - the dataset to be tested.\n@return true if and only if the dataset matches the filter criteria.", "docstring_tokens": ["Test", "whether", "the", "given", "dataset", "matches", "the", "filter", "criteria", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/cataloggen/config/DatasetFilter.java#L286-L336", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft/point/SortingStationPointFeatureCache.java", "func_name": "SortingStationPointFeatureCache.addAll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "fdPoint remains open.", "docstring_tokens": ["fdPoint", "remains", "open", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft/point/SortingStationPointFeatureCache.java#L71-L79", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/servers/CEEvaluator.java", "func_name": "CEEvaluator.parseConstraint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convenience wrapper for parseConstraint.\n\n@param rs\n@throws ParseException\n@throws opendap.dap.DAP2Exception\n@throws NoSuchVariableException\n@throws NoSuchFunctionException\n@throws InvalidOperatorException\n@throws InvalidParameterException\n@throws SBHException\n@throws WrongTypeException", "docstring_tokens": ["Convenience", "wrapper", "for", "parseConstraint", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/servers/CEEvaluator.java#L227-L233", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/servers/CEEvaluator.java", "func_name": "CEEvaluator.evalClauses", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Evaluate all of the Clauses in the Clause vector.\n\n@param specialO That special Object that can be passed down\nthrough the DDS.send() method.\n@return True if all the Clauses evaluate to true, false otherwise.", "docstring_tokens": ["Evaluate", "all", "of", "the", "Clauses", "in", "the", "Clause", "vector", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/servers/CEEvaluator.java#L330-L350", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/servers/CEEvaluator.java", "func_name": "CEEvaluator.printConstraint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Print all of the Clauses in the Clause vector.", "docstring_tokens": ["Print", "all", "of", "the", "Clauses", "in", "the", "Clause", "vector", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/servers/CEEvaluator.java#L414-L425", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/hdf4/HdfEos.java", "func_name": "HdfEos.amendFromODL", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Amend the given NetcdfFile with metadata from HDF-EOS structMetadata.\nAll Variables named StructMetadata.n, where n= 1, 2, 3 ... are read in and their contents concatenated\nto make the structMetadata String.\n\n@param ncfile Amend this file\n@param eosGroup the group containing variables named StructMetadata.*\n@return true if HDF-EOS info was found\n@throws IOException on read error", "docstring_tokens": ["Amend", "the", "given", "NetcdfFile", "with", "metadata", "from", "HDF", "-", "EOS", "structMetadata", ".", "All", "Variables", "named", "StructMetadata", ".", "n", "where", "n", "=", "1", "2", "3", "...", "are", "read", "in", "and", "their", "contents", "concatenated", "to", "make", "the", "structMetadata", "String", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/hdf4/HdfEos.java#L80-L88", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/hdf4/HdfEos.java", "func_name": "HdfEos.setSharedDimensions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "convert to shared dimensions", "docstring_tokens": ["convert", "to", "shared", "dimensions"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/hdf4/HdfEos.java#L595-L645", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/hdf4/HdfEos.java", "func_name": "HdfEos.checkUnknownDims", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "look if the wanted dimension is in the unknownDims list.", "docstring_tokens": ["look", "if", "the", "wanted", "dimension", "is", "in", "the", "unknownDims", "list", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/hdf4/HdfEos.java#L648-L664", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/hdf4/HdfEos.java", "func_name": "HdfEos.findGroupNested", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "look for a group with the given name. recurse into subgroups if needed. breadth first", "docstring_tokens": ["look", "for", "a", "group", "with", "the", "given", "name", ".", "recurse", "into", "subgroups", "if", "needed", ".", "breadth", "first"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/hdf4/HdfEos.java#L667-L677", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/thredds/client/catalog/Documentation.java", "func_name": "Documentation.readXlinkContent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get inline content as a string, else null if there is none\n\n@return inline content as a string, else null", "docstring_tokens": ["Get", "inline", "content", "as", "a", "string", "else", "null", "if", "there", "is", "none"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/thredds/client/catalog/Documentation.java#L94-L111", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/InvAccess.java", "func_name": "InvAccess.getStandardUri", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Construct the standard THREDDS access URI for this dataset access method,\nresolve if the URI is relative.\n\n@return the standard fully resolved THREDDS access URI for this dataset access method, or null if error.", "docstring_tokens": ["Construct", "the", "standard", "THREDDS", "access", "URI", "for", "this", "dataset", "access", "method", "resolve", "if", "the", "URI", "is", "relative", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/InvAccess.java#L96-L108", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/geoloc/ProjectionParamPanel.java", "func_name": "ProjectionParamPanel.setProjection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "construct input fields based on Projection Class", "docstring_tokens": ["construct", "input", "fields", "based", "on", "Projection", "Class"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/geoloc/ProjectionParamPanel.java#L23-L40", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/util/prefs/ui/LayoutM.java", "func_name": "LayoutM.addLayoutComponent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds the specified component to the layout, using the specified\nconstraint object.\n@param comp the component to be added\n@param constraint where/how the component is added to the layout.", "docstring_tokens": ["Adds", "the", "specified", "component", "to", "the", "layout", "using", "the", "specified", "constraint", "object", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/util/prefs/ui/LayoutM.java#L35-L41", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/util/prefs/ui/LayoutM.java", "func_name": "LayoutM.invalidateLayout", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Invalidates the layout, indicating that if the layout manager\nhas cached information it should be discarded.", "docstring_tokens": ["Invalidates", "the", "layout", "indicating", "that", "if", "the", "layout", "manager", "has", "cached", "information", "it", "should", "be", "discarded", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/util/prefs/ui/LayoutM.java#L83-L89", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/util/prefs/ui/LayoutM.java", "func_name": "LayoutM.removeLayoutComponent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes the specified component from the layout.\n@param comp the component to be removed", "docstring_tokens": ["Removes", "the", "specified", "component", "from", "the", "layout", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/util/prefs/ui/LayoutM.java#L104-L108", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/util/prefs/ui/LayoutM.java", "func_name": "LayoutM.minimumLayoutSize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculates the minimum size dimensions for the specified\ncontainer, given the components it contains.\n@param parent the component to be laid out\n@see #preferredLayoutSize", "docstring_tokens": ["Calculates", "the", "minimum", "size", "dimensions", "for", "the", "specified", "container", "given", "the", "components", "it", "contains", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/util/prefs/ui/LayoutM.java#L129-L133", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/util/prefs/ui/LayoutM.java", "func_name": "LayoutM.layoutContainer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Lays out the specified container.\n@param target the container to be laid out", "docstring_tokens": ["Lays", "out", "the", "specified", "container", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/util/prefs/ui/LayoutM.java#L139-L162", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dt/radial/RadialCoordSys.java", "func_name": "RadialCoordSys.isRadialCoordSys", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determine if this CoordinateSystem can be made into a RadialCoordSys.\n@param parseInfo put debug information into this Formatter; may be null.\n@param cs the CoordinateSystem to test\n@return true if it can be made into a RadialCoordSys.", "docstring_tokens": ["Determine", "if", "this", "CoordinateSystem", "can", "be", "made", "into", "a", "RadialCoordSys", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dt/radial/RadialCoordSys.java#L36-L38", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dt/radial/RadialCoordSys.java", "func_name": "RadialCoordSys.getMaximumRadial", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the maximum radial distance, in km.", "docstring_tokens": ["Get", "the", "maximum", "radial", "distance", "in", "km", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dt/radial/RadialCoordSys.java#L149-L166", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/widget/URLDumpPane.java", "func_name": "URLDumpPane.openURL", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Uses java.net", "docstring_tokens": ["Uses", "java", ".", "net"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/widget/URLDumpPane.java#L380-L440", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/geoloc/projection/sat/GEOSTransform.java", "func_name": "GEOSTransform.earthToSat", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Transform geographic Earth coordinates to satellite view angle coordinate system\nalso known as the \"intermediate\" coordinate system in CGMS Normalized Geostationary Projection.\n\n@param geographic_lon longitude, units: degrees\n@param geographic_lat latitude, units: degrees\n@return (lamda, theta) units: radian. This is the (x,y) or (East-West, North_South) view angle.", "docstring_tokens": ["Transform", "geographic", "Earth", "coordinates", "to", "satellite", "view", "angle", "coordinate", "system", "also", "known", "as", "the", "intermediate", "coordinate", "system", "in", "CGMS", "Normalized", "Geostationary", "Projection", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/geoloc/projection/sat/GEOSTransform.java#L160-L189", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/geoloc/projection/sat/GEOSTransform.java", "func_name": "GEOSTransform.satToEarth", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Transform satellite view angle coordinates, known as the \"intermeidate\" coordinates in the\nCGMS Normalized Geostationary Projection, to geographic Earth coordinates.\n\n@param x is lamda (East-West) angle, units: radians\n@param y is theta (Norht-South) angle, units: radians\n@return (Longitude, Latitude), units degrees", "docstring_tokens": ["Transform", "satellite", "view", "angle", "coordinates", "known", "as", "the", "intermeidate", "coordinates", "in", "the", "CGMS", "Normalized", "Geostationary", "Projection", "to", "geographic", "Earth", "coordinates", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/geoloc/projection/sat/GEOSTransform.java#L199-L235", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/geoloc/projection/sat/GEOSTransform.java", "func_name": "GEOSTransform.GOES_to_GEOS", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Transform view angle coordinates in the GOES scan geometry frame to view angle coordinates\nin the GEOS scan geometry frame.", "docstring_tokens": ["Transform", "view", "angle", "coordinates", "in", "the", "GOES", "scan", "geometry", "frame", "to", "view", "angle", "coordinates", "in", "the", "GEOS", "scan", "geometry", "frame", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/geoloc/projection/sat/GEOSTransform.java#L241-L246", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/geoloc/projection/sat/GEOSTransform.java", "func_name": "GEOSTransform.scanGeomToSweepAngleAxis", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find sweep_angle_axis associated with a scan geometry\n\n@param scanGeometry scanning geometry (GOES or GEOS)\n@return sweep_angle_axis (x or y)", "docstring_tokens": ["Find", "sweep_angle_axis", "associated", "with", "a", "scan", "geometry"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/geoloc/projection/sat/GEOSTransform.java#L348-L356", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/geoloc/projection/sat/GEOSTransform.java", "func_name": "GEOSTransform.sweepAngleAxisToScanGeom", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find scan geometry associated with sweep_angle_axis\n\n@param sweepAngleAxis sweep_angle_axis (x or y)\n@return scan_geom scanning geometry (GOES or GEOS)", "docstring_tokens": ["Find", "scan", "geometry", "associated", "with", "sweep_angle_axis"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/geoloc/projection/sat/GEOSTransform.java#L364-L372", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/coord/CoordinateTime2DUnionizer.java", "func_name": "CoordinateTime2DUnionizer.setRuntimeCoords", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "set the list of runtime coordinates; add any that are not already present, and make an empty CoordinateTimeAbstract for it", "docstring_tokens": ["set", "the", "list", "of", "runtime", "coordinates", ";", "add", "any", "that", "are", "not", "already", "present", "and", "make", "an", "empty", "CoordinateTimeAbstract", "for", "it"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/coord/CoordinateTime2DUnionizer.java#L65-L76", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/ucar/nc2/dt/point/CFPointObWriter.java", "func_name": "CFPointObWriter.writePointObsDataset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "write data from a ucar.nc2.dt.PointObsDataset into CF point format.\n\n@param pobsDataset rewrite data from here\n@param fileOut write to tehis netcdf-3 file\n@throws IOException on read/write error", "docstring_tokens": ["write", "data", "from", "a", "ucar", ".", "nc2", ".", "dt", ".", "PointObsDataset", "into", "CF", "point", "format", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/ucar/nc2/dt/point/CFPointObWriter.java#L201-L260", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/ucar/nc2/dt/point/CFPointObWriter.java", "func_name": "CFPointObWriter.rewritePointFeatureDataset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Open a ucar.nc2.ft.PointFeatureCollection, write out in CF point format.\n\n@param fileIn open through TypedDatasetFactory.open(FeatureType.POINT, ..)\n@param fileOut write to this netcdf-3 file\n@param inMemory if true, read file into memory for efficiency\n@return true on success\n@throws IOException on read/write error", "docstring_tokens": ["Open", "a", "ucar", ".", "nc2", ".", "ft", ".", "PointFeatureCollection", "write", "out", "in", "CF", "point", "format", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/ucar/nc2/dt/point/CFPointObWriter.java#L271-L294", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/StructureData.java", "func_name": "StructureData.getArraySequence", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get ArraySequence for a member of type Sequence.\n@param memberName name of member Variable. Must be of type Sequence.\n@return ArrayStructure", "docstring_tokens": ["Get", "ArraySequence", "for", "a", "member", "of", "type", "Sequence", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/StructureData.java#L632-L636", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/InvDataset.java", "func_name": "InvDataset.getFullName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the full, heirarchical name of the dataset, which has all parent collection names.\n\n@return full, heirarchical name of the dataset, which has all parent collection names.", "docstring_tokens": ["Get", "the", "full", "heirarchical", "name", "of", "the", "dataset", "which", "has", "all", "parent", "collection", "names", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/InvDataset.java#L80-L86", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/InvDataset.java", "func_name": "InvDataset.getUniqueID", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If this dataset has an authority and an ID, then the concatenation of them is the\nglobally unique ID.\n\n@return globally unique ID, or null if missing authority or ID.", "docstring_tokens": ["If", "this", "dataset", "has", "an", "authority", "and", "an", "ID", "then", "the", "concatenation", "of", "them", "is", "the", "globally", "unique", "ID", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/InvDataset.java#L119-L127", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/InvDataset.java", "func_name": "InvDataset.getAccess", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get access element of the specified service type for this dataset.\nIf more than one, get the first one.\n\n@param type find this ServiceType\n@return InvAccess or null if there is not one.", "docstring_tokens": ["Get", "access", "element", "of", "the", "specified", "service", "type", "for", "this", "dataset", ".", "If", "more", "than", "one", "get", "the", "first", "one", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/InvDataset.java#L182-L189", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/InvDataset.java", "func_name": "InvDataset.findDatasetByName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find an immediate child dataset by its name.\n\n@param name match on this name\n@return dataset if found or null if not exist.", "docstring_tokens": ["Find", "an", "immediate", "child", "dataset", "by", "its", "name", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/InvDataset.java#L240-L246", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/InvDataset.java", "func_name": "InvDataset.getParentCatalog", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get containing catalog.\n\n@return containing catalog.", "docstring_tokens": ["Get", "containing", "catalog", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/InvDataset.java#L262-L265", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/InvDataset.java", "func_name": "InvDataset.getMetadata", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the metadata elements of the specified type.\n\n@param want find this metadata type\n@return List of InvMetadata objects. List may be empty but not null.", "docstring_tokens": ["Get", "the", "metadata", "elements", "of", "the", "specified", "type", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/InvDataset.java#L332-L340", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/InvDataset.java", "func_name": "InvDataset.findService", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find the named service declared in this dataset or one of its parents.\n\n@param name match this name\n@return first service that matches the given name, or null if none found.", "docstring_tokens": ["Find", "the", "named", "service", "declared", "in", "this", "dataset", "or", "one", "of", "its", "parents", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/InvDataset.java#L348-L361", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/InvDataset.java", "func_name": "InvDataset.getVariables", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "get Variables from the specified vocabulary\n\n@param vocab look for this vocabulary\n@return Variables from the specified vocabulary, may be null", "docstring_tokens": ["get", "Variables", "from", "the", "specified", "vocabulary"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/InvDataset.java#L501-L510", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/util/CatalogUtils.java", "func_name": "CatalogUtils.findAllCatRefsInDatasetTree", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find all catalogRef elements in the dataset tree formed by the given dataset list.\n\n@param datasets the list of datasets from which to find all the catalogRefs\n@param log StringBuilder into which any messages will be written\n@param onlyRelativeUrls only include catalogRefs with relative HREF URLs if true, otherwise include all catalogRef datasets\n@return the list of catalogRef datasets", "docstring_tokens": ["Find", "all", "catalogRef", "elements", "in", "the", "dataset", "tree", "formed", "by", "the", "given", "dataset", "list", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/util/CatalogUtils.java#L60-L98", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/util/CatalogUtils.java", "func_name": "CatalogUtils.escapePathForURL", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Escape the characters necessary for a path to be valid for a URL", "docstring_tokens": ["Escape", "the", "characters", "necessary", "for", "a", "path", "to", "be", "valid", "for", "a", "URL"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/util/CatalogUtils.java#L101-L107", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/geoloc/vertical/WRFEta.java", "func_name": "WRFEta.addStagger", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add 1 to the size of the array for the given dimension.\nUse linear average and interpolation to fill in the values.\n\n@param array use this array\n@param dimIndex use this dimension\n@return new array with stagger", "docstring_tokens": ["Add", "1", "to", "the", "size", "of", "the", "array", "for", "the", "given", "dimension", ".", "Use", "linear", "average", "and", "interpolation", "to", "fill", "in", "the", "values", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/geoloc/vertical/WRFEta.java#L189-L256", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/geoloc/vertical/WRFEta.java", "func_name": "WRFEta.extrapinterpolate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add one element to the array by linear interpolation\nand extrapolation at the ends.\n\n@param array input array\n@return extrapolated/interpolated array", "docstring_tokens": ["Add", "one", "element", "to", "the", "array", "by", "linear", "interpolation", "and", "extrapolation", "at", "the", "ends", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/geoloc/vertical/WRFEta.java#L265-L280", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/geoloc/projection/AlbersEqualArea.java", "func_name": "AlbersEqualArea.computeRho", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compute the RHO parameter\n\n@param lat latitude\n@return the rho parameter", "docstring_tokens": ["Compute", "the", "RHO", "parameter"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/geoloc/projection/AlbersEqualArea.java#L161-L163", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakStationFileIOSP.java", "func_name": "GempakStationFileIOSP.getDetailInfo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the detail information\n\n@return the detail info", "docstring_tokens": ["Get", "the", "detail", "information"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakStationFileIOSP.java#L154-L159", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakStationFileIOSP.java", "func_name": "GempakStationFileIOSP.makeStructure", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make a structure for the part\n\n@param partName partname\n@param dimensions dimensions for the structure\n@param includeMissing true to include the missing variable\n@return a Structure", "docstring_tokens": ["Make", "a", "structure", "for", "the", "part"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakStationFileIOSP.java#L215-L229", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakStationFileIOSP.java", "func_name": "GempakStationFileIOSP.makeMissingVariable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make the missing variable\n\n@return the missing variable", "docstring_tokens": ["Make", "the", "missing", "variable"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakStationFileIOSP.java#L236-L243", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakStationFileIOSP.java", "func_name": "GempakStationFileIOSP.makeParamVariable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make a variable from a GempakParmaeter\n\n@param param GempakParameter\n@param dims Variable dimensions\n@return the Variable", "docstring_tokens": ["Make", "a", "variable", "from", "a", "GempakParmaeter"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakStationFileIOSP.java#L252-L263", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakStationFileIOSP.java", "func_name": "GempakStationFileIOSP.addGlobalAttributes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add on global attributes for all types", "docstring_tokens": ["Add", "on", "global", "attributes", "for", "all", "types"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakStationFileIOSP.java#L268-L275", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakStationFileIOSP.java", "func_name": "GempakStationFileIOSP.getStnVarSize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the size of a particular station variable\n\n@param name name of the variable (key)\n@return size or -1", "docstring_tokens": ["Get", "the", "size", "of", "a", "particular", "station", "variable"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakStationFileIOSP.java#L301-L310", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakStationFileIOSP.java", "func_name": "GempakStationFileIOSP.get1DArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a 1DArray for the type and length\n\n@param type DataType\n@param len length\n@return the array", "docstring_tokens": ["Get", "a", "1DArray", "for", "the", "type", "and", "length"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakStationFileIOSP.java#L401-L411", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/servers/parsers/CeParser.java", "func_name": "CeParser.yy_lr_goto_state_", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compute post-reduction state.\n@param yystate the current state\n@param yysym the nonterminal to push on the stack", "docstring_tokens": ["Compute", "post", "-", "reduction", "state", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/servers/parsers/CeParser.java#L307-L314", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/servers/parsers/CeParser.java", "func_name": "CeParser.yysyntax_error", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generate an error message.", "docstring_tokens": ["Generate", "an", "error", "message", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/servers/parsers/CeParser.java#L1019-L1089", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/servers/parsers/CeParser.java", "func_name": "CeParser.yy_reduce_print", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Report on the debug stream that the rule yyrule is going to be reduced.", "docstring_tokens": ["Report", "on", "the", "debug", "stream", "that", "the", "rule", "yyrule", "is", "going", "to", "be", "reduced", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/servers/parsers/CeParser.java#L1313-L1329", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4lib/src/main/java/dap4/dap4lib/ChunkInputStream.java", "func_name": "ChunkInputStream.readDMR", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read the DMR, trimmed.\n\n@return the DMR as a Java String", "docstring_tokens": ["Read", "the", "DMR", "trimmed", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4lib/src/main/java/dap4/dap4lib/ChunkInputStream.java#L112-L173", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4lib/src/main/java/dap4/dap4lib/ChunkInputStream.java", "func_name": "ChunkInputStream.readError", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read an error chunk\n\n@return the error document as a string", "docstring_tokens": ["Read", "an", "error", "chunk"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4lib/src/main/java/dap4/dap4lib/ChunkInputStream.java#L194-L209", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4lib/src/main/java/dap4/dap4lib/ChunkInputStream.java", "func_name": "ChunkInputStream.read", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads up to len databuffer of databuffer from the input stream into an\narray of databuffer. An attempt is made to read as many as len\ndatabuffer, but a smaller number may be read. The number of databuffer\nactually read is returned as an integer.\n\n@param buf the byte array into which databuffer is read\n@param off the offset in the byte array at which to write\n@param len the amount to read\n@return the actual number of databuffer read\n@throws IOException", "docstring_tokens": ["Reads", "up", "to", "len", "databuffer", "of", "databuffer", "from", "the", "input", "stream", "into", "an", "array", "of", "databuffer", ".", "An", "attempt", "is", "made", "to", "read", "as", "many", "as", "len", "databuffer", "but", "a", "smaller", "number", "may", "be", "read", ".", "The", "number", "of", "databuffer", "actually", "read", "is", "returned", "as", "an", "integer", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4lib/src/main/java/dap4/dap4lib/ChunkInputStream.java#L267-L304", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4lib/src/main/java/dap4/dap4lib/ChunkInputStream.java", "func_name": "ChunkInputStream.readHeader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read the size+flags header from the input stream and use it to\ninitialize the chunk state\n\n@param input The input streamfrom which to read\n@return true if header read false if immediate eof encountered", "docstring_tokens": ["Read", "the", "size", "+", "flags", "header", "from", "the", "input", "stream", "and", "use", "it", "to", "initialize", "the", "chunk", "state"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4lib/src/main/java/dap4/dap4lib/ChunkInputStream.java#L349-L364", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/time/CalendarDateFormatter.java", "func_name": "CalendarDateFormatter.isoStringToDate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Does not handle non-standard Calendars\n@param iso iso formatted string\n@return Date\n@throws IllegalArgumentException\n@deprecated use isoStringToCalendarDate", "docstring_tokens": ["Does", "not", "handle", "non", "-", "standard", "Calendars"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/time/CalendarDateFormatter.java#L175-L178", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/TableParser.java", "func_name": "TableParser.readTable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads a URL or file in as a table.\n\n@param urlString starts with http, read URL contenets, else read file.\n@param format describe format of each line.\n@param maxLines maximum number of lines to parse, set to < 0 to read all\n@return List of TableParser.Record\n@throws IOException on read error\n@throws NumberFormatException on parse number error\n@see #readTable(InputStream ios, String format, int maxLines)", "docstring_tokens": ["Reads", "a", "URL", "or", "file", "in", "as", "a", "table", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/TableParser.java#L89-L100", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/DatasetConstructor.java", "func_name": "DatasetConstructor.transferGroup", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "transfer the objects in src group to the target group", "docstring_tokens": ["transfer", "the", "objects", "in", "src", "group", "to", "the", "target", "group"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/DatasetConstructor.java#L34-L83", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/noaa/IgraPor.java", "func_name": "IgraPor.getStnFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "stn file must be in the same directory or one up", "docstring_tokens": ["stn", "file", "must", "be", "in", "the", "same", "directory", "or", "one", "up"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/noaa/IgraPor.java#L94-L103", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/noaa/IgraPor.java", "func_name": "IgraPor.open", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "if a DAT file", "docstring_tokens": ["if", "a", "DAT", "file"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/noaa/IgraPor.java#L141-L189", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft2/simpgeometry/SimpleGeometryIndexFinder.java", "func_name": "SimpleGeometryIndexFinder.getBeginning", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the beginning index of a geometry's points given the index of the geometry within the array.\n\n@param index\n@return beginning of the range", "docstring_tokens": ["Gets", "the", "beginning", "index", "of", "a", "geometry", "s", "points", "given", "the", "index", "of", "the", "geometry", "within", "the", "array", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft2/simpgeometry/SimpleGeometryIndexFinder.java#L34-L51", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft2/simpgeometry/SimpleGeometryIndexFinder.java", "func_name": "SimpleGeometryIndexFinder.getEnd", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the ending index of a geometry's points given the index of the geometry within the array.\n\n@param index of the geometry within the array\n@return end of the range", "docstring_tokens": ["Gets", "the", "ending", "index", "of", "a", "geometry", "s", "points", "given", "the", "index", "of", "the", "geometry", "within", "the", "array", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft2/simpgeometry/SimpleGeometryIndexFinder.java#L59-L76", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/collection/GribCollectionBuilder.java", "func_name": "GribCollectionBuilder.createAllRuntimeCollections", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "creates seperate collection and index for each runtime.", "docstring_tokens": ["creates", "seperate", "collection", "and", "index", "for", "each", "runtime", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/collection/GribCollectionBuilder.java#L179-L237", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/thredds/ui/datatype/prefs/DurationField.java", "func_name": "DurationField.setEditValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "set current value of editComponent", "docstring_tokens": ["set", "current", "value", "of", "editComponent"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/thredds/ui/datatype/prefs/DurationField.java#L82-L88", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/dorade/Doradeheader.java", "func_name": "Doradeheader.getDataType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the string of entity ID for the Dorade image file", "docstring_tokens": ["Return", "the", "string", "of", "entity", "ID", "for", "the", "Dorade", "image", "file"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/dorade/Doradeheader.java#L346-L370", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/conv/Cosmic1Convention.java", "func_name": "Cosmic1Convention.ECFtoLLA", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "comparing api to others\n\n@param x _more_\n@param y _more_\n@param z _more_\n@param a _more_\n@param b _more_\n@return _more_", "docstring_tokens": ["comparing", "api", "to", "others"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/conv/Cosmic1Convention.java#L723-L751", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/wmo/Util.java", "func_name": "Util.cleanUnit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Clean up strings to be used for unit string\n@param unit original\n@return cleaned up", "docstring_tokens": ["Clean", "up", "strings", "to", "be", "used", "for", "unit", "string"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/wmo/Util.java#L23-L46", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/wmo/Util.java", "func_name": "Util.cleanName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Clean up strings to be used in Netcdf Object names\n@param name original name\n@return cleaned up name", "docstring_tokens": ["Clean", "up", "strings", "to", "be", "used", "in", "Netcdf", "Object", "names"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/wmo/Util.java#L53-L64", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/wmo/Util.java", "func_name": "Util.isUnitless", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The given unit is \"unitless\".", "docstring_tokens": ["The", "given", "unit", "is", "unitless", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/wmo/Util.java#L94-L102", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4lib/src/main/java/dap4/dap4lib/netcdf/Nc4Notes.java", "func_name": "Nc4Notes.factory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Use a factory so we can debug constructor calls", "docstring_tokens": ["Use", "a", "factory", "so", "we", "can", "debug", "constructor", "calls"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4lib/src/main/java/dap4/dap4lib/netcdf/Nc4Notes.java#L30-L49", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4lib/src/main/java/dap4/dap4lib/netcdf/Nc4Notes.java", "func_name": "Nc4Notes.getVarId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Manage the compound id for variables", "docstring_tokens": ["Manage", "the", "compound", "id", "for", "variables"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4lib/src/main/java/dap4/dap4lib/netcdf/Nc4Notes.java#L54-L58", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/ucar/nc2/dods/DodsV.java", "func_name": "DodsV.parseDAS", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse the DAS, assign attribute tables to the DodsV objects.\nNested attribute tables are supposed to follow the tree we construct with dodsV, so its easy to assign to correct dodsV.\n\n@param das parse this DAS\n@throws IOException on io error", "docstring_tokens": ["Parse", "the", "DAS", "assign", "attribute", "tables", "to", "the", "DodsV", "objects", ".", "Nested", "attribute", "tables", "are", "supposed", "to", "follow", "the", "tree", "we", "construct", "with", "dodsV", "so", "its", "easy", "to", "assign", "to", "correct", "dodsV", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/ucar/nc2/dods/DodsV.java#L391-L419", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/ucar/nc2/dods/DodsV.java", "func_name": "DodsV.findDodsV", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Search the immediate children for a BaseType with given name.\n\n@param name look for this name\n@param useDone\n@return child that matches if found, else null", "docstring_tokens": ["Search", "the", "immediate", "children", "for", "a", "BaseType", "with", "given", "name", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/ucar/nc2/dods/DodsV.java#L466-L477", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/ucar/nc2/dods/DodsV.java", "func_name": "DodsV.findDataV", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "find the DodsV object in the dataVlist corresponding to the ddsV", "docstring_tokens": ["find", "the", "DodsV", "object", "in", "the", "dataVlist", "corresponding", "to", "the", "ddsV"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/ucar/nc2/dods/DodsV.java#L503-L517", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/ucar/nc2/dods/DodsV.java", "func_name": "DodsV.findByIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return a child by index\n\n@param index return index'th child\n@return index'th child or null if index is too large", "docstring_tokens": ["Return", "a", "child", "by", "index"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/ucar/nc2/dods/DodsV.java#L547-L550", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Variable.java", "func_name": "Variable.getParentGroup", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the parent group.\n\n@return group of this variable; if null return rootgroup", "docstring_tokens": ["Get", "the", "parent", "group", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Variable.java#L172-L181", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Variable.java", "func_name": "Variable.getDimension", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the ith dimension.\n\n@param i index of the dimension.\n@return requested Dimension, or null if i is out of bounds.", "docstring_tokens": ["Get", "the", "ith", "dimension", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Variable.java#L241-L244", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Variable.java", "func_name": "Variable.findDimensionIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find the index of the named Dimension in this Variable.\n\n@param name the name of the dimension\n@return the index of the named Dimension, or -1 if not found.", "docstring_tokens": ["Find", "the", "index", "of", "the", "named", "Dimension", "in", "this", "Variable", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Variable.java#L261-L268", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Variable.java", "func_name": "Variable.getUnitsString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the Unit String for the Variable.\nLooks for the CDM.UNITS attribute value\n\n@return unit string, or null if not found.", "docstring_tokens": ["Get", "the", "Unit", "String", "for", "the", "Variable", ".", "Looks", "for", "the", "CDM", ".", "UNITS", "attribute", "value"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Variable.java#L310-L319", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Variable.java", "func_name": "Variable.getShapeAsSection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get shape as a Section object.\n\n@return Section containing List, one for each Dimension.", "docstring_tokens": ["Get", "shape", "as", "a", "Section", "object", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Variable.java#L336-L359", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Variable.java", "func_name": "Variable.slice", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a new Variable that is a logical slice of this Variable, by\nfixing the specified dimension at the specified index value. This reduces rank by 1.\nNo data is read until a read method is called on it.\n\n@param dim which dimension to fix\n@param value at what index value\n@return a new Variable which is a logical slice of this Variable.\n@throws InvalidRangeException if dimension or value is illegal", "docstring_tokens": ["Create", "a", "new", "Variable", "that", "is", "a", "logical", "slice", "of", "this", "Variable", "by", "fixing", "the", "specified", "dimension", "at", "the", "specified", "index", "value", ".", "This", "reduces", "rank", "by", "1", ".", "No", "data", "is", "read", "until", "a", "read", "method", "is", "called", "on", "it", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Variable.java#L427-L456", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Variable.java", "func_name": "Variable.setEnumTypedef", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Public by accident.\n\n@param enumTypedef set the EnumTypedef, only use if getDataType.isEnum()", "docstring_tokens": ["Public", "by", "accident", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Variable.java#L517-L522", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Variable.java", "func_name": "Variable.read", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a section of the data for this Variable from the netcdf file and return a memory resident Array.\n\n@param ranges list of Range specifying the section of data to read.\n@return the requested data in a memory-resident Array\n@throws IOException if error\n@throws InvalidRangeException if ranges is invalid\n@see #read(Section)", "docstring_tokens": ["Read", "a", "section", "of", "the", "data", "for", "this", "Variable", "from", "the", "netcdf", "file", "and", "return", "a", "memory", "resident", "Array", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Variable.java#L589-L594", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Variable.java", "func_name": "Variable.readScalarString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the value as a String for a scalar Variable. May also be one-dimensional of length 1.\nMay also be one-dimensional of type CHAR, which wil be turned into a scalar String.\n\n@throws IOException if theres an IO Error\n@throws UnsupportedOperationException if not a scalar or one-dimensional.\n@throws ClassCastException if data type not DataType.STRING or DataType.CHAR.", "docstring_tokens": ["Get", "the", "value", "as", "a", "String", "for", "a", "scalar", "Variable", ".", "May", "also", "be", "one", "-", "dimensional", "of", "length", "1", ".", "May", "also", "be", "one", "-", "dimensional", "of", "type", "CHAR", "which", "wil", "be", "turned", "into", "a", "scalar", "String", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Variable.java#L721-L730", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Variable.java", "func_name": "Variable._read", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "non-structure-member Variables.", "docstring_tokens": ["non", "-", "structure", "-", "member", "Variables", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Variable.java#L747-L765", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Variable.java", "func_name": "Variable._read", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "assume filled, validated Section", "docstring_tokens": ["assume", "filled", "validated", "Section"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Variable.java#L793-L809", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Variable.java", "func_name": "Variable.writeCDL", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "CDL representation of a Variable.\n\n@param useFullName use full name, else use short name\n@param strict strictly comply with ncgen syntax\n@return CDL representation of the Variable.", "docstring_tokens": ["CDL", "representation", "of", "a", "Variable", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Variable.java#L962-L966", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Variable.java", "func_name": "Variable.toStringDebug", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "String representation of Variable and its attributes.", "docstring_tokens": ["String", "representation", "of", "Variable", "and", "its", "attributes", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Variable.java#L1003-L1013", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Variable.java", "func_name": "Variable.setDataType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the data type\n\n@param dataType set to this value", "docstring_tokens": ["Set", "the", "data", "type"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Variable.java#L1190-L1212", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Variable.java", "func_name": "Variable.setDimensions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the shape with a list of Dimensions. The Dimensions may be shared or not.\nDimensions are in order, slowest varying first. Send a null for a scalar.\nTechnically you can use Dimensions from any group; pragmatically you should only use\nDimensions contained in the Variable's parent groups.\n\n@param dims list of type ucar.nc2.Dimension", "docstring_tokens": ["Set", "the", "shape", "with", "a", "list", "of", "Dimensions", ".", "The", "Dimensions", "may", "be", "shared", "or", "not", ".", "Dimensions", "are", "in", "order", "slowest", "varying", "first", ".", "Send", "a", "null", "for", "a", "scalar", ".", "Technically", "you", "can", "use", "Dimensions", "from", "any", "group", ";", "pragmatically", "you", "should", "only", "use", "Dimensions", "contained", "in", "the", "Variable", "s", "parent", "groups", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Variable.java#L1301-L1305", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Variable.java", "func_name": "Variable.resetShape", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Use when dimensions have changed, to recalculate the shape.", "docstring_tokens": ["Use", "when", "dimensions", "have", "changed", "to", "recalculate", "the", "shape", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Variable.java#L1311-L1328", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Variable.java", "func_name": "Variable.setDimensions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the dimensions using the dimensions names. The dimension is searched for recursively in the parent groups.\n\n@param dimString : whitespace separated list of dimension names, or '*' for Dimension.UNKNOWN, or number for anon dimension. null or empty String is a scalar.", "docstring_tokens": ["Set", "the", "dimensions", "using", "the", "dimensions", "names", ".", "The", "dimension", "is", "searched", "for", "recursively", "in", "the", "parent", "groups", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Variable.java#L1335-L1345", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Variable.java", "func_name": "Variable.resetDimensions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reset the dimension array. Anonymous dimensions are left alone.\nShared dimensions are searched for recursively in the parent groups.", "docstring_tokens": ["Reset", "the", "dimension", "array", ".", "Anonymous", "dimensions", "are", "left", "alone", ".", "Shared", "dimensions", "are", "searched", "for", "recursively", "in", "the", "parent", "groups", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Variable.java#L1351-L1367", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Variable.java", "func_name": "Variable.setDimension", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Replace a dimension with an equivalent one.\n\n@param idx index into dimension array\n@param dim to set", "docstring_tokens": ["Replace", "a", "dimension", "with", "an", "equivalent", "one", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Variable.java#L1420-L1424", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Variable.java", "func_name": "Variable.setCachedData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the data cache\n\n@param cacheData cache this Array\n@param isMetadata : synthesized data, set true if must be saved in NcML output (ie data not actually in the file).", "docstring_tokens": ["Set", "the", "data", "cache"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Variable.java#L1544-L1552", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Variable.java", "func_name": "Variable.getDimensionsAll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get list of Dimensions, including parents if any.\n\n@return array of Dimension, rank of v plus all parents.", "docstring_tokens": ["Get", "list", "of", "Dimensions", "including", "parents", "if", "any", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Variable.java#L1632-L1636", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dt/radial/AbstractRadialAdapter.java", "func_name": "AbstractRadialAdapter.setBoundingBox", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "you must set EarthLocation before you call this.", "docstring_tokens": ["you", "must", "set", "EarthLocation", "before", "you", "call", "this", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dt/radial/AbstractRadialAdapter.java#L91-L104", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft/fmrc/FmrInv.java", "func_name": "FmrInv.finish", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "call after adding all runs", "docstring_tokens": ["call", "after", "adding", "all", "runs"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft/fmrc/FmrInv.java#L96-L130", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/thredds/client/catalog/Catalog.java", "func_name": "Catalog.getAllDatasets", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "get all datasets contained directly in this catalog", "docstring_tokens": ["get", "all", "datasets", "contained", "directly", "in", "this", "catalog"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/thredds/client/catalog/Catalog.java#L142-L146", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4servlet/src/main/java/dap4/servlet/SynDSP.java", "func_name": "SynDSP.dspMatch", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "A path is a Synthetic path if it ends in .dmr or .syn\n\n@param path\n@param context Any parameters that may help to decide.\n@return true if this path appears to be processible by this DSP", "docstring_tokens": ["A", "path", "is", "a", "Synthetic", "path", "if", "it", "ends", "in", ".", "dmr", "or", ".", "syn"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4servlet/src/main/java/dap4/servlet/SynDSP.java#L62-L69", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4cdm/src/main/java/dap4/cdm/dsp/CDMDSP.java", "func_name": "CDMDSP.open", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Provide an extra API for use in testing\n\n@param ncd\n@return\n@throws DapException", "docstring_tokens": ["Provide", "an", "extra", "API", "for", "use", "in", "testing"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4cdm/src/main/java/dap4/cdm/dsp/CDMDSP.java#L132-L141", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4cdm/src/main/java/dap4/cdm/dsp/CDMDSP.java", "func_name": "CDMDSP.buildDMR", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extract the metadata from the NetcdfDataset\nand build the DMR.", "docstring_tokens": ["Extract", "the", "metadata", "from", "the", "NetcdfDataset", "and", "build", "the", "DMR", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4cdm/src/main/java/dap4/cdm/dsp/CDMDSP.java#L266-L312", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4cdm/src/main/java/dap4/cdm/dsp/CDMDSP.java", "func_name": "CDMDSP.buildseqtypes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Walk this variable, including fields, to construct sequence types\nfor any contained vlen dimensions\n\n@param cdmvar variable to walk", "docstring_tokens": ["Walk", "this", "variable", "including", "fields", "to", "construct", "sequence", "types", "for", "any", "contained", "vlen", "dimensions"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4cdm/src/main/java/dap4/cdm/dsp/CDMDSP.java#L662-L678", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4cdm/src/main/java/dap4/cdm/dsp/CDMDSP.java", "func_name": "CDMDSP.builddimrefs", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Assign dimensions to a variable\n\n@param dapvar The variable to which we wish to assign dimensions\n@param cdmdims The cdm dimensions from which we will find the dimension info", "docstring_tokens": ["Assign", "dimensions", "to", "a", "variable"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4cdm/src/main/java/dap4/cdm/dsp/CDMDSP.java#L742-L769", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4cdm/src/main/java/dap4/cdm/dsp/CDMDSP.java", "func_name": "CDMDSP.findMatchingEnum", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Unfortunately, the CDM Iosp does not\nactually use the declared enums. Rather,\nfor every enum type'd variable, a new\nenum decl is defined. So, we need\nto find the original enum decl that matches\nthe variable's enum.", "docstring_tokens": ["Unfortunately", "the", "CDM", "Iosp", "does", "not", "actually", "use", "the", "declared", "enums", ".", "Rather", "for", "every", "enum", "type", "d", "variable", "a", "new", "enum", "decl", "is", "defined", ".", "So", "we", "need", "to", "find", "the", "original", "enum", "decl", "that", "matches", "the", "variable", "s", "enum", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4cdm/src/main/java/dap4/cdm/dsp/CDMDSP.java#L867-L927", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4cdm/src/main/java/dap4/cdm/dsp/CDMDSP.java", "func_name": "CDMDSP.getCoreDimset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Strip vlen dimensions from a set of dimensions\n\n@param dimset\n@return subset of dimset with (trailing) vlen removed\n@throws DapException", "docstring_tokens": ["Strip", "vlen", "dimensions", "from", "a", "set", "of", "dimensions"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4cdm/src/main/java/dap4/cdm/dsp/CDMDSP.java#L1104-L1122", "partition": "test"} +{"repo": "Unidata/thredds", "path": "bufr/src/main/java/ucar/nc2/iosp/bufr/writer/BufrDataProcess.java", "func_name": "BufrDataProcess.scanBufrFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "open the file and extract BUFR messages", "docstring_tokens": ["open", "the", "file", "and", "extract", "BUFR", "messages"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/bufr/src/main/java/ucar/nc2/iosp/bufr/writer/BufrDataProcess.java#L100-L123", "partition": "test"} +{"repo": "Unidata/thredds", "path": "bufr/src/main/java/ucar/nc2/iosp/bufr/writer/BufrDataProcess.java", "func_name": "BufrDataProcess.processBufrMessageAsDataset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "convert one message ino a NetcdfDataset and print data", "docstring_tokens": ["convert", "one", "message", "ino", "a", "NetcdfDataset", "and", "print", "data"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/bufr/src/main/java/ucar/nc2/iosp/bufr/writer/BufrDataProcess.java#L127-L133", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdmvalidator/src/main/java/thredds/server/cdmvalidator/CdmValidatorController.java", "func_name": "CdmValidatorController.doPost", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "POST handles uploaded files\n\n@param req request\n@param res response\n@throws ServletException\n@throws IOException", "docstring_tokens": ["POST", "handles", "uploaded", "files"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdmvalidator/src/main/java/thredds/server/cdmvalidator/CdmValidatorController.java#L164-L216", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/geoloc/Navigation.java", "func_name": "Navigation.getTransform", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the affine transform based on screen size and world bounding box", "docstring_tokens": ["Get", "the", "affine", "transform", "based", "on", "screen", "size", "and", "world", "bounding", "box"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/geoloc/Navigation.java#L71-L79", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/geoloc/Navigation.java", "func_name": "Navigation.wantRotate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "calculate if we want to rotate based on aspect ratio", "docstring_tokens": ["calculate", "if", "we", "want", "to", "rotate", "based", "on", "aspect", "ratio"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/geoloc/Navigation.java#L81-L86", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/geoloc/Navigation.java", "func_name": "Navigation.getMapArea", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get current MapArea .\n@param rect : place results here, or null to create new Object", "docstring_tokens": ["Get", "current", "MapArea", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/geoloc/Navigation.java#L135-L150", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/geoloc/Navigation.java", "func_name": "Navigation.worldToScreen", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "convert a world coordinate to a display point", "docstring_tokens": ["convert", "a", "world", "coordinate", "to", "a", "display", "point"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/geoloc/Navigation.java#L170-L174", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/geoloc/Navigation.java", "func_name": "Navigation.pan", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "call this to change the center of the screen's world coordinates.\ndeltax, deltay in display coordinates", "docstring_tokens": ["call", "this", "to", "change", "the", "center", "of", "the", "screen", "s", "world", "coordinates", ".", "deltax", "deltay", "in", "display", "coordinates"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/geoloc/Navigation.java#L209-L215", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/geoloc/Navigation.java", "func_name": "Navigation.zoom", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "call this to zoom into a subset of the screen.\nstartx, starty are the upper left corner of the box in display coords\nwidth, height the size of the box in display coords", "docstring_tokens": ["call", "this", "to", "zoom", "into", "a", "subset", "of", "the", "screen", ".", "startx", "starty", "are", "the", "upper", "left", "corner", "of", "the", "box", "in", "display", "coords", "width", "height", "the", "size", "of", "the", "box", "in", "display", "coords"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/geoloc/Navigation.java#L220-L231", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/geoloc/Navigation.java", "func_name": "Navigation.recalcFromBoundingBox", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "adjust bounding box to fit inside the screen size", "docstring_tokens": ["adjust", "bounding", "box", "to", "fit", "inside", "the", "screen", "size"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/geoloc/Navigation.java#L291-L314", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/ListenerManager.java", "func_name": "ListenerManager.addListener", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a listener.\n\n@param l listener must be of type \"listener_class\"", "docstring_tokens": ["Add", "a", "listener", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/ListenerManager.java#L107-L113", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/ListenerManager.java", "func_name": "ListenerManager.removeListener", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove a listener.\n@param l listener must be of type \"listener_class\"", "docstring_tokens": ["Remove", "a", "listener", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/ListenerManager.java#L119-L125", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/ListenerManager.java", "func_name": "ListenerManager.sendEvent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Send an event to all registered listeners. If an exception is thrown, remove\nthe Listener from the list\n\n@param event the event to be sent: public void method_name( event_class event)", "docstring_tokens": ["Send", "an", "event", "to", "all", "registered", "listeners", ".", "If", "an", "exception", "is", "thrown", "remove", "the", "Listener", "from", "the", "list"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/ListenerManager.java#L137-L161", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/ListenerManager.java", "func_name": "ListenerManager.sendEventExcludeSource", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Send an event to all registered listeners, except the named one.\n\n@param event the event to be sent: public void method_name( event_class event)", "docstring_tokens": ["Send", "an", "event", "to", "all", "registered", "listeners", "except", "the", "named", "one", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/ListenerManager.java#L168-L194", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NCdumpW.java", "func_name": "NCdumpW.print", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "ncdump that parses a command string.\n\n@param command command string\n@param out send output here\n@param ct allow task to be cancelled; may be null.\n@return true if successful\n@throws IOException on write error", "docstring_tokens": ["ncdump", "that", "parses", "a", "command", "string", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NCdumpW.java#L52-L77", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NCdumpW.java", "func_name": "NCdumpW.print", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "ncdump, parsing command string, file already open.\n\n@param nc apply command to this file\n@param command : command string\n@param out send output here\n@param ct allow task to be cancelled; may be null.\n@return true if successful\n@throws IOException on write error", "docstring_tokens": ["ncdump", "parsing", "command", "string", "file", "already", "open", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NCdumpW.java#L89-L133", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NCdumpW.java", "func_name": "NCdumpW.printVariableData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Print all the data of the given Variable.\n\n@param v variable to print\n@param ct allow task to be cancelled; may be null.\n@return String result\n@throws IOException on write error", "docstring_tokens": ["Print", "all", "the", "data", "of", "the", "given", "Variable", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NCdumpW.java#L286-L298", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NCdumpW.java", "func_name": "NCdumpW.printVariableDataSection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Print a section of the data of the given Variable.\n\n@param v variable to print\n@param sectionSpec string specification\n@param ct allow task to be cancelled; may be null.\n@return String result formatted data ouptut\n@throws IOException on write error\n@throws InvalidRangeException is specified section doesnt match variable shape", "docstring_tokens": ["Print", "a", "section", "of", "the", "data", "of", "the", "given", "Variable", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NCdumpW.java#L310-L316", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NCdumpW.java", "func_name": "NCdumpW.printStructureData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Print contents of a StructureData.\n\n@param out send output here.\n@param sdata StructureData to print.\n@throws IOException on read error", "docstring_tokens": ["Print", "contents", "of", "a", "StructureData", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NCdumpW.java#L576-L579", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NCdumpW.java", "func_name": "NCdumpW.printArrayPlain", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Print array as undifferentiated sequence of values.\n\n@param ma any Array except ArrayStructure\n@param out print to here", "docstring_tokens": ["Print", "array", "as", "undifferentiated", "sequence", "of", "values", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NCdumpW.java#L611-L617", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NCdumpW.java", "func_name": "NCdumpW.printArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Print array to PrintWriter", "docstring_tokens": ["Print", "array", "to", "PrintWriter"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NCdumpW.java#L622-L624", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NCdumpW.java", "func_name": "NCdumpW.writeNcML", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write the NcML representation for a file.\nNote that ucar.nc2.dataset.NcMLWriter has a JDOM implementation, for complete NcML.\nThis method implements only the \"core\" NcML for plain ole netcdf files.\n\n@param ncfile write NcML for this file\n@param writer write to this Writer. Must be using UTF-8 encoding (where applicable)\n@param showValues do you want the variable values printed?\n@param url use this for the url attribute; if null use getLocation(). // ??\n@throws IOException on write error", "docstring_tokens": ["Write", "the", "NcML", "representation", "for", "a", "file", ".", "Note", "that", "ucar", ".", "nc2", ".", "dataset", ".", "NcMLWriter", "has", "a", "JDOM", "implementation", "for", "complete", "NcML", ".", "This", "method", "implements", "only", "the", "core", "NcML", "for", "plain", "ole", "netcdf", "files", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NCdumpW.java#L644-L671", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/transform/AbstractTransformBuilder.java", "func_name": "AbstractTransformBuilder.readAttributeDouble", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a variable attribute as a double.\n\n@param v the variable\n@param attname name of variable\n@param defValue default value if attribute is not found\n@return attribute value as a double, else NaN if not found", "docstring_tokens": ["Read", "a", "variable", "attribute", "as", "a", "double", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/transform/AbstractTransformBuilder.java#L111-L118", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/transform/AbstractTransformBuilder.java", "func_name": "AbstractTransformBuilder.addParameter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a Parameter to a CoordinateTransform.\nMake sure that the variable exists. If readData is true, read the data and use it as the value of the\nparameter, otherwise use the variable name as the value of the parameter.\n\n@param rs the CoordinateTransform\n@param paramName the parameter name\n@param ds dataset\n@param varNameEscaped escaped variable name\n@return true if success, false is failed", "docstring_tokens": ["Add", "a", "Parameter", "to", "a", "CoordinateTransform", ".", "Make", "sure", "that", "the", "variable", "exists", ".", "If", "readData", "is", "true", "read", "the", "data", "and", "use", "it", "as", "the", "value", "of", "the", "parameter", "otherwise", "use", "the", "variable", "name", "as", "the", "value", "of", "the", "parameter", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/transform/AbstractTransformBuilder.java#L152-L161", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/thredds/logs/AccessLogParser.java", "func_name": "AccessLogParser.main", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "try problem logs", "docstring_tokens": ["try", "problem", "logs"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/thredds/logs/AccessLogParser.java#L169-L180", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4lib/src/main/java/dap4/dap4lib/serial/D4Cursor.java", "func_name": "D4Cursor.readAs", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Allow specification of basetype to use; used for enumerations\n\n@param atomvar\n@param basetype\n@param slices\n@return\n@throws DapException", "docstring_tokens": ["Allow", "specification", "of", "basetype", "to", "use", ";", "used", "for", "enumerations"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4lib/src/main/java/dap4/dap4lib/serial/D4Cursor.java#L186-L202", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakLookup.java", "func_name": "GempakLookup.isPositiveUp", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "is this a PositiveUp VerticalCoordinate.", "docstring_tokens": ["is", "this", "a", "PositiveUp", "VerticalCoordinate", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakLookup.java#L174-L180", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/UnitImpl.java", "func_name": "UnitImpl.isCompatible", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Indicates if numeric values in this unit are convertible with another\nunit.\n\n@param that\nThe other unit.\n@return true if and only if numeric values in this unit are\nconvertible the other unit.", "docstring_tokens": ["Indicates", "if", "numeric", "values", "in", "this", "unit", "are", "convertible", "with", "another", "unit", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/UnitImpl.java#L379-L386", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/UnitImpl.java", "func_name": "UnitImpl.makeLabel", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a label for a quantity in this unit.\n\n@param quantityID\nThe identifier for the quantity (e.g. \"altitude\").\n@return The appropriate label (e.g. \"altitude/m\").", "docstring_tokens": ["Returns", "a", "label", "for", "a", "quantity", "in", "this", "unit", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/UnitImpl.java#L447-L459", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/BitReader.java", "func_name": "BitReader.setBitOffset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Position file at bitOffset from startPos\n\n@param bitOffset bit offset from starting position\n@throws IOException on io error", "docstring_tokens": ["Position", "file", "at", "bitOffset", "from", "startPos"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/BitReader.java#L66-L77", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/BitReader.java", "func_name": "BitReader.bits2UInt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read the next nb bits and return an Unsigned Long .\n\n@param nb the number of bits to convert to int, must be 0 <= nb <= 64.\n@return result\n@throws java.io.IOException on read error", "docstring_tokens": ["Read", "the", "next", "nb", "bits", "and", "return", "an", "Unsigned", "Long", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/BitReader.java#L94-L134", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/BitReader.java", "func_name": "BitReader.bits2SInt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read the next nb bits and return an Signed Long .\n\n@param nb the number of bits to convert to int, must be <= 64.\n@return result\n@throws java.io.IOException on read error", "docstring_tokens": ["Read", "the", "next", "nb", "bits", "and", "return", "an", "Signed", "Long", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/BitReader.java#L143-L158", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/dap/DConnect2.java", "func_name": "DConnect2.openConnection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Open a connection to the DODS server.\n\n@param urlString the URL to open; assume already properly encoded\n@param command execute this command on the input stream\n@throws IOException if an IO exception occurred.\n@throws DAP2Exception if the DODS server returned an error.", "docstring_tokens": ["Open", "a", "connection", "to", "the", "DODS", "server", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/dap/DConnect2.java#L263-L345", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/dap/DConnect2.java", "func_name": "DConnect2.getDAS", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the DAS object from the dataset referenced by this object's URL.\nThe DAS object is referred to by appending `.das' to the end of a DODS\nURL.\n\n@return the DAS associated with the referenced dataset.\n@throws MalformedURLException if the URL given to the\nconstructor has an error\n@throws IOException if an error connecting to the remote server\n@throws DASException on an error constructing the DAS\n@throws DAP2Exception if an error returned by the remote server", "docstring_tokens": ["Returns", "the", "DAS", "object", "from", "the", "dataset", "referenced", "by", "this", "object", "s", "URL", ".", "The", "DAS", "object", "is", "referred", "to", "by", "appending", ".", "das", "to", "the", "end", "of", "a", "DODS", "URL", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/dap/DConnect2.java#L524-L546", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/dap/DConnect2.java", "func_name": "DConnect2.getDDS", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the DDS object from the dataset referenced by this object's URL.\nThe DDS object is referred to by appending `.dds' to the end of a OPeNDAP\nURL.\n\n@param CE The constraint expression to be applied to this request by the\nserver. This is combined with any CE given in the constructor.\n@return the DDS associated with the referenced dataset.\n@throws MalformedURLException if the URL given to the constructor\nhas an error\n@throws IOException if an error connecting to the remote server\n@throws ParseException if the DDS parser returned an error\n@throws DDSException on an error constructing the DDS\n@throws DAP2Exception if an error returned by the remote server", "docstring_tokens": ["Returns", "the", "DDS", "object", "from", "the", "dataset", "referenced", "by", "this", "object", "s", "URL", ".", "The", "DDS", "object", "is", "referred", "to", "by", "appending", ".", "dds", "to", "the", "end", "of", "a", "OPeNDAP", "URL", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/dap/DConnect2.java#L591-L605", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/dap/DConnect2.java", "func_name": "DConnect2.getCompleteCE", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Use some sense when assembling the CE. Since this DConnect\nobject may have constructed using a CE, any new CE will\nhave to be integrated into it for subsequent requests.\nTry to do this in a sensible manner!\n\n@param CE The new CE from the client.\n@return The complete CE (the one this object was built\nwith integrated with the clients)", "docstring_tokens": ["Use", "some", "sense", "when", "assembling", "the", "CE", ".", "Since", "this", "DConnect", "object", "may", "have", "constructed", "using", "a", "CE", "any", "new", "CE", "will", "have", "to", "be", "integrated", "into", "it", "for", "subsequent", "requests", ".", "Try", "to", "do", "this", "in", "a", "sensible", "manner!"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/dap/DConnect2.java#L634-L684", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/geoloc/projection/Sinusoidal.java", "func_name": "Sinusoidal.projToLatLon", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert projection coordinates to a LatLonPoint\n\n@param world convert from these projection coordinates\n@param result the object to write to\n@return LatLonPoint the lat/lon coordinates", "docstring_tokens": ["Convert", "projection", "coordinates", "to", "a", "LatLonPoint"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/geoloc/projection/Sinusoidal.java#L253-L279", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/server/radarServer2/RadarServerController.java", "func_name": "RadarServerController.idvDatasetCatalog", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This code tweaks our catalog output to match.", "docstring_tokens": ["This", "code", "tweaks", "our", "catalog", "output", "to", "match", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/server/radarServer2/RadarServerController.java#L206-L217", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/server/radarServer2/RadarServerController.java", "func_name": "RadarServerController.idvCompatibleRange", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "present and 14 days.", "docstring_tokens": ["present", "and", "14", "days", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/server/radarServer2/RadarServerController.java#L222-L227", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/dmsp/DMSPHeader.java", "func_name": "DMSPHeader.isValidFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check basic DMSP file validity of given random access file.", "docstring_tokens": ["Check", "basic", "DMSP", "file", "validity", "of", "given", "random", "access", "file", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/dmsp/DMSPHeader.java#L182-L208", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/dmsp/DMSPHeader.java", "func_name": "DMSPHeader.handleSatelliteInformation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse the satellite information from the header.", "docstring_tokens": ["Parse", "the", "satellite", "information", "from", "the", "header", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/dmsp/DMSPHeader.java#L428-L436", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/dmsp/DMSPHeader.java", "func_name": "DMSPHeader.handleSensorInformation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse the sensor information from the header.", "docstring_tokens": ["Parse", "the", "sensor", "information", "from", "the", "header", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/dmsp/DMSPHeader.java#L527-L572", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/xml/Parse.java", "func_name": "Parse.readRootElement", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read an XML Document from a URL and return the root element.\n\n@param location the URL location\n@return the root element of the Document\n@throws java.io.IOException on read error", "docstring_tokens": ["Read", "an", "XML", "Document", "from", "a", "URL", "and", "return", "the", "root", "element", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/xml/Parse.java#L28-L38", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/xml/Parse.java", "func_name": "Parse.cleanCharacterData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make sure that text is XML safe\n@param text check this\n@return original text if ok, else with bad characters removed", "docstring_tokens": ["Make", "sure", "that", "text", "is", "XML", "safe"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/xml/Parse.java#L45-L66", "partition": "test"} +{"repo": "Unidata/thredds", "path": "httpservices/src/main/java/ucar/httpservices/Escape.java", "func_name": "Escape.xunescapeString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Given a string that contains WWW escape sequences, translate those escape\nsequences back into ASCII characters. Return the modified string.\n\n@param in The string to modify.\n@param escape The character used to signal the begining of an escape sequence.\nparam except If there is some escape code that should not be removed by\nthis call (e.g., you might not want to remove spaces, %20) use this\nparameter to specify that code. The function will then transform all\nescapes except that one.\n@param spaceplus True if spaces should be replaced by '+'.\n@return The modified string.", "docstring_tokens": ["Given", "a", "string", "that", "contains", "WWW", "escape", "sequences", "translate", "those", "escape", "sequences", "back", "into", "ASCII", "characters", ".", "Return", "the", "modified", "string", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/httpservices/src/main/java/ucar/httpservices/Escape.java#L145-L173", "partition": "test"} +{"repo": "Unidata/thredds", "path": "httpservices/src/main/java/ucar/httpservices/Escape.java", "func_name": "Escape.escapeURLQuery", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Define the DEFINITIVE URL constraint expression escape function.\n\n@param ce The expression to modify.\n@return The escaped expression.", "docstring_tokens": ["Define", "the", "DEFINITIVE", "URL", "constraint", "expression", "escape", "function", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/httpservices/src/main/java/ucar/httpservices/Escape.java#L281-L289", "partition": "test"} +{"repo": "Unidata/thredds", "path": "httpservices/src/main/java/ucar/httpservices/Escape.java", "func_name": "Escape.unescapeURLQuery", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Define the DEFINITIVE URL constraint expression unescape function.\n\n@param ce The expression to unescape.\n@return The unescaped expression.", "docstring_tokens": ["Define", "the", "DEFINITIVE", "URL", "constraint", "expression", "unescape", "function", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/httpservices/src/main/java/ucar/httpservices/Escape.java#L297-L305", "partition": "test"} +{"repo": "Unidata/thredds", "path": "httpservices/src/main/java/ucar/httpservices/Escape.java", "func_name": "Escape.backslashDecode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Define the DEFINITIVE URL BACKSLASH unescape function.\n\n@param s The string to unescape.\n@return The unescaped expression.", "docstring_tokens": ["Define", "the", "DEFINITIVE", "URL", "BACKSLASH", "unescape", "function", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/httpservices/src/main/java/ucar/httpservices/Escape.java#L344-L355", "partition": "test"} +{"repo": "Unidata/thredds", "path": "httpservices/src/main/java/ucar/httpservices/Escape.java", "func_name": "Escape.backslashEncode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Define the DEFINITIVE URL BACKSLASH escape function.\n\n@param s The string to escape.\n@return The escaped expression.", "docstring_tokens": ["Define", "the", "DEFINITIVE", "URL", "BACKSLASH", "escape", "function", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/httpservices/src/main/java/ucar/httpservices/Escape.java#L363-L373", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/misc/AbstractLightningIOSP.java", "func_name": "AbstractLightningIOSP.addLightningGlobalAttributes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add the global attributes. Specific implementations should call super\nand then add their own.\n@param ncfile the file to add to", "docstring_tokens": ["Add", "the", "global", "attributes", ".", "Specific", "implementations", "should", "call", "super", "and", "then", "add", "their", "own", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/misc/AbstractLightningIOSP.java#L105-L108", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/io/Swap.java", "func_name": "Swap.swapShort", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the short resulting from swapping 2 bytes at a specified\noffset in a byte array.\n\n@param b the byte array\n@param offset the offset of the first byte\n@return the short represented by the bytes\nb[offset+1], b[offset]", "docstring_tokens": ["Returns", "the", "short", "resulting", "from", "swapping", "2", "bytes", "at", "a", "specified", "offset", "in", "a", "byte", "array", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/io/Swap.java#L28-L33", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/io/Swap.java", "func_name": "Swap.swapInt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the int resulting from reversing 4 bytes at a specified\noffset in a byte array.\n\n@param b the byte array\n@param offset the offset of the first byte\n@return the int represented by the bytes\nb[offset+3], b[offset+2], ..., b[offset]", "docstring_tokens": ["Returns", "the", "int", "resulting", "from", "reversing", "4", "bytes", "at", "a", "specified", "offset", "in", "a", "byte", "array", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/io/Swap.java#L44-L51", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/io/Swap.java", "func_name": "Swap.swapDouble", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the double resulting from reversing 8 bytes at a specified\noffset in a byte array.\n\n@param b the byte array\n@param offset the offset of the first byte\n@return the double represented by the bytes\nb[offset+7], b[offset+6], ..., b[offset]", "docstring_tokens": ["Returns", "the", "double", "resulting", "from", "reversing", "8", "bytes", "at", "a", "specified", "offset", "in", "a", "byte", "array", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/io/Swap.java#L99-L107", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/io/Swap.java", "func_name": "Swap.swapFloat", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the float resulting from reversing 4 bytes of a specified\nfloat.\n\n@param v input value for which byte reversal is desired\n@return the value represented by the bytes of v\nreversed", "docstring_tokens": ["Returns", "the", "float", "resulting", "from", "reversing", "4", "bytes", "of", "a", "specified", "float", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/io/Swap.java#L169-L172", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/io/Swap.java", "func_name": "Swap.swapDouble", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the double resulting from reversing 8 bytes of a specified\ndouble.\n\n@param v input value for which byte reversal is desired\n@return the value represented by the bytes of v\nreversed", "docstring_tokens": ["Returns", "the", "double", "resulting", "from", "reversing", "8", "bytes", "of", "a", "specified", "double", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/io/Swap.java#L182-L185", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/io/Swap.java", "func_name": "Swap.shortToBytes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert a short to an array of 2 bytes.\n\n@param v input value\n@return the corresponding array of bytes", "docstring_tokens": ["Convert", "a", "short", "to", "an", "array", "of", "2", "bytes", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/io/Swap.java#L193-L200", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/io/Swap.java", "func_name": "Swap.intToBytes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert an int to an array of 4 bytes.\n\n@param v input value\n@return the corresponding array of bytes", "docstring_tokens": ["Convert", "an", "int", "to", "an", "array", "of", "4", "bytes", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/io/Swap.java#L208-L215", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/io/Swap.java", "func_name": "Swap.longToBytes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert a long to an array of 8 bytes.\n\n@param v input value\n@return the corresponding array of bytes", "docstring_tokens": ["Convert", "a", "long", "to", "an", "array", "of", "8", "bytes", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/io/Swap.java#L223-L230", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/geoloc/vertical/VerticalTransformImpl.java", "func_name": "VerticalTransformImpl.subset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a subset of this VerticalTransform.\n\n@param t_range subset the time dimension, or null if you want all of it\n@param z_range subset the vertical dimension, or null if you want all of it\n@param y_range subset the y dimension, or null if you want all of it\n@param x_range subset the x dimension, or null if you want all of it\n\n@return the subsetted VerticalTransform\n\n@throws ucar.ma2.InvalidRangeException if any of the range parameters are illegal", "docstring_tokens": ["Create", "a", "subset", "of", "this", "VerticalTransform", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/geoloc/vertical/VerticalTransformImpl.java#L133-L137", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft/fmrc/GridDatasetInv.java", "func_name": "GridDatasetInv.writeXML", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write the XML representation to a String.\n\n@return the XML representation to a String.", "docstring_tokens": ["Write", "the", "XML", "representation", "to", "a", "String", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft/fmrc/GridDatasetInv.java#L446-L449", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/geoloc/vertical/OceanS.java", "func_name": "OceanS.makeC", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make the C array\n\n@param s s Array\n@param a \"a\" value\n@param b \"b\" value\n@return the C array", "docstring_tokens": ["Make", "the", "C", "array"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/geoloc/vertical/OceanS.java#L163-L183", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/server/wfs/WFSDescribeFeatureTypeWriter.java", "func_name": "WFSDescribeFeatureTypeWriter.startXML", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Initiate the response with an XML file with an XML header", "docstring_tokens": ["Initiate", "the", "response", "with", "an", "XML", "file", "with", "an", "XML", "header"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/server/wfs/WFSDescribeFeatureTypeWriter.java#L33-L43", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/server/wfs/WFSDescribeFeatureTypeWriter.java", "func_name": "WFSDescribeFeatureTypeWriter.writeFeatures", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write the features from the featureList. For each feature, write its attributes", "docstring_tokens": ["Write", "the", "features", "from", "the", "featureList", ".", "For", "each", "feature", "write", "its", "attributes"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/server/wfs/WFSDescribeFeatureTypeWriter.java#L59-L78", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/grid/GridCoordSys.java", "func_name": "GridCoordSys.addLevels", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add levels from the GridRecords\n\n@param records the records", "docstring_tokens": ["Add", "levels", "from", "the", "GridRecords"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/grid/GridCoordSys.java#L139-L164", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/grid/GridCoordSys.java", "func_name": "GridCoordSys.addDimensionsToNetcdfFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add dimensions to the netcdf file\n\n@param ncfile the netCDF file\n@param g the group to add to", "docstring_tokens": ["Add", "dimensions", "to", "the", "netcdf", "file"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/grid/GridCoordSys.java#L198-L204", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/grid/GridCoordSys.java", "func_name": "GridCoordSys.addToNetcdfFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add this coordinate system to the netCDF file\n\n@param ncfile the netCDF file\n@param g the group to add to", "docstring_tokens": ["Add", "this", "coordinate", "system", "to", "the", "netCDF", "file"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/grid/GridCoordSys.java#L212-L288", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/grid/GridCoordSys.java", "func_name": "GridCoordSys.findCoordinateTransform", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find the coordinate transform\n\n@param g group to check\n@param nameStartsWith beginning of name\n@param levelType type of level", "docstring_tokens": ["Find", "the", "coordinate", "transform"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/grid/GridCoordSys.java#L297-L311", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/grid/GridCoordSys.java", "func_name": "GridCoordSys.getIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the index of a particular GridRecord\n\n@param record record to find\n@return the index or -1", "docstring_tokens": ["Get", "the", "index", "of", "a", "particular", "GridRecord"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/grid/GridCoordSys.java#L319-L322", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/DiskCache2.java", "func_name": "DiskCache2.exit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Be sure to call this when your application exits, otherwise your process may not exit without being killed.", "docstring_tokens": ["Be", "sure", "to", "call", "this", "when", "your", "application", "exits", "otherwise", "your", "process", "may", "not", "exit", "without", "being", "killed", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/DiskCache2.java#L35-L41", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/DiskCache2.java", "func_name": "DiskCache2.getFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the named File.\nIf exists or isWritable, return it.\nOtherwise get corresponding file in the cache directory.\n\nIf fileLocation has \"/\" in it, and cachePathPolicy == NestedDirectory, the\nnested directories will be created.\n\n@param fileLocation logical file location\n@return physical File as named, or in the cache.", "docstring_tokens": ["Get", "the", "named", "File", ".", "If", "exists", "or", "isWritable", "return", "it", ".", "Otherwise", "get", "corresponding", "file", "in", "the", "cache", "directory", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/DiskCache2.java#L211-L230", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/DiskCache2.java", "func_name": "DiskCache2.getExistingFileOrCache", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Looking for an existing file, in cache or no\n@param fileLocation the original name\n@return existing file if you can find it", "docstring_tokens": ["Looking", "for", "an", "existing", "file", "in", "cache", "or", "no"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/DiskCache2.java#L265-L275", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/DiskCache2.java", "func_name": "DiskCache2.showCache", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Show cache contents, for debugging.\n@param pw write to this PrintStream.", "docstring_tokens": ["Show", "cache", "contents", "for", "debugging", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/DiskCache2.java#L398-L414", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/DiskCache2.java", "func_name": "DiskCache2.cleanCache", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove any files or directories whose last modified time greater than persistMinutes\n@param dir clean starting here\n@param sbuff status messages here, may be null\n@param isRoot delete empty directories, bit not root directory", "docstring_tokens": ["Remove", "any", "files", "or", "directories", "whose", "last", "modified", "time", "greater", "than", "persistMinutes"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/DiskCache2.java#L422-L459", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/geoloc/Bearing.java", "func_name": "Bearing.calculateBearing", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculate the bearing between the 2 points.\nSee calculateBearing below.\n\n@param e Earth object (defines radius & flattening)\n@param pt1 Point 1\n@param pt2 Point 2\n@param result Object to use if non-null\n@return The bearing", "docstring_tokens": ["Calculate", "the", "bearing", "between", "the", "2", "points", ".", "See", "calculateBearing", "below", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/geoloc/Bearing.java#L74-L80", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/geoloc/Bearing.java", "func_name": "Bearing.calculateBearing", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculate the bearing between the 2 points.\nSee calculateBearing below. Uses default Earth object.\n\n@param pt1 Point 1\n@param pt2 Point 2\n@param result Object to use if non-null\n@return The bearing", "docstring_tokens": ["Calculate", "the", "bearing", "between", "the", "2", "points", ".", "See", "calculateBearing", "below", ".", "Uses", "default", "Earth", "object", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/geoloc/Bearing.java#L92-L98", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/geoloc/Bearing.java", "func_name": "Bearing.main", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Test the calculations - forward and back\n\n@param args non used", "docstring_tokens": ["Test", "the", "calculations", "-", "forward", "and", "back"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/geoloc/Bearing.java#L397-L424", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/geoloc/Bearing.java", "func_name": "Bearing.findPoint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculate a position given an azimuth and distance from\nanother point.\n\n@param e Earth object (defines radius and flattening)\n@param pt1 Point 1\n@param az azimuth (degrees)\n@param dist distance from the point (km)\n@param result Object to use if non-null\n@return The LatLonPoint\n@see #findPoint(double,double,double,double,LatLonPointImpl)", "docstring_tokens": ["Calculate", "a", "position", "given", "an", "azimuth", "and", "distance", "from", "another", "point", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/geoloc/Bearing.java#L439-L444", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/geoloc/Bearing.java", "func_name": "Bearing.findPoint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculate a position given an azimuth and distance from\nanother point. Uses default Earth.\n\n@param pt1 Point 1\n@param az azimuth (degrees)\n@param dist distance from the point (km)\n@param result Object to use if non-null\n@return The LatLonPoint\n@see #findPoint(double,double,double,double,LatLonPointImpl)", "docstring_tokens": ["Calculate", "a", "position", "given", "an", "azimuth", "and", "distance", "from", "another", "point", ".", "Uses", "default", "Earth", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/geoloc/Bearing.java#L457-L462", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/geoloc/Bearing.java", "func_name": "Bearing.findPoint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculate a position given an azimuth and distance from\nanother point. See details, below. Uses default Earth.\n\n@param lat1 latitude of starting point\n@param lon1 longitude of starting point\n@param az forward azimuth (degrees)\n@param dist distance from the point (km)\n@param result Object to use if non-null\n@return the position as a LatLonPointImpl", "docstring_tokens": ["Calculate", "a", "position", "given", "an", "azimuth", "and", "distance", "from", "another", "point", ".", "See", "details", "below", ".", "Uses", "default", "Earth", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/geoloc/Bearing.java#L475-L479", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/image/SourcePicture.java", "func_name": "SourcePicture.loadPictureInThread", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "method to invoke with a filename or URL of a picture that is to be loaded\na new thread. This is handy to update the screen while the loading chuggs along in the background.\n\n@param\timageUrl\tThe URL of the image to be loaded\n@param\tpriority\tThe Thread priority for this thread.\n@param\trotation\tThe rotation 0-360 to be used on this picture", "docstring_tokens": ["method", "to", "invoke", "with", "a", "filename", "or", "URL", "of", "a", "picture", "that", "is", "to", "be", "loaded", "a", "new", "thread", ".", "This", "is", "handy", "to", "update", "the", "screen", "while", "the", "loading", "chuggs", "along", "in", "the", "background", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/image/SourcePicture.java#L172-L182", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/image/SourcePicture.java", "func_name": "SourcePicture.loadPicture", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "method to invoke with a filename or URL of a picture that is to be loaded in\nthe main thread.", "docstring_tokens": ["method", "to", "invoke", "with", "a", "filename", "or", "URL", "of", "a", "picture", "that", "is", "to", "be", "loaded", "in", "the", "main", "thread", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/image/SourcePicture.java#L188-L196", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/image/SourcePicture.java", "func_name": "SourcePicture.loadPicture", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "loads a picture from the URL in the imageUrl object into the sourcePictureBufferedImage\nobject and updates the status when done or failed.", "docstring_tokens": ["loads", "a", "picture", "from", "the", "URL", "in", "the", "imageUrl", "object", "into", "the", "sourcePictureBufferedImage", "object", "and", "updates", "the", "status", "when", "done", "or", "failed", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/image/SourcePicture.java#L202-L291", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/image/SourcePicture.java", "func_name": "SourcePicture.stopLoading", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "this method can be invoked to stop the current reader", "docstring_tokens": ["this", "method", "can", "be", "invoked", "to", "stop", "the", "current", "reader"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/image/SourcePicture.java#L297-L310", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/image/SourcePicture.java", "func_name": "SourcePicture.stopLoadingExcept", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "this method can be invoked to stop the current reader except if it\nis reading the desired file. It returns true is the desired file\nis being loaded. Otherwise it returns false.", "docstring_tokens": ["this", "method", "can", "be", "invoked", "to", "stop", "the", "current", "reader", "except", "if", "it", "is", "reading", "the", "desired", "file", ".", "It", "returns", "true", "is", "the", "desired", "file", "is", "being", "loaded", ".", "Otherwise", "it", "returns", "false", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/image/SourcePicture.java#L318-L333", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/image/SourcePicture.java", "func_name": "SourcePicture.getSize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "return the size of the image or Zero if there is none", "docstring_tokens": ["return", "the", "size", "of", "the", "image", "or", "Zero", "if", "there", "is", "none"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/image/SourcePicture.java#L338-L344", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/image/SourcePicture.java", "func_name": "SourcePicture.setSourceBufferedImage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "sets the buffered image. Unusual method use with care.", "docstring_tokens": ["sets", "the", "buffered", "image", ".", "Unusual", "method", "use", "with", "care", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/image/SourcePicture.java#L493-L496", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/thredds/client/catalog/Access.java", "func_name": "Access.getStandardUri", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Construct the standard THREDDS access URI for this dataset access method,\nresolved agaisnt the parent catalog if the URI is relative.\n\n@return the standard fully resolved THREDDS access URI for this dataset access method, or null if error.", "docstring_tokens": ["Construct", "the", "standard", "THREDDS", "access", "URI", "for", "this", "dataset", "access", "method", "resolved", "agaisnt", "the", "parent", "catalog", "if", "the", "URI", "is", "relative", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/thredds/client/catalog/Access.java#L84-L94", "partition": "test"} +{"repo": "Unidata/thredds", "path": "bufr/src/main/java/ucar/nc2/iosp/bufr/DataDescriptor.java", "func_name": "DataDescriptor.makeAssociatedField", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "for associated fields", "docstring_tokens": ["for", "associated", "fields"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/bufr/src/main/java/ucar/nc2/iosp/bufr/DataDescriptor.java#L111-L126", "partition": "test"} +{"repo": "Unidata/thredds", "path": "bufr/src/main/java/ucar/nc2/iosp/bufr/DataDescriptor.java", "func_name": "DataDescriptor.transferInfo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Transfer info from the \"proto message\" to another message with the exact same structure.\n@param fromList transfer from here\n@param toList to here", "docstring_tokens": ["Transfer", "info", "from", "the", "proto", "message", "to", "another", "message", "with", "the", "exact", "same", "structure", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/bufr/src/main/java/ucar/nc2/iosp/bufr/DataDescriptor.java#L220-L233", "partition": "test"} +{"repo": "Unidata/thredds", "path": "bufr/src/main/java/ucar/nc2/iosp/bufr/DataDescriptor.java", "func_name": "DataDescriptor.countBits", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "count the bits used by the data in this dd and its children\nonly accurate for not compressed, and not variable length\n\n@return bits used by the data in the file", "docstring_tokens": ["count", "the", "bits", "used", "by", "the", "data", "in", "this", "dd", "and", "its", "children", "only", "accurate", "for", "not", "compressed", "and", "not", "variable", "length"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/bufr/src/main/java/ucar/nc2/iosp/bufr/DataDescriptor.java#L244-L266", "partition": "test"} +{"repo": "Unidata/thredds", "path": "bufr/src/main/java/ucar/nc2/iosp/bufr/DataDescriptor.java", "func_name": "DataDescriptor.equals2", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "LOOK need different hashCode, reader assumes using object id", "docstring_tokens": ["LOOK", "need", "different", "hashCode", "reader", "assumes", "using", "object", "id"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/bufr/src/main/java/ucar/nc2/iosp/bufr/DataDescriptor.java#L339-L351", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/gis/shapefile/DbaseFile.java", "func_name": "DbaseFile.loadHeader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Load the dbase file header.\n\n@return 0 for success, -1 for failure", "docstring_tokens": ["Load", "the", "dbase", "file", "header", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/gis/shapefile/DbaseFile.java#L77-L125", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/gis/shapefile/DbaseFile.java", "func_name": "DbaseFile.loadData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Load the dbase file data.\n\n@return 0 for success, -1 for failure", "docstring_tokens": ["Load", "the", "dbase", "file", "data", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/gis/shapefile/DbaseFile.java#L132-L160", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/gis/shapefile/DbaseFile.java", "func_name": "DbaseFile.getField", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extract the data for a given field by name.\n\n@param Name String with the name of the field to retrieve.\n@return A DbaseData object if the name was found or null if not found", "docstring_tokens": ["Extract", "the", "data", "for", "a", "given", "field", "by", "name", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/gis/shapefile/DbaseFile.java#L188-L193", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/gis/shapefile/DbaseFile.java", "func_name": "DbaseFile.getDoublesByName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extract the double array of data for a field by Name.\n\n@param Name String with the name of the field to retrieve\n@return A double[] if valid numeric field, otherwise null", "docstring_tokens": ["Extract", "the", "double", "array", "of", "data", "for", "a", "field", "by", "Name", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/gis/shapefile/DbaseFile.java#L201-L226", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/gis/shapefile/DbaseFile.java", "func_name": "DbaseFile.getStringsByName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extract the string array of data for a field by Name.\n\n@param Name String with the name of the field to retrieve\n@return A String[] if valid character field, otherwise null", "docstring_tokens": ["Extract", "the", "string", "array", "of", "data", "for", "a", "field", "by", "Name", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/gis/shapefile/DbaseFile.java#L234-L239", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/gis/shapefile/DbaseFile.java", "func_name": "DbaseFile.getBooleansByName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extract the boolean array of data for a field by Name.\n\n@param Name String with the name of the field to retrieve\n@return A boolean[] if valid character field, otherwise null", "docstring_tokens": ["Extract", "the", "boolean", "array", "of", "data", "for", "a", "field", "by", "Name", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/gis/shapefile/DbaseFile.java#L247-L252", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/gis/shapefile/DbaseFile.java", "func_name": "DbaseFile.getFieldName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the name of a field by column number.\n\n@param i The column number of the field name.\n@return A String with the field name or null if out of bounds", "docstring_tokens": ["Get", "the", "name", "of", "a", "field", "by", "column", "number", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/gis/shapefile/DbaseFile.java#L260-L265", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/gis/shapefile/DbaseFile.java", "func_name": "DbaseFile.getFieldNames", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a list of all the field names in the dbase file\n\n@return A String array of all the field names", "docstring_tokens": ["Get", "a", "list", "of", "all", "the", "field", "names", "in", "the", "dbase", "file"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/gis/shapefile/DbaseFile.java#L272-L278", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/gis/shapefile/DbaseFile.java", "func_name": "DbaseFile.main", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Test program, dumps a Dbase file to stdout.", "docstring_tokens": ["Test", "program", "dumps", "a", "Dbase", "file", "to", "stdout", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/gis/shapefile/DbaseFile.java#L306-L366", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/dmr/DapNode.java", "func_name": "DapNode.getAttributes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "attributes are not allowed on some node types", "docstring_tokens": ["attributes", "are", "not", "allowed", "on", "some", "node", "types"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/dmr/DapNode.java#L150-L154", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/dmr/DapNode.java", "func_name": "DapNode.setAttribute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This may occur after initial construction", "docstring_tokens": ["This", "may", "occur", "after", "initial", "construction"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/dmr/DapNode.java#L162-L171", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/dmr/DapNode.java", "func_name": "DapNode.removeAttribute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Used by AbstractDSP to suppress certain attributes.\n\n@param attr\n@throws DapException", "docstring_tokens": ["Used", "by", "AbstractDSP", "to", "suppress", "certain", "attributes", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/dmr/DapNode.java#L190-L198", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/dmr/DapNode.java", "func_name": "DapNode.getGroup", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Closest containing group\n\n@returns closest group not equal to this\nor null if this is a DapDataset", "docstring_tokens": ["Closest", "containing", "group"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/dmr/DapNode.java#L287-L304", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/dmr/DapNode.java", "func_name": "DapNode.getContainer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Closest containing group, structure, sequence\n\n@returns closest container", "docstring_tokens": ["Closest", "containing", "group", "structure", "sequence"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/dmr/DapNode.java#L312-L333", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/dmr/DapNode.java", "func_name": "DapNode.getEscapedShortName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Here, escaped means backslash escaped short name\n\n@return escaped name", "docstring_tokens": ["Here", "escaped", "means", "backslash", "escaped", "short", "name"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/dmr/DapNode.java#L393-L398", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/dmr/DapNode.java", "func_name": "DapNode.getContainerPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the transitive list of containers\nNot including this node\n\n@return list of container nodes", "docstring_tokens": ["Get", "the", "transitive", "list", "of", "containers", "Not", "including", "this", "node"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/dmr/DapNode.java#L436-L447", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/dmr/DapNode.java", "func_name": "DapNode.getGroupPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the transitive list of containing groups\nPossibly including this node\n\n@return list of group nodes", "docstring_tokens": ["Get", "the", "transitive", "list", "of", "containing", "groups", "Possibly", "including", "this", "node"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/dmr/DapNode.java#L455-L468", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/dmr/DapNode.java", "func_name": "DapNode.computefqn", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compute the FQN of this node", "docstring_tokens": ["Compute", "the", "FQN", "of", "this", "node"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/dmr/DapNode.java#L477-L507", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/dmr/DapNode.java", "func_name": "DapNode.isTopLevel", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Misc. Methods", "docstring_tokens": ["Misc", ".", "Methods"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/dmr/DapNode.java#L512-L517", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4lib/src/main/java/dap4/dap4lib/serial/D4DSP.java", "func_name": "D4DSP.build", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Build the data from the incoming serial data\nNote that some DSP's will not use\n\n@param dmr\n@param serialdata\n@param order\n@throws DapException", "docstring_tokens": ["Build", "the", "data", "from", "the", "incoming", "serial", "data", "Note", "that", "some", "DSP", "s", "will", "not", "use"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4lib/src/main/java/dap4/dap4lib/serial/D4DSP.java#L100-L109", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/util/prefs/PreferencesExt.java", "func_name": "PreferencesExt.putBeanCollection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Stores a Collection of beans. The beans are stored using simple bean properties.\nThe collection of beans must all be of the same class.\n\n@param key key with which the specified collection is to be associated.\n@param newValue store this collection of beans.\n@throws NullPointerException if key or value is null.\n@throws IllegalStateException if this node (or an ancestor) has been\nremoved with the {@link #removeNode()} method.", "docstring_tokens": ["Stores", "a", "Collection", "of", "beans", ".", "The", "beans", "are", "stored", "using", "simple", "bean", "properties", ".", "The", "collection", "of", "beans", "must", "all", "be", "of", "the", "same", "class", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/util/prefs/PreferencesExt.java#L137-L142", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/util/prefs/PreferencesExt.java", "func_name": "PreferencesExt.getList", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get an arrayList. This returns a copy of the stored list.\n\n@param key key whose associated value is to be returned.\n@param def the value to be returned in the event that this\npreference node has no value associated with key.\n@return the value associated with key, or def\nif no value is associated with key.", "docstring_tokens": ["Get", "an", "arrayList", ".", "This", "returns", "a", "copy", "of", "the", "stored", "list", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/util/prefs/PreferencesExt.java#L176-L184", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/util/prefs/PreferencesExt.java", "func_name": "PreferencesExt._getObject", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "assume key non-null, locked node", "docstring_tokens": ["assume", "key", "non", "-", "null", "locked", "node"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/util/prefs/PreferencesExt.java#L474-L488", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/grib2/Grib2Record.java", "func_name": "Grib2Record.readData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read data array\n\n@param raf from this RandomAccessFile\n@param drsPos Grib2SectionDataRepresentation starts here\n@return data as float[] array\n@throws IOException on read error", "docstring_tokens": ["Read", "data", "array"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/grib2/Grib2Record.java#L290-L309", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4lib/src/main/java/dap4/dap4lib/DSPPrinter.java", "func_name": "DSPPrinter.print", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Print data from a DSP\n- optionally constrained\n\n@throws DapException", "docstring_tokens": ["Print", "data", "from", "a", "DSP", "-", "optionally", "constrained"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4lib/src/main/java/dap4/dap4lib/DSPPrinter.java#L114-L133", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4lib/src/main/java/dap4/dap4lib/DSPPrinter.java", "func_name": "DSPPrinter.printCompoundInstance", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Print a single structure or sequence or record instance\n\n@param datav\n@throws DapException", "docstring_tokens": ["Print", "a", "single", "structure", "or", "sequence", "or", "record", "instance"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4lib/src/main/java/dap4/dap4lib/DSPPrinter.java#L271-L305", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ncml/NcMLWriter.java", "func_name": "NcMLWriter.writeToString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes an NcML element to a string.\n\n@param elem an NcML element.\n@return the string that represents the NcML document.", "docstring_tokens": ["Writes", "an", "NcML", "element", "to", "a", "string", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ncml/NcMLWriter.java#L176-L183", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ncml/NcMLWriter.java", "func_name": "NcMLWriter.writeToFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes an NcML element to an output file.\n\n@param elem an NcML element.\n@param outFile the file to write the NcML document to.\n@throws IOException if there's any problem writing.", "docstring_tokens": ["Writes", "an", "NcML", "element", "to", "an", "output", "file", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ncml/NcMLWriter.java#L192-L196", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ncml/NcMLWriter.java", "func_name": "NcMLWriter.writeToStream", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes an NcML element to an output stream.\n\n@param elem an NcML element.\n@param outStream the stream to write the NcML document to. Will be closed at end of the method.\n@throws IOException if there's any problem writing.", "docstring_tokens": ["Writes", "an", "NcML", "element", "to", "an", "output", "stream", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ncml/NcMLWriter.java#L205-L210", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ncml/NcMLWriter.java", "func_name": "NcMLWriter.writeToWriter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes an NcML element to a Writer.\n\n@param elem an NcML element.\n@param writer the Writer to write the NcML document to. Will be closed at end of the method.\n@throws IOException if there's any problem writing.", "docstring_tokens": ["Writes", "an", "NcML", "element", "to", "a", "Writer", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ncml/NcMLWriter.java#L219-L223", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ncml/NcMLWriter.java", "func_name": "NcMLWriter.makeDimensionElement", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Only for shared dimensions.", "docstring_tokens": ["Only", "for", "shared", "dimensions", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ncml/NcMLWriter.java#L312-L326", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/mcidas/McIDASAreaTransformBuilder.java", "func_name": "McIDASAreaTransformBuilder.makeCoordinateTransform", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make the coordinate transform\n\n@param ctv the coordinate transform variable\n@return the coordinate transform", "docstring_tokens": ["Make", "the", "coordinate", "transform"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/mcidas/McIDASAreaTransformBuilder.java#L39-L51", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/mcidas/McIDASAreaTransformBuilder.java", "func_name": "McIDASAreaTransformBuilder.getIntArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "get the int array from the variable attribute\n\n@param ctv coordinate transform variable\n@param attName the attribute name\n@return the int array", "docstring_tokens": ["get", "the", "int", "array", "from", "the", "variable", "attribute"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/mcidas/McIDASAreaTransformBuilder.java#L60-L68", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/SI.java", "func_name": "SI.bu", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Factory method for constructing a base unit.\n\n@param name The name of the unit.\n@param symbol The symbol for the unit.\n@param quantity The base quantity of the unit.\n@return The base unit corresponding to the arguments.", "docstring_tokens": ["Factory", "method", "for", "constructing", "a", "base", "unit", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/SI.java#L606-L611", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/SI.java", "func_name": "SI.du", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Factory method for constructing a derived unit.\n\n@param name The name of the unit.\n@param symbol The symbol for the unit.\n@param definition The definition of the unit.\n@return The derived unit corresponding to the arguments.", "docstring_tokens": ["Factory", "method", "for", "constructing", "a", "derived", "unit", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/SI.java#L621-L624", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/SI.java", "func_name": "SI.baseUnitDB", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the base unit database of the SI.\n\n@return The base unit database of the SI.\n@throws NameException Bad unit name.\n@throws UnitExistsException Attempt to redefine an existing unit.\n@throws NoSuchUnitException Necessary unit not found.", "docstring_tokens": ["Returns", "the", "base", "unit", "database", "of", "the", "SI", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/SI.java#L642-L655", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/SI.java", "func_name": "SI.derivedUnitDB", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the derived unit database of the SI.\n\n@return The derived unit database of the SI.\n@throws NameException Bad unit name.\n@throws UnitExistsException Attempt to redefine an existing unit.\n@throws NoSuchUnitException Necessary unit not found.", "docstring_tokens": ["Returns", "the", "derived", "unit", "database", "of", "the", "SI", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/SI.java#L665-L717", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/SI.java", "func_name": "SI.instance", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an instance of the SI system of units.\n\n@return An instance of the SI system of units.\n@throws UnitSystemException Couldn't create an instance of the SI system of units.", "docstring_tokens": ["Returns", "an", "instance", "of", "the", "SI", "system", "of", "units", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/SI.java#L725-L734", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft2/coverage/CoordAxisHelper.java", "func_name": "CoordAxisHelper.findCoordElement", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Given a coordinate interval, find what grid element matches it.\n@param target interval in this coordinate system\n@param bounded if true, always return a valid index. otherwise can return < 0 or > n-1\n@return index of grid point containing it, or < 0 or > n-1 if outside grid area", "docstring_tokens": ["Given", "a", "coordinate", "interval", "find", "what", "grid", "element", "matches", "it", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft2/coverage/CoordAxisHelper.java#L38-L51", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft2/coverage/CoordAxisHelper.java", "func_name": "CoordAxisHelper.findClosest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "if its a tie, use the larger one", "docstring_tokens": ["if", "its", "a", "tie", "use", "the", "larger", "one"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft2/coverage/CoordAxisHelper.java#L218-L232", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft2/coverage/CoordAxisHelper.java", "func_name": "CoordAxisHelper.subsetValues", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "look must handle discon interval different", "docstring_tokens": ["look", "must", "handle", "discon", "interval", "different"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft2/coverage/CoordAxisHelper.java#L272-L301", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/thredds/client/catalog/tools/DataFactory.java", "func_name": "DataFactory.openFeatureDataset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Open a FeatureDataset from an Dataset object, deciding on which Access to use.\n\n@param Dataset use this to figure out what type, how to open, etc\n@param task allow user to cancel; may be null\n@return ThreddsDataFactory.Result check fatalError for validity\n@throws IOException on read error", "docstring_tokens": ["Open", "a", "FeatureDataset", "from", "an", "Dataset", "object", "deciding", "on", "which", "Access", "to", "use", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/thredds/client/catalog/tools/DataFactory.java#L194-L197", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/thredds/client/catalog/tools/DataFactory.java", "func_name": "DataFactory.openFeatureDataset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Open a FeatureDataset from an Access object.\n\n@param access use this Access.\n@param task may be null\n@return ThreddsDataFactory.Result check fatalError for validity\n@throws IOException on read error", "docstring_tokens": ["Open", "a", "FeatureDataset", "from", "an", "Access", "object", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/thredds/client/catalog/tools/DataFactory.java#L260-L270", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/thredds/client/catalog/tools/DataFactory.java", "func_name": "DataFactory.annotate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add information from the Dataset to the NetcdfDataset.\n\n@param ds get info from here\n@param ncDataset add to here", "docstring_tokens": ["Add", "information", "from", "the", "Dataset", "to", "the", "NetcdfDataset", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/thredds/client/catalog/tools/DataFactory.java#L599-L634", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/grib1/Grib1Record.java", "func_name": "Grib1Record.readData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read data array by first reading in GribRecord.\nAll sections are read in, so scanMode is from the datafile, not the index.\n\n@param raf from this RandomAccessFile\n@param startPos message starts here\n@return data as float[] array\n@throws IOException on read error", "docstring_tokens": ["Read", "data", "array", "by", "first", "reading", "in", "GribRecord", ".", "All", "sections", "are", "read", "in", "so", "scanMode", "is", "from", "the", "datafile", "not", "the", "index", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/grib1/Grib1Record.java#L195-L199", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4lib/src/main/java/dap4/dap4lib/XURI.java", "func_name": "XURI.assemble", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reassemble the url using the specified parts\n\n@param parts to include\n@return the assembled uri", "docstring_tokens": ["Reassemble", "the", "url", "using", "the", "specified", "parts"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4lib/src/main/java/dap4/dap4lib/XURI.java#L289-L324", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4lib/src/main/java/dap4/dap4lib/XURI.java", "func_name": "XURI.canonical", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Canonicalize a part of a URL\n\n@param s part of the url", "docstring_tokens": ["Canonicalize", "a", "part", "of", "a", "URL"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4lib/src/main/java/dap4/dap4lib/XURI.java#L332-L341", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/conv/WRFConvention.java", "func_name": "WRFConvention.normalize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "pretty much WRF specific", "docstring_tokens": ["pretty", "much", "WRF", "specific"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/conv/WRFConvention.java#L343-L364", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4lib/src/main/java/dap4/dap4lib/netcdf/Nc4DMRCompiler.java", "func_name": "Nc4DMRCompiler.compile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Main entry point", "docstring_tokens": ["Main", "entry", "point"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4lib/src/main/java/dap4/dap4lib/netcdf/Nc4DMRCompiler.java#L103-L111", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/InvMetadata.java", "func_name": "InvMetadata.finish", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finish getting the metadata if necessary.\nIf this is an XLink, this will trigger a read of the href the first time called.", "docstring_tokens": ["Finish", "getting", "the", "metadata", "if", "necessary", ".", "If", "this", "is", "an", "XLink", "this", "will", "trigger", "a", "read", "of", "the", "href", "the", "first", "time", "called", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/InvMetadata.java#L236-L264", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/util/SortedTable.java", "func_name": "SortedTable.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the value to which the key is mapped in this table.\n\n@param key a key in this table.\n@return the value to which the key is mapped, or null if the key is not\nmapped to any value in the table.", "docstring_tokens": ["Returns", "the", "value", "to", "which", "the", "key", "is", "mapped", "in", "this", "table", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/util/SortedTable.java#L98-L104", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/util/SortedTable.java", "func_name": "SortedTable.put", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Maps the specified key to the specified value in this table.\n\n@param key the key\n@param value the value\n@return the previous value to which the key is mapped, or null if the\nkey did not have a previous mapping.\n@throws NullPointerException if the key or value is null.", "docstring_tokens": ["Maps", "the", "specified", "key", "to", "the", "specified", "value", "in", "this", "table", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/util/SortedTable.java#L135-L149", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/grads/GradsTimeStruct.java", "func_name": "GradsTimeStruct.getDate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return this as a java Date object\n\n@return the corresponding Date", "docstring_tokens": ["Return", "this", "as", "a", "java", "Date", "object"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/grads/GradsTimeStruct.java#L67-L77", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4lib/src/main/java/dap4/dap4lib/DMRPrinter.java", "func_name": "DMRPrinter.printXMLAttributes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Print info from the node that needs to be in the form of xml attributes", "docstring_tokens": ["Print", "info", "from", "the", "node", "that", "needs", "to", "be", "in", "the", "form", "of", "xml", "attributes"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4lib/src/main/java/dap4/dap4lib/DMRPrinter.java#L295-L364", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4lib/src/main/java/dap4/dap4lib/DMRPrinter.java", "func_name": "DMRPrinter.printXMLAttribute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "PrintXMLAttributes helper function\n\n@param name\n@param value\n@param flags\n@throws DapException", "docstring_tokens": ["PrintXMLAttributes", "helper", "function"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4lib/src/main/java/dap4/dap4lib/DMRPrinter.java#L374-L396", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4lib/src/main/java/dap4/dap4lib/DMRPrinter.java", "func_name": "DMRPrinter.isSpecial", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Special here is not the same as reserved\n\n@param attr\n@return", "docstring_tokens": ["Special", "here", "is", "not", "the", "same", "as", "reserved"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4lib/src/main/java/dap4/dap4lib/DMRPrinter.java#L465-L479", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4lib/src/main/java/dap4/dap4lib/DMRPrinter.java", "func_name": "DMRPrinter.printDimrefs", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Print the dimrefs for a variable's dimensions.\nIf the variable has a non-whole projection, then use size\nelse use the dimension name.\n\n@param var whole dimensions are to be printed\n@throws DapException", "docstring_tokens": ["Print", "the", "dimrefs", "for", "a", "variable", "s", "dimensions", ".", "If", "the", "variable", "has", "a", "non", "-", "whole", "projection", "then", "use", "size", "else", "use", "the", "dimension", "name", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4lib/src/main/java/dap4/dap4lib/DMRPrinter.java#L534-L557", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/mcidas/AreaReader.java", "func_name": "AreaReader.isValidFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check to see if this is a valid AREA file.\n\n@param raf the file in question\n@return true if it is an AREA file.", "docstring_tokens": ["Check", "to", "see", "if", "this", "is", "a", "valid", "AREA", "file", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/mcidas/AreaReader.java#L323-L334", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/mcidas/AreaReader.java", "func_name": "AreaReader.setAreaDirectoryAttributes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the area directory attributes on the variable\n\n@param v the variable to set them on", "docstring_tokens": ["Set", "the", "area", "directory", "attributes", "on", "the", "variable"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/mcidas/AreaReader.java#L453-L463", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/mcidas/AreaReader.java", "func_name": "AreaReader.setNavBlockAttributes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the navigation block attributes on the variable\n\n@param v the variable to set them on", "docstring_tokens": ["Set", "the", "navigation", "block", "attributes", "on", "the", "variable"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/mcidas/AreaReader.java#L470-L477", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/mcidas/AreaReader.java", "func_name": "AreaReader.getCalType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the calibration type from the name\n\n@param calName calibration name\n@return the Calibrator class type", "docstring_tokens": ["Get", "the", "calibration", "type", "from", "the", "name"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/mcidas/AreaReader.java#L645-L659", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/mcidas/AreaReader.java", "func_name": "AreaReader.setCalTypeAttributes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the long name and units for the calibration type\n\n@param image image variable\n@param calType calibration type", "docstring_tokens": ["Set", "the", "long", "name", "and", "units", "for", "the", "calibration", "type"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/mcidas/AreaReader.java#L667-L706", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft/point/standard/CoordSysEvaluator.java", "func_name": "CoordSysEvaluator.findCoords", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "search for Axis by Type, assign to TableConfig if found.\nsearch for Lat, Lon, Time, Height.\n@param nt set coordinates short names in this table.\n@param ds search in this dataset's \"Best\" coordinate system. If no CoordSystem, try list of coordinate axes", "docstring_tokens": ["search", "for", "Axis", "by", "Type", "assign", "to", "TableConfig", "if", "found", ".", "search", "for", "Lat", "Lon", "Time", "Height", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft/point/standard/CoordSysEvaluator.java#L32-L39", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft/point/standard/CoordSysEvaluator.java", "func_name": "CoordSysEvaluator.findCoordNameByType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "search for Axis by Type.\n@param ds search in this dataset's \"Best\" coordinate system.\n@param atype search for this type of CoordinateAxis. takes the first one it finds.\n@return the found CoordinateAxis name, or null if none", "docstring_tokens": ["search", "for", "Axis", "by", "Type", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft/point/standard/CoordSysEvaluator.java#L47-L50", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft/point/standard/CoordSysEvaluator.java", "func_name": "CoordSysEvaluator.findCoordByType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Search for Axis by Type.\n@param ds search in this dataset's \"Best\" coordinate system.\n@param atype search for this type of CoordinateAxis. takes the first one it finds.\n@return the found CoordinateAxis, or null if none", "docstring_tokens": ["Search", "for", "Axis", "by", "Type", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft/point/standard/CoordSysEvaluator.java#L68-L70", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft/point/standard/CoordSysEvaluator.java", "func_name": "CoordSysEvaluator.findCoordByType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "search for Axis by Type and test against a predicate\n@param ds search in this dataset's \"Best\" coordinate system.\n@param atype search for this type of CoordinateAxis.\n@param p match this predicate; may be null\n@return the found CoordinateAxis, or null if none", "docstring_tokens": ["search", "for", "Axis", "by", "Type", "and", "test", "against", "a", "predicate"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft/point/standard/CoordSysEvaluator.java#L79-L88", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft/point/standard/CoordSysEvaluator.java", "func_name": "CoordSysEvaluator.findDimensionByType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "search for Dimension used by axis of given by Type.\n@param ds search in this dataset's \"Best\" coordinate system.\n@param atype search for this type of CoordinateAxis. takes the first one it finds.\n@return the found CoordinateAxis' first Dimension, or null if none or scalar", "docstring_tokens": ["search", "for", "Dimension", "used", "by", "axis", "of", "given", "by", "Type", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft/point/standard/CoordSysEvaluator.java#L119-L124", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft/point/standard/CoordSysEvaluator.java", "func_name": "CoordSysEvaluator.findBestCoordinateSystem", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find the CoordinateSystem with the most number of CoordinateAxes\n@param ds search in this dataset\n@return CoordinateSystem or null if none", "docstring_tokens": ["Find", "the", "CoordinateSystem", "with", "the", "most", "number", "of", "CoordinateAxes"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft/point/standard/CoordSysEvaluator.java#L131-L140", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft2/coverage/CoordsSet.java", "func_name": "CoordsSet.findDependent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "find the dependent axis that depend on independentAxis", "docstring_tokens": ["find", "the", "dependent", "axis", "that", "depend", "on", "independentAxis"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft2/coverage/CoordsSet.java#L211-L221", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/dap/DSequence.java", "func_name": "DSequence.getVariable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the named variable in the given row of the sequence.\n\n@param row the row number to retrieve.\n@param name the name of the variable.\n@return the named variable.\n@throws NoSuchVariableException if the named variable does not\nexist in this container.", "docstring_tokens": ["Returns", "the", "named", "variable", "in", "the", "given", "row", "of", "the", "sequence", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/dap/DSequence.java#L290-L312", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/dap/DSequence.java", "func_name": "DSequence.oldDeserialize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The old deserialize protocol has a number of limitations stemming from\nits inability to tell when the sequence is finished. It's really only\ngood for a Dataset containing a single sequence, or where the sequence is\nthe last thing in the dataset. To handle this, we just read single\ninstances until we get an IOException, then stop.\n\n@param source a DataInputStream to read from.\n@param sv the ServerVersion returned by the server.\n@param statusUI the StatusUI object to use for GUI updates\nand user cancellation notification (may be null).\n@throws IOException thrown on any InputStream exception other than EOF\n(which is trapped here).\n@throws DataReadException if an unexpected value was read.", "docstring_tokens": ["The", "old", "deserialize", "protocol", "has", "a", "number", "of", "limitations", "stemming", "from", "its", "inability", "to", "tell", "when", "the", "sequence", "is", "finished", ".", "It", "s", "really", "only", "good", "for", "a", "Dataset", "containing", "a", "single", "sequence", "or", "where", "the", "sequence", "is", "the", "last", "thing", "in", "the", "dataset", ".", "To", "handle", "this", "we", "just", "read", "single", "instances", "until", "we", "get", "an", "IOException", "then", "stop", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/dap/DSequence.java#L497-L507", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/dap/DSequence.java", "func_name": "DSequence.readMarker", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads a marker byte from the input stream.", "docstring_tokens": ["Reads", "a", "marker", "byte", "from", "the", "input", "stream", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/dap/DSequence.java#L544-L552", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/dap/DSequence.java", "func_name": "DSequence.writeMarker", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes a marker byte to the output stream.", "docstring_tokens": ["Writes", "a", "marker", "byte", "to", "the", "output", "stream", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/dap/DSequence.java#L557-L563", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/dmr/parser/bison/SaxEventHandler.java", "func_name": "SaxEventHandler.fatalError", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Error handling Events", "docstring_tokens": ["Error", "handling", "Events"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/dmr/parser/bison/SaxEventHandler.java#L236-L243", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/thredds/ui/monitor/MultipleAxisChart.java", "func_name": "MultipleAxisChart.createDataset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates the demo chart.\n\n@return The chart.\n\nprivate JFreeChart createChart() {\n\nXYDataset dataset1 = createDataset(\"Series 1\", 100.0, new Minute(), 200);\n\nJFreeChart chart = ChartFactory.createTimeSeriesChart(\n\"Multiple Axis Demo 1\",\n\"Time of Day\",\n\"Primary Range Axis\",\ndataset1,\ntrue,\ntrue,\nfalse\n);\n\nchart.addSubtitle(new TextTitle(\"Four datasets and four range axes.\"));\nXYPlot plot = (XYPlot) chart.getPlot();\nplot.setOrientation(PlotOrientation.VERTICAL);\n\nplot.getRangeAxis().setFixedDimension(15.0);\n\nAXIS 2\nNumberAxis axis2 = new NumberAxis(\"Range Axis 2\");\naxis2.setFixedDimension(10.0);\naxis2.setAutoRangeIncludesZero(false);\nplot.setRangeAxis(1, axis2);\nplot.setRangeAxisLocation(1, AxisLocation.BOTTOM_OR_LEFT);\n\nXYDataset dataset2 = createDataset(\"Series 2\", 1000.0, new Minute(),\n170);\nplot.setDataset(1, dataset2);\nplot.mapDatasetToRangeAxis(1, 1);\nXYItemRenderer renderer2 = new StandardXYItemRenderer();\nplot.setRenderer(1, renderer2);\n\nAXIS 3\nNumberAxis axis3 = new NumberAxis(\"Range Axis 3\");\nplot.setRangeAxis(2, axis3);\n\nXYDataset dataset3 = createDataset(\"Series 3\", 10000.0, new Minute(),\n170);\nplot.setDataset(2, dataset3);\nplot.mapDatasetToRangeAxis(2, 2);\nXYItemRenderer renderer3 = new StandardXYItemRenderer();\nplot.setRenderer(2, renderer3);\n\nAXIS 4\nNumberAxis axis4 = new NumberAxis(\"Range Axis 4\");\nplot.setRangeAxis(3, axis4);\n\nXYDataset dataset4 = createDataset(\"Series 4\", 25.0, new Minute(), 200);\nplot.setDataset(3, dataset4);\nplot.mapDatasetToRangeAxis(3, 3);\n\nXYItemRenderer renderer4 = new StandardXYItemRenderer();\nplot.setRenderer(3, renderer4);\n\nChartUtilities.applyCurrentTheme(chart);\n\nchange the series and axis colours after the theme has\nbeen applied...\nplot.getRenderer().setSeriesPaint(0, Color.black);\nrenderer2.setSeriesPaint(0, Color.red);\naxis2.setLabelPaint(Color.red);\naxis2.setTickLabelPaint(Color.red);\nrenderer3.setSeriesPaint(0, Color.blue);\naxis3.setLabelPaint(Color.blue);\naxis3.setTickLabelPaint(Color.blue);\nrenderer4.setSeriesPaint(0, Color.green);\naxis4.setLabelPaint(Color.green);\naxis4.setTickLabelPaint(Color.green);\n\nreturn chart;\n}\n\n\nCreates a sample dataset.\n\n@param name the dataset name.\n@param base the starting value.\n@param start the starting period.\n@param count the number of values to generate.\n@return The dataset.", "docstring_tokens": ["Creates", "the", "demo", "chart", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/thredds/ui/monitor/MultipleAxisChart.java#L196-L209", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/thredds/ui/monitor/MultipleAxisChart.java", "func_name": "MultipleAxisChart.main", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Starting point for the demonstration application.\n\n@param args ignored.", "docstring_tokens": ["Starting", "point", "for", "the", "demonstration", "application", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/thredds/ui/monitor/MultipleAxisChart.java#L216-L275", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/StructureDataA.java", "func_name": "StructureDataA.getJavaArrayString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "LOOK can we optimize ??", "docstring_tokens": ["LOOK", "can", "we", "optimize", "??"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/StructureDataA.java#L216-L236", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/atd/dorade/DoradeVOLD.java", "func_name": "DoradeVOLD.getParamList", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the array of available parameter names for this volume.\n@return an array of parameter names", "docstring_tokens": ["Get", "the", "array", "of", "available", "parameter", "names", "for", "this", "volume", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/atd/dorade/DoradeVOLD.java#L147-L160", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/point/StationRegionDateChooser.java", "func_name": "StationRegionDateChooser.setStations", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the list of Stations.\n\n@param stns list of Station", "docstring_tokens": ["Set", "the", "list", "of", "Stations", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/point/StationRegionDateChooser.java#L357-L360", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/point/StationRegionDateChooser.java", "func_name": "StationRegionDateChooser.setSelectedStation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Looks for the station with given id. If found, makes it current. Redraws.\n\n@param id must match stationIF.getID().", "docstring_tokens": ["Looks", "for", "the", "station", "with", "given", "id", ".", "If", "found", "makes", "it", "current", ".", "Redraws", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/point/StationRegionDateChooser.java#L367-L373", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/point/StationRegionDateChooser.java", "func_name": "StationRegionDateChooser.redraw", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Redraw the graphics on the screen.", "docstring_tokens": ["Redraw", "the", "graphics", "on", "the", "screen", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/point/StationRegionDateChooser.java#L417-L457", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/geoloc/ProjectionRect.java", "func_name": "ProjectionRect.readObject", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read the object from the input stream of the serialized object\n\n@param s stream to read\n@throws ClassNotFoundException couldn't file the class\n@throws IOException Problem reading from stream", "docstring_tokens": ["Read", "the", "object", "from", "the", "input", "stream", "of", "the", "serialized", "object"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/geoloc/ProjectionRect.java#L441-L448", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/geoloc/ProjectionRect.java", "func_name": "ProjectionRect.writeObject", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Wrtie the object to the output stream\n\n@param s stream to write\n@throws IOException Problem writing to stream", "docstring_tokens": ["Wrtie", "the", "object", "to", "the", "output", "stream"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/geoloc/ProjectionRect.java#L456-L461", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/UnitDBImpl.java", "func_name": "UnitDBImpl.add", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds all the entries in another UnitDBImpl to this database.\n\n@param that\nThe other UnitDBImpl.\n@throws UnitExistsException\nAttempt to redefine an existing entry.", "docstring_tokens": ["Adds", "all", "the", "entries", "in", "another", "UnitDBImpl", "to", "this", "database", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/UnitDBImpl.java#L71-L75", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/UnitDBImpl.java", "func_name": "UnitDBImpl.addUnit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a unit to the database.\n\n@param unit\nThe unit to be added.\n@throws UnitExistsException\nAnother unit with the same name or symbol already exists in\nthe database.\n@throws NameException\nBad unit name.", "docstring_tokens": ["Adds", "a", "unit", "to", "the", "database", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/UnitDBImpl.java#L106-L115", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/UnitDBImpl.java", "func_name": "UnitDBImpl.addSymbol", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a symbol for a unit already in the database.\n\n@param symbol\nThe symbol for the unit.\n@param name\nThe name of the unit already in the database.\n@throws UnitExistsException\nAnother unit with the same name or symbol already exists in\nthe database.\n@throws NoSuchUnitException\nThe unit isn't in the database.", "docstring_tokens": ["Adds", "a", "symbol", "for", "a", "unit", "already", "in", "the", "database", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/UnitDBImpl.java#L169-L172", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/UnitDBImpl.java", "func_name": "UnitDBImpl.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets a unit by either name, plural, or symbol. Retrieving the unit by\nsymbol is attempted before retrieving the unit by name because symbol\ncomparisons are case sensitive and, hence, should be more robust.\n\n@param id\nThe id to be matched.\n@return The unit whose name, plural, or symbol matches or\nnull if no such unit was found.", "docstring_tokens": ["Gets", "a", "unit", "by", "either", "name", "plural", "or", "symbol", ".", "Retrieving", "the", "unit", "by", "symbol", "is", "attempted", "before", "retrieving", "the", "unit", "by", "name", "because", "symbol", "comparisons", "are", "case", "sensitive", "and", "hence", "should", "be", "more", "robust", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/UnitDBImpl.java#L231-L237", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/UnitDBImpl.java", "func_name": "UnitDBImpl.addByName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a unit to the database by name.\n\n@param name\nThe name of the unit. If null then the unit is\nnot added.\n@param newUnit\nThe unit to be added.\n@throws UnitExistsException\nAttempt to redefine an existing unit.", "docstring_tokens": ["Adds", "a", "unit", "to", "the", "database", "by", "name", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/UnitDBImpl.java#L308-L313", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/UnitDBImpl.java", "func_name": "UnitDBImpl.addBySymbol", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a unit to the database by symbol.\n\n@param symbol\nThe symbol for the unit. If null then the unit is\nnot added.\n@param newUnit\nThe unit to be added.\n@throws UnitExistsException\nAttempt to redefine an existing unit.", "docstring_tokens": ["Adds", "a", "unit", "to", "the", "database", "by", "symbol", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/UnitDBImpl.java#L326-L331", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/UnitDBImpl.java", "func_name": "UnitDBImpl.addUnique", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a unique unit to a map..\n\n@param map\nThe map to be added to.\n@param key\nThe key for the unit entry.\n@param newUnit\nThe unit to be added.\n@throws UnitExistsException\nAttempt to redefine an existing unit.", "docstring_tokens": ["Adds", "a", "unique", "unit", "to", "a", "map", ".."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/UnitDBImpl.java#L345-L351", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/widget/PLAF.java", "func_name": "PLAF.addToMenu", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a set of MenuItems to the given JMenu, one for each possible L&F.\nif this platform doesnt support the L&F, disable the MenuItem.", "docstring_tokens": ["Add", "a", "set", "of", "MenuItems", "to", "the", "given", "JMenu", "one", "for", "each", "possible", "L&F", ".", "if", "this", "platform", "doesnt", "support", "the", "L&F", "disable", "the", "MenuItem", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/widget/PLAF.java#L53-L61", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/grib2/Grib2RecordScanner.java", "func_name": "Grib2RecordScanner.findRecordByDrspos", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "tricky bit of business. recapture the entire record based on drs position.\nfor validation.\n@param raf from this RandomAccessFile\n@param drsPos Grib2SectionDataRepresentation starts here", "docstring_tokens": ["tricky", "bit", "of", "business", ".", "recapture", "the", "entire", "record", "based", "on", "drs", "position", ".", "for", "validation", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/grib2/Grib2RecordScanner.java#L61-L72", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/server/opendap/NcSDStructure.java", "func_name": "NcSDStructure.read", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "called if its scalar", "docstring_tokens": ["called", "if", "its", "scalar"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/server/opendap/NcSDStructure.java#L60-L67", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/server/opendap/NcSDStructure.java", "func_name": "NcSDStructure.serialize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "overrride for array of Structures", "docstring_tokens": ["overrride", "for", "array", "of", "Structures"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/server/opendap/NcSDStructure.java#L90-L115", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/atd/dorade/DoradePARM.java", "func_name": "DoradePARM.getParamValues", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the unpacked data values for a selected parameter.\n@param rdat the name of the desired parameter\n@param workingArray If non-null and the same length as needed then use this.\n@return the unpacked data values for all cells, using BAD_VALUE\nfor bad data cells\n@throws DescriptorException", "docstring_tokens": ["Get", "the", "unpacked", "data", "values", "for", "a", "selected", "parameter", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/atd/dorade/DoradePARM.java#L238-L298", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/geoloc/projection/VerticalPerspectiveView.java", "func_name": "VerticalPerspectiveView.constructCopy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "\"map limit\" circle of this radius from the origin, p 173", "docstring_tokens": ["map", "limit", "circle", "of", "this", "radius", "from", "the", "origin", "p", "173"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/geoloc/projection/VerticalPerspectiveView.java#L34-L40", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/ucar/nc2/thredds/ThreddsDataFactory.java", "func_name": "ThreddsDataFactory.openFeatureDataset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Open a FeatureDataset from an InvDataset object, deciding on which InvAccess to use.\n\n@param invDataset use this to figure out what type, how to open, etc\n@param task allow user to cancel; may be null\n@return ThreddsDataFactory.Result check fatalError for validity\n@throws IOException on read error", "docstring_tokens": ["Open", "a", "FeatureDataset", "from", "an", "InvDataset", "object", "deciding", "on", "which", "InvAccess", "to", "use", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/ucar/nc2/thredds/ThreddsDataFactory.java#L197-L199", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/ucar/nc2/thredds/ThreddsDataFactory.java", "func_name": "ThreddsDataFactory.openFeatureDataset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Open a FeatureDataset from an InvAccess object.\n\n@param access use this InvAccess.\n@param task may be null\n@return ThreddsDataFactory.Result check fatalError for validity\n@throws IOException on read error", "docstring_tokens": ["Open", "a", "FeatureDataset", "from", "an", "InvAccess", "object", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/ucar/nc2/thredds/ThreddsDataFactory.java#L273-L283", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/ucar/nc2/thredds/ThreddsDataFactory.java", "func_name": "ThreddsDataFactory.openDataset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Try to open as a NetcdfDataset.\n\n@param invDataset open this\n@param acquire if true, aquire the dataset, else open it\n@param task may be null\n@param log error message, may be null\n@return NetcdfDataset or null if failure\n@throws IOException on read error", "docstring_tokens": ["Try", "to", "open", "as", "a", "NetcdfDataset", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/ucar/nc2/thredds/ThreddsDataFactory.java#L362-L367", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/ucar/nc2/thredds/ThreddsDataFactory.java", "func_name": "ThreddsDataFactory.annotate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add information from the InvDataset to the NetcdfDataset.\n\n@param ds get info from here\n@param ncDataset add to here", "docstring_tokens": ["Add", "information", "from", "the", "InvDataset", "to", "the", "NetcdfDataset", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/ucar/nc2/thredds/ThreddsDataFactory.java#L604-L639", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/thredds/client/catalog/Property.java", "func_name": "Property.removeDups", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "first one override", "docstring_tokens": ["first", "one", "override"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/thredds/client/catalog/Property.java#L57-L63", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/collection/PartitionCollectionMutable.java", "func_name": "VariableIndexPartitioned.addPartition", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "only used by PartitionBuilder, not PartitionBuilderFromIndex", "docstring_tokens": ["only", "used", "by", "PartitionBuilder", "not", "PartitionBuilderFromIndex"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/collection/PartitionCollectionMutable.java#L99-L106", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/collection/PartitionCollectionMutable.java", "func_name": "Partition.makeGribCollection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "the children must already exist", "docstring_tokens": ["the", "children", "must", "already", "exist"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/collection/PartitionCollectionMutable.java#L232-L244", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/cataloggen/datasetenhancer/RegExpAndDurationTimeCoverageEnhancer.java", "func_name": "RegExpAndDurationTimeCoverageEnhancer.getInstanceToMatchOnDatasetName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Factory method that returns a RegExpAndDurationTimeCoverageEnhancer instance\nthat will apply the match pattern to the dataset name.\n\n@param matchPattern a regular expression used to match against the CrawlableDataset name.\n@param substitutionPattern the time coverage start time (which may contain regular expression capturing group substitution strings).\n@param duration the time coverage duration string.\n\n@return a RegExpAndDurationTimeCoverageEnhancer that will apply the match pattern to the dataset name.", "docstring_tokens": ["Factory", "method", "that", "returns", "a", "RegExpAndDurationTimeCoverageEnhancer", "instance", "that", "will", "apply", "the", "match", "pattern", "to", "the", "dataset", "name", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/cataloggen/datasetenhancer/RegExpAndDurationTimeCoverageEnhancer.java#L56-L65", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/cataloggen/datasetenhancer/RegExpAndDurationTimeCoverageEnhancer.java", "func_name": "RegExpAndDurationTimeCoverageEnhancer.getInstanceToMatchOnDatasetPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Factory method that returns a RegExpAndDurationTimeCoverageEnhancer instance\nthat will apply the match pattern to the dataset path.\n\n@param matchPattern a regular expression used to match against the CrawlableDataset path.\n@param substitutionPattern the time coverage start time (which may contain regular expression capturing group substitution strings).\n@param duration the time coverage duration string.\n\n@return a RegExpAndDurationTimeCoverageEnhancer that will apply the match pattern to the dataset path.", "docstring_tokens": ["Factory", "method", "that", "returns", "a", "RegExpAndDurationTimeCoverageEnhancer", "instance", "that", "will", "apply", "the", "match", "pattern", "to", "the", "dataset", "path", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/cataloggen/datasetenhancer/RegExpAndDurationTimeCoverageEnhancer.java#L77-L85", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/query/DqcFactory.java", "func_name": "DqcFactory.writeXML", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write the catalog as an XML document to the specified filename.\n\n@param dqc : write this QueryCapability to an XML representation.\n@param filename write to this filename\n@return true if success", "docstring_tokens": ["Write", "the", "catalog", "as", "an", "XML", "document", "to", "the", "specified", "filename", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/query/DqcFactory.java#L330-L340", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/hdf4/H4iosp.java", "func_name": "H4iosp.readStructureData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Structures must be fixed sized\n\n@param s the record structure\n@param section the record range to read\n@return an ArrayStructure, with all the data read in.\n@throws IOException on error\n@throws ucar.ma2.InvalidRangeException if invalid section", "docstring_tokens": ["Structures", "must", "be", "fixed", "sized"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/hdf4/H4iosp.java#L128-L185", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/image/PicturePane.java", "func_name": "PicturePane.setPicture", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "brings up the indicated picture on the display.\n@param filenameURL The URL of the picture to display\n@param legendParam\tThe description of the picture\n@param rotation The rotation that should be applied", "docstring_tokens": ["brings", "up", "the", "indicated", "picture", "on", "the", "display", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/image/PicturePane.java#L184-L191", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/image/PicturePane.java", "func_name": "PicturePane.setBufferedImage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "sets the buffered image directly.", "docstring_tokens": ["sets", "the", "buffered", "image", "directly", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/image/PicturePane.java#L196-L210", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/image/PicturePane.java", "func_name": "PicturePane.zoomToFit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "this method sets the desired scaled size of the ScalablePicture\nto the size of the JPanel and fires off a createScaledPictureInThread\nrequest if the ScalablePicture has been loaded or is ready.\n\n@see ScalablePicture#createScaledPictureInThread(int)", "docstring_tokens": ["this", "method", "sets", "the", "desired", "scaled", "size", "of", "the", "ScalablePicture", "to", "the", "size", "of", "the", "JPanel", "and", "fires", "off", "a", "createScaledPictureInThread", "request", "if", "the", "ScalablePicture", "has", "been", "loaded", "or", "is", "ready", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/image/PicturePane.java#L271-L279", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/image/PicturePane.java", "func_name": "PicturePane.paintComponent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "we are overriding the default paintComponent method, grabbing the Graphics\nhandle and doing our own drawing here. Esentially this method draws a large\nblack rectangle. A drawRenderedImage is then painted doing an affine transformation\non the scaled image to position it so the the desired point is in the middle of the\nGraphics object. The picture is not scaled here because this is a slow operation\nand only needs to be done once, while moving the image is something the user is\nlikely to do more often.", "docstring_tokens": ["we", "are", "overriding", "the", "default", "paintComponent", "method", "grabbing", "the", "Graphics", "handle", "and", "doing", "our", "own", "drawing", "here", ".", "Esentially", "this", "method", "draws", "a", "large", "black", "rectangle", ".", "A", "drawRenderedImage", "is", "then", "painted", "doing", "an", "affine", "transformation", "on", "the", "scaled", "image", "to", "position", "it", "so", "the", "the", "desired", "point", "is", "in", "the", "middle", "of", "the", "Graphics", "object", ".", "The", "picture", "is", "not", "scaled", "here", "because", "this", "is", "a", "slow", "operation", "and", "only", "needs", "to", "be", "done", "once", "while", "moving", "the", "image", "is", "something", "the", "user", "is", "likely", "to", "do", "more", "often", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/image/PicturePane.java#L413-L468", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakUtil.java", "func_name": "GempakUtil.TG_FTOI", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This subroutine converts the two integers stored in a grid file\ninto three integers containing the date, time and forecast time.\n@param iftime input time array\n@param start offset into the array\n@return int[3] with date time and forecast time", "docstring_tokens": ["This", "subroutine", "converts", "the", "two", "integers", "stored", "in", "a", "grid", "file", "into", "three", "integers", "containing", "the", "date", "time", "and", "forecast", "time", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakUtil.java#L35-L65", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakUtil.java", "func_name": "GempakUtil.TG_ITOC", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This subroutine converts an integer time array containing the date,\ntime and forecast time into a GEMPAK grid time.\n\n@param intdtf integer array of date, time and forecast time\n\n@return formatted string", "docstring_tokens": ["This", "subroutine", "converts", "an", "integer", "time", "array", "containing", "the", "date", "time", "and", "forecast", "time", "into", "a", "GEMPAK", "grid", "time", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakUtil.java#L75-L101", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakUtil.java", "func_name": "GempakUtil.TI_ITOC", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This subroutine converts an integer time array into a standard\nGEMPAK time. The integers are checked for validity.\n@param idtarr Time array (YYYY,MM,DD,HH,MM)\n@return time as a string", "docstring_tokens": ["This", "subroutine", "converts", "an", "integer", "time", "array", "into", "a", "standard", "GEMPAK", "time", ".", "The", "integers", "are", "checked", "for", "validity", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakUtil.java#L184-L226", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakUtil.java", "func_name": "GempakUtil.TI_DAYM", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This subroutine returns the number of days in the given month.\nThe year must be a full four-digit year.\n\n@param iyear integer year\n@param imon integer month\n\n@return number of days", "docstring_tokens": ["This", "subroutine", "returns", "the", "number", "of", "days", "in", "the", "given", "month", ".", "The", "year", "must", "be", "a", "full", "four", "-", "digit", "year", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakUtil.java#L239-L253", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakUtil.java", "func_name": "GempakUtil.LV_CCRD", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This subroutine translates a numeric value for IVCORD into its\ncharacter value in VCOORD.\n@param ivcord integer coordinate value\n@return string coordinate name", "docstring_tokens": ["This", "subroutine", "translates", "a", "numeric", "value", "for", "IVCORD", "into", "its", "character", "value", "in", "VCOORD", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakUtil.java#L326-L355", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakUtil.java", "func_name": "GempakUtil.swp4", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Swap the order of the integers in place.\n@param values array of int values\n@param startIndex starting index of the array\n@param number of bytes\n@return input array with values swapped", "docstring_tokens": ["Swap", "the", "order", "of", "the", "integers", "in", "place", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakUtil.java#L373-L378", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakUtil.java", "func_name": "GempakUtil.getGridPackingName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a name for the grid packing type\n\n@param pktyp packing type\n\n@return String version of packing type", "docstring_tokens": ["Get", "a", "name", "for", "the", "grid", "packing", "type"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakUtil.java#L387-L419", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakUtil.java", "func_name": "GempakUtil.getDataType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a name for the data packing type\n\n@param typrt data type\n\n@return String version of data type", "docstring_tokens": ["Get", "a", "name", "for", "the", "data", "packing", "type"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakUtil.java#L428-L456", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/dap/DataDDS.java", "func_name": "DataDDS.readData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read the data stream from the given InputStream. In the C++ version,\nthis code was in Connect.\n\n@param is the InputStream to read from\n@param statusUI the StatusUI object to use, or null\n@throws EOFException if EOF is found before the variable is completely\ndeserialized.\n@throws IOException thrown on any other InputStream exception.\n@throws DataReadException when invalid data is read, or if the user\ncancels the download.\n@throws DAP2Exception if the OPeNDAP server returned an error.", "docstring_tokens": ["Read", "the", "data", "stream", "from", "the", "given", "InputStream", ".", "In", "the", "C", "++", "version", "this", "code", "was", "in", "Connect", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/dap/DataDDS.java#L112-L142", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/dap/DataDDS.java", "func_name": "DataDDS.externalize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Dump the dataset using externalize methods. This should create\na multipart Mime document with the binary representation of the\nDDS that is currently in memory.\n\n@param os the OutputStream to use.\n@param compress true if we should compress the output.\n@param headers true if we should print HTTP headers.\n@throws IOException thrown on any OutputStream exception.", "docstring_tokens": ["Dump", "the", "dataset", "using", "externalize", "methods", ".", "This", "should", "create", "a", "multipart", "Mime", "document", "with", "the", "binary", "representation", "of", "the", "DDS", "that", "is", "currently", "in", "memory", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/dap/DataDDS.java#L214-L257", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/hdf4/TagEnum.java", "func_name": "TagEnum.getTag", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find the Tag that matches the code.\n\n@param code find Tag with this code.\n@return Tag or null if no match.", "docstring_tokens": ["Find", "the", "Tag", "that", "matches", "the", "code", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/hdf4/TagEnum.java#L148-L152", "partition": "test"} +{"repo": "Unidata/thredds", "path": "clcommon/src/main/java/ucar/nc2/dt/image/image/ImageDatasetFactory.java", "func_name": "ImageDatasetFactory.getNextImage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This assumes you have opened a file. looks in the parent directory.\n@param forward if true got to next, else previous\n@return next file in the directory, as a BufferedImage.", "docstring_tokens": ["This", "assumes", "you", "have", "opened", "a", "file", ".", "looks", "in", "the", "parent", "directory", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/clcommon/src/main/java/ucar/nc2/dt/image/image/ImageDatasetFactory.java#L106-L162", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4lib/src/main/java/dap4/dap4lib/LibTypeFcns.java", "func_name": "LibTypeFcns.size", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Conmpute the size, in databuffer,\nof the daptype wrt to a serialization;\n0 if undefined.\n\n@param type The type of interest\n@return the size, in databuffer", "docstring_tokens": ["Conmpute", "the", "size", "in", "databuffer", "of", "the", "daptype", "wrt", "to", "a", "serialization", ";", "0", "if", "undefined", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4lib/src/main/java/dap4/dap4lib/LibTypeFcns.java#L37-L62", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/uk/ac/rdg/resc/edal/time/FixedYearVariableMonthChronology.java", "func_name": "FixedYearVariableMonthChronology.sumArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculates the sum of the values in the given array.\n@throws NullPointerException if arr is null\n@throws IllegalArgumentException if arr is empty or contains\nzero or negative values.", "docstring_tokens": ["Calculates", "the", "sum", "of", "the", "values", "in", "the", "given", "array", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/uk/ac/rdg/resc/edal/time/FixedYearVariableMonthChronology.java#L79-L90", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/gis/SpatialGrid.java", "func_name": "SpatialGrid.setGrid", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the grid scale.\n@param bbox bounding box: we are only interested in points inside of this\n@param width : divide the bounding box into cells of this width.\n@param height : divide the bounding box into cells of this height.\nmaximum number of grid cells is nx x ny", "docstring_tokens": ["Set", "the", "grid", "scale", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/gis/SpatialGrid.java#L52-L66", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/gis/SpatialGrid.java", "func_name": "SpatialGrid.setOverlap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set how much the data may overlap.\n@param overlap : percent overlap", "docstring_tokens": ["Set", "how", "much", "the", "data", "may", "overlap", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/gis/SpatialGrid.java#L71-L75", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/gis/SpatialGrid.java", "func_name": "SpatialGrid.clear", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "clear all the grid cells", "docstring_tokens": ["clear", "all", "the", "grid", "cells"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/gis/SpatialGrid.java#L78-L82", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/gis/SpatialGrid.java", "func_name": "SpatialGrid.markIfClear", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if the given rect intersects an already drawn one.\nIf not, set the corresponding cell as marked, store object, return true,\nmeaning \"ok to draw\".\n@param rect the bounding box of the thing we want to draw\n@param o store this object\n@return true if inside the bounding box and no intersection", "docstring_tokens": ["Check", "if", "the", "given", "rect", "intersects", "an", "already", "drawn", "one", ".", "If", "not", "set", "the", "corresponding", "cell", "as", "marked", "store", "object", "return", "true", "meaning", "ok", "to", "draw", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/gis/SpatialGrid.java#L91-L116", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/gis/SpatialGrid.java", "func_name": "SpatialGrid.findIntersection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if the given rect intersects an already drawn object\n@param rect the bounding box of the thing we want to draw\n@return object that intersects, or null if no intersection", "docstring_tokens": ["Check", "if", "the", "given", "rect", "intersects", "an", "already", "drawn", "object"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/gis/SpatialGrid.java#L122-L147", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/gis/SpatialGrid.java", "func_name": "SpatialGrid.findIntersection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if the given point is contained in already drawn object\n@param p the point to check\n@return object that intersects, or null if no intersection", "docstring_tokens": ["Check", "if", "the", "given", "point", "is", "contained", "in", "already", "drawn", "object"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/gis/SpatialGrid.java#L153-L175", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/gis/SpatialGrid.java", "func_name": "SpatialGrid.findClosest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find the closest marked cell to the given point\n@param pt find the closest marked cell to this point\n@return the object associated with the closest cell, or null if none", "docstring_tokens": ["Find", "the", "closest", "marked", "cell", "to", "the", "given", "point"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/gis/SpatialGrid.java#L181-L202", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/gis/SpatialGrid.java", "func_name": "SpatialGrid.distanceSq", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "if out of bbox or cell not marked, return MAX_DOUBLE", "docstring_tokens": ["if", "out", "of", "bbox", "or", "cell", "not", "marked", "return", "MAX_DOUBLE"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/gis/SpatialGrid.java#L237-L250", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/BaseUnit.java", "func_name": "BaseUnit.getOrCreate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Factory method for creating a new BaseUnit or obtaining a\npreviously-created one.\n\n@param id\nThe identifier for the base unit. \nid.getSymbol()\nshall not return \nnull.\n@param baseQuantity\nThe base quantity of the base unit.\n@throws NameException\nid.getSymbol() returned \nnull.\n@throws UnitExistsException\nAttempt to incompatibly redefine an existing base unit.", "docstring_tokens": ["Factory", "method", "for", "creating", "a", "new", "BaseUnit", "or", "obtaining", "a", "previously", "-", "created", "one", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/BaseUnit.java#L82-L107", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/DatasetUrl.java", "func_name": "DatasetUrl.searchFragment", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Given a location, find markers indicated which protocol to use\nLOOK what use case is this handling ?\n\n@param fragment the fragment is to be examined\n@return The discovered ServiceType, or null", "docstring_tokens": ["Given", "a", "location", "find", "markers", "indicated", "which", "protocol", "to", "use", "LOOK", "what", "use", "case", "is", "this", "handling", "?"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/DatasetUrl.java#L194-L218", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/DatasetUrl.java", "func_name": "DatasetUrl.searchPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Given a url, search the path to look for protocol indicators\n\n@param url the url is to be examined\n@return The discovered ServiceType, or null", "docstring_tokens": ["Given", "a", "url", "search", "the", "path", "to", "look", "for", "protocol", "indicators"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/DatasetUrl.java#L259-L272", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/DatasetUrl.java", "func_name": "DatasetUrl.decodePathExtension", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check path extension; assumes no query or fragment\n\n@param path the path to examine for extension\n@return ServiceType inferred from the extension or null", "docstring_tokens": ["Check", "path", "extension", ";", "assumes", "no", "query", "or", "fragment"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/DatasetUrl.java#L280-L291", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/DatasetUrl.java", "func_name": "DatasetUrl.checkIfDods", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "not sure what other opendap servers do, so fall back on check for dds", "docstring_tokens": ["not", "sure", "what", "other", "opendap", "servers", "do", "so", "fall", "back", "on", "check", "for", "dds"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/DatasetUrl.java#L404-L437", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/DatasetUrl.java", "func_name": "DatasetUrl.checkIfDap4", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "check for dmr", "docstring_tokens": ["check", "for", "dmr"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/DatasetUrl.java#L440-L466", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/stream/NcStreamWriter.java", "func_name": "NcStreamWriter.sendData2", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "LOOK compression not used", "docstring_tokens": ["LOOK", "compression", "not", "used"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/stream/NcStreamWriter.java#L120-L139", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/util/DapUtil.java", "func_name": "DapUtil.fqnSuffix", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "return last name part of an fqn; result will be escaped.", "docstring_tokens": ["return", "last", "name", "part", "of", "an", "fqn", ";", "result", "will", "be", "escaped", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/util/DapUtil.java#L64-L72", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/util/DapUtil.java", "func_name": "DapUtil.fqnPrefix", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "return prefix name part of an fqn; result will be escaped.", "docstring_tokens": ["return", "prefix", "name", "part", "of", "an", "fqn", ";", "result", "will", "be", "escaped", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/util/DapUtil.java#L75-L83", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/util/DapUtil.java", "func_name": "DapUtil.locateFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Walk the specified subtree dir tree to try to locate file|dir named filename.\nUse breadth first search.\n\n@param filename Name of the file|dir to locate\n@param abspath Absolute path from which to start search\n@param wantdir True if we are looking for a directory,\nfalse if we are looking for a file\n@return absolute path of the file or null", "docstring_tokens": ["Walk", "the", "specified", "subtree", "dir", "tree", "to", "try", "to", "locate", "file|dir", "named", "filename", ".", "Use", "breadth", "first", "search", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/util/DapUtil.java#L164-L197", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/util/DapUtil.java", "func_name": "DapUtil.locateRelative", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Walk the specified dir tree to locate file specified by relative path.\nUse breadth first search.\n\n@param relpath Name of the file|dir to locate\n@param abspath Absolute path from which to start search\n@param wantdir True if we are looking for a directory,\nfalse if we are looking for a file\n@return absolute path of the file|dir wrt to abspath", "docstring_tokens": ["Walk", "the", "specified", "dir", "tree", "to", "locate", "file", "specified", "by", "relative", "path", ".", "Use", "breadth", "first", "search", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/util/DapUtil.java#L209-L226", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/util/DapUtil.java", "func_name": "DapUtil.extract", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Properly extract the byte contents of a ByteBuffer\n\n@param buf The buffer whose content is to be extracted\nas defined by the buffer limit.\n@return The byte array contents of the buffer", "docstring_tokens": ["Properly", "extract", "the", "byte", "contents", "of", "a", "ByteBuffer"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/util/DapUtil.java#L301-L308", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/util/DapUtil.java", "func_name": "DapUtil.getStructurePath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Given a dap variable, get the path from the\ntop-level variable to and including the given variable\nsuch that all but the last element is a structure.", "docstring_tokens": ["Given", "a", "dap", "variable", "get", "the", "path", "from", "the", "top", "-", "level", "variable", "to", "and", "including", "the", "given", "variable", "such", "that", "all", "but", "the", "last", "element", "is", "a", "structure", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/util/DapUtil.java#L349-L368", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/util/DapUtil.java", "func_name": "DapUtil.nullify", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert \"\" paths to null\n\n@param path\n@return path or null", "docstring_tokens": ["Convert", "paths", "to", "null"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/util/DapUtil.java#L388-L392", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/util/DapUtil.java", "func_name": "DapUtil.join", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Given an Array of Strings and a separator and a count,\nconcat the first count elements of an array with separator\nbetween them. A null string is treated like \"\".\n\n@param array the array to concat\n@param sep the separator\n@param from start point for join (inclusive)\n@param upto end point for join (exclusive)\n@return the join", "docstring_tokens": ["Given", "an", "Array", "of", "Strings", "and", "a", "separator", "and", "a", "count", "concat", "the", "first", "count", "elements", "of", "an", "array", "with", "separator", "between", "them", ".", "A", "null", "string", "is", "treated", "like", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/util/DapUtil.java#L492-L507", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/util/DapUtil.java", "func_name": "DapUtil.hasDriveLetter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "return true if this path appears to start with a windows drive letter\n\n@param path\n@return", "docstring_tokens": ["return", "true", "if", "this", "path", "appears", "to", "start", "with", "a", "windows", "drive", "letter"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/util/DapUtil.java#L527-L535", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/util/DapUtil.java", "func_name": "DapUtil.getProtocols", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the set of leading protocols for a url; may be more than one.\n\n@param url the url whose protocols to return\n@param breakpoint return the index past last protocol\n@return list of leading protocols without the trailing :", "docstring_tokens": ["Return", "the", "set", "of", "leading", "protocols", "for", "a", "url", ";", "may", "be", "more", "than", "one", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/util/DapUtil.java#L544-L573", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/util/DapUtil.java", "func_name": "DapUtil.indexToSlices", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Provide a helper function to convert an Index object to\na slice list.\n\n@param indices indicate value to read\n@param template variable template\n@return corresponding List\n@throws DapException", "docstring_tokens": ["Provide", "a", "helper", "function", "to", "convert", "an", "Index", "object", "to", "a", "slice", "list", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/util/DapUtil.java#L671-L678", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/util/DapUtil.java", "func_name": "DapUtil.offsetToSlices", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Provide a helper function to convert an offset to\na slice list.\n\n@param offset\n@param template variable template\n@return\n@throws dap4.core.util.DapException", "docstring_tokens": ["Provide", "a", "helper", "function", "to", "convert", "an", "offset", "to", "a", "slice", "list", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/util/DapUtil.java#L697-L704", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/util/DapUtil.java", "func_name": "DapUtil.isContiguous", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Test if a set of slices represent a contiguous region\nThis is equivalent to saying all strides are one\n\n@param slices\n@return", "docstring_tokens": ["Test", "if", "a", "set", "of", "slices", "represent", "a", "contiguous", "region", "This", "is", "equivalent", "to", "saying", "all", "strides", "are", "one"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/util/DapUtil.java#L753-L760", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/util/DapUtil.java", "func_name": "DapUtil.isSinglePoint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Test if a set of slices represent a single position\n\n@param slices\n@return", "docstring_tokens": ["Test", "if", "a", "set", "of", "slices", "represent", "a", "single", "position"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/util/DapUtil.java#L768-L775", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/util/DapUtil.java", "func_name": "DapUtil.slicesToIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If a set of slices refers to a single position,\nthen return the corresponding Index. Otherwise,\nthrow Exception.\n\n@param slices\n@return Index corresponding to slices\n@throws DapException", "docstring_tokens": ["If", "a", "set", "of", "slices", "refers", "to", "a", "single", "position", "then", "return", "the", "corresponding", "Index", ".", "Otherwise", "throw", "Exception", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/util/DapUtil.java#L786-L800", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/stream/NcStreamReader.java", "func_name": "NcStreamReader.readData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read the result of a data request. Only one variable at a time.\n\n@param is read from input stream\n@param ncfile need the metadata from here to interpret structure data\n@return DataResult\n@throws IOException on read error", "docstring_tokens": ["Read", "the", "result", "of", "a", "data", "request", ".", "Only", "one", "variable", "at", "a", "time", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/stream/NcStreamReader.java#L108-L118", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/ucar/nc2/ft/point/RecordDatasetHelper.java", "func_name": "RecordDatasetHelper.setStationInfo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set extra information used by station obs datasets.\nUse stnIdVName or stnIndexVName.\n\n@param stnIdVName the obs variable that is used to find the station in the stnHash; may be type int or a String (char).\n@param stnDescVName optional station var containing station description", "docstring_tokens": ["Set", "extra", "information", "used", "by", "station", "obs", "datasets", ".", "Use", "stnIdVName", "or", "stnIndexVName", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/ucar/nc2/ft/point/RecordDatasetHelper.java#L132-L142", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/ucar/nc2/ft/point/RecordDatasetHelper.java", "func_name": "RecordDatasetHelper.setShortNames", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "access it members", "docstring_tokens": ["access", "it", "members"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/ucar/nc2/ft/point/RecordDatasetHelper.java#L164-L170", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/thredds/featurecollection/FeatureCollectionConfigBuilder.java", "func_name": "FeatureCollectionConfigBuilder.readConfigFromCatalog", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a catalog and extract a FeatureCollectionConfig from it\n\n@param catalogAndPath catalog filename, or catalog#featureName\n@return FeatureCollectionConfig or null", "docstring_tokens": ["Read", "a", "catalog", "and", "extract", "a", "FeatureCollectionConfig", "from", "it"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/thredds/featurecollection/FeatureCollectionConfigBuilder.java#L82-L115", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/dmr/DapGroup.java", "func_name": "DapGroup.addDecl", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add single declaration", "docstring_tokens": ["Add", "single", "declaration"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/dmr/DapGroup.java#L71-L134", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/dmr/DapGroup.java", "func_name": "DapGroup.updateGroups", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "We will need to re-order the groups", "docstring_tokens": ["We", "will", "need", "to", "re", "-", "order", "the", "groups"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/dmr/DapGroup.java#L140-L149", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/dmr/DapGroup.java", "func_name": "DapGroup.findVariable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Locate a variable in this group\n\n@param name the variable's name\n@return the matching Dap Node or null if not found", "docstring_tokens": ["Locate", "a", "variable", "in", "this", "group"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/dmr/DapGroup.java#L274-L279", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/conv/COARDSConvention.java", "func_name": "COARDSConvention.getAxisType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "we assume that coordinate axes get identified by being coordinate variables", "docstring_tokens": ["we", "assume", "that", "coordinate", "axes", "get", "identified", "by", "being", "coordinate", "variables"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/conv/COARDSConvention.java#L88-L136", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/grib1/tables/Grib1WmoTimeType.java", "func_name": "Grib1WmoTimeType.getStatType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The time unit statistical type, derived from code table 5)\n\n@return time unit statistical type, or null if unknown.", "docstring_tokens": ["The", "time", "unit", "statistical", "type", "derived", "from", "code", "table", "5", ")"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/grib1/tables/Grib1WmoTimeType.java#L24-L52", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft2/coverage/HorizCoordSys.java", "func_name": "HorizCoordSys.subsetLon", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "here's where to deal with crossing seam", "docstring_tokens": ["here", "s", "where", "to", "deal", "with", "crossing", "seam"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft2/coverage/HorizCoordSys.java#L280-L300", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft2/coverage/HorizCoordSys.java", "func_name": "HorizCoordSys.getRanges", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "return y, x range", "docstring_tokens": ["return", "y", "x", "range"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft2/coverage/HorizCoordSys.java#L349-L357", "partition": "test"} +{"repo": "Unidata/thredds", "path": "httpservices/src/main/java/ucar/httpservices/HTTPSession.java", "func_name": "HTTPSession.setDefaults", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Provide defaults for a settings map", "docstring_tokens": ["Provide", "defaults", "for", "a", "settings", "map"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/httpservices/src/main/java/ucar/httpservices/HTTPSession.java#L436-L448", "partition": "test"} +{"repo": "Unidata/thredds", "path": "httpservices/src/main/java/ucar/httpservices/HTTPSession.java", "func_name": "HTTPSession.getSessionID", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extract the sessionid cookie value\n\n@return sessionid string", "docstring_tokens": ["Extract", "the", "sessionid", "cookie", "value"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/httpservices/src/main/java/ucar/httpservices/HTTPSession.java#L939-L951", "partition": "test"} +{"repo": "Unidata/thredds", "path": "httpservices/src/main/java/ucar/httpservices/HTTPSession.java", "func_name": "HTTPSession.setMaxRedirects", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the max number of redirects to follow\n\n@param n", "docstring_tokens": ["Set", "the", "max", "number", "of", "redirects", "to", "follow"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/httpservices/src/main/java/ucar/httpservices/HTTPSession.java#L985-L992", "partition": "test"} +{"repo": "Unidata/thredds", "path": "httpservices/src/main/java/ucar/httpservices/HTTPSession.java", "func_name": "HTTPSession.setUseSessions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Should we use sessionid's?\n\n@param tf", "docstring_tokens": ["Should", "we", "use", "sessionid", "s?"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/httpservices/src/main/java/ucar/httpservices/HTTPSession.java#L1010-L1015", "partition": "test"} +{"repo": "Unidata/thredds", "path": "httpservices/src/main/java/ucar/httpservices/HTTPSession.java", "func_name": "HTTPSession.close", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Close the session. This implies closing\nany open methods.", "docstring_tokens": ["Close", "the", "session", ".", "This", "implies", "closing", "any", "open", "methods", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/httpservices/src/main/java/ucar/httpservices/HTTPSession.java#L1074-L1083", "partition": "test"} +{"repo": "Unidata/thredds", "path": "httpservices/src/main/java/ucar/httpservices/HTTPSession.java", "func_name": "HTTPSession.setAuthenticationAndProxy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Handle authentication and Proxy'ing\n\n@param cb\n@throws HTTPException", "docstring_tokens": ["Handle", "authentication", "and", "Proxy", "ing"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/httpservices/src/main/java/ucar/httpservices/HTTPSession.java#L1178-L1231", "partition": "test"} +{"repo": "Unidata/thredds", "path": "httpservices/src/main/java/ucar/httpservices/HTTPSession.java", "func_name": "HTTPSession.track", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If we are testing, then track the sessions for kill", "docstring_tokens": ["If", "we", "are", "testing", "then", "track", "the", "sessions", "for", "kill"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/httpservices/src/main/java/ucar/httpservices/HTTPSession.java#L1381-L1387", "partition": "test"} +{"repo": "Unidata/thredds", "path": "httpservices/src/main/java/ucar/httpservices/HTTPSession.java", "func_name": "HTTPSession.setGlobalCredentialsProvider", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Deprecated, but here for back compatibility", "docstring_tokens": ["Deprecated", "but", "here", "for", "back", "compatibility"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/httpservices/src/main/java/ucar/httpservices/HTTPSession.java#L1472-L1478", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/widget/TextGetPutPane.java", "func_name": "TextGetPutPane.validate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "private DqcFactory dqcFactory = null;", "docstring_tokens": ["private", "DqcFactory", "dqcFactory", "=", "null", ";"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/widget/TextGetPutPane.java#L191-L220", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/Index.java", "func_name": "Index.factory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generate a subclass of Index optimized for this array's rank\n\n@param shape use this shape\n@return a subclass of Index optimized for this array's rank", "docstring_tokens": ["Generate", "a", "subclass", "of", "Index", "optimized", "for", "this", "array", "s", "rank"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/Index.java#L30-L52", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/Index.java", "func_name": "Index.computeStrides", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compute standard strides based on array's shape.\nIgnore vlen\n\n@param shape length of array in each dimension.\n@param stride put result here\n@return standard strides based on array's shape.", "docstring_tokens": ["Compute", "standard", "strides", "based", "on", "array", "s", "shape", ".", "Ignore", "vlen"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/Index.java#L101-L111", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/Index.java", "func_name": "Index.section", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "create a new Index based on a subsection of this one, with rank reduction if\ndimension length == 1.\n\n@param ranges array of Ranges that specify the array subset.\nMust be same rank as original Array.\nA particular Range: 1) may be a subset; 2) may be null, meaning use entire Range.\n@return new Index, with same or smaller rank as original.\n@throws InvalidRangeException if ranges dont match current shape", "docstring_tokens": ["create", "a", "new", "Index", "based", "on", "a", "subsection", "of", "this", "one", "with", "rank", "reduction", "if", "dimension", "length", "==", "1", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/Index.java#L215-L264", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/Index.java", "func_name": "Index.reduce", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a new Index based on current one by\neliminating any dimensions with length one.\n\n@return the new Index", "docstring_tokens": ["Create", "a", "new", "Index", "based", "on", "current", "one", "by", "eliminating", "any", "dimensions", "with", "length", "one", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/Index.java#L322-L330", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/Index.java", "func_name": "Index.reduce", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a new Index based on current one by\neliminating the specified dimension;\n\n@param dim: dimension to eliminate: must be of length one, else IllegalArgumentException\n@return the new Index", "docstring_tokens": ["Create", "a", "new", "Index", "based", "on", "current", "one", "by", "eliminating", "the", "specified", "dimension", ";"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/Index.java#L339-L361", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/Index.java", "func_name": "Index.transpose", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "create a new Index based on current one, except\ntranspose two of the indices.\n\n@param index1 transpose these two indices\n@param index2 transpose these two indices\n@return new Index with transposed indices", "docstring_tokens": ["create", "a", "new", "Index", "based", "on", "current", "one", "except", "transpose", "two", "of", "the", "indices", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/Index.java#L371-L390", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/Index.java", "func_name": "Index.permute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "create a new Index based on a permutation of the current indices; vlen fails.\n\n@param dims: the old index dim[k] becomes the new kth index.\n@return new Index with permuted indices", "docstring_tokens": ["create", "a", "new", "Index", "based", "on", "a", "permutation", "of", "the", "current", "indices", ";", "vlen", "fails", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/Index.java#L398-L417", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/Index.java", "func_name": "Index.getIndexIterator", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get an index iterator for traversing the array in canonical order.\n\n@param maa the array to iterate through\n@return an index iterator for traversing the array in canonical order.\n@see IndexIterator", "docstring_tokens": ["Get", "an", "index", "iterator", "for", "traversing", "the", "array", "in", "canonical", "order", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/Index.java#L457-L462", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/Index.java", "func_name": "Index.currentElement", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the current element's index into the 1D backing array.\nVLEN stops processing.\n\n@return the current element's index into the 1D backing array.", "docstring_tokens": ["Get", "the", "current", "element", "s", "index", "into", "the", "1D", "backing", "array", ".", "VLEN", "stops", "processing", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/Index.java#L492-L499", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/Index.java", "func_name": "Index.set", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the current element's index. General-rank case.\n\n@param index set current value to these values\n@return this, so you can use A.get(i.set(i))\n@throws ArrayIndexOutOfBoundsException if index.length != rank.", "docstring_tokens": ["Set", "the", "current", "element", "s", "index", ".", "General", "-", "rank", "case", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/Index.java#L562-L570", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/Index.java", "func_name": "Index.setDim", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "set current element at dimension dim to v\n\n@param dim set this dimension\n@param value to this value", "docstring_tokens": ["set", "current", "element", "at", "dimension", "dim", "to", "v"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/Index.java#L579-L584", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/Index.java", "func_name": "Index.set", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "set current element at dimension 0,1,2 to v0,v1,v2\n\n@param v0 set dimension 0 index to this value\n@param v1 set dimension 1 index to this value\n@param v2 set dimension 2 index to this value\n@return this, so you can use A.get(i.set(i,j,k))", "docstring_tokens": ["set", "current", "element", "at", "dimension", "0", "1", "2", "to", "v0", "v1", "v2"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/Index.java#L695-L700", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/coord/CoordinateTimeIntv.java", "func_name": "CoordinateTimeIntv.getTimeIntervalName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if we all time intervals have the same length.\n@return time interval name or MIXED_INTERVALS", "docstring_tokens": ["Check", "if", "we", "all", "time", "intervals", "have", "the", "same", "length", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/coord/CoordinateTimeIntv.java#L87-L98", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/coord/CoordinateTimeIntv.java", "func_name": "CoordinateTimeIntv.makeCalendarDateRange", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make calendar date range, using the first and last ending bounds\n@param cal optional calendar, may be null\n@return calendar date range", "docstring_tokens": ["Make", "calendar", "date", "range", "using", "the", "first", "and", "last", "ending", "bounds"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/coord/CoordinateTimeIntv.java#L105-L111", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/AbstractGempakStationFileReader.java", "func_name": "AbstractGempakStationFileReader.makeDateList", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the list of dates\n\n@param unique true for unique list\n@return the list of dates", "docstring_tokens": ["Get", "the", "list", "of", "dates"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/AbstractGempakStationFileReader.java#L191-L220", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/AbstractGempakStationFileReader.java", "func_name": "AbstractGempakStationFileReader.makeParams", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make GempakParameters from the list of\n\n@param part the part to use\n@return parameters from the info in that part.", "docstring_tokens": ["Make", "GempakParameters", "from", "the", "list", "of"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/AbstractGempakStationFileReader.java#L228-L241", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/AbstractGempakStationFileReader.java", "func_name": "AbstractGempakStationFileReader.getStationList", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the station list\n\n@return the list of stations", "docstring_tokens": ["Get", "the", "station", "list"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/AbstractGempakStationFileReader.java#L258-L282", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/AbstractGempakStationFileReader.java", "func_name": "AbstractGempakStationFileReader.makeStation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make a station from the header info\n\n@param header the station header\n@return the corresponding station", "docstring_tokens": ["Make", "a", "station", "from", "the", "header", "info"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/AbstractGempakStationFileReader.java#L290-L334", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/AbstractGempakStationFileReader.java", "func_name": "AbstractGempakStationFileReader.getStationKeyNames", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the station key names\n\n@return the list of station key names", "docstring_tokens": ["Get", "the", "station", "key", "names"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/AbstractGempakStationFileReader.java#L341-L349", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/AbstractGempakStationFileReader.java", "func_name": "AbstractGempakStationFileReader.getDates", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the list of dates in this file.\n\n@return list of dates.", "docstring_tokens": ["Get", "the", "list", "of", "dates", "in", "this", "file", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/AbstractGempakStationFileReader.java#L440-L452", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/AbstractGempakStationFileReader.java", "func_name": "AbstractGempakStationFileReader.findStationIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find the station index for the specified station id.\n\n@param id station id (case sensitive)\n@return index or -1 if not found.", "docstring_tokens": ["Find", "the", "station", "index", "for", "the", "specified", "station", "id", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/AbstractGempakStationFileReader.java#L504-L511", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/AbstractGempakStationFileReader.java", "func_name": "AbstractGempakStationFileReader.getFileType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the type for this file\n\n@return file type", "docstring_tokens": ["Get", "the", "type", "for", "this", "file"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/AbstractGempakStationFileReader.java#L518-L536", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/util/IndentWriter.java", "func_name": "IndentWriter.indent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set depth += n\n\n@param n depth increment/decrement(if neg)", "docstring_tokens": ["Set", "depth", "+", "=", "n"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/util/IndentWriter.java#L71-L78", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/util/IndentWriter.java", "func_name": "IndentWriter.setIndent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set depth = n\n\n@param n absolute depth", "docstring_tokens": ["Set", "depth", "=", "n"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/util/IndentWriter.java#L85-L92", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/GribIndex.java", "func_name": "GribIndex.readOrCreateIndexFromSingleFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a gbx9 index from a single grib1 or grib2 file.\nUse the existing index if it already exists.\n\n@param isGrib1 true if grib1\n@param mfile the grib file\n@param force force writing index\n@return the resulting GribIndex\n@throws IOException on io error", "docstring_tokens": ["Create", "a", "gbx9", "index", "from", "a", "single", "grib1", "or", "grib2", "file", ".", "Use", "the", "existing", "index", "if", "it", "already", "exists", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/GribIndex.java#L83-L95", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/thredds/inventory/MFileCollectionManager.java", "func_name": "MFileCollectionManager.addDirectoryScan", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a directory scan to the collection\n\n@param dirName scan this directory\n@param suffix require this suffix (overriddden by regexp), may be null\n@param regexpPatternString if present, use this reqular expression to filter files , may be null\n@param subdirsS if \"true\", descend into subdirectories, may be null\n@param olderS udunit time unit - files must be older than this amount of time (now - lastModified > olderTime), may be null\n// * @param dateFormatString dateFormatMark string, may be null\n@param auxInfo attach this object to any MFile found by this scan", "docstring_tokens": ["Add", "a", "directory", "scan", "to", "the", "collection"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/thredds/inventory/MFileCollectionManager.java#L222-L257", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/thredds/inventory/MFileCollectionManager.java", "func_name": "MFileCollectionManager.isScanNeeded", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compute if synchronous scan is needed.\nTrue if recheck is true and enough time has elapsed.\n@return true if rescan is needed", "docstring_tokens": ["Compute", "if", "synchronous", "scan", "is", "needed", ".", "True", "if", "recheck", "is", "true", "and", "enough", "time", "has", "elapsed", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/thredds/inventory/MFileCollectionManager.java#L284-L313", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/thredds/inventory/MFileCollectionManager.java", "func_name": "MFileCollectionManager.scanFirstTime", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "only called from synch methods", "docstring_tokens": ["only", "called", "from", "synch", "methods"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/thredds/inventory/MFileCollectionManager.java#L462-L491", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/FileWriter2.java", "func_name": "FileWriter2.setDebugFlags", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set debugging flags\n\n@param debugFlags debug flags", "docstring_tokens": ["Set", "debugging", "flags"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/FileWriter2.java#L45-L49", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/FileWriter2.java", "func_name": "FileWriter2.addVariable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Specify which variable will get written\n\n@param oldVar add this variable, and all parent groups\n@return new Variable.", "docstring_tokens": ["Specify", "which", "variable", "will", "get", "written"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/FileWriter2.java#L110-L126", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/FileWriter2.java", "func_name": "FileWriter2.write", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write the input file to the output file.\n@param cancel allow user to cancel; may be null.\n@return the open output file.\n@throws IOException", "docstring_tokens": ["Write", "the", "input", "file", "to", "the", "output", "file", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/FileWriter2.java#L157-L184", "partition": "test"} +{"repo": "Unidata/thredds", "path": "waterml/src/main/java/ucar/nc2/ogc/MarshallingUtil.java", "func_name": "MarshallingUtil.validate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Validates an xml doc. If the validation fails, the exception contains a detailed list of errors.\n\n@param doc the document to validate\n@throws XmlException thrown if the XML is incorrect", "docstring_tokens": ["Validates", "an", "xml", "doc", ".", "If", "the", "validation", "fails", "the", "exception", "contains", "a", "detailed", "list", "of", "errors", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/waterml/src/main/java/ucar/nc2/ogc/MarshallingUtil.java#L112-L130", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/util/MultiSlice.java", "func_name": "MultiSlice.toConstraintString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert this multislice to a string\nsuitable for use in a constraint\n\n@return constraint usable string\n@throws DapException", "docstring_tokens": ["Convert", "this", "multislice", "to", "a", "string", "suitable", "for", "use", "in", "a", "constraint"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/util/MultiSlice.java#L112-L135", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/StructureDS.java", "func_name": "StructureDS.setOriginalVariable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the Structure to wrap.\n\n@param orgVar original Variable, must be a Structure", "docstring_tokens": ["Set", "the", "Structure", "to", "wrap", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/StructureDS.java#L164-L168", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/StructureDS.java", "func_name": "StructureDS.reallyRead", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "regular Variables.", "docstring_tokens": ["regular", "Variables", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/StructureDS.java#L197-L212", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/StructureDS.java", "func_name": "StructureDS.reallyRead", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "section of regular Variable", "docstring_tokens": ["section", "of", "regular", "Variable"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/StructureDS.java#L216-L234", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/StructureDS.java", "func_name": "StructureDS.convertNeeded", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "is conversion needed?", "docstring_tokens": ["is", "conversion", "needed?"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/StructureDS.java#L240-L260", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/StructureDS.java", "func_name": "StructureDS.convert", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "3) variable with cached data added to StructureDS through NcML", "docstring_tokens": ["3", ")", "variable", "with", "cached", "data", "added", "to", "StructureDS", "through", "NcML"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/StructureDS.java#L267-L341", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/StructureDS.java", "func_name": "StructureDS.convertMemberInfo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "the wrapper StructureMembers must be converted to correspond to the wrapper Structure", "docstring_tokens": ["the", "wrapper", "StructureMembers", "must", "be", "converted", "to", "correspond", "to", "the", "wrapper", "Structure"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/StructureDS.java#L437-L456", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/StructureDS.java", "func_name": "StructureDS.findVariableFromOrgName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "look for the top variable that has an orgVar with the wanted orgName", "docstring_tokens": ["look", "for", "the", "top", "variable", "that", "has", "an", "orgVar", "with", "the", "wanted", "orgName"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/StructureDS.java#L460-L471", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/StructureDS.java", "func_name": "StructureDS.varHasData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "verify that the variable has data in the data array", "docstring_tokens": ["verify", "that", "the", "variable", "has", "data", "in", "the", "data", "array"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/StructureDS.java#L475-L483", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/StructureDS.java", "func_name": "StructureDS.enhance", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "DO NOT USE DIRECTLY. public by accident.\nrecalc any enhancement info", "docstring_tokens": ["DO", "NOT", "USE", "DIRECTLY", ".", "public", "by", "accident", ".", "recalc", "any", "enhancement", "info"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/StructureDS.java#L638-L643", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/core/DatasetManager.java", "func_name": "DatasetManager.resourceControlOk", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if this is making a request for a restricted dataset, and if so, if its allowed.\n\n@param req the request\n@param res the response\n@param reqPath the request path; if null, use req.getPathInfo()\n@return true if ok to proceed. If false, the appropriate error or redirect message has been sent, the caller only needs to return.", "docstring_tokens": ["Check", "if", "this", "is", "making", "a", "request", "for", "a", "restricted", "dataset", "and", "if", "so", "if", "its", "allowed", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/core/DatasetManager.java#L398-L414", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakSoundingIOSP.java", "func_name": "GempakSoundingIOSP.makeEmptySequence", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create an empty ArraySequence for missing data\n\n@param seq the Sequence variable\n@return the empty sequence", "docstring_tokens": ["Create", "an", "empty", "ArraySequence", "for", "missing", "data"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakSoundingIOSP.java#L330-L333", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakSoundingIOSP.java", "func_name": "GempakSoundingIOSP.makeArraySequence", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create an ArraySequence to hold the data\n\n@param seq the Sequence variable\n@param params the list of all GempakParameters possible in that sequence\n@param values the values that were read\n@return the ArraySequence", "docstring_tokens": ["Create", "an", "ArraySequence", "to", "hold", "the", "data"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakSoundingIOSP.java#L343-L367", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakSoundingIOSP.java", "func_name": "GempakSoundingIOSP.makeSequence", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make a Sequence for the part\n\n@param parent parent structure\n@param partName partname\n@param includeMissing true to include the missing variable\n@return a Structure", "docstring_tokens": ["Make", "a", "Sequence", "for", "the", "part"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakSoundingIOSP.java#L457-L473", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakSoundingIOSP.java", "func_name": "GempakSoundingIOSP.addVerticalCoordAttribute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add the vertical coordinate variables if necessary\n\n@param v the variable", "docstring_tokens": ["Add", "the", "vertical", "coordinate", "variables", "if", "necessary"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakSoundingIOSP.java#L480-L494", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/InvCatalogFactory.java", "func_name": "InvCatalogFactory.readXMLasynch", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This allows the possibility of reading a catalog in another thread. The default\nimplementation does not do that, but a subclass may override and implement.\nIf the catalog is read successfully, it is passed on to the callback.\n\n@param uriString : read this catalog.\n@param callback : call this if successfully read.\n@see CatalogSetCallback", "docstring_tokens": ["This", "allows", "the", "possibility", "of", "reading", "a", "catalog", "in", "another", "thread", ".", "The", "default", "implementation", "does", "not", "do", "that", "but", "a", "subclass", "may", "override", "and", "implement", ".", "If", "the", "catalog", "is", "read", "successfully", "it", "is", "passed", "on", "to", "the", "callback", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/InvCatalogFactory.java#L226-L229", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/InvCatalogFactory.java", "func_name": "InvCatalogFactory.readXML", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create an InvCatalog by reading catalog XML from a String.\n\nFailures and exceptions are handled by causing validate() to\nfail. Therefore, be sure to call validate() before trying to use\nthe InvCatalog object.\n\n@param catAsString : the String from which to read the catalog.\n@param baseUri : the base URI of the document, used for resolving reletive references.\n@return an InvCatalogImpl object", "docstring_tokens": ["Create", "an", "InvCatalog", "by", "reading", "catalog", "XML", "from", "a", "String", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/InvCatalogFactory.java#L336-L339", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/InvCatalogFactory.java", "func_name": "InvCatalogFactory.readXML", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create an InvCatalog by reading catalog XML from a StringReader.\n\nFailures and exceptions are handled by causing validate() to\nfail. Therefore, be sure to call validate() before trying to use\nthe InvCatalog object.\n\n@param catAsStringReader : the StreamReader from which to read the catalog.\n@param baseUri : the base URI of the document, used for resolving reletive references.\n@return an InvCatalogImpl object", "docstring_tokens": ["Create", "an", "InvCatalog", "by", "reading", "catalog", "XML", "from", "a", "StringReader", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/InvCatalogFactory.java#L352-L374", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/InvCatalogFactory.java", "func_name": "InvCatalogFactory.writeXML", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write the InvCatalogImpl to the OutputStream as a InvCatalog 1.0 document.\n\n@param catalog - the catalog to be written\n@param os - the OutputStream to write to\n@param raw if true, write raw, vs converted\n@throws IOException when the OutputStream can't be written\n@throws IllegalStateException when the factory doesn't know how to write a 1.0 document.", "docstring_tokens": ["Write", "the", "InvCatalogImpl", "to", "the", "OutputStream", "as", "a", "InvCatalog", "1", ".", "0", "document", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/InvCatalogFactory.java#L550-L553", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/InvCatalogFactory.java", "func_name": "InvCatalogFactory.getMetadataConverter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find the MetadataConverterIF registered for this key\n@param key search on this key\n@return MetadataConverterIF else null", "docstring_tokens": ["Find", "the", "MetadataConverterIF", "registered", "for", "this", "key"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/InvCatalogFactory.java#L654-L657", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/DerivedUnitImpl.java", "func_name": "DerivedUnitImpl.dimensionlessID", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the identifiers associated with the dimensionless, derived unit.\n\n@return The identifiers of the dimensionless, derived unit.", "docstring_tokens": ["Returns", "the", "identifiers", "associated", "with", "the", "dimensionless", "derived", "unit", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/DerivedUnitImpl.java#L41-L50", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/DerivedUnitImpl.java", "func_name": "DerivedUnitImpl.myMultiplyBy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Multiplies this derived unit by another.\n\n@param that\nThe other unit.\n@return The product of the two units.\n@throws MultiplyException\nCan't multiply these units.", "docstring_tokens": ["Multiplies", "this", "derived", "unit", "by", "another", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/DerivedUnitImpl.java#L167-L187", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/DerivedUnitImpl.java", "func_name": "DerivedUnitImpl.myDivideBy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Divides this derived unit by another.\n\n@param that\nThe other unit.\n@return The quotient of the two units.\n@throws OperationException\nCan't divide these units.", "docstring_tokens": ["Divides", "this", "derived", "unit", "by", "another", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/DerivedUnitImpl.java#L198-L217", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/DerivedUnitImpl.java", "func_name": "DerivedUnitImpl.toDerivedUnit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts numerical values from this unit to the derived unit. Obviously,\nthe numerical values are unchanged.\n\n@param input\nThe numerical values in this unit.\n@param output\nThe numerical values in the derived unit. May be the same\narray as input.\n@return output.", "docstring_tokens": ["Converts", "numerical", "values", "from", "this", "unit", "to", "the", "derived", "unit", ".", "Obviously", "the", "numerical", "values", "are", "unchanged", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/DerivedUnitImpl.java#L282-L287", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/DerivedUnitImpl.java", "func_name": "DerivedUnitImpl.isCompatible", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Indicates if values in this unit are convertible with another unit.\n\n@param that\nThe other unit.\n@return true if and only if values in this unit are\nconvertible to values in \nthat.", "docstring_tokens": ["Indicates", "if", "values", "in", "this", "unit", "are", "convertible", "with", "another", "unit", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/DerivedUnitImpl.java#L373-L377", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/server/wfs/GMLFeatureWriter.java", "func_name": "GMLFeatureWriter.writeFeature", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks the type of the Simple Geom and calls the appropriate method to build the xml\n\n@param geom the Simple Geom\n@return the xml", "docstring_tokens": ["Checks", "the", "type", "of", "the", "Simple", "Geom", "and", "calls", "the", "appropriate", "method", "to", "build", "the", "xml"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/server/wfs/GMLFeatureWriter.java#L19-L26", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/server/wfs/GMLFeatureWriter.java", "func_name": "GMLFeatureWriter.writePoint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Takes in a point and writes its xml\n\n@param point the point\n@return the xml", "docstring_tokens": ["Takes", "in", "a", "point", "and", "writes", "its", "xml"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/server/wfs/GMLFeatureWriter.java#L34-L42", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/server/wfs/GMLFeatureWriter.java", "func_name": "GMLFeatureWriter.writeLine", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Takes in a line and iterates through all its points, writing the posList to xml\n\n@param line the line\n@return the xml", "docstring_tokens": ["Takes", "in", "a", "line", "and", "iterates", "through", "all", "its", "points", "writing", "the", "posList", "to", "xml"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/server/wfs/GMLFeatureWriter.java#L50-L62", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/server/wfs/GMLFeatureWriter.java", "func_name": "GMLFeatureWriter.writePolygon", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Takes in a polygon, checks whether it is an interior or exterior ring, and writes the corresponding xml.\nIterates through all linked polygons\n\n@param polygon the polygon\n@return the xml", "docstring_tokens": ["Takes", "in", "a", "polygon", "checks", "whether", "it", "is", "an", "interior", "or", "exterior", "ring", "and", "writes", "the", "corresponding", "xml", ".", "Iterates", "through", "all", "linked", "polygons"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/server/wfs/GMLFeatureWriter.java#L71-L106", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/dmr/parser/DOM4Parser.java", "func_name": "DOM4Parser.pull", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "XML Attribute utilities", "docstring_tokens": ["XML", "Attribute", "utilities"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/dmr/parser/DOM4Parser.java#L312-L320", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/dmr/parser/DOM4Parser.java", "func_name": "DOM4Parser.getSubnodes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the subnodes of a node with non-element nodes suppressed\n\n@param parent\n@return list of element children", "docstring_tokens": ["Return", "the", "subnodes", "of", "a", "node", "with", "non", "-", "element", "nodes", "suppressed"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/dmr/parser/DOM4Parser.java#L370-L381", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/dmr/parser/DOM4Parser.java", "func_name": "DOM4Parser.parseresponse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Recursive descent parser", "docstring_tokens": ["Recursive", "descent", "parser"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/dmr/parser/DOM4Parser.java#L479-L490", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/dmr/parser/DOM4Parser.java", "func_name": "DOM4Parser.passReserved", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Pass reserved xml attributes unchanged\n\n@param node\n@param dap\n@throws ParseException", "docstring_tokens": ["Pass", "reserved", "xml", "attributes", "unchanged"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/dmr/parser/DOM4Parser.java#L1237-L1253", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft2/simpgeometry/CFSimpleGeometryHelper.java", "func_name": "CFSimpleGeometryHelper.getSubsetString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the subset string to be used in NetCDFFile.read given a variable and some indicies.\nuseful for subsetting timeseries\n\n\n@param var variable to subset\n@param beginInd beginning index (inclusive)\n@param endInd end index (exclusive)\n@param id The SimpleGeometryID to index\n@return subset string", "docstring_tokens": ["Gets", "the", "subset", "string", "to", "be", "used", "in", "NetCDFFile", ".", "read", "given", "a", "variable", "and", "some", "indicies", ".", "useful", "for", "subsetting", "timeseries"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft2/simpgeometry/CFSimpleGeometryHelper.java#L29-L64", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/ArrayStructureMA.java", "func_name": "ArrayStructureMA.factoryMA", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Turn any ArrayStructure into a ArrayStructureMA\n@param from copy from here. If from is a ArrayStructureMA, return it.\n@return equivalent ArrayStructureMA\n@throws java.io.IOException on error reading a sequence", "docstring_tokens": ["Turn", "any", "ArrayStructure", "into", "a", "ArrayStructureMA"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/ArrayStructureMA.java#L193-L242", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/ArrayStructureMA.java", "func_name": "ArrayStructureMA.setMemberArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the data array for this member.\n@param memberName name of member\n@param data Array for this member.", "docstring_tokens": ["Set", "the", "data", "array", "for", "this", "member", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/ArrayStructureMA.java#L254-L257", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/ArrayStructureMA.java", "func_name": "ArrayStructureMA.factoryMA", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create an ArrayStructure for a Structure. Allow nested Structures.\nCreate the data arrays, and an iterator.\n\n@param from copy from here. If from is a ArrayStructureMA, return it.\n@param shape the shape of the ArrayStructure\n@return equivilent ArrayStructureMA\n@throws java.io.IOException on error reading a sequence", "docstring_tokens": ["Create", "an", "ArrayStructure", "for", "a", "Structure", ".", "Allow", "nested", "Structures", ".", "Create", "the", "data", "arrays", "and", "an", "iterator", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/ArrayStructureMA.java#L281-L302", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft2/simpgeometry/SimpleGeometryReader.java", "func_name": "SimpleGeometryReader.getGeometryType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Given a variable name, returns the geometry type which that variable is associated with.\nIf the variable has no simple geometry information, null will be returned.\n\n@param name variable name which will have geometry type be checked\n@return Geometry Type if holds geometry information, null if not", "docstring_tokens": ["Given", "a", "variable", "name", "returns", "the", "geometry", "type", "which", "that", "variable", "is", "associated", "with", ".", "If", "the", "variable", "has", "no", "simple", "geometry", "information", "null", "will", "be", "returned", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft2/simpgeometry/SimpleGeometryReader.java#L95-L124", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft/point/standard/StandardStationCollectionImpl.java", "func_name": "StandardStationCollectionImpl.makeStation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make a Station from the station data structure.\n\n@param stationData station data structure\n@param recnum station data recnum within table\n@return Station or null, skip this Station", "docstring_tokens": ["Make", "a", "Station", "from", "the", "station", "data", "structure", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft/point/standard/StandardStationCollectionImpl.java#L48-L52", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/ce/CECompiler.java", "func_name": "CECompiler.compileAST", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Recursive AST walker; compilation of filters is done elsewhere.", "docstring_tokens": ["Recursive", "AST", "walker", ";", "compilation", "of", "filters", "is", "done", "elsewhere", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/ce/CECompiler.java#L51-L81", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/ce/CECompiler.java", "func_name": "CECompiler.compilefilter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert field references in a filter", "docstring_tokens": ["Convert", "field", "references", "in", "a", "filter"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/ce/CECompiler.java#L154-L207", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/ce/CECompiler.java", "func_name": "CECompiler.dimredef", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Process a dim redefinition", "docstring_tokens": ["Process", "a", "dim", "redefinition"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/ce/CECompiler.java#L242-L252", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/ArrayObject.java", "func_name": "ArrayObject.createView", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "create new Array with given indexImpl and the same backing store", "docstring_tokens": ["create", "new", "Array", "with", "given", "indexImpl", "and", "the", "same", "backing", "store"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/ArrayObject.java#L101-L103", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/geoloc/LatLonRect.java", "func_name": "LatLonRect.containedIn", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determine if this bounding box is contained in another LatLonRect.\n\n@param b the other box to see if it contains this one\n@return true if b contained in this bounding box", "docstring_tokens": ["Determine", "if", "this", "bounding", "box", "is", "contained", "in", "another", "LatLonRect", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/geoloc/LatLonRect.java#L329-L332", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/geoloc/LatLonRect.java", "func_name": "LatLonRect.extend", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extend the bounding box to contain this point\n\n@param p point to include", "docstring_tokens": ["Extend", "the", "bounding", "box", "to", "contain", "this", "point"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/geoloc/LatLonRect.java#L368-L428", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/geoloc/LatLonRect.java", "func_name": "LatLonRect.extend", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extend the bounding box to contain the given rectangle\n\n@param r rectangle to include", "docstring_tokens": ["Extend", "the", "bounding", "box", "to", "contain", "the", "given", "rectangle"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/geoloc/LatLonRect.java#L435-L475", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/geoloc/LatLonRect.java", "func_name": "LatLonRect.intersect", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create the instersection of this LatLon with the given one\n\n@param clip intersect with this\n@return intersection, or null if there is no intersection", "docstring_tokens": ["Create", "the", "instersection", "of", "this", "LatLon", "with", "the", "given", "one"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/geoloc/LatLonRect.java#L483-L512", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/MAMath.java", "func_name": "MAMath.add", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add elements of two arrays together, allocating the result array.\nThe result type and the operation type are taken from the type of a.\n\n@param a add values from here\n@param b add values from here\n@return result = a + b\n@throws IllegalArgumentException a and b are not conformable\n@throws UnsupportedOperationException dont support this data type yet", "docstring_tokens": ["Add", "elements", "of", "two", "arrays", "together", "allocating", "the", "result", "array", ".", "The", "result", "type", "and", "the", "operation", "type", "are", "taken", "from", "the", "type", "of", "a", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/MAMath.java#L30-L40", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/MAMath.java", "func_name": "MAMath.conformable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check that two arrays are conformable.\n\n@param a operand\n@param b operand\n@return true if conformable", "docstring_tokens": ["Check", "that", "two", "arrays", "are", "conformable", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/MAMath.java#L73-L75", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/MAMath.java", "func_name": "MAMath.conformable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check that two array shapes are conformable.\nThe shapes must match exactly, except that dimensions of length 1 are ignored.\n\n@param shapeA shape of array 1\n@param shapeB shape of array 2\n@return true if conformable", "docstring_tokens": ["Check", "that", "two", "array", "shapes", "are", "conformable", ".", "The", "shapes", "must", "match", "exactly", "except", "that", "dimensions", "of", "length", "1", "are", "ignored", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/MAMath.java#L85-L109", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/MAMath.java", "func_name": "MAMath.convert", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert original array to desired type\n\n@param org original array\n@param wantType desired type\n@return converted data of desired type, or original array if it is already", "docstring_tokens": ["Convert", "original", "array", "to", "desired", "type"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/MAMath.java#L118-L127", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/MAMath.java", "func_name": "MAMath.copy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copy array a to array result, the result array will be in canonical order\nThe operation type is taken from the type of a.\n\n@param result copy to here\n@param a copy from here\n\n@throws IllegalArgumentException a and b are not conformable\n@throws UnsupportedOperationException dont support this data type yet", "docstring_tokens": ["Copy", "array", "a", "to", "array", "result", "the", "result", "array", "will", "be", "in", "canonical", "order", "The", "operation", "type", "is", "taken", "from", "the", "type", "of", "a", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/MAMath.java#L179-L199", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/MAMath.java", "func_name": "MAMath.copyBoolean", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "copy array a to array result as bytes\nThe array a and result must be type boolean\n\n@param result copy to here\n@param a copy from here\n\n@throws IllegalArgumentException a and result are not conformable", "docstring_tokens": ["copy", "array", "a", "to", "array", "result", "as", "bytes", "The", "array", "a", "and", "result", "must", "be", "type", "boolean"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/MAMath.java#L351-L359", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/MAMath.java", "func_name": "MAMath.copyObject", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "copy array a to array result as an Object\nThe array a and result must be type object\n\n@param result copy to here\n@param a copy from here\n\n@throws IllegalArgumentException a and result are not conformable", "docstring_tokens": ["copy", "array", "a", "to", "array", "result", "as", "an", "Object", "The", "array", "a", "and", "result", "must", "be", "type", "object"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/MAMath.java#L370-L379", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/MAMath.java", "func_name": "MAMath.getMinMax", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find min and max value in this array, getting values as doubles. Skip Double.NaN.\n\n@param a the array.\n@return MinMax", "docstring_tokens": ["Find", "min", "and", "max", "value", "in", "this", "array", "getting", "values", "as", "doubles", ".", "Skip", "Double", ".", "NaN", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/MAMath.java#L425-L438", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/MAMath.java", "func_name": "MAMath.setDouble", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set all the elements of this array to the given double value.\nThe value is converted to the element type of the array, if needed.\n\n@param result change this Array\n@param val set all elements to this value", "docstring_tokens": ["Set", "all", "the", "elements", "of", "this", "array", "to", "the", "given", "double", "value", ".", "The", "value", "is", "converted", "to", "the", "element", "type", "of", "the", "array", "if", "needed", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/MAMath.java#L506-L511", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tdcommon/src/main/java/thredds/server/catalog/ConfigCatalog.java", "func_name": "ConfigCatalog.makeCatalogBuilder", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "turn ConfigCatalog into a mutable CatalogBuilder so we can mutate", "docstring_tokens": ["turn", "ConfigCatalog", "into", "a", "mutable", "CatalogBuilder", "so", "we", "can", "mutate"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tdcommon/src/main/java/thredds/server/catalog/ConfigCatalog.java#L50-L56", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/geoloc/projection/ProjectionAdapter.java", "func_name": "ProjectionAdapter.factory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a ProjectionImpl from the projection\n\n@param proj projection\n@return a ProjectionImpl representing the projection", "docstring_tokens": ["Create", "a", "ProjectionImpl", "from", "the", "projection"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/geoloc/projection/ProjectionAdapter.java#L32-L37", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/EscapeStrings.java", "func_name": "EscapeStrings.unescapeDAPIdentifier", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Define the DEFINITIVE opendap identifier unescape function.\n\n@param id The identifier to unescape.\n@return The unescaped identifier.", "docstring_tokens": ["Define", "the", "DEFINITIVE", "opendap", "identifier", "unescape", "function", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/EscapeStrings.java#L175-L183", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/EscapeStrings.java", "func_name": "EscapeStrings.urlDecode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Define the DEFINITIVE URL unescape function.\n\n@param s The string to unescape.\n@return The unescaped expression.", "docstring_tokens": ["Define", "the", "DEFINITIVE", "URL", "unescape", "function", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/EscapeStrings.java#L291-L299", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/EscapeStrings.java", "func_name": "EscapeStrings.unescapeURL", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Decode all of the parts of the url including query and fragment\n\n@param url the url to encode", "docstring_tokens": ["Decode", "all", "of", "the", "parts", "of", "the", "url", "including", "query", "and", "fragment"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/EscapeStrings.java#L306-L310", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/EscapeStrings.java", "func_name": "EscapeStrings.backslashEscape", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "backslash escape a string\n\n@param x escape this; may be null\n@param reservedChars these chars get a backslash in front of them\n@return escaped string", "docstring_tokens": ["backslash", "escape", "a", "string"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/EscapeStrings.java#L350-L382", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/EscapeStrings.java", "func_name": "EscapeStrings.backslashUnescape", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "backslash unescape a string\n\n@param x unescape this\n@return string with \\c -> c", "docstring_tokens": ["backslash", "unescape", "a", "string"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/EscapeStrings.java#L390-L404", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/EscapeStrings.java", "func_name": "EscapeStrings.tokenizeEscapedName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Tokenize an escaped name using \".\" as delimiter, skipping \"\\.\"\n\n@param escapedName an escaped name\n@return list of tokens", "docstring_tokens": ["Tokenize", "an", "escaped", "name", "using", ".", "as", "delimiter", "skipping", "\\", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/EscapeStrings.java#L413-L427", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/EscapeStrings.java", "func_name": "EscapeStrings.indexOf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find first occurence of char c in escapedName, excluding escaped c.\n\n@param escapedName search in this string\n@param c for this char but not \\\\cha\n@return pos in string, or -1", "docstring_tokens": ["Find", "first", "occurence", "of", "char", "c", "in", "escapedName", "excluding", "escaped", "c", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/EscapeStrings.java#L438-L445", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/EscapeStrings.java", "func_name": "EscapeStrings.backslashToDAP", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Given a backslash escaped name,\nconvert to a DAP escaped name\n\n@param bs the string to DAP encode; may have backslash escapes\n@return escaped string", "docstring_tokens": ["Given", "a", "backslash", "escaped", "name", "convert", "to", "a", "DAP", "escaped", "name"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/EscapeStrings.java#L490-L508", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4lib/src/main/java/dap4/dap4lib/netcdf/Nc4Cursor.java", "func_name": "Nc4Cursor.readAtomicScalar", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a top-level scalar atomic variable\n\n@param vi\n@param ti\n@return\n@throws DapException", "docstring_tokens": ["Read", "a", "top", "-", "level", "scalar", "atomic", "variable"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4lib/src/main/java/dap4/dap4lib/netcdf/Nc4Cursor.java#L235-L265", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4lib/src/main/java/dap4/dap4lib/netcdf/Nc4Cursor.java", "func_name": "Nc4Cursor.getCursorPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Given a cursor, get a list of \"containing\" cursors\nwith the following constraints.\n1. the first element in the path is a top-level variable.\n2. the remaining elements are the enclosing compound variables\n3. the last element is the incoming cursor.\n\n@param cursor\n@return", "docstring_tokens": ["Given", "a", "cursor", "get", "a", "list", "of", "containing", "cursors", "with", "the", "following", "constraints", ".", "1", ".", "the", "first", "element", "in", "the", "path", "is", "a", "top", "-", "level", "variable", ".", "2", ".", "the", "remaining", "elements", "are", "the", "enclosing", "compound", "variables", "3", ".", "the", "last", "element", "is", "the", "incoming", "cursor", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4lib/src/main/java/dap4/dap4lib/netcdf/Nc4Cursor.java#L629-L649", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/util/SwingUtils.java", "func_name": "SwingUtils.getUIDefaultOfClass", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convenience method for retrieving the UIDefault for a single property\nof a particular class.\n\n@param clazz the class of interest\n@param property the property to query\n@return the UIDefault property, or null if not found", "docstring_tokens": ["Convenience", "method", "for", "retrieving", "the", "UIDefault", "for", "a", "single", "property", "of", "a", "particular", "class", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/util/SwingUtils.java#L350-L363", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/util/SwingUtils.java", "func_name": "SwingUtils.getJClass", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convenience method to obtain the Swing class from which this\ncomponent was directly or indirectly derived.\n\n@param component The component whose Swing superclass is to be\ndetermined\n@return The nearest Swing class in the inheritance tree", "docstring_tokens": ["Convenience", "method", "to", "obtain", "the", "Swing", "class", "from", "which", "this", "component", "was", "directly", "or", "indirectly", "derived", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/util/SwingUtils.java#L424-L430", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4lib/src/main/java/dap4/dap4lib/serial/D4DataCompiler.java", "func_name": "D4DataCompiler.compile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The goal here is to process the serialized\ndatabuffer and locate top-level variable positions\nin the serialized databuffer. Access to non-top-level\nvariables is accomplished on the fly.\n\n@return\n@throws DapException", "docstring_tokens": ["The", "goal", "here", "is", "to", "process", "the", "serialized", "databuffer", "and", "locate", "top", "-", "level", "variable", "positions", "in", "the", "serialized", "databuffer", ".", "Access", "to", "non", "-", "top", "-", "level", "variables", "is", "accomplished", "on", "the", "fly", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4lib/src/main/java/dap4/dap4lib/serial/D4DataCompiler.java#L79-L89", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4lib/src/main/java/dap4/dap4lib/serial/D4DataCompiler.java", "func_name": "D4DataCompiler.compileStructureArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compile a structure array.\n\n@param var the template\n@param container if inside a compound object\n@return A DataCompoundArray for the databuffer for this struct.\n@throws DapException", "docstring_tokens": ["Compile", "a", "structure", "array", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4lib/src/main/java/dap4/dap4lib/serial/D4DataCompiler.java#L153-L172", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4lib/src/main/java/dap4/dap4lib/serial/D4DataCompiler.java", "func_name": "D4DataCompiler.compileStructure", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compile a structure instance.\n\n@param dapstruct The template\n@param container\n@return A DataStructure for the databuffer for this struct.\n@throws DapException", "docstring_tokens": ["Compile", "a", "structure", "instance", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4lib/src/main/java/dap4/dap4lib/serial/D4DataCompiler.java#L182-L197", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4lib/src/main/java/dap4/dap4lib/serial/D4DataCompiler.java", "func_name": "D4DataCompiler.compileSequenceArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compile a sequence array.\n\n@param var the template\n@return A DataCompoundArray for the databuffer for this sequence.\n@throws DapException", "docstring_tokens": ["Compile", "a", "sequence", "array", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4lib/src/main/java/dap4/dap4lib/serial/D4DataCompiler.java#L206-L225", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4lib/src/main/java/dap4/dap4lib/serial/D4DataCompiler.java", "func_name": "D4DataCompiler.compileSequence", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compile a sequence as a set of records.\n\n@param dapseq\n@param container\n@return\n@throws DapException", "docstring_tokens": ["Compile", "a", "sequence", "as", "a", "set", "of", "records", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4lib/src/main/java/dap4/dap4lib/serial/D4DataCompiler.java#L235-L258", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/io/BeLeDataInputStream.java", "func_name": "BeLeDataInputStream.readLELong", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "read a long in little endian format\n\n@return long from next 8 bytes in stream, littleEndian order", "docstring_tokens": ["read", "a", "long", "in", "little", "endian", "format"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/io/BeLeDataInputStream.java#L111-L122", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/util/prefs/ui/PrefPanel.java", "func_name": "PrefPanel.getField", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find the field with the specified name.\n@param name of Field\n@return Field or null if not found", "docstring_tokens": ["Find", "the", "field", "with", "the", "specified", "name", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/util/prefs/ui/PrefPanel.java#L225-L229", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/util/prefs/ui/PrefPanel.java", "func_name": "PrefPanel.getFieldValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get current value of the named field\n@param name of field\n@return value of named field", "docstring_tokens": ["Get", "current", "value", "of", "the", "named", "field"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/util/prefs/ui/PrefPanel.java#L236-L240", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/util/prefs/ui/PrefPanel.java", "func_name": "PrefPanel.setFieldValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the current value of the named field\n@param name of field\n@param value of field", "docstring_tokens": ["Set", "the", "current", "value", "of", "the", "named", "field"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/util/prefs/ui/PrefPanel.java#L247-L251", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/util/prefs/ui/PrefPanel.java", "func_name": "PrefPanel.addField", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a field created by the user.\n@param fld add this field.", "docstring_tokens": ["Add", "a", "field", "created", "by", "the", "user", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/util/prefs/ui/PrefPanel.java#L260-L264", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/util/prefs/ui/PrefPanel.java", "func_name": "PrefPanel.addCheckBoxField", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a boolean field as a checkbox.\n@param fldName the name to store the data in the PersistenceManagerData\n@param label used as the label on the panel\n@param defValue default value", "docstring_tokens": ["Add", "a", "boolean", "field", "as", "a", "checkbox", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/util/prefs/ui/PrefPanel.java#L296-L300", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/util/prefs/ui/PrefPanel.java", "func_name": "PrefPanel.addDateField", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a field that edits a date\n@param fldName the name to store the data in the PersistenceManagerData\n@param label used as the label on the panel\n@param defValue default value", "docstring_tokens": ["Add", "a", "field", "that", "edits", "a", "date"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/util/prefs/ui/PrefPanel.java#L329-L333", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/util/prefs/ui/PrefPanel.java", "func_name": "PrefPanel.addDoubleField", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a field that edits a double\n@param fldName the name to store the data in the PersistenceManagerData\n@param label used as the label on the panel\n@param defValue default value", "docstring_tokens": ["Add", "a", "field", "that", "edits", "a", "double"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/util/prefs/ui/PrefPanel.java#L348-L352", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/util/prefs/ui/PrefPanel.java", "func_name": "PrefPanel.addIntField", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a field that edits an integer\n@param fldName the name to store the data in the PersistenceManagerData\n@param label used as the label on the panel\n@param defValue default value", "docstring_tokens": ["Add", "a", "field", "that", "edits", "an", "integer"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/util/prefs/ui/PrefPanel.java#L404-L408", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/util/prefs/ui/PrefPanel.java", "func_name": "PrefPanel.addPasswordField", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a password text field.\n@param fldName the name to store the data in the PersistenceManagerData\n@param label used as the label on the panel\n@param defValue default value", "docstring_tokens": ["Add", "a", "password", "text", "field", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/util/prefs/ui/PrefPanel.java#L429-L433", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/util/prefs/ui/PrefPanel.java", "func_name": "PrefPanel.addTextField", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a text field.\n@param fldName the name to store the data in the PersistenceManagerData\n@param label used as the label on the panel\n@param defValue default value\n@return the Field.Text object that was added", "docstring_tokens": ["Add", "a", "text", "field", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/util/prefs/ui/PrefPanel.java#L442-L446", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/util/prefs/ui/PrefPanel.java", "func_name": "PrefPanel.addTextComboField", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a text combobox field.\n@param fldName the name to store the data in the PersistenceManagerData\n@param label used as the label on the panel\n@param defValues list of default values (Strings) to include in the comboBox. May be null.\nThese are added to the combobox (at the end) no matter how many there are.\n@param nKeep number of most recently used values to keep\n@param editable whether the user can add new entries the list to select from.", "docstring_tokens": ["Add", "a", "text", "combobox", "field", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/util/prefs/ui/PrefPanel.java#L463-L468", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/util/prefs/ui/PrefPanel.java", "func_name": "PrefPanel.addTextAreaField", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a TextArea field.\n@param fldName the name to store the data in the PersistenceManagerData\n@param label used as the label on the panel\n@param def default value\n@param nrows number of rows", "docstring_tokens": ["Add", "a", "TextArea", "field", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/util/prefs/ui/PrefPanel.java#L486-L490", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/util/prefs/ui/PrefPanel.java", "func_name": "PrefPanel.addHeading", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a heading at the specified row. this spans all columns", "docstring_tokens": ["Add", "a", "heading", "at", "the", "specified", "row", ".", "this", "spans", "all", "columns"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/util/prefs/ui/PrefPanel.java#L520-L522", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/util/prefs/ui/PrefPanel.java", "func_name": "PrefPanel.addComponent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a Component.", "docstring_tokens": ["Add", "a", "Component", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/util/prefs/ui/PrefPanel.java#L525-L527", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/util/prefs/ui/PrefPanel.java", "func_name": "PrefPanel.addEmptyRow", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a seperator after the last field added.", "docstring_tokens": ["Add", "a", "seperator", "after", "the", "last", "field", "added", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/util/prefs/ui/PrefPanel.java#L535-L537", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/util/prefs/ui/PrefPanel.java", "func_name": "PrefPanel.findActiveFrame", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "thanks to Heinz M. Kabutz", "docstring_tokens": ["thanks", "to", "Heinz", "M", ".", "Kabutz"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/util/prefs/ui/PrefPanel.java#L1022-L1029", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/atd/dorade/DoradeRADD.java", "func_name": "DoradeRADD.getCellSpacing", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the cell spacing. An exception is thrown if the cell spacing\nis not constant.\n\n@return the cell spacing, in meters\n@throws DescriptorException if the cell spacing is not constant.", "docstring_tokens": ["Get", "the", "cell", "spacing", ".", "An", "exception", "is", "thrown", "if", "the", "cell", "spacing", "is", "not", "constant", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/atd/dorade/DoradeRADD.java#L361-L378", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/Dimension.java", "func_name": "Dimension.getFactors", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the array of Factor-s constituting this dimension.\n\n@return The array of Factor-s constituting this dimension.", "docstring_tokens": ["Returns", "the", "array", "of", "Factor", "-", "s", "constituting", "this", "dimension", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/Dimension.java#L67-L71", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/Dimension.java", "func_name": "Dimension.mult", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Multiplies this dimension by another dimension.\n\n@param that\nThe other dimension.\n@return The product of the Factor-s of this dimension and the Factor-s of\nthe other dimension.", "docstring_tokens": ["Multiplies", "this", "dimension", "by", "another", "dimension", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/Dimension.java#L81-L128", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/Dimension.java", "func_name": "Dimension.pow", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Raises this dimension to a power.\n\n@param power\nThe power to raise this dimension by.\n@return The Factor-s of this dimension raised to the power\npower.", "docstring_tokens": ["Raises", "this", "dimension", "to", "a", "power", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/Dimension.java#L138-L152", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/Dimension.java", "func_name": "Dimension.isReciprocalOf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Indicates if this Dimension is the reciprocal of another dimension.\n\n@param that\nThe other dimension.\n@return true if and only if this dimension is the reciprocal\nof the other dimension.", "docstring_tokens": ["Indicates", "if", "this", "Dimension", "is", "the", "reciprocal", "of", "another", "dimension", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/Dimension.java#L162-L179", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/Dimension.java", "func_name": "Dimension.isDimensionless", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Indicates if this dimension is dimensionless. A dimension is\ndimensionless if it has no Factor-s or if all Factor-s are, themselves,\ndimensionless.\n\n@return true if and only if this dimension is dimensionless.", "docstring_tokens": ["Indicates", "if", "this", "dimension", "is", "dimensionless", ".", "A", "dimension", "is", "dimensionless", "if", "it", "has", "no", "Factor", "-", "s", "or", "if", "all", "Factor", "-", "s", "are", "themselves", "dimensionless", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/Dimension.java#L240-L247", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/grib1/tables/Grib1ParamTables.java", "func_name": "Grib1ParamTables.factory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a Grib1ParamTables object, optionally specifying a parameter table or lookup table specific to this dataset.\n\n@param paramTablePath path to a parameter table, in format Grib1ParamTable can read.\n@param lookupTablePath path to a lookup table, in format Lookup.readLookupTable() can read.\n@return Grib1Tables\n@throws IOException on read error", "docstring_tokens": ["Get", "a", "Grib1ParamTables", "object", "optionally", "specifying", "a", "parameter", "table", "or", "lookup", "table", "specific", "to", "this", "dataset", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/grib1/tables/Grib1ParamTables.java#L118-L140", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/grib1/tables/Grib1ParamTables.java", "func_name": "Grib1ParamTables.factory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a Grib1Tables object, optionally specifiying a parameter table in XML specific to this dataset.\n\n@param paramTableElem parameter table in XML\n@return Grib1Tables", "docstring_tokens": ["Get", "a", "Grib1Tables", "object", "optionally", "specifiying", "a", "parameter", "table", "in", "XML", "specific", "to", "this", "dataset", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/grib1/tables/Grib1ParamTables.java#L148-L151", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/grib1/tables/Grib1ParamTables.java", "func_name": "Grib1ParamTables.addParameterTableLookup", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add all tables in list to standard tables\n\n@param lookupFilename filename containing list of tables\n@return true if read ok, false if file not found\n@throws IOException if file found but read error", "docstring_tokens": ["Add", "all", "tables", "in", "list", "to", "standard", "tables"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/grib1/tables/Grib1ParamTables.java#L213-L223", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/grib1/tables/Grib1ParamTables.java", "func_name": "Grib1ParamTables.addParameterTable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add table to standard tables for a specific center, subcenter and version.\n\n@param center center id\n@param subcenter subcenter id, or -1 for all\n@param tableVersion table verssion, or -1 for all\n@param tableFilename file to read parameter table from", "docstring_tokens": ["Add", "table", "to", "standard", "tables", "for", "a", "specific", "center", "subcenter", "and", "version", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/grib1/tables/Grib1ParamTables.java#L233-L239", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/LogarithmicUnit.java", "func_name": "LogarithmicUnit.myRaiseTo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Raise this unit to a power.\n\n@param power\nThe power to raise this unit by. The only meaningful values\nare 0 and 1.\n@return The result of raising this unit by the power power.\n@throws RaiseException\nCan't raise this unit to {@code power}, which is neither 0\nnor 1.", "docstring_tokens": ["Raise", "this", "unit", "to", "a", "power", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/LogarithmicUnit.java#L194-L203", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/LogarithmicUnit.java", "func_name": "LogarithmicUnit.toDerivedUnit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts values in this unit to the equivalent values in the convertible\nderived unit.\n\n@param input\nThe values in this unit.\n@param output\nThe equivalent values in the convertible derived unit. May be\nthe same array as input.\n@return output.\n@throws ConversionException\nCan't convert between units.", "docstring_tokens": ["Converts", "values", "in", "this", "unit", "to", "the", "equivalent", "values", "in", "the", "convertible", "derived", "unit", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/LogarithmicUnit.java#L255-L261", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/vis5d/Vis5DIosp.java", "func_name": "Vis5DIosp.initUnitTable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Initialize the unit table. This is used if there are no\nunits in the file.", "docstring_tokens": ["Initialize", "the", "unit", "table", ".", "This", "is", "used", "if", "there", "are", "no", "units", "in", "the", "file", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/vis5d/Vis5DIosp.java#L464-L482", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/vis5d/Vis5DIosp.java", "func_name": "Vis5DIosp.makeVerticalVariable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a vertical dimension variable based on the info. Based on\nvisad.data.vis5d.Vis5DVerticalSystem.\n\n@param vert_sys the vertical system id\n@param n_levels the number of levels\n@param vert_args the vertical system arguments\n@return the vertical dimesion variable\n@throws IOException problem reading the file or creating the data", "docstring_tokens": ["Create", "a", "vertical", "dimension", "variable", "based", "on", "the", "info", ".", "Based", "on", "visad", ".", "data", ".", "vis5d", ".", "Vis5DVerticalSystem", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/vis5d/Vis5DIosp.java#L494-L573", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/atd/dorade/DoradeDescriptor.java", "func_name": "DoradeDescriptor.peekName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the name of the DORADE descriptor at the current location\nin the file. The current location will not be changed.\n\n@param file the DORADE sweep file, positioned at the beginning of a\ndescriptor\n@return the name of the DORADE descriptor starting at the current\nfile position, or null if no descriptor name is available\n@throws DescriptorException", "docstring_tokens": ["Return", "the", "name", "of", "the", "DORADE", "descriptor", "at", "the", "current", "location", "in", "the", "file", ".", "The", "current", "location", "will", "not", "be", "changed", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/atd/dorade/DoradeDescriptor.java#L144-L157", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/atd/dorade/DoradeDescriptor.java", "func_name": "DoradeDescriptor.grabShort", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Unpack a two-byte integer from the given byte array.\n\n@param bytes byte array to be read\n@param offset number of bytes to skip in the byte array before reading\n@return the unpacked short value", "docstring_tokens": ["Unpack", "a", "two", "-", "byte", "integer", "from", "the", "given", "byte", "array", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/atd/dorade/DoradeDescriptor.java#L195-L200", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/atd/dorade/DoradeDescriptor.java", "func_name": "DoradeDescriptor.grabInt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Unpack a four-byte integer from the given byte array.\n\n@param bytes byte array to be read\n@param offset number of bytes to skip in the byte array before reading\n@param littleEndianData true iff the byte array contains little-endian\ndata\n@return the unpacked integer value", "docstring_tokens": ["Unpack", "a", "four", "-", "byte", "integer", "from", "the", "given", "byte", "array", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/atd/dorade/DoradeDescriptor.java#L211-L223", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/atd/dorade/DoradeDescriptor.java", "func_name": "DoradeDescriptor.grabFloat", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Unpack a four-byte IEEE float from the given byte array.\n\n@param bytes byte array to be read\n@param offset number of bytes to skip in the byte array before reading\n@return the unpacked float value", "docstring_tokens": ["Unpack", "a", "four", "-", "byte", "IEEE", "float", "from", "the", "given", "byte", "array", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/atd/dorade/DoradeDescriptor.java#L243-L263", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/atd/dorade/DoradeDescriptor.java", "func_name": "DoradeDescriptor.grabDouble", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Unpack an eight-byte IEEE float from the given byte array.\n\n@param bytes byte array to be read\n@param offset number of bytes to skip in the byte array before reading\n@return the unpacked double value", "docstring_tokens": ["Unpack", "an", "eight", "-", "byte", "IEEE", "float", "from", "the", "given", "byte", "array", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/atd/dorade/DoradeDescriptor.java#L272-L296", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/StandardUnitDB.java", "func_name": "StandardUnitDB.aa", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds an alias for a unit to the database.\n\n@param alias The alias for the unit.\n@param name The name of the unit.\n@throws UnitExistsException Attempt to redefine an existing unit.\n@throws NameException Bad unit name.\n@throws UnitParseException A string specification couldn't be parsed.\n@throws SpecificationException Bad string specification.\n@throws UnitDBException Problem with the unit database.\n@throws PrefixDBException Problem with the prefix database.\n@throws NameException Bad unit name.\n@throws OperationException Improper unit operation.\n@throws UnitSystemException Problem with UnitSystem.", "docstring_tokens": ["Adds", "an", "alias", "for", "a", "unit", "to", "the", "database", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/StandardUnitDB.java#L724-L730", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/StandardUnitDB.java", "func_name": "StandardUnitDB.as", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a symbol for a unit to the database.\n\n@param symbol The symbol for the unit.\n@param name The name of the unit.\n@throws UnitExistsException Attempt to redefine an existing unit.\n@throws NameException Bad unit name.\n@throws UnitParseException A string specification couldn't be parsed.\n@throws SpecificationException Bad string specification.\n@throws UnitDBException Problem with the unit database.\n@throws PrefixDBException Problem with the prefix database.\n@throws NameException Bad unit name.\n@throws OperationException Improper unit operation.\n@throws UnitSystemException Problem with UnitSystem.", "docstring_tokens": ["Adds", "a", "symbol", "for", "a", "unit", "to", "the", "database", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/StandardUnitDB.java#L796-L802", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/ConverterImpl.java", "func_name": "ConverterImpl.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Factory method for creating a unit converter.\n@param fromUnit\t\tThe unit from which to convert.\n@param toUnit The unit to which to convert.\n@throws ConversionException The units are not convertible.", "docstring_tokens": ["Factory", "method", "for", "creating", "a", "unit", "converter", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/ConverterImpl.java#L40-L45", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/StructureTable.java", "func_name": "StructureTable.setStructureData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the data as a collection of StructureData.\n\n@param structureData List of type StructureData\n@throws IOException on io error", "docstring_tokens": ["Set", "the", "data", "as", "a", "collection", "of", "StructureData", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/StructureTable.java#L139-L142", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/StructureTable.java", "func_name": "StructureTable.setPointFeatureData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the data as a collection of PointFeature.\n\n@param obsData List of type PointFeature\n@throws IOException on io error", "docstring_tokens": ["Set", "the", "data", "as", "a", "collection", "of", "PointFeature", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/StructureTable.java#L160-L163", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/gis/GisFeatureRenderer.java", "func_name": "GisFeatureRenderer.draw", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Draws all the features that are within the graphics clip rectangle,\nusing the previously set displayProjection.\n\n@param g the Graphics2D context on which to draw\n@param pixelAT transforms \"Normalized Device\" to Device coordinates", "docstring_tokens": ["Draws", "all", "the", "features", "that", "are", "within", "the", "graphics", "clip", "rectangle", "using", "the", "previously", "set", "displayProjection", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/gis/GisFeatureRenderer.java#L62-L75", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/gis/GisFeatureRenderer.java", "func_name": "GisFeatureRenderer.getShapes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "get the set of shapes to draw, convert projections if need be", "docstring_tokens": ["get", "the", "set", "of", "shapes", "to", "draw", "convert", "projections", "if", "need", "be"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/gis/GisFeatureRenderer.java#L78-L116", "partition": "test"} +{"repo": "Unidata/thredds", "path": "bufr/src/main/java/ucar/nc2/iosp/bufr/writer/BufrSplitter.java", "func_name": "BufrSplitter.processStream", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "process all the bytes in the stream", "docstring_tokens": ["process", "all", "the", "bytes", "in", "the", "stream"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/bufr/src/main/java/ucar/nc2/iosp/bufr/writer/BufrSplitter.java#L69-L77", "partition": "test"} +{"repo": "Unidata/thredds", "path": "bufr/src/main/java/ucar/nc2/iosp/bufr/writer/BufrSplitter.java", "func_name": "BufrSplitter.readBuffer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "read into dest byte array, until buffer is full or end of stream", "docstring_tokens": ["read", "into", "dest", "byte", "array", "until", "buffer", "is", "full", "or", "end", "of", "stream"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/bufr/src/main/java/ucar/nc2/iosp/bufr/writer/BufrSplitter.java#L251-L263", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/dap/HeaderInputStream.java", "func_name": "HeaderInputStream.getMoreBytes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get more bytes into buffer. Stop when endSequence is found.", "docstring_tokens": ["Get", "more", "bytes", "into", "buffer", ".", "Stop", "when", "endSequence", "is", "found", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/dap/HeaderInputStream.java#L130-L153", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/dap/HeaderInputStream.java", "func_name": "HeaderInputStream.read", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads up to len bytes of data from this input stream into an array of\nbytes. This method blocks until some input is available.", "docstring_tokens": ["Reads", "up", "to", "len", "bytes", "of", "data", "from", "this", "input", "stream", "into", "an", "array", "of", "bytes", ".", "This", "method", "blocks", "until", "some", "input", "is", "available", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/dap/HeaderInputStream.java#L160-L183", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/dap/HeaderInputStream.java", "func_name": "HeaderInputStream.skip", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Skips over and discards n bytes of data from the input stream.", "docstring_tokens": ["Skips", "over", "and", "discards", "n", "bytes", "of", "data", "from", "the", "input", "stream", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/dap/HeaderInputStream.java#L188-L197", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/grid/GridVertCoord.java", "func_name": "GridVertCoord.addDimensionsToNetcdfFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add this coord as a dimension to the netCDF file\n\n@param ncfile file to add to\n@param g group in the file", "docstring_tokens": ["Add", "this", "coord", "as", "a", "dimension", "to", "the", "netCDF", "file"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/grid/GridVertCoord.java#L232-L240", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/grid/GridVertCoord.java", "func_name": "GridVertCoord.coordIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the coordinate index for the record\n\n@param record record in question\n@return index or -1 if not found", "docstring_tokens": ["Get", "the", "coordinate", "index", "for", "the", "record"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/grid/GridVertCoord.java#L522-L543", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/nowrad/NOWRadiosp.java", "func_name": "NOWRadiosp.isValidFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "checking the file\n\n@param raf\n@return the valid of file checking", "docstring_tokens": ["checking", "the", "file"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/nowrad/NOWRadiosp.java#L52-L56", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/nowrad/NOWRadiosp.java", "func_name": "NOWRadiosp.open", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Open the file and read the header part\n\n@param raf\n@param file\n@param cancelTask\n@throws java.io.IOException", "docstring_tokens": ["Open", "the", "file", "and", "read", "the", "header", "part"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/nowrad/NOWRadiosp.java#L74-L88", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/nowrad/NOWRadiosp.java", "func_name": "NOWRadiosp.readData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read the data for each variable passed in\n\n@param v2\n@param section\n@return output data\n@throws IOException\n@throws ucar.ma2.InvalidRangeException", "docstring_tokens": ["Read", "the", "data", "for", "each", "variable", "passed", "in"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/nowrad/NOWRadiosp.java#L99-L121", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/nowrad/NOWRadiosp.java", "func_name": "NOWRadiosp.readOneRowData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read data from encoded values and run len into regular data array\n\n@param ddata is encoded data values\n@return the data array of row data", "docstring_tokens": ["Read", "data", "from", "encoded", "values", "and", "run", "len", "into", "regular", "data", "array"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/nowrad/NOWRadiosp.java#L301-L324", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/server/opendap/NcDDS.java", "func_name": "NcDDS.createFromDataset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "take advantage of the work already done by NetcdfDataset", "docstring_tokens": ["take", "advantage", "of", "the", "work", "already", "done", "by", "NetcdfDataset"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/server/opendap/NcDDS.java#L134-L183", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/server/opendap/NcDDS.java", "func_name": "NcDDS.createVariable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "turn Variable into opendap variable", "docstring_tokens": ["turn", "Variable", "into", "opendap", "variable"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/server/opendap/NcDDS.java#L187-L209", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/geoloc/NavigatedPanel.java", "func_name": "NavigatedPanel.fireMapAreaEvent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "called by Navigation", "docstring_tokens": ["called", "by", "Navigation"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/geoloc/NavigatedPanel.java#L272-L303", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/geoloc/NavigatedPanel.java", "func_name": "NavigatedPanel.setMapArea", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the Map Area.", "docstring_tokens": ["Set", "the", "Map", "Area", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/geoloc/NavigatedPanel.java#L314-L317", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/geoloc/NavigatedPanel.java", "func_name": "NavigatedPanel.setMapArea", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the Map Area by converting LatLonRect to a ProjectionRect.", "docstring_tokens": ["Set", "the", "Map", "Area", "by", "converting", "LatLonRect", "to", "a", "ProjectionRect", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/geoloc/NavigatedPanel.java#L319-L322", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/geoloc/NavigatedPanel.java", "func_name": "NavigatedPanel.setLatLonCenterMapArea", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "set the center point of the MapArea", "docstring_tokens": ["set", "the", "center", "point", "of", "the", "MapArea"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/geoloc/NavigatedPanel.java#L338-L346", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/geoloc/NavigatedPanel.java", "func_name": "NavigatedPanel.setProjectionImpl", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the Projection, change the Map Area to the projection's default.", "docstring_tokens": ["Set", "the", "Projection", "change", "the", "Map", "Area", "to", "the", "projection", "s", "default", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/geoloc/NavigatedPanel.java#L352-L370", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/geoloc/NavigatedPanel.java", "func_name": "NavigatedPanel.addActionsToMenu", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add all of the toolbar's actions to a menu.\n@param menu the menu to add the actions to", "docstring_tokens": ["Add", "all", "of", "the", "toolbar", "s", "actions", "to", "a", "menu", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/geoloc/NavigatedPanel.java#L384-L400", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/geoloc/NavigatedPanel.java", "func_name": "NavigatedPanel.redrawLater", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "from panning, so wait delay msecs before doing the redraw.", "docstring_tokens": ["from", "panning", "so", "wait", "delay", "msecs", "before", "doing", "the", "redraw", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/geoloc/NavigatedPanel.java#L415-L433", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/geoloc/NavigatedPanel.java", "func_name": "NavigatedPanel.newScreenSize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "when component resizes we need a new buffer", "docstring_tokens": ["when", "component", "resizes", "we", "need", "a", "new", "buffer"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/geoloc/NavigatedPanel.java#L580-L603", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/op/DatasetTreeView.java", "func_name": "DatasetTreeView.setSelected", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the currently selected Variable.\n\n@param v select this Variable, must be already in the tree.", "docstring_tokens": ["Set", "the", "currently", "selected", "Variable", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/op/DatasetTreeView.java#L121-L176", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4cdm/src/main/java/dap4/cdm/nc2/CDMArrayAtomic.java", "func_name": "CDMArrayAtomic.getDouble", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert int base to Index based", "docstring_tokens": ["Convert", "int", "base", "to", "Index", "based"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4cdm/src/main/java/dap4/cdm/nc2/CDMArrayAtomic.java#L174-L179", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4cdm/src/main/java/dap4/cdm/nc2/CDMArrayAtomic.java", "func_name": "CDMArrayAtomic.getDouble", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the array element at a specific dap4 index as a double\n\n@param idx of element to get\n@return value at index cast to double if necessary.", "docstring_tokens": ["Get", "the", "array", "element", "at", "a", "specific", "dap4", "index", "as", "a", "double"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4cdm/src/main/java/dap4/cdm/nc2/CDMArrayAtomic.java#L365-L375", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4cdm/src/main/java/dap4/cdm/nc2/CDMArrayAtomic.java", "func_name": "CDMArrayAtomic.getObject", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the array element at a specific dap4 index as an Object\n\n@param idx of element to get\n@return value at index cast to Object if necessary.", "docstring_tokens": ["Get", "the", "array", "element", "at", "a", "specific", "dap4", "index", "as", "an", "Object"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4cdm/src/main/java/dap4/cdm/nc2/CDMArrayAtomic.java#L510-L520", "partition": "test"} +{"repo": "Unidata/thredds", "path": "clcommon/src/main/java/ucar/nc2/iosp/gini/Giniheader.java", "func_name": "Giniheader.gini_GetSectorID", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the string of Sector for the GINI image file", "docstring_tokens": ["Return", "the", "string", "of", "Sector", "for", "the", "GINI", "image", "file"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/clcommon/src/main/java/ucar/nc2/iosp/gini/Giniheader.java#L624-L680", "partition": "test"} +{"repo": "Unidata/thredds", "path": "clcommon/src/main/java/ucar/nc2/iosp/gini/Giniheader.java", "func_name": "Giniheader.readScaledInt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a scaled, 3-byte integer from file and convert to double", "docstring_tokens": ["Read", "a", "scaled", "3", "-", "byte", "integer", "from", "file", "and", "convert", "to", "double"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/clcommon/src/main/java/ucar/nc2/iosp/gini/Giniheader.java#L1139-L1153", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/CoordinateTransform.java", "func_name": "CoordinateTransform.findParameterIgnoreCase", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convenience function; look up Parameter by name, ignoring case.\n\n@param name the name of the attribute\n@return the Attribute, or null if not found", "docstring_tokens": ["Convenience", "function", ";", "look", "up", "Parameter", "by", "name", "ignoring", "case", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/CoordinateTransform.java#L89-L95", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/util/MultiOdometer.java", "func_name": "MultiOdometer.hasNext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Iterator API Overrides", "docstring_tokens": ["Iterator", "API", "Overrides"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/util/MultiOdometer.java#L110-L122", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/grads/GradsDataDescriptorFile.java", "func_name": "GradsDataDescriptorFile.swapByteOrder", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Swap the byte order from the system default", "docstring_tokens": ["Swap", "the", "byte", "order", "from", "the", "system", "default"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/grads/GradsDataDescriptorFile.java#L587-L599", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/grads/GradsDataDescriptorFile.java", "func_name": "GradsDataDescriptorFile.getTimeStepsPerFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the number of timesteps per file and the starting offset\n\n@param filename the filename to check\n@return the starting index and number of times in that file", "docstring_tokens": ["Get", "the", "number", "of", "timesteps", "per", "file", "and", "the", "starting", "offset"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/grads/GradsDataDescriptorFile.java#L715-L724", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/grads/GradsDataDescriptorFile.java", "func_name": "GradsDataDescriptorFile.getFileName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the file name for the particular time and ensemble index\n\n@param eIndex ensemble index\n@param tIndex time index\n@return the appropriate filename", "docstring_tokens": ["Get", "the", "file", "name", "for", "the", "particular", "time", "and", "ensemble", "index"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/grads/GradsDataDescriptorFile.java#L865-L883", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/grads/GradsDataDescriptorFile.java", "func_name": "GradsDataDescriptorFile.getFileNames", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the list of filenames\n\n@return the filenames\n@throws IOException file does not exist.", "docstring_tokens": ["Get", "the", "list", "of", "filenames"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/grads/GradsDataDescriptorFile.java#L891-L954", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/grads/GradsDataDescriptorFile.java", "func_name": "GradsDataDescriptorFile.getDDFPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the path to the Data Descriptor File\n\n@return the path to the Data Descriptor File", "docstring_tokens": ["Get", "the", "path", "to", "the", "Data", "Descriptor", "File"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/grads/GradsDataDescriptorFile.java#L961-L974", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/grads/GradsDataDescriptorFile.java", "func_name": "GradsDataDescriptorFile.getFullPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the full path for a given filename\n\n@param filename the raw filename\n@return the full filename", "docstring_tokens": ["Get", "the", "full", "path", "for", "a", "given", "filename"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/grads/GradsDataDescriptorFile.java#L982-L999", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/grads/GradsDataDescriptorFile.java", "func_name": "GradsDataDescriptorFile.addChsub", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a Chsub\n\n@param sub the chsub", "docstring_tokens": ["Add", "a", "Chsub"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/grads/GradsDataDescriptorFile.java#L1006-L1011", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/coord/TimeCoordIntvDateValue.java", "func_name": "TimeCoordIntvDateValue.convertReferenceDate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculate the offset in units of timeUnit from the given reference date?", "docstring_tokens": ["Calculate", "the", "offset", "in", "units", "of", "timeUnit", "from", "the", "given", "reference", "date?"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/coord/TimeCoordIntvDateValue.java#L59-L66", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/nids/Nidsheader.java", "func_name": "Nidsheader.readWMO", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "read the header of input file and parsing the WMO part\n@param raf input file\n@return 1 if checking passing\n@throws IOException", "docstring_tokens": ["read", "the", "header", "of", "input", "file", "and", "parsing", "the", "WMO", "part"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/nids/Nidsheader.java#L175-L218", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/nids/Nidsheader.java", "func_name": "Nidsheader.getUncompData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "read the compressed data\n\n@param offset offset of the compressed data\n@param len length of data to compress\n@return uncompressed byte array", "docstring_tokens": ["read", "the", "compressed", "data"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/nids/Nidsheader.java#L227-L232", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/nids/Nidsheader.java", "func_name": "Nidsheader.pcode_12n13n14", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "construct a dataset for special graphic symbol packet with code 12, 13, and 14\n\n\n@param pos, dlen, hoff, len, isZ, structName, code\n\n@return 1 if successful", "docstring_tokens": ["construct", "a", "dataset", "for", "special", "graphic", "symbol", "packet", "with", "code", "12", "13", "and", "14"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/nids/Nidsheader.java#L924-L962", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/nids/Nidsheader.java", "func_name": "Nidsheader.pcode_25", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "construct a dataset for special symbol packet with code 25\n\n\n@param pos, size, code, hoff, len, structName, isZ\n\n@return 1 if successful", "docstring_tokens": ["construct", "a", "dataset", "for", "special", "symbol", "packet", "with", "code", "25"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/nids/Nidsheader.java#L973-L1007", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/nids/Nidsheader.java", "func_name": "Nidsheader.checkMsgHeader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "check level III file header\n\n@param raf input file\n@return 1 if success, and 0 if fail\n@throws IOException", "docstring_tokens": ["check", "level", "III", "file", "header"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/nids/Nidsheader.java#L1125-L1149", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/nids/Nidsheader.java", "func_name": "Nidsheader.pcode_5", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "construct a dataset for vector arrow data packet with code 5\n\n\n@param pos, size, code, hoff, len, isZ\n\n@return 1 if successful", "docstring_tokens": ["construct", "a", "dataset", "for", "vector", "arrow", "data", "packet", "with", "code", "5"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/nids/Nidsheader.java#L1160-L1205", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/nids/Nidsheader.java", "func_name": "Nidsheader.pcode_128", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "construct a dataset for text and special symbol packets with code 1, 2, and 8\n\n\n@param pos, size, code, hoff, len, structName, isZ\n\n@return 1 if successful", "docstring_tokens": ["construct", "a", "dataset", "for", "text", "and", "special", "symbol", "packets", "with", "code", "1", "2", "and", "8"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/nids/Nidsheader.java#L1216-L1257", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/nids/Nidsheader.java", "func_name": "Nidsheader.pcode_10n9", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "construct a dataset for linked vector packet, and unlinked vector packet\n\n\n@param pos, dlen, hoff, len, isZ\n\n@return 1 if successful", "docstring_tokens": ["construct", "a", "dataset", "for", "linked", "vector", "packet", "and", "unlinked", "vector", "packet"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/nids/Nidsheader.java#L1267-L1315", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/nids/Nidsheader.java", "func_name": "Nidsheader.getLevels", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "get the table to calibrate data value\n\n@param nlevel number of level\n@param th thredshold value\n@return", "docstring_tokens": ["get", "the", "table", "to", "calibrate", "data", "value"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/nids/Nidsheader.java#L2089-L2107", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/nids/Nidsheader.java", "func_name": "Nidsheader.getDualpolLevels", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "get the calibrate data values for dualpol data\n@param th\n@return", "docstring_tokens": ["get", "the", "calibrate", "data", "values", "for", "dualpol", "data"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/nids/Nidsheader.java#L2147-L2156", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/nids/Nidsheader.java", "func_name": "Nidsheader.addVariable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "adding new variable to the netcdf file\n@param pName variable name\n@param longName variable long name\n@param nc netcdf file\n@param dims variable dimensions\n@param coordinates variable coordinate\n@param dtype variable type\n@param ut unit string\n@param hoff header offset\n@param hedsiz header size\n@param isZ is compressed file\n@param nlevel calibrated level number\n@param levels calibrate levels\n@param iscale is scale variable", "docstring_tokens": ["adding", "new", "variable", "to", "the", "netcdf", "file"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/nids/Nidsheader.java#L2189-L2201", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/nids/Nidsheader.java", "func_name": "Nidsheader.addParameter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "adding new parameter to the netcdf file\n@param pName variable name\n@param longName variable long name\n@param nc netcdf file\n@param dims variable dimensions\n@param att attribute\n@param dtype data type\n@param ut unit string\n@param hoff header offset\n@param doff data offset\n@param isZ is compressed file\n@param y0 reserved", "docstring_tokens": ["adding", "new", "parameter", "to", "the", "netcdf", "file"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/nids/Nidsheader.java#L2217-L2230", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/nids/Nidsheader.java", "func_name": "Nidsheader.uncompressed", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "uncompress the TDWR products\n@param buf compressed buffer\n@param offset data offset\n@param uncomplen uncompressed length\n@return\n@throws IOException", "docstring_tokens": ["uncompress", "the", "TDWR", "products"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/nids/Nidsheader.java#L2802-L2843", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/nids/Nidsheader.java", "func_name": "Nidsheader.getUInt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "get unsigned integer from byte array\n@param b\n@param num\n@return", "docstring_tokens": ["get", "unsigned", "integer", "from", "byte", "array"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/nids/Nidsheader.java#L3008-L3031", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/nids/Nidsheader.java", "func_name": "Nidsheader.getInt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "get signed integer from bytes\n@param b\n@param num\n@return", "docstring_tokens": ["get", "signed", "integer", "from", "bytes"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/nids/Nidsheader.java#L3039-L3068", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/nids/Nidsheader.java", "func_name": "Nidsheader.convert", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "this converts a byte array to another primitive array\n@param barray\n@param dataType\n@param nelems\n@param byteOrder\n@return", "docstring_tokens": ["this", "converts", "a", "byte", "array", "to", "another", "primitive", "array"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/nids/Nidsheader.java#L3332-L3372", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4servlet/src/main/java/dap4/servlet/DapController.java", "func_name": "DapController.doDMR", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Process a DMR request.\n\n@param cxt The dap context", "docstring_tokens": ["Process", "a", "DMR", "request", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4servlet/src/main/java/dap4/servlet/DapController.java#L300-L344", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4servlet/src/main/java/dap4/servlet/DapController.java", "func_name": "DapController.getRequestState", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Merge the servlet inputs into a single object\nfor easier transport as well as adding value.\n\n@param rq A Servlet request object\n@param rsp A Servlet response object\n@return the union of the\nservlet request and servlet response arguments\nfrom the servlet engine.", "docstring_tokens": ["Merge", "the", "servlet", "inputs", "into", "a", "single", "object", "for", "easier", "transport", "as", "well", "as", "adding", "value", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4servlet/src/main/java/dap4/servlet/DapController.java#L472-L477", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4servlet/src/main/java/dap4/servlet/DapController.java", "func_name": "DapController.senderror", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generate an error based on the parameters\n\n@param drq DapRequest\n@param httpcode 0=>no code specified\n@param t exception that caused the error; may be null\n@throws IOException", "docstring_tokens": ["Generate", "an", "error", "based", "on", "the", "parameters"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4servlet/src/main/java/dap4/servlet/DapController.java#L496-L516", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/geoloc/Rubberband.java", "func_name": "Rubberband.anchor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the anchor point.", "docstring_tokens": ["Set", "the", "anchor", "point", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/geoloc/Rubberband.java#L73-L82", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/geoloc/Rubberband.java", "func_name": "Rubberband.stretch", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Erase the last rectangle and draw a new one from the anchor point to this point.", "docstring_tokens": ["Erase", "the", "last", "rectangle", "and", "draw", "a", "new", "one", "from", "the", "anchor", "point", "to", "this", "point", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/geoloc/Rubberband.java#L87-L107", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/geoloc/Rubberband.java", "func_name": "Rubberband.getBounds", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get current Bounds", "docstring_tokens": ["Get", "current", "Bounds"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/geoloc/Rubberband.java#L145-L152", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/geoloc/Rubberband.java", "func_name": "Rubberband.lastBounds", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get previous Bounds", "docstring_tokens": ["Get", "previous", "Bounds"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/geoloc/Rubberband.java#L155-L161", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/units/DateFormatter.java", "func_name": "DateFormatter.dateOnlyFormat", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse text in the format \"yyyy-MM-dd\"\n@param text parse this text\n@return equivalent Date\n@throws java.text.ParseException if not formatted correctly", "docstring_tokens": ["Parse", "text", "in", "the", "format", "yyyy", "-", "MM", "-", "dd"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/units/DateFormatter.java#L159-L163", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft/point/standard/Table.java", "func_name": "Table.replaceDataVars", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "change shape of the data variables", "docstring_tokens": ["change", "shape", "of", "the", "data", "variables"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft/point/standard/Table.java#L185-L197", "partition": "test"} +{"repo": "Unidata/thredds", "path": "waterml/src/main/java/ucar/nc2/ogc/erddap/util/ErddapMath2.java", "func_name": "ErddapMath2.ensureArraySizeOkay", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Even if JavaBits is 64, the limit on an array size is Integer.MAX_VALUE.\n\n

This is almost identical to EDStatic.ensureArraySizeOkay, but lacks tallying.\n\n@param tSize\n@param attributeTo for a WARNING or ERROR message, this is the string\nto which this not-enough-memory issue should be attributed.", "docstring_tokens": ["Even", "if", "JavaBits", "is", "64", "the", "limit", "on", "an", "array", "size", "is", "Integer", ".", "MAX_VALUE", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/waterml/src/main/java/ucar/nc2/ogc/erddap/util/ErddapMath2.java#L46-L51", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/GribNumbers.java", "func_name": "GribNumbers.int2", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert 2 bytes into a signed integer.\n\n@param raf read from here\n@return integer value\n@throws IOException on read error", "docstring_tokens": ["Convert", "2", "bytes", "into", "a", "signed", "integer", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/GribNumbers.java#L60-L65", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/GribNumbers.java", "func_name": "GribNumbers.uint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert unsigned bytes into an integer.\n\n@param raf read one byte from here\n@return integer value\n@throws IOException on read error", "docstring_tokens": ["Convert", "unsigned", "bytes", "into", "an", "integer", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/GribNumbers.java#L74-L77", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/GribNumbers.java", "func_name": "GribNumbers.int3", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert 3 bytes into a signed integer.\n\n@param raf read from here\n@return integer value\n@throws IOException on read error", "docstring_tokens": ["Convert", "3", "bytes", "into", "a", "signed", "integer", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/GribNumbers.java#L101-L107", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/GribNumbers.java", "func_name": "GribNumbers.uint2", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert 2 bytes into an unsigned integer.\n\n@param raf read from here\n@return integer value\n@throws IOException on read error", "docstring_tokens": ["Convert", "2", "bytes", "into", "an", "unsigned", "integer", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/GribNumbers.java#L163-L168", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/GribNumbers.java", "func_name": "GribNumbers.uint3", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert 3 bytes into an unsigned integer.\n\n@param raf read from here\n@return integer\n@throws IOException on read error", "docstring_tokens": ["Convert", "3", "bytes", "into", "an", "unsigned", "integer", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/GribNumbers.java#L188-L194", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/GribNumbers.java", "func_name": "GribNumbers.float4", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert 4 bytes into a float value.\n\n@param raf read from here\n@return float value\n@throws IOException on read error", "docstring_tokens": ["Convert", "4", "bytes", "into", "a", "float", "value", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/GribNumbers.java#L215-L222", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/GribNumbers.java", "func_name": "GribNumbers.float4", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert 4 bytes to a float.\n\n@param a first byte\n@param b second byte\n@param c third byte\n@param d fourth byte\n@return float", "docstring_tokens": ["Convert", "4", "bytes", "to", "a", "float", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/GribNumbers.java#L233-L245", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/GribNumbers.java", "func_name": "GribNumbers.int8", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert 8 bytes into a signed long.\n\n@param raf RandomAccessFile\n@return long value\n@throws IOException on read error", "docstring_tokens": ["Convert", "8", "bytes", "into", "a", "signed", "long", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/GribNumbers.java#L254-L268", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/GribNumbers.java", "func_name": "GribNumbers.countBits", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "count number of bits on in bitmap", "docstring_tokens": ["count", "number", "of", "bits", "on", "in", "bitmap"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/GribNumbers.java#L287-L294", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/geoloc/projection/LambertConformal.java", "func_name": "LambertConformal.constructCopy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "lon naught ??", "docstring_tokens": ["lon", "naught", "??"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/geoloc/projection/LambertConformal.java#L35-L42", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/geoloc/projection/LambertConformal.java", "func_name": "LambertConformal.toWKS", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a WKS string\n\n@return WKS string", "docstring_tokens": ["Create", "a", "WKS", "string"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/geoloc/projection/LambertConformal.java#L378-L401", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/util/Escape.java", "func_name": "Escape.entityEscape", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Escape selected characters in a string using XML entities\n\n@param s string to escape\n@param wrt which chars to escape\n@return escaped string", "docstring_tokens": ["Escape", "selected", "characters", "in", "a", "string", "using", "XML", "entities"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/util/Escape.java#L59-L101", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/util/Escape.java", "func_name": "Escape.backslashUnescape", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove backslashed characters in a string", "docstring_tokens": ["Remove", "backslashed", "characters", "in", "a", "string"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/util/Escape.java#L224-L253", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/util/Escape.java", "func_name": "Escape.backslashsplit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Split a string with respect to a separator\ncharacter and taking backslashes into consideration.\n\n@param s The string to split\n@param sep The character on which to split\n@return a List of strings (all with escaping still intact)\nrepresenting s split at unescaped instances of sep.", "docstring_tokens": ["Split", "a", "string", "with", "respect", "to", "a", "separator", "character", "and", "taking", "backslashes", "into", "consideration", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/util/Escape.java#L264-L284", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft/fmrc/Fmrc.java", "func_name": "Fmrc.makeFmrcInv", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "scan has been done, create FmrcInv", "docstring_tokens": ["scan", "has", "been", "done", "create", "FmrcInv"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft/fmrc/Fmrc.java#L259-L317", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/thredds/logs/LogCategorizer.java", "func_name": "LogCategorizer.getServiceSpecial", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "the ones that dont start with thredds", "docstring_tokens": ["the", "ones", "that", "dont", "start", "with", "thredds"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/thredds/logs/LogCategorizer.java#L220-L227", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/dap/DGrid.java", "func_name": "DGrid.projectedComponents", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "How many prohected components of this Grid object?\n\n@return The number of projected components.", "docstring_tokens": ["How", "many", "prohected", "components", "of", "this", "Grid", "object?"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/dap/DGrid.java#L530-L547", "partition": "test"} +{"repo": "Unidata/thredds", "path": "bufr/src/main/java/ucar/nc2/iosp/bufr/BufrIdentificationSection.java", "func_name": "BufrIdentificationSection.getReferenceTime", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "return record header time as a CalendarDate\n\n@return referenceTime", "docstring_tokens": ["return", "record", "header", "time", "as", "a", "CalendarDate"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/bufr/src/main/java/ucar/nc2/iosp/bufr/BufrIdentificationSection.java#L249-L252", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/ArrayStructureBBsection.java", "func_name": "ArrayStructureBBsection.factory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make a section of an ArrayStructureBB\n\n@param org the original\n@param section of the whole\n@return original, if section is empty or the same saze as the original, else a section of the original", "docstring_tokens": ["Make", "a", "section", "of", "an", "ArrayStructureBB"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/ArrayStructureBBsection.java#L26-L30", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ldm/src/main/thredds/ldm/LuceneIndexer.java", "func_name": "LuceneIndexer.main1", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Index all text files under a directory.", "docstring_tokens": ["Index", "all", "text", "files", "under", "a", "directory", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ldm/src/main/thredds/ldm/LuceneIndexer.java#L103-L126", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/grib1/Grib1Index.java", "func_name": "Grib1Index.readRecord", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "deserialize the Grib1Record object", "docstring_tokens": ["deserialize", "the", "Grib1Record", "object"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/grib1/Grib1Index.java#L144-L153", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/conv/M3IOConvention.java", "func_name": "M3IOConvention.isMine", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Do we think this is a M3IO file.\n\n@param ncfile the NetcdfFile to test\n@return true if we think this is a M3IO file.", "docstring_tokens": ["Do", "we", "think", "this", "is", "a", "M3IO", "file", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/conv/M3IOConvention.java#L43-L54", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/conv/M3IOConvention.java", "func_name": "M3IOConvention.makeUTMProjection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Intend to use EPSG system parameters\n\n@param ds dataset\n@return CoordinateTransform", "docstring_tokens": ["Intend", "to", "use", "EPSG", "system", "parameters"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/conv/M3IOConvention.java#L359-L376", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/mcidas/AreaServiceProvider.java", "func_name": "AreaServiceProvider.reacquire", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "reacquire any resources like file handles", "docstring_tokens": ["reacquire", "any", "resources", "like", "file", "handles"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/mcidas/AreaServiceProvider.java#L111-L117", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/units/DateType.java", "func_name": "DateType.before", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Is this date before the given date. if isPresent, always false.\n\n@param d test against this date\n@return true if this date before the given date", "docstring_tokens": ["Is", "this", "date", "before", "the", "given", "date", ".", "if", "isPresent", "always", "false", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/units/DateType.java#L270-L273", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/units/DateType.java", "func_name": "DateType.before", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Is this date before the given date. if d.isPresent, always true, else if this.isPresent, false.\n\n@param d test against this date\n@return true if this date before the given date", "docstring_tokens": ["Is", "this", "date", "before", "the", "given", "date", ".", "if", "d", ".", "isPresent", "always", "true", "else", "if", "this", ".", "isPresent", "false", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/units/DateType.java#L281-L285", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/units/DateType.java", "func_name": "DateType.after", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Is this date after the given date. if isPresent, always true.\n\n@param d test against this date\n@return true if this date after the given date", "docstring_tokens": ["Is", "this", "date", "after", "the", "given", "date", ".", "if", "isPresent", "always", "true", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/units/DateType.java#L293-L296", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/dap/BaseTypePrimitiveVector.java", "func_name": "BaseTypePrimitiveVector.setValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the i'th value of the array.\n\n@param i the index of the value to set.\n@param newVal the new value.", "docstring_tokens": ["Set", "the", "i", "th", "value", "of", "the", "array", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/dap/BaseTypePrimitiveVector.java#L122-L126", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/EnhancementsImpl.java", "func_name": "EnhancementsImpl.addCoordinateSystem", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a CoordinateSystem to the dataset.", "docstring_tokens": ["Add", "a", "CoordinateSystem", "to", "the", "dataset", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/EnhancementsImpl.java#L56-L62", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/EnhancementsImpl.java", "func_name": "EnhancementsImpl.setUnitsString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the Unit String for this Variable. Default is to use the CDM.UNITS attribute.\n@param units unit string", "docstring_tokens": ["Set", "the", "Unit", "String", "for", "this", "Variable", ".", "Default", "is", "to", "use", "the", "CDM", ".", "UNITS", "attribute", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/EnhancementsImpl.java#L107-L110", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/EnhancementsImpl.java", "func_name": "EnhancementsImpl.getUnitsString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the Unit String for the Variable. May be set explicitly, else look for attribute CDM.UNITS.\n@return the Unit String for the Variable, or null if none.", "docstring_tokens": ["Get", "the", "Unit", "String", "for", "the", "Variable", ".", "May", "be", "set", "explicitly", "else", "look", "for", "attribute", "CDM", ".", "UNITS", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/EnhancementsImpl.java#L116-L125", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/core/ConfigCatalogInitialization.java", "func_name": "ConfigCatalogInitialization.init", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "called from TdsInit on spring-managed auto-wired bean", "docstring_tokens": ["called", "from", "TdsInit", "on", "spring", "-", "managed", "auto", "-", "wired", "bean"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/core/ConfigCatalogInitialization.java#L113-L126", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/core/ConfigCatalogInitialization.java", "func_name": "ConfigCatalogInitialization.readCatalog", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Does the actual work of reading a catalog.\n\n@param catalogRelPath reletive path starting from content root\n@param catalogFullPath absolute location on disk\n@return the Catalog, or null if failure", "docstring_tokens": ["Does", "the", "actual", "work", "of", "reading", "a", "catalog", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/core/ConfigCatalogInitialization.java#L345-L374", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/core/ConfigCatalogInitialization.java", "func_name": "ConfigCatalogInitialization.processDatasets", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "dirPath = the directory path, reletive to the rootDir", "docstring_tokens": ["dirPath", "=", "the", "directory", "path", "reletive", "to", "the", "rootDir"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/core/ConfigCatalogInitialization.java#L377-L432", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/core/ConfigCatalogInitialization.java", "func_name": "ConfigCatalogInitialization.readCatsInDirectory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "dirPath is the directory relative to rootDir, directory is absolute", "docstring_tokens": ["dirPath", "is", "the", "directory", "relative", "to", "rootDir", "directory", "is", "absolute"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/core/ConfigCatalogInitialization.java#L435-L462", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/geoloc/LatLonPointImpl.java", "func_name": "LatLonPointImpl.betweenLon", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Test if point lies between two longitudes, deal with wrapping.\n\n@param lon point to test\n@param lonBeg beginning longitude\n@param lonEnd ending longitude\n@return true if lon is between lonBeg and lonEnd.\n@deprecated", "docstring_tokens": ["Test", "if", "point", "lies", "between", "two", "longitudes", "deal", "with", "wrapping", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/geoloc/LatLonPointImpl.java#L31-L35", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/geoloc/LatLonPointImpl.java", "func_name": "LatLonPointImpl.latToString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make a nicely formatted representation of a latitude, eg 40.34N or 12.9S.\n\n@param lat the latitude.\n@param ndec number of digits to right of decimal point\n@return String representation.", "docstring_tokens": ["Make", "a", "nicely", "formatted", "representation", "of", "a", "latitude", "eg", "40", ".", "34N", "or", "12", ".", "9S", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/geoloc/LatLonPointImpl.java#L136-L148", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/geoloc/LatLonPointImpl.java", "func_name": "LatLonPointImpl.lonToString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make a nicely formatted representation of a longitude, eg 120.3W or 99.99E.\n\n@param lon the longitude.\n@param ndec number of digits to right of decimal point\n@return String representation.", "docstring_tokens": ["Make", "a", "nicely", "formatted", "representation", "of", "a", "longitude", "eg", "120", ".", "3W", "or", "99", ".", "99E", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/geoloc/LatLonPointImpl.java#L157-L170", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/BaseQuantity.java", "func_name": "BaseQuantity.compareTo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compares this base quantity to another base quantity.\n\n@param that\nThe BaseQuantity to compare against.\n@return An integer that is negative, zero, or positive depending on\nwhether this BaseQuantity is less than, equal to, or greater than\nthat.", "docstring_tokens": ["Compares", "this", "base", "quantity", "to", "another", "base", "quantity", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/BaseQuantity.java#L224-L236", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/thredds/ui/catalog/CatalogTreeView.java", "func_name": "CatalogTreeView.getSelectedDataset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the currently selected InvDataset.\n@return selected InvDataset, or null if none.", "docstring_tokens": ["Get", "the", "currently", "selected", "InvDataset", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/thredds/ui/catalog/CatalogTreeView.java#L201-L204", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/thredds/ui/catalog/CatalogTreeView.java", "func_name": "CatalogTreeView.setSelectedDataset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the currently selected InvDataset.\n@param ds select this InvDataset, must be already in the tree.\nLOOK does this work ?? doesnt throw event", "docstring_tokens": ["Set", "the", "currently", "selected", "InvDataset", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/thredds/ui/catalog/CatalogTreeView.java#L218-L224", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/thredds/ui/catalog/CatalogTreeView.java", "func_name": "CatalogTreeView.makeTreePath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create the TreePath corresponding to the given TreeNode.\n@param node the TreeNode; already in the Tree.\n@return the corresponding TreePath.", "docstring_tokens": ["Create", "the", "TreePath", "corresponding", "to", "the", "given", "TreeNode", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/thredds/ui/catalog/CatalogTreeView.java#L242-L253", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/thredds/ui/catalog/CatalogTreeView.java", "func_name": "CatalogTreeView.openAll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Open all nodes of the tree.\n@param includeCatref open catrefs?", "docstring_tokens": ["Open", "all", "nodes", "of", "the", "tree", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/thredds/ui/catalog/CatalogTreeView.java#L259-L263", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/thredds/ui/catalog/CatalogTreeView.java", "func_name": "CatalogTreeView.setCatalog", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the InvCatalog to display.\nThe catalog is read asynchronously and displayed if successfully read.\nYou must use a PropertyChangeEventListener to be notified if successful.\n\n@param location The URL of the InvCatalog.", "docstring_tokens": ["Set", "the", "InvCatalog", "to", "display", ".", "The", "catalog", "is", "read", "asynchronously", "and", "displayed", "if", "successfully", "read", ".", "You", "must", "use", "a", "PropertyChangeEventListener", "to", "be", "notified", "if", "successful", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/thredds/ui/catalog/CatalogTreeView.java#L317-L327", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/thredds/ui/catalog/CatalogTreeView.java", "func_name": "CatalogTreeView.setCatalog", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the catalog to be displayed. If ok, then a \"Catalog\" PropertyChangeEvent is sent.\n@param catalog to be displayed", "docstring_tokens": ["Set", "the", "catalog", "to", "be", "displayed", ".", "If", "ok", "then", "a", "Catalog", "PropertyChangeEvent", "is", "sent", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/thredds/ui/catalog/CatalogTreeView.java#L337-L370", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/conv/GDVConvention.java", "func_name": "GDVConvention.findAlias", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "look for an coord_axis or coord_alias attribute", "docstring_tokens": ["look", "for", "an", "coord_axis", "or", "coord_alias", "attribute"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/conv/GDVConvention.java#L165-L170", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ldm/src/main/thredds/ldm/VlenIO.java", "func_name": "VlenIO.writeVInt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes an int in a variable-length format. Writes between one and five\nbytes. Smaller values take fewer bytes. Negative numbers are not\nsupported.", "docstring_tokens": ["Writes", "an", "int", "in", "a", "variable", "-", "length", "format", ".", "Writes", "between", "one", "and", "five", "bytes", ".", "Smaller", "values", "take", "fewer", "bytes", ".", "Negative", "numbers", "are", "not", "supported", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ldm/src/main/thredds/ldm/VlenIO.java#L56-L65", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ldm/src/main/thredds/ldm/VlenIO.java", "func_name": "VlenIO.writeChars", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes a sequence of UTF-8 encoded characters from a string.\n\n@param s the source of the characters\n@param start the first character in the sequence\n@param length the number of characters in the sequence", "docstring_tokens": ["Writes", "a", "sequence", "of", "UTF", "-", "8", "encoded", "characters", "from", "a", "string", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ldm/src/main/thredds/ldm/VlenIO.java#L101-L121", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ldm/src/main/thredds/ldm/VlenIO.java", "func_name": "VlenIO.readChars", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads UTF-8 encoded characters into an array.\n\n@param buffer the array to read characters into\n@param start the offset in the array to start storing characters\n@param length the number of characters to read", "docstring_tokens": ["Reads", "UTF", "-", "8", "encoded", "characters", "into", "an", "array", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ldm/src/main/thredds/ldm/VlenIO.java#L183-L197", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/collection/Grib.java", "func_name": "Grib.setDebugFlags", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "we are running with only ncx index files, no data", "docstring_tokens": ["we", "are", "running", "with", "only", "ncx", "index", "files", "no", "data"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/collection/Grib.java#L27-L32", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/StructureMembers.java", "func_name": "StructureMembers.addMember", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a member.\n\n@param m member to add", "docstring_tokens": ["Add", "a", "member", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/StructureMembers.java#L55-L59", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/StructureMembers.java", "func_name": "StructureMembers.hideMember", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove the given member\n@param m member\n@return position that it used to occupy, or -1 if not found", "docstring_tokens": ["Remove", "the", "given", "member"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/StructureMembers.java#L83-L89", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/StructureMembers.java", "func_name": "StructureMembers.getMemberNames", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the names of the members.\n\n@return List of type String.", "docstring_tokens": ["Get", "the", "names", "of", "the", "members", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/StructureMembers.java#L134-L140", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/StructureMembers.java", "func_name": "StructureMembers.findMember", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find the member by its name.\n\n@param memberName find by this name\n@return Member matching the name, or null if not found", "docstring_tokens": ["Find", "the", "member", "by", "its", "name", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/StructureMembers.java#L158-L168", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/grib1/Grib1SectionBitMap.java", "func_name": "Grib1SectionBitMap.getBitmap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read the bitmap array when needed, return null if none.", "docstring_tokens": ["Read", "the", "bitmap", "array", "when", "needed", "return", "null", "if", "none", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/grib1/Grib1SectionBitMap.java#L49-L81", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/table/JTreeTableSorted.java", "func_name": "JTreeTableSorted.restoreState", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the state from the last saved in the PreferencesExt.\n\n@param store ok if null or empty", "docstring_tokens": ["Set", "the", "state", "from", "the", "last", "saved", "in", "the", "PreferencesExt", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/table/JTreeTableSorted.java#L200-L290", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/table/JTreeTableSorted.java", "func_name": "JTreeTableSorted.getSelectedRows", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the currently selected rows.\n\n@return an Iterator whose objects are TableRow", "docstring_tokens": ["Get", "the", "currently", "selected", "rows", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/table/JTreeTableSorted.java#L389-L400", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/table/JTreeTableSorted.java", "func_name": "JTreeTableSorted.getModelIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "this array translates the column index to the model index", "docstring_tokens": ["this", "array", "translates", "the", "column", "index", "to", "the", "model", "index"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/table/JTreeTableSorted.java#L454-L468", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/StructureDataW.java", "func_name": "StructureDataW.getArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get member data array of any type as an Array.\n@param m get data from this StructureMembers.Member.\n@return Array values.", "docstring_tokens": ["Get", "member", "data", "array", "of", "any", "type", "as", "an", "Array", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/StructureDataW.java#L71-L74", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/StructureDataW.java", "func_name": "StructureDataW.getScalarDouble", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get member data of type double.\n@param m get data from this StructureMembers.Member. Must be of type double.\n@return scalar double value", "docstring_tokens": ["Get", "member", "data", "of", "type", "double", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/StructureDataW.java#L99-L102", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/StructureDataW.java", "func_name": "StructureDataW.getJavaArrayDouble", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get java double array for a member of type double.\n@param m get data from this StructureMembers.Member. Must be of type double.\n@return 1D java array of doubles", "docstring_tokens": ["Get", "java", "double", "array", "for", "a", "member", "of", "type", "double", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/StructureDataW.java#L110-L113", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/StructureDataW.java", "func_name": "StructureDataW.getScalarFloat", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get member data of type float.\n@param m get data from this StructureMembers.Member. Must be of type float.\n@return scalar double value", "docstring_tokens": ["Get", "member", "data", "of", "type", "float", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/StructureDataW.java#L122-L125", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/StructureDataW.java", "func_name": "StructureDataW.getJavaArrayFloat", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get java float array for a member of type float.\n@param m get data from this StructureMembers.Member. Must be of type float.\n@return 1D java array of floats", "docstring_tokens": ["Get", "java", "float", "array", "for", "a", "member", "of", "type", "float", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/StructureDataW.java#L132-L135", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/StructureDataW.java", "func_name": "StructureDataW.getScalarByte", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get member data of type byte.\n@param m get data from this StructureMembers.Member. Must be of type byte.\n@return scalar byte value", "docstring_tokens": ["Get", "member", "data", "of", "type", "byte", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/StructureDataW.java#L144-L147", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/StructureDataW.java", "func_name": "StructureDataW.getJavaArrayByte", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get java byte array for a member of type byte.\n@param m get data from this StructureMembers.Member. Must be of type byte.\n@return 1D java array of bytes", "docstring_tokens": ["Get", "java", "byte", "array", "for", "a", "member", "of", "type", "byte", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/StructureDataW.java#L154-L157", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/StructureDataW.java", "func_name": "StructureDataW.getScalarInt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get member data of type int.\n@param m get data from this StructureMembers.Member. Must be of type int.\n@return scalar int value", "docstring_tokens": ["Get", "member", "data", "of", "type", "int", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/StructureDataW.java#L166-L169", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/StructureDataW.java", "func_name": "StructureDataW.getJavaArrayInt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get java int array for a member of type int.\n@param m get data from this StructureMembers.Member. Must be of type int.\n@return 1D java array of ints", "docstring_tokens": ["Get", "java", "int", "array", "for", "a", "member", "of", "type", "int", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/StructureDataW.java#L176-L179", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/StructureDataW.java", "func_name": "StructureDataW.getScalarShort", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get member data of type short.\n@param m get data from this StructureMembers.Member. Must be of type short.\n@return scalar short value", "docstring_tokens": ["Get", "member", "data", "of", "type", "short", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/StructureDataW.java#L188-L191", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/StructureDataW.java", "func_name": "StructureDataW.getJavaArrayShort", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get java short array for a member of type short.\n@param m get data from this StructureMembers.Member. Must be of type short.\n@return 1D java array of shorts", "docstring_tokens": ["Get", "java", "short", "array", "for", "a", "member", "of", "type", "short", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/StructureDataW.java#L198-L201", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/StructureDataW.java", "func_name": "StructureDataW.getScalarLong", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get member data of type long.\n@param m get data from this StructureMembers.Member. Must be of type long.\n@return scalar long value", "docstring_tokens": ["Get", "member", "data", "of", "type", "long", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/StructureDataW.java#L211-L214", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/StructureDataW.java", "func_name": "StructureDataW.getJavaArrayLong", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get java long array for a member of type long.\n@param m get data from this StructureMembers.Member. Must be of type long.\n@return 1D java array of longs", "docstring_tokens": ["Get", "java", "long", "array", "for", "a", "member", "of", "type", "long", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/StructureDataW.java#L221-L224", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/StructureDataW.java", "func_name": "StructureDataW.getScalarChar", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get member data of type char.\n@param m get data from this StructureMembers.Member. Must be of type char.\n@return scalar char value", "docstring_tokens": ["Get", "member", "data", "of", "type", "char", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/StructureDataW.java#L234-L237", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/StructureDataW.java", "func_name": "StructureDataW.getJavaArrayChar", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get java char array for a member of type char.\n@param m get data from this StructureMembers.Member. Must be of type char.\n@return 1D java array of chars", "docstring_tokens": ["Get", "java", "char", "array", "for", "a", "member", "of", "type", "char", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/StructureDataW.java#L244-L247", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/dl/DIFWriter.java", "func_name": "DIFWriter.doOneDataset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write a DIF record for a specific dataset\n@param ds use this dataset", "docstring_tokens": ["Write", "a", "DIF", "record", "for", "a", "specific", "dataset"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/dl/DIFWriter.java#L75-L92", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/dl/DIFWriter.java", "func_name": "DIFWriter.isDatasetUseable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "See if a dataset is harvestable to a DIF record.\n\n@param ds check this dataset.\n@param sbuff put status messages here.\n@return true if a DIF record can be written", "docstring_tokens": ["See", "if", "a", "dataset", "is", "harvestable", "to", "a", "DIF", "record", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/dl/DIFWriter.java#L126-L169", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/thredds/client/catalog/builder/DatasetBuilder.java", "func_name": "DatasetBuilder.copyDataset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "make an immutable copy without changin DatasetBuilder", "docstring_tokens": ["make", "an", "immutable", "copy", "without", "changin", "DatasetBuilder"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/thredds/client/catalog/builder/DatasetBuilder.java#L173-L175", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/thredds/client/catalog/builder/DatasetBuilder.java", "func_name": "DatasetBuilder.transferMetadata", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "transfer all metadata, optionally also inheritable metadata from parents", "docstring_tokens": ["transfer", "all", "metadata", "optionally", "also", "inheritable", "metadata", "from", "parents"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/thredds/client/catalog/builder/DatasetBuilder.java#L191-L212", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/thredds/client/catalog/builder/DatasetBuilder.java", "func_name": "DatasetBuilder.getInheritableMetadata", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "get the inheritable ThreddsMetadata object. If doesnt exist, create new, empty one", "docstring_tokens": ["get", "the", "inheritable", "ThreddsMetadata", "object", ".", "If", "doesnt", "exist", "create", "new", "empty", "one"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/thredds/client/catalog/builder/DatasetBuilder.java#L240-L247", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/grid/GridVariable.java", "func_name": "GridVariable.addProduct", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add in a new product\n\n@param record grid to add", "docstring_tokens": ["Add", "in", "a", "new", "product"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/grid/GridVariable.java#L123-L128", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/grid/GridVariable.java", "func_name": "GridVariable.showMissing", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Dump out the missing data\n@param f write to this", "docstring_tokens": ["Dump", "out", "the", "missing", "data"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/grid/GridVariable.java#L497-L512", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/grid/GridVariable.java", "func_name": "GridVariable.showMissingSummary", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Dump out the missing data as a summary\n\n@param f write to this\n@return number of missing levels", "docstring_tokens": ["Dump", "out", "the", "missing", "data", "as", "a", "summary"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/grid/GridVariable.java#L520-L531", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/grid/GridVariable.java", "func_name": "GridVariable.findRecord", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find the grid record for the time and level indices\nCanonical ordering is ens, time, level\n@param ens ensemble index\n@param time time index\n@param level level index\n@return the record or null", "docstring_tokens": ["Find", "the", "grid", "record", "for", "the", "time", "and", "level", "indices", "Canonical", "ordering", "is", "ens", "time", "level"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/grid/GridVariable.java#L541-L547", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/grid/GridVariable.java", "func_name": "GridVariable.dump", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Dump this variable\n\n@return the variable", "docstring_tokens": ["Dump", "this", "variable"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/grid/GridVariable.java#L605-L616", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/grid/GridVariable.java", "func_name": "GridVariable.makeLongName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make a long name for the variable\n\n@return long variable name", "docstring_tokens": ["Make", "a", "long", "name", "for", "the", "variable"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/grid/GridVariable.java#L623-L635", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft2/coverage/CoverageCoordAxis1D.java", "func_name": "CoverageCoordAxis1D.subsetByIntervals", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "only for longitude, only for regular (do we need a subclass for longitude 1D coords ??", "docstring_tokens": ["only", "for", "longitude", "only", "for", "regular", "(", "do", "we", "need", "a", "subclass", "for", "longitude", "1D", "coords", "??"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft2/coverage/CoverageCoordAxis1D.java#L285-L320", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/NCheader.java", "func_name": "NCheader.memequal", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Not quite memcmp\n\n@param b1\n@param b2\n@param len\n@return", "docstring_tokens": ["Not", "quite", "memcmp"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/NCheader.java#L119-L129", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4lib/src/main/java/dap4/dap4lib/AbstractDSP.java", "func_name": "AbstractDSP.parseDMR", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "It is common to want to parse a DMR text to a DapDataset,\nso provide this utility.\n\n@param document the dmr to parse\n@return the parsed dmr\n@throws DapException on parse errors", "docstring_tokens": ["It", "is", "common", "to", "want", "to", "parse", "a", "DMR", "text", "to", "a", "DapDataset", "so", "provide", "this", "utility", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4lib/src/main/java/dap4/dap4lib/AbstractDSP.java#L210-L233", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4lib/src/main/java/dap4/dap4lib/AbstractDSP.java", "func_name": "AbstractDSP.processAttributes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Walk the dataset tree and remove selected attributes\nsuch as _Unsigned\n\n@param dataset", "docstring_tokens": ["Walk", "the", "dataset", "tree", "and", "remove", "selected", "attributes", "such", "as", "_Unsigned"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4lib/src/main/java/dap4/dap4lib/AbstractDSP.java#L241-L269", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/coord/CoordinatePartitionUnionizer.java", "func_name": "CoordinatePartitionUnionizer.addCoords", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "only one message per CoordinatePartitionUnionizer instance", "docstring_tokens": ["only", "one", "message", "per", "CoordinatePartitionUnionizer", "instance"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/coord/CoordinatePartitionUnionizer.java#L54-L101", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/GdsHorizCoordSys.java", "func_name": "GdsHorizCoordSys.setGaussianLats", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "some weird adjustment for la1 and la2.", "docstring_tokens": ["some", "weird", "adjustment", "for", "la1", "and", "la2", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/GdsHorizCoordSys.java#L135-L189", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ParsedSectionSpec.java", "func_name": "ParsedSectionSpec.parseVariableSelector", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "parse variable name and index selector out of the selector String. variable name must be escaped", "docstring_tokens": ["parse", "variable", "name", "and", "index", "selector", "out", "of", "the", "selector", "String", ".", "variable", "name", "must", "be", "escaped"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ParsedSectionSpec.java#L73-L112", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ParsedSectionSpec.java", "func_name": "ParsedSectionSpec.makeSectionSpecString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make section specification String from a range list for a Variable.\n@param v for this Variable.\n@param ranges list of Range. Must includes all parent structures. The list be null, meaning use all.\nIndividual ranges may be null, meaning all for that dimension.\n@return section specification String.\n@throws InvalidRangeException is specified section doesnt match variable shape", "docstring_tokens": ["Make", "section", "specification", "String", "from", "a", "range", "list", "for", "a", "Variable", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ParsedSectionSpec.java#L122-L126", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft2/coverage/adapter/GeoGridCoordinate2D.java", "func_name": "GeoGridCoordinate2D.box9", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "we think its got to be in one of the 9 boxes around rectIndex", "docstring_tokens": ["we", "think", "its", "got", "to", "be", "in", "one", "of", "the", "9", "boxes", "around", "rectIndex"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft2/coverage/adapter/GeoGridCoordinate2D.java#L344-L362", "partition": "test"} +{"repo": "Unidata/thredds", "path": "httpservices/src/main/java/ucar/httpservices/HTTPMethod.java", "func_name": "HTTPMethod.close", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calling close will force the method to close, and will\nforce any open stream to terminate. If the session is local,\nThen that too will be closed.", "docstring_tokens": ["Calling", "close", "will", "force", "the", "method", "to", "close", "and", "will", "force", "any", "open", "stream", "to", "terminate", ".", "If", "the", "session", "is", "local", "Then", "that", "too", "will", "be", "closed", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/httpservices/src/main/java/ucar/httpservices/HTTPMethod.java#L277-L312", "partition": "test"} +{"repo": "Unidata/thredds", "path": "httpservices/src/main/java/ucar/httpservices/HTTPMethod.java", "func_name": "HTTPMethod.execute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a request, add headers, and content,\nthen send to HTTPSession to do the bulk of the work.\n\n@return statuscode", "docstring_tokens": ["Create", "a", "request", "add", "headers", "and", "content", "then", "send", "to", "HTTPSession", "to", "do", "the", "bulk", "of", "the", "work", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/httpservices/src/main/java/ucar/httpservices/HTTPMethod.java#L324-L332", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft/point/standard/plug/CFpointObs.java", "func_name": "CFpointObs.identifyEncodingStation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "for stations, figure out the encoding", "docstring_tokens": ["for", "stations", "figure", "out", "the", "encoding"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft/point/standard/plug/CFpointObs.java#L691-L730", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft/point/standard/plug/CFpointObs.java", "func_name": "CFpointObs.matchAxisTypeAndDimension", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "class, I don't understand enough of the code base to anticipate implementation artifacts.", "docstring_tokens": ["class", "I", "don", "t", "understand", "enough", "of", "the", "code", "base", "to", "anticipate", "implementation", "artifacts", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft/point/standard/plug/CFpointObs.java#L1469-L1488", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/io/bzip2/CBZip2InputStream.java", "func_name": "CBZip2InputStream.setStream", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Added 5-30-2006 to allow for resetting of the input used\nby this object. This saves in memory allocation costs", "docstring_tokens": ["Added", "5", "-", "30", "-", "2006", "to", "allow", "for", "resetting", "of", "the", "input", "used", "by", "this", "object", ".", "This", "saves", "in", "memory", "allocation", "costs"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/io/bzip2/CBZip2InputStream.java#L172-L200", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/io/bzip2/CBZip2InputStream.java", "func_name": "CBZip2InputStream.read", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads the stream.\n@throws BZip2ReadException if there is a problem. InputStream does\nnot throw an IOException, so we throw a RuntimeException.", "docstring_tokens": ["Reads", "the", "stream", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/io/bzip2/CBZip2InputStream.java#L209-L238", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/widget/ProgressMonitor.java", "func_name": "ProgressMonitor.start", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Call this from awt event thread.\nThe task is run in a background thread.\n\n@param top put ProgressMonitor on top of this component (may be null)\n@param taskName display name of task\n@param progressMaxCount maximum number of Progress indicator", "docstring_tokens": ["Call", "this", "from", "awt", "event", "thread", ".", "The", "task", "is", "run", "in", "a", "background", "thread", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/widget/ProgressMonitor.java#L131-L180", "partition": "test"} +{"repo": "Unidata/thredds", "path": "httpservices/src/main/java/ucar/httpservices/HTTPUtil.java", "func_name": "HTTPUtil.parseToURI", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert a uri string to an instance of java.net.URI.\nThe critical thing is that this procedure can handle backslash\nescaped uris as well as %xx escaped uris.\n\n@param u the uri to convert\n@return The URI corresponding to u.\n@throws URISyntaxException", "docstring_tokens": ["Convert", "a", "uri", "string", "to", "an", "instance", "of", "java", ".", "net", ".", "URI", ".", "The", "critical", "thing", "is", "that", "this", "procedure", "can", "handle", "backslash", "escaped", "uris", "as", "well", "as", "%xx", "escaped", "uris", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/httpservices/src/main/java/ucar/httpservices/HTTPUtil.java#L267-L287", "partition": "test"} +{"repo": "Unidata/thredds", "path": "httpservices/src/main/java/ucar/httpservices/HTTPUtil.java", "func_name": "HTTPUtil.uriExclude", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove selected fields from a URI producing a new URI\n\n@param uri the uri to convert\n@param excludes the parts to exclude\n@return The new URI instance", "docstring_tokens": ["Remove", "selected", "fields", "from", "a", "URI", "producing", "a", "new", "URI"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/httpservices/src/main/java/ucar/httpservices/HTTPUtil.java#L296-L332", "partition": "test"} +{"repo": "Unidata/thredds", "path": "httpservices/src/main/java/ucar/httpservices/HTTPUtil.java", "func_name": "HTTPUtil.nullify", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert a zero-length string to null\n\n@param s the string to check for length\n@return null if s.length() == 0, s otherwise", "docstring_tokens": ["Convert", "a", "zero", "-", "length", "string", "to", "null"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/httpservices/src/main/java/ucar/httpservices/HTTPUtil.java#L391-L395", "partition": "test"} +{"repo": "Unidata/thredds", "path": "httpservices/src/main/java/ucar/httpservices/HTTPUtil.java", "func_name": "HTTPUtil.canonjoin", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Join two string together to form proper path\nWITHOUT trailing slash\n\n@param prefix\n@param suffix\n@return", "docstring_tokens": ["Join", "two", "string", "together", "to", "form", "proper", "path", "WITHOUT", "trailing", "slash"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/httpservices/src/main/java/ucar/httpservices/HTTPUtil.java#L415-L439", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/crawlabledataset/filter/LastModifiedLimitFilter.java", "func_name": "LastModifiedLimitFilter.accept", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Accept datasets whose last modified date is at least the\nlast modified limit of milliseconds in the past.\n\n@param dataset the dataset to filter\n@return true if the datasets last modified date is at least lastModifiedLimitInMillis in the past.", "docstring_tokens": ["Accept", "datasets", "whose", "last", "modified", "date", "is", "at", "least", "the", "last", "modified", "limit", "of", "milliseconds", "in", "the", "past", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/crawlabledataset/filter/LastModifiedLimitFilter.java#L39-L49", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/collection/GribCollectionMutable.java", "func_name": "GribCollectionMutable.copyInfo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "for making partition collection", "docstring_tokens": ["for", "making", "partition", "collection"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/collection/GribCollectionMutable.java#L112-L120", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/collection/GribCollectionMutable.java", "func_name": "GribCollectionMutable.getFilenames", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The files that comprise the collection.\nActual paths, including the grib cache if used.\n\n@return list of filename.", "docstring_tokens": ["The", "files", "that", "comprise", "the", "collection", ".", "Actual", "paths", "including", "the", "grib", "cache", "if", "used", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/collection/GribCollectionMutable.java#L149-L155", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/collection/GribCollectionMutable.java", "func_name": "GribCollectionMutable.setIndexRaf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "public by accident, do not use\n\n@param indexRaf the open raf of the index file", "docstring_tokens": ["public", "by", "accident", "do", "not", "use"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/collection/GribCollectionMutable.java#L195-L200", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/collection/GribCollectionMutable.java", "func_name": "GribCollectionMutable.getIndexFilepathInCache", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "get index filename\n\n@return index filename; may not exist; may be in disk cache", "docstring_tokens": ["get", "index", "filename"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/collection/GribCollectionMutable.java#L207-L210", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/collection/GribCollectionMutable.java", "func_name": "GribCollectionMutable.close", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "stuff for FileCacheable", "docstring_tokens": ["stuff", "for", "FileCacheable"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/collection/GribCollectionMutable.java#L228-L234", "partition": "test"} +{"repo": "Unidata/thredds", "path": "bufr/src/main/java/ucar/nc2/iosp/bufr/BitCounterCompressed.java", "func_name": "BitCounterCompressed.ncounters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Number of nested fields\n@return 1 if no nested fields, otherwise count of nested fields", "docstring_tokens": ["Number", "of", "nested", "fields"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/bufr/src/main/java/ucar/nc2/iosp/bufr/BitCounterCompressed.java#L76-L88", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/ucar/nc2/NetcdfFileWriteable.java", "func_name": "NetcdfFileWriteable.addGlobalAttribute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a Global attribute of type String to the file. Must be in define mode.\n\n@param name name of attribute.\n@param value value of atribute.\n@return the created attribute", "docstring_tokens": ["Add", "a", "Global", "attribute", "of", "type", "String", "to", "the", "file", ".", "Must", "be", "in", "define", "mode", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/ucar/nc2/NetcdfFileWriteable.java#L299-L301", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/ucar/nc2/NetcdfFileWriteable.java", "func_name": "NetcdfFileWriteable.addGlobalAttribute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a Global attribute of type Array to the file. Must be in define mode.\n\n@param name name of attribute.\n@param values Array of values\n@return the created attribute", "docstring_tokens": ["Add", "a", "Global", "attribute", "of", "type", "Array", "to", "the", "file", ".", "Must", "be", "in", "define", "mode", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/ucar/nc2/NetcdfFileWriteable.java#L321-L323", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/ucar/nc2/NetcdfFileWriteable.java", "func_name": "NetcdfFileWriteable.deleteGlobalAttribute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Delete a global Attribute. Must be in define mode.\n@param attName existing Attribute has this name\n@return deleted Attribute, or null if not found", "docstring_tokens": ["Delete", "a", "global", "Attribute", ".", "Must", "be", "in", "define", "mode", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/ucar/nc2/NetcdfFileWriteable.java#L330-L337", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/ucar/nc2/NetcdfFileWriteable.java", "func_name": "NetcdfFileWriteable.renameGlobalAttribute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Rename a global Attribute. Must be in define mode.\n@param oldName existing Attribute has this name\n@param newName rename to this\n@return renamed Attribute, or null if not found", "docstring_tokens": ["Rename", "a", "global", "Attribute", ".", "Must", "be", "in", "define", "mode", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/ucar/nc2/NetcdfFileWriteable.java#L345-L354", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/ucar/nc2/NetcdfFileWriteable.java", "func_name": "NetcdfFileWriteable.addVariableAttribute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add an attribute of type String to the named Variable. Must be in define mode.\n\n@param varName name of variable. must already have been added to the file.\n@param attName name of attribute.\n@param value String value of atribute.", "docstring_tokens": ["Add", "an", "attribute", "of", "type", "String", "to", "the", "named", "Variable", ".", "Must", "be", "in", "define", "mode", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/ucar/nc2/NetcdfFileWriteable.java#L504-L506", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/ucar/nc2/NetcdfFileWriteable.java", "func_name": "NetcdfFileWriteable.addVariableAttribute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add an attribute of type Array to the named Variable. Must be in define mode.\n\n@param varName name of variable. IllegalArgumentException if not valid name.\n@param attName name of attribute.\n@param value Array of valkues", "docstring_tokens": ["Add", "an", "attribute", "of", "type", "Array", "to", "the", "named", "Variable", ".", "Must", "be", "in", "define", "mode", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/ucar/nc2/NetcdfFileWriteable.java#L527-L530", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/ucar/nc2/NetcdfFileWriteable.java", "func_name": "NetcdfFileWriteable.deleteVariableAttribute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Delete a variable Attribute. Must be in define mode.\n@param varName existing Variable name\n@param attName existing Attribute has this name\n@return deleted Attribute, or null if not found", "docstring_tokens": ["Delete", "a", "variable", "Attribute", ".", "Must", "be", "in", "define", "mode", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/ucar/nc2/NetcdfFileWriteable.java#L538-L548", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/ucar/nc2/NetcdfFileWriteable.java", "func_name": "NetcdfFileWriteable.renameVariableAttribute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Rename a variable Attribute. Must be in define mode.\n@param varName existing Variable name\n@param attName existing Attribute has this name\n@param newName rename to this\n@return renamed Attribute, or null if not found", "docstring_tokens": ["Rename", "a", "variable", "Attribute", ".", "Must", "be", "in", "define", "mode", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/ucar/nc2/NetcdfFileWriteable.java#L558-L570", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakSurfaceFileReader.java", "func_name": "GempakSurfaceFileReader.makeFileSubType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the file subType.", "docstring_tokens": ["Set", "the", "file", "subType", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakSurfaceFileReader.java#L144-L160", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/server/wfs/WFSGetFeatureWriter.java", "func_name": "WFSGetFeatureWriter.writeHeadersAndBB", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes headers and bounding box", "docstring_tokens": ["Writes", "headers", "and", "bounding", "box"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/server/wfs/WFSGetFeatureWriter.java#L28-L82", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/server/wfs/WFSGetFeatureWriter.java", "func_name": "WFSGetFeatureWriter.writeMembers", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "In the WFS specification for GetFeature each feature type is its own\nmember and so writeMembers add each member to the fileOutput", "docstring_tokens": ["In", "the", "WFS", "specification", "for", "GetFeature", "each", "feature", "type", "is", "its", "own", "member", "and", "so", "writeMembers", "add", "each", "member", "to", "the", "fileOutput"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/server/wfs/WFSGetFeatureWriter.java#L96-L132", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/ucar/nc2/dt/point/StationObsDatasetInfo.java", "func_name": "StationObsDatasetInfo.writeStationObsDatasetXML", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write stationObsDataset XML document", "docstring_tokens": ["Write", "stationObsDataset", "XML", "document"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/ucar/nc2/dt/point/StationObsDatasetInfo.java#L52-L55", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/ucar/nc2/dt/point/StationObsDatasetInfo.java", "func_name": "StationObsDatasetInfo.writeStationCollectionXML", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write stationCollection XML document", "docstring_tokens": ["Write", "stationCollection", "XML", "document"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/ucar/nc2/dt/point/StationObsDatasetInfo.java#L65-L68", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4servlet/src/main/java/dap4/servlet/ChunkWriter.java", "func_name": "ChunkWriter.writeDSR", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write the DSR; do not bother to cache.\n\n@param dsr The DSR string\n@throws IOException on IO related errors", "docstring_tokens": ["Write", "the", "DSR", ";", "do", "not", "bother", "to", "cache", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4servlet/src/main/java/dap4/servlet/ChunkWriter.java#L131-L160", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4servlet/src/main/java/dap4/servlet/ChunkWriter.java", "func_name": "ChunkWriter.sendDXR", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Output the specifiedd DMR or DSR or..., but xml only.\n\n@throws IOException on IO related errors", "docstring_tokens": ["Output", "the", "specifiedd", "DMR", "or", "DSR", "or", "...", "but", "xml", "only", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4servlet/src/main/java/dap4/servlet/ChunkWriter.java#L209-L231", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4servlet/src/main/java/dap4/servlet/ChunkWriter.java", "func_name": "ChunkWriter.writeError", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write an error chunk.\nIf mode == DMR then replaces the dmr\nelse reset the current chunk thus\nlosing any partial write.\n\n@param httpcode The httpcode, 0 => ignore\n@param msg The , null => ignore\n@param cxt The , null => ignore\n@param other The , null => ignore\n@throws IOException on IO related errors", "docstring_tokens": ["Write", "an", "error", "chunk", ".", "If", "mode", "==", "DMR", "then", "replaces", "the", "dmr", "else", "reset", "the", "current", "chunk", "thus", "losing", "any", "partial", "write", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4servlet/src/main/java/dap4/servlet/ChunkWriter.java#L245-L270", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4servlet/src/main/java/dap4/servlet/ChunkWriter.java", "func_name": "ChunkWriter.close", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Closes this output stream and releases any system resources\nassociated with this stream. Except, the underlying stream is not\nactually closed; that is left to the servlet level\n\n@throws IOException on IO related errors", "docstring_tokens": ["Closes", "this", "output", "stream", "and", "releases", "any", "system", "resources", "associated", "with", "this", "stream", ".", "Except", "the", "underlying", "stream", "is", "not", "actually", "closed", ";", "that", "is", "left", "to", "the", "servlet", "level"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4servlet/src/main/java/dap4/servlet/ChunkWriter.java#L341-L377", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4servlet/src/main/java/dap4/servlet/ChunkWriter.java", "func_name": "ChunkWriter.flush", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Overload flush to also write out the DMR\n\n@throws IOException", "docstring_tokens": ["Overload", "flush", "to", "also", "write", "out", "the", "DMR"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4servlet/src/main/java/dap4/servlet/ChunkWriter.java#L393-L404", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/geoloc/projection/UtmProjection.java", "func_name": "UtmProjection.constructCopy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "needed for constructCopy", "docstring_tokens": ["needed", "for", "constructCopy"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/geoloc/projection/UtmProjection.java#L76-L82", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/Range.java", "func_name": "Range.contains", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Is want contained in this Range?\n\n@param want index in the original Range\n@return true if the ith element would be returned by the Range iterator", "docstring_tokens": ["Is", "want", "contained", "in", "this", "Range?"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/Range.java#L218-L225", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/Range.java", "func_name": "Range.element", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get ith element\n\n@param i index of the element\n@return the i-th element of a range.\n@throws InvalidRangeException i must be: 0 <= i < length", "docstring_tokens": ["Get", "ith", "element"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/Range.java#L279-L286", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/Range.java", "func_name": "Range.shiftOrigin", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a new Range shifting this range by a constant factor.\n\n@param origin subtract this from each element\n@return shifted range\n@throws InvalidRangeException elements must be nonnegative, 0 <= first <= last", "docstring_tokens": ["Create", "a", "new", "Range", "shifting", "this", "range", "by", "a", "constant", "factor", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/Range.java#L419-L426", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/netcdf3/N3raf.java", "func_name": "N3raf.readData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read data subset from file for a variable, create primitive array.\n@param index handles skipping around in the file.\n@param dataType dataType of the variable\n@return primitive array with data read in", "docstring_tokens": ["Read", "data", "subset", "from", "file", "for", "a", "variable", "create", "primitive", "array", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/netcdf3/N3raf.java#L34-L36", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/netcdf3/N3raf.java", "func_name": "N3raf.readData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read data subset from file for a variable, to WritableByteChannel.\nWill send as bigendian, since thats what the underlying file has.\n@param index handles skipping around in the file.\n@param dataType dataType of the variable", "docstring_tokens": ["Read", "data", "subset", "from", "file", "for", "a", "variable", "to", "WritableByteChannel", ".", "Will", "send", "as", "bigendian", "since", "thats", "what", "the", "underlying", "file", "has", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/netcdf3/N3raf.java#L44-L72", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/dap/BooleanPrimitiveVector.java", "func_name": "BooleanPrimitiveVector.subset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a new primitive vector using a subset of the data.\n\n@param start starting index (i=start)\n@param stop ending index (i<=stop)\n@param stride index stride (i+=stride)\n@return new primitive vector, of type BooleanPrimitiveVector.", "docstring_tokens": ["Create", "a", "new", "primitive", "vector", "using", "a", "subset", "of", "the", "data", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/dap/BooleanPrimitiveVector.java#L242-L255", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tdcommon/src/main/java/thredds/server/catalog/tracker/CatalogTracker.java", "func_name": "CatalogTracker.getCatalogs", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "return sorted catalogs", "docstring_tokens": ["return", "sorted", "catalogs"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tdcommon/src/main/java/thredds/server/catalog/tracker/CatalogTracker.java#L69-L77", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tdcommon/src/main/java/thredds/server/catalog/tracker/DatasetTrackerChronicle.java", "func_name": "DatasetTrackerChronicle.cleanupBefore", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "delete old databases", "docstring_tokens": ["delete", "old", "databases"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tdcommon/src/main/java/thredds/server/catalog/tracker/DatasetTrackerChronicle.java#L32-L42", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/NavigationBlock.java", "func_name": "NavigationBlock.setValues", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the grid nav block values\n\n@param values the raw values", "docstring_tokens": ["Set", "the", "grid", "nav", "block", "values"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/NavigationBlock.java#L149-L155", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/hdf5/DataBTree.java", "func_name": "DataBTree.getDataChunkIteratorNoFilter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "used by H5tiledLayout", "docstring_tokens": ["used", "by", "H5tiledLayout"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/hdf5/DataBTree.java#L69-L85", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/mcidas/McIDASAreaProjection.java", "func_name": "McIDASAreaProjection.makeDoubleArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "make a double array out of an int array\n\n@param ints array of ints\n@return array of doubles", "docstring_tokens": ["make", "a", "double", "array", "out", "of", "an", "int", "array"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/mcidas/McIDASAreaProjection.java#L430-L436", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/server/ncss/controller/NcssGridController.java", "func_name": "NcssGridController.getDatasetBoundaries", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Supported for backwards compatibility. We prefer that datasetBoundaries.wkt or datasetBoundaries.json are used.", "docstring_tokens": ["Supported", "for", "backwards", "compatibility", ".", "We", "prefer", "that", "datasetBoundaries", ".", "wkt", "or", "datasetBoundaries", ".", "json", "are", "used", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/server/ncss/controller/NcssGridController.java#L262-L273", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/server/ncss/controller/NcssGridController.java", "func_name": "NcssGridController.checkRequestedVars", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks that all the requested vars exist. If \"all\", fills out the param.vars with all grid names\nThrows exception if some of the variables in the request are not contained in the dataset", "docstring_tokens": ["Checks", "that", "all", "the", "requested", "vars", "exist", ".", "If", "all", "fills", "out", "the", "param", ".", "vars", "with", "all", "grid", "names", "Throws", "exception", "if", "some", "of", "the", "variables", "in", "the", "request", "are", "not", "contained", "in", "the", "dataset"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/server/ncss/controller/NcssGridController.java#L303-L319", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/cataloggen/config/DatasetSourceStructure.java", "func_name": "DatasetSourceStructure.getStructure", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find the DatasetSourceStructure that matches this name.\n@param name\n@return DatasetSourceStructure or null if no match.", "docstring_tokens": ["Find", "the", "DatasetSourceStructure", "that", "matches", "this", "name", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/cataloggen/config/DatasetSourceStructure.java#L36-L40", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/server/dap4/Dap4Controller.java", "func_name": "Dap4Controller.getResourcePath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "to work under Intellij.", "docstring_tokens": ["to", "work", "under", "Intellij", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/server/dap4/Dap4Controller.java#L131-L157", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/grid/GridIndexToNC.java", "func_name": "GridIndexToNC.makeVerticalDimensions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make a vertical dimensions\n\n@param vertCoordList vertCoords all with the same name\n@param ncfile netCDF file to add to\n@param group group in ncfile", "docstring_tokens": ["Make", "a", "vertical", "dimensions"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/grid/GridIndexToNC.java#L460-L478", "partition": "test"} +{"repo": "Unidata/thredds", "path": "clcommon/src/main/java/ucar/nc2/iosp/fysat/FysatHeader.java", "func_name": "FysatHeader.readPIB", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read the header and populate the ncfile\n\n@param raf\n@throws IOException", "docstring_tokens": ["Read", "the", "header", "and", "populate", "the", "ncfile"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/clcommon/src/main/java/ucar/nc2/iosp/fysat/FysatHeader.java#L63-L117", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/InvDatasetImpl.java", "func_name": "InvDatasetImpl.finish", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finish constructing after all elements have been added.\nThis does the inheritence thing\nThis can be called again if new elements are added.\n\n@return true if successful.", "docstring_tokens": ["Finish", "constructing", "after", "all", "elements", "have", "been", "added", ".", "This", "does", "the", "inheritence", "thing", "This", "can", "be", "called", "again", "if", "new", "elements", "are", "added", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/InvDatasetImpl.java#L91-L148", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/InvDatasetImpl.java", "func_name": "InvDatasetImpl.transferInheritable2PublicMetadata", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Look for InvMetadata elements in the parent that need to be added to the public metadata of this dataset.\nRecurse up through all ancestors.\n\n@param parent transfer from here", "docstring_tokens": ["Look", "for", "InvMetadata", "elements", "in", "the", "parent", "that", "need", "to", "be", "added", "to", "the", "public", "metadata", "of", "this", "dataset", ".", "Recurse", "up", "through", "all", "ancestors", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/InvDatasetImpl.java#L156-L181", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/InvDatasetImpl.java", "func_name": "InvDatasetImpl.transferMetadata", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Transfer all inheritable metadata from fromDs to the local metadata of this dataset.\nCalled by InvDatasetScan to transfer inheritable metaddata to the nested catalogRef\n\n@param fromDs transfer from here", "docstring_tokens": ["Transfer", "all", "inheritable", "metadata", "from", "fromDs", "to", "the", "local", "metadata", "of", "this", "dataset", ".", "Called", "by", "InvDatasetScan", "to", "transfer", "inheritable", "metaddata", "to", "the", "nested", "catalogRef"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/InvDatasetImpl.java#L259-L269", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/InvDatasetImpl.java", "func_name": "InvDatasetImpl.transferInheritableMetadata", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "transfer inherited metadata, consolidating it into target\n\n@param fromDs transfer from here, plus its parents\n@param target transfer to here", "docstring_tokens": ["transfer", "inherited", "metadata", "consolidating", "it", "into", "target"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/InvDatasetImpl.java#L277-L303", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/InvDatasetImpl.java", "func_name": "InvDatasetImpl.setContributors", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "LOOK these are wrong", "docstring_tokens": ["LOOK", "these", "are", "wrong"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/InvDatasetImpl.java#L603-L610", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/InvDatasetImpl.java", "func_name": "InvDatasetImpl.addDataset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a nested dataset at the location indicated by index.\n\n@param index add at this position\n@param ds add this", "docstring_tokens": ["Add", "a", "nested", "dataset", "at", "the", "location", "indicated", "by", "index", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/InvDatasetImpl.java#L702-L707", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/InvDatasetImpl.java", "func_name": "InvDatasetImpl.removeDataset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove the given dataset element from this dataset if it is in the dataset.\n\n@param ds - the dataset element to be removed\n@return true if this dataset contained the given dataset element.", "docstring_tokens": ["Remove", "the", "given", "dataset", "element", "from", "this", "dataset", "if", "it", "is", "in", "the", "dataset", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/InvDatasetImpl.java#L715-L724", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/InvDatasetImpl.java", "func_name": "InvDatasetImpl.replaceDataset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Replace the given dataset if it is a nesetd dataset.\n\n@param remove - the dataset element to be removed\n@param add - the dataset element to be added\n@return true on success", "docstring_tokens": ["Replace", "the", "given", "dataset", "if", "it", "is", "a", "nesetd", "dataset", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/InvDatasetImpl.java#L733-L747", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/InvDatasetImpl.java", "func_name": "InvDatasetImpl.addService", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a service to this dataset.\n\n@param service add this service to the dataset\n@deprecated add services only to catalog", "docstring_tokens": ["Add", "a", "service", "to", "this", "dataset", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/InvDatasetImpl.java#L775-L785", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/InvDatasetImpl.java", "func_name": "InvDatasetImpl.removeService", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove a service from this dataset.\n\n@param service remove this\n@deprecated put services in catalog", "docstring_tokens": ["Remove", "a", "service", "from", "this", "dataset", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/InvDatasetImpl.java#L794-L801", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/InvDatasetImpl.java", "func_name": "InvDatasetImpl.setServicesLocal", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the list of services attached specifically to this dataset.\nDiscard any previous servies.\n\n@param s list of services.", "docstring_tokens": ["Set", "the", "list", "of", "services", "attached", "specifically", "to", "this", "dataset", ".", "Discard", "any", "previous", "servies", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/InvDatasetImpl.java#L818-L826", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/InvDatasetImpl.java", "func_name": "InvDatasetImpl.removeLocalMetadata", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove the given InvMetadata from the set of metadata local to this dataset.\n\n@param metadata remove this\n@return true if an InvMetadata is removed, false otherwise.", "docstring_tokens": ["Remove", "the", "given", "InvMetadata", "from", "the", "set", "of", "metadata", "local", "to", "this", "dataset", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/InvDatasetImpl.java#L871-L881", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/InvDatasetImpl.java", "func_name": "InvDatasetImpl.getUserProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Look up the User property having the given key\n\n@param key property key\n@return User property having the given key, or null", "docstring_tokens": ["Look", "up", "the", "User", "property", "having", "the", "given", "key"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/InvDatasetImpl.java#L922-L925", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/cataloggen/config/DatasetNamer.java", "func_name": "DatasetNamer.validate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Validate this DatasetNamer object. Return true if valid, false if invalid.\n\n@param out StringBuffer with validation messages.\n@return boolean true if valid, false if invalid", "docstring_tokens": ["Validate", "this", "DatasetNamer", "object", ".", "Return", "true", "if", "valid", "false", "if", "invalid", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/cataloggen/config/DatasetNamer.java#L191-L237", "partition": "test"} +{"repo": "Unidata/thredds", "path": "bufr/src/main/java/ucar/nc2/iosp/bufr/BufrDataDescriptionSection.java", "func_name": "BufrDataDescriptionSection.getDescriptors", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "get list of data descriptors as Strings\n\n@return descriptors as List", "docstring_tokens": ["get", "list", "of", "data", "descriptors", "as", "Strings"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/bufr/src/main/java/ucar/nc2/iosp/bufr/BufrDataDescriptionSection.java#L135-L140", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/server/wfs/WFSController.java", "func_name": "WFSController.constructServerPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs the full server URI from a request\n\n@param hsreq The relevant request\n@return The URI of the server corresponding to the request", "docstring_tokens": ["Constructs", "the", "full", "server", "URI", "from", "a", "request"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/server/wfs/WFSController.java#L50-L52", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/server/wfs/WFSController.java", "func_name": "WFSController.getCapabilities", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Processes GetCapabilities requests.\n\n@param out\n@return", "docstring_tokens": ["Processes", "GetCapabilities", "requests", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/server/wfs/WFSController.java#L60-L74", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/server/wfs/WFSController.java", "func_name": "WFSController.getFeature", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Processes GetFeature requests.\n\n@param out\n@return", "docstring_tokens": ["Processes", "GetFeature", "requests", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/server/wfs/WFSController.java#L99-L161", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/server/wfs/WFSController.java", "func_name": "WFSController.checkParametersForError", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks request parameters for errors.\nWill send back an XML Exception if any errors are encountered.\n\n@param request parameter value\n@param version parameter value\n@param service parameter value\n@param actualFTName parameter value\n@return an ExceptionWriter if any errors occurred or null if none occurred", "docstring_tokens": ["Checks", "request", "parameters", "for", "errors", ".", "Will", "send", "back", "an", "XML", "Exception", "if", "any", "errors", "are", "encountered", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/server/wfs/WFSController.java#L173-L257", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/server/wfs/WFSController.java", "func_name": "WFSController.httpHandler", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "A handler for WFS based HTTP requests that sends to other request handlers\nto handle the request.\n\nServlet Path: /wfs/{request}", "docstring_tokens": ["A", "handler", "for", "WFS", "based", "HTTP", "requests", "that", "sends", "to", "other", "request", "handlers", "to", "handle", "the", "request", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/server/wfs/WFSController.java#L266-L369", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4lib/src/main/java/dap4/dap4lib/HttpDSP.java", "func_name": "HttpDSP.getCapabilities", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Provide a method for getting the capabilities document.\n\n@param url for accessing the document\n@throws DapException", "docstring_tokens": ["Provide", "a", "method", "for", "getting", "the", "capabilities", "document", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4lib/src/main/java/dap4/dap4lib/HttpDSP.java#L295-L314", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/crawlabledataset/s3/CrawlableDatasetAmazonS3.java", "func_name": "CrawlableDatasetAmazonS3.length", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the size of the dataset, in bytes. Will be zero if this dataset is a collection or non-existent.\n\n@return the size of the dataset", "docstring_tokens": ["Returns", "the", "size", "of", "the", "dataset", "in", "bytes", ".", "Will", "be", "zero", "if", "this", "dataset", "is", "a", "collection", "or", "non", "-", "existent", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/crawlabledataset/s3/CrawlableDatasetAmazonS3.java#L177-L201", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/crawlabledataset/s3/CrawlableDatasetAmazonS3.java", "func_name": "CrawlableDatasetAmazonS3.lastModified", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the date that the dataset was last modified. Will be null if the dataset is a collection or non-existent.\n\n@return the date that the dataset was last modified", "docstring_tokens": ["Returns", "the", "date", "that", "the", "dataset", "was", "last", "modified", ".", "Will", "be", "null", "if", "the", "dataset", "is", "a", "collection", "or", "non", "-", "existent", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/crawlabledataset/s3/CrawlableDatasetAmazonS3.java#L208-L222", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4servlet/src/main/java/dap4/servlet/Generator.java", "func_name": "Generator.dataset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Node specific generators", "docstring_tokens": ["Node", "specific", "generators"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4servlet/src/main/java/dap4/servlet/Generator.java#L173-L183", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/servlet/ServletUtil.java", "func_name": "ServletUtil.returnFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write a file to the response stream.\n\n@param servlet called from this servlet, may be null\n@param contentPath file root path\n@param path file path reletive to the root\n@param req the request\n@param res the response\n@param contentType content type, or null\n@throws IOException on write error", "docstring_tokens": ["Write", "a", "file", "to", "the", "response", "stream", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/servlet/ServletUtil.java#L64-L90", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/servlet/ServletUtil.java", "func_name": "ServletUtil.returnString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Send given content string as the HTTP response.\n\n@param contents the string to return as the HTTP response.\n@param res the HttpServletResponse\n@throws IOException if an I/O error occurs while writing the response.", "docstring_tokens": ["Send", "given", "content", "string", "as", "the", "HTTP", "response", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/servlet/ServletUtil.java#L257-L267", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/servlet/ServletUtil.java", "func_name": "ServletUtil.setResponseContentLength", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the proper content length for the string\n\n@param response the HttpServletResponse to act upon\n@param s the string that will be returned\n@return the number of bytes\n@throws UnsupportedEncodingException on bad character encoding", "docstring_tokens": ["Set", "the", "proper", "content", "length", "for", "the", "string"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/servlet/ServletUtil.java#L277-L281", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/servlet/ServletUtil.java", "func_name": "ServletUtil.getRequestURI", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The request base as a URI\n\n@param req the HttpServletRequest\n@return parsed request as a URI", "docstring_tokens": ["The", "request", "base", "as", "a", "URI"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/servlet/ServletUtil.java#L356-L363", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/servlet/ServletUtil.java", "func_name": "ServletUtil.getRequestPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "servletPath + pathInfo\n\n@param req the HttpServletRequest\n@return parsed request servletPath + pathInfo", "docstring_tokens": ["servletPath", "+", "pathInfo"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/servlet/ServletUtil.java#L371-L378", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/servlet/ServletUtil.java", "func_name": "ServletUtil.getRequest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The entire request including query string\n\n@param req the HttpServletRequest\n@return entire parsed request", "docstring_tokens": ["The", "entire", "request", "including", "query", "string"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/servlet/ServletUtil.java#L386-L389", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/servlet/ServletUtil.java", "func_name": "ServletUtil.getParameterIgnoreCase", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the value of the given parameter for the given request. Should\nonly be used if the parameter is known to only have one value. If used\non a multi-valued parameter, the first value is returned.\n\n@param req the HttpServletRequest\n@param paramName the name of the parameter to find.\n@return the value of the given parameter for the given request.", "docstring_tokens": ["Return", "the", "value", "of", "the", "given", "parameter", "for", "the", "given", "request", ".", "Should", "only", "be", "used", "if", "the", "parameter", "is", "known", "to", "only", "have", "one", "value", ".", "If", "used", "on", "a", "multi", "-", "valued", "parameter", "the", "first", "value", "is", "returned", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/servlet/ServletUtil.java#L400-L408", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/thredds/ui/catalog/CatalogChooser.java", "func_name": "CatalogChooser.save", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Save persistent state.", "docstring_tokens": ["Save", "persistent", "state", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/thredds/ui/catalog/CatalogChooser.java#L311-L321", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/server/admin/HtmlWriting.java", "func_name": "HtmlWriting.writeDirectory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write a file directory.\n\n@param res the HttpServletResponse on which to write the file directory response.\n@param dir directory\n@param path the URL path reletive to the base\n@return the number of characters (Unicode code units) in the response.\n@throws java.io.IOException if an I/O exception occurs.", "docstring_tokens": ["Write", "a", "file", "directory", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/server/admin/HtmlWriting.java#L180-L202", "partition": "test"} +{"repo": "Unidata/thredds", "path": "bufr/src/main/java/ucar/nc2/iosp/bufr/BitCounterUncompressed.java", "func_name": "BitCounterUncompressed.setBitOffset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "not used yet", "docstring_tokens": ["not", "used", "yet"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/bufr/src/main/java/ucar/nc2/iosp/bufr/BitCounterUncompressed.java#L47-L52", "partition": "test"} +{"repo": "Unidata/thredds", "path": "bufr/src/main/java/ucar/nc2/iosp/bufr/BitCounterUncompressed.java", "func_name": "BitCounterUncompressed.makeNested", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Track nested Tables.\n@param subKey subKey is a structure or a sequence - so itself has subKeys\n@param n numbers of rows in the nested table\n@param row which row in the parent Table this belongs to\n@param replicationCountSize number of bits taken up by the count (non-zero for sequences)\n@return nested ReplicationCounter", "docstring_tokens": ["Track", "nested", "Tables", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/bufr/src/main/java/ucar/nc2/iosp/bufr/BitCounterUncompressed.java#L66-L80", "partition": "test"} +{"repo": "Unidata/thredds", "path": "bufr/src/main/java/ucar/nc2/iosp/bufr/BitCounterUncompressed.java", "func_name": "BitCounterUncompressed.countBits", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "total bits of this table and all subtables", "docstring_tokens": ["total", "bits", "of", "this", "table", "and", "all", "subtables"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/bufr/src/main/java/ucar/nc2/iosp/bufr/BitCounterUncompressed.java#L87-L107", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/widget/TextHistoryPane.java", "func_name": "TextHistoryPane.appendLine", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Append this line to the bottom of the JTextArea.\nA newline is added and JTextArea is scrolled to bottom;\nremove lines at top if needed.\n@param line append this line. Ok to have multiple lines (ie embedded newlines)\nbut not too many.", "docstring_tokens": ["Append", "this", "line", "to", "the", "bottom", "of", "the", "JTextArea", ".", "A", "newline", "is", "added", "and", "JTextArea", "is", "scrolled", "to", "bottom", ";", "remove", "lines", "at", "top", "if", "needed", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/widget/TextHistoryPane.java#L87-L105", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft/point/writer/FeatureDatasetCapabilitiesWriter.java", "func_name": "FeatureDatasetCapabilitiesWriter.makeStationCollectionDocument", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create an XML document for the stations in this dataset, possible subsetted by bb.\nMust be a station dataset.\n\n@param bb restrict stations to this bounding box, may be null\n@param names restrict stations to these names, may be null\n@return XML document for the stations\n@throws IOException on read error", "docstring_tokens": ["Create", "an", "XML", "document", "for", "the", "stations", "in", "this", "dataset", "possible", "subsetted", "by", "bb", ".", "Must", "be", "a", "station", "dataset", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft/point/writer/FeatureDatasetCapabilitiesWriter.java#L75-L112", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft/point/writer/FeatureDatasetCapabilitiesWriter.java", "func_name": "FeatureDatasetCapabilitiesWriter.getCapabilitiesDocument", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create the capabilities XML document for this dataset\n\n@return capabilities XML document", "docstring_tokens": ["Create", "the", "capabilities", "XML", "document", "for", "this", "dataset"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft/point/writer/FeatureDatasetCapabilitiesWriter.java#L119-L181", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/collection/GribCollectionImmutable.java", "func_name": "VariableIndex.getRecordAt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "coord based record finding. note only one record at a time", "docstring_tokens": ["coord", "based", "record", "finding", ".", "note", "only", "one", "record", "at", "a", "time"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/collection/GribCollectionImmutable.java#L536-L614", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/collection/GribCollectionImmutable.java", "func_name": "VariableIndex.getCoordinate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "get the ith coordinate", "docstring_tokens": ["get", "the", "ith", "coordinate"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/collection/GribCollectionImmutable.java#L640-L643", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/util/prefs/ui/ComboBox.java", "func_name": "ComboBox.addItem", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add the item to the top of the list. If it already exists, move it to the top.\n@param item to be added.", "docstring_tokens": ["Add", "the", "item", "to", "the", "top", "of", "the", "list", ".", "If", "it", "already", "exists", "move", "it", "to", "the", "top", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/util/prefs/ui/ComboBox.java#L148-L163", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/server/TdsErrorHandling.java", "func_name": "TdsErrorHandling.handle", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "LOOK this could be a problem", "docstring_tokens": ["LOOK", "this", "could", "be", "a", "problem"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/server/TdsErrorHandling.java#L146-L169", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/util/Odometer.java", "func_name": "Odometer.slice", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return ith slice", "docstring_tokens": ["Return", "ith", "slice"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/util/Odometer.java#L174-L180", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/util/Odometer.java", "func_name": "Odometer.step", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "return -1 if we have completed.", "docstring_tokens": ["return", "-", "1", "if", "we", "have", "completed", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/util/Odometer.java#L281-L293", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/grib1/tables/NcepTables.java", "func_name": "NcepTables.getNcepGenProcess", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "public so can be called from Grib2", "docstring_tokens": ["public", "so", "can", "be", "called", "from", "Grib2"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/grib1/tables/NcepTables.java#L204-L226", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft/remote/CdmrFeatureDataset.java", "func_name": "CdmrFeatureDataset.isCdmrfEndpoint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "all CdmrFeatureDatasets must return their featureType - use as a fail-fast test of the endpoint", "docstring_tokens": ["all", "CdmrFeatureDatasets", "must", "return", "their", "featureType", "-", "use", "as", "a", "fail", "-", "fast", "test", "of", "the", "endpoint"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft/remote/CdmrFeatureDataset.java#L50-L67", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/util/OptSwitch.java", "func_name": "OptSwitch.SetHasValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the value type of the option switch to the type passed\n\n@param type type of value that switch may accept or be", "docstring_tokens": ["Set", "the", "value", "type", "of", "the", "option", "switch", "to", "the", "type", "passed"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/util/OptSwitch.java#L123-L129", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/grib1/Grib1GdsPredefined.java", "func_name": "Grib1GdsPredefined.factory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a Grib1Gds object from a pds and predefined tables.\n\n@param center center id\n@param gridNumber from pds (octet 7)\n@return predefined GDS", "docstring_tokens": ["Constructs", "a", "Grib1Gds", "object", "from", "a", "pds", "and", "predefined", "tables", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/grib1/Grib1GdsPredefined.java#L25-L30", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/IO.java", "func_name": "IO.copyB", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "copy all bytes from in to out, specify buffer size\n\n@param in InputStream\n@param out OutputStream\n@param bufferSize : internal buffer size.\n@return number of bytes copied\n@throws java.io.IOException on io error", "docstring_tokens": ["copy", "all", "bytes", "from", "in", "to", "out", "specify", "buffer", "size"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/IO.java#L172-L193", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/IO.java", "func_name": "IO.readContents", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read the contents from the inputStream and place into a String,\nwith any error messages put in the return String.\n\n@param is the inputStream to read from.\n@return String holding the contents, or an error message.\n@throws java.io.IOException on io error", "docstring_tokens": ["Read", "the", "contents", "from", "the", "inputStream", "and", "place", "into", "a", "String", "with", "any", "error", "messages", "put", "in", "the", "return", "String", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/IO.java#L237-L241", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/IO.java", "func_name": "IO.readContentsToByteArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read the contents from the inputStream and place into a byte array,\nwith any error messages put in the return String.\n\n@param is the inputStream to read from.\n@return byte[] holding the contents, or an error message.\n@throws java.io.IOException on io error", "docstring_tokens": ["Read", "the", "contents", "from", "the", "inputStream", "and", "place", "into", "a", "byte", "array", "with", "any", "error", "messages", "put", "in", "the", "return", "String", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/IO.java#L251-L255", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/IO.java", "func_name": "IO.writeContents", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Wite the contents from the String to a Stream,\n\n@param contents String holding the contents.\n@param os write to this OutputStream\n@throws java.io.IOException on io error", "docstring_tokens": ["Wite", "the", "contents", "from", "the", "String", "to", "a", "Stream"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/IO.java#L264-L267", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/IO.java", "func_name": "IO.copyFileB", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "copy file to output stream, specify internal buffer size\n\n@param fileIn copy this file\n@param out copy to this stream\n@param bufferSize internal buffer size.\n@throws java.io.IOException on io error", "docstring_tokens": ["copy", "file", "to", "output", "stream", "specify", "internal", "buffer", "size"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/IO.java#L339-L344", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/IO.java", "func_name": "IO.copyRafB", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copy part of a RandomAccessFile to output stream, specify internal buffer size\n\n@param raf copy this file\n@param offset start here (byte offset)\n@param length number of bytes to copy\n@param out copy to this stream\n@param buffer use this buffer.\n@return number of bytes copied\n@throws java.io.IOException on io error", "docstring_tokens": ["Copy", "part", "of", "a", "RandomAccessFile", "to", "output", "stream", "specify", "internal", "buffer", "size"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/IO.java#L398-L411", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/IO.java", "func_name": "IO.copyDirTree", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copy an entire directory tree.\n\n@param fromDirName from this directory (do nothing if not exist)\n@param toDirName to this directory (will create if not exist)\n@throws java.io.IOException on io error", "docstring_tokens": ["Copy", "an", "entire", "directory", "tree", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/IO.java#L420-L441", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/IO.java", "func_name": "IO.readFileToByteArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read the file and place contents into a byte array,\nwith any error messages put in the return String.\n\n@param filename the file to read from.\n@return byte[] holding the contents, or an error message.\n@throws java.io.IOException on io error", "docstring_tokens": ["Read", "the", "file", "and", "place", "contents", "into", "a", "byte", "array", "with", "any", "error", "messages", "put", "in", "the", "return", "String", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/IO.java#L451-L456", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/IO.java", "func_name": "IO.readFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read the contents from the named file and place into a String, assuming UTF-8 encoding.\n\n@param filename the URL to read from.\n@return String holding the file contents\n@throws java.io.IOException on io error", "docstring_tokens": ["Read", "the", "contents", "from", "the", "named", "file", "and", "place", "into", "a", "String", "assuming", "UTF", "-", "8", "encoding", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/IO.java#L465-L473", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/IO.java", "func_name": "IO.writeToFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write String contents to a file, using UTF-8 encoding.\n\n@param contents String holding the contents\n@param file write to this file (overwrite if exists)\n@throws java.io.IOException on io error", "docstring_tokens": ["Write", "String", "contents", "to", "a", "file", "using", "UTF", "-", "8", "encoding", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/IO.java#L482-L489", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/IO.java", "func_name": "IO.writeToFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write contents to a file, using UTF-8 encoding.\n\n@param contents String holding the contents\n@param fileOutName write to this file (overwrite if exists)\n@throws java.io.IOException on io error", "docstring_tokens": ["Write", "contents", "to", "a", "file", "using", "UTF", "-", "8", "encoding", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/IO.java#L512-L514", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/IO.java", "func_name": "IO.writeToFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "copy input stream to file. close input stream when done.\n\n@param in copy from here\n@param fileOutName open this file (overwrite) and copy to it.\n@return number of bytes copied\n@throws java.io.IOException on io error", "docstring_tokens": ["copy", "input", "stream", "to", "file", ".", "close", "input", "stream", "when", "done", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/IO.java#L524-L531", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/dtswar/src/main/java/opendap/dts/DTSServlet.java", "func_name": "DTSServlet.parseExceptionHandler", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Turns a ParseException into a OPeNDAP DAP2 error and sends it to the client.\n\n@param pe The ParseException that caused the problem.\n@param response The HttpServletResponse for the client.", "docstring_tokens": ["Turns", "a", "ParseException", "into", "a", "OPeNDAP", "DAP2", "error", "and", "sends", "it", "to", "the", "client", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/dtswar/src/main/java/opendap/dts/DTSServlet.java#L390-L420", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/dtswar/src/main/java/opendap/dts/DTSServlet.java", "func_name": "DTSServlet.dap2ExceptionHandler", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sends a OPeNDAP DAP2 error to the client.\n\n@param de The OPeNDAP DAP2 exception that caused the problem.\n@param response The HttpServletResponse for the client.", "docstring_tokens": ["Sends", "a", "OPeNDAP", "DAP2", "error", "to", "the", "client", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/dtswar/src/main/java/opendap/dts/DTSServlet.java#L428-L471", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/dtswar/src/main/java/opendap/dts/DTSServlet.java", "func_name": "DTSServlet.badURL", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sends an html document to the client explaining that they have used a\npoorly formed URL and then the help page...\n\n@param request The client's request \n@param response The client response", "docstring_tokens": ["Sends", "an", "html", "document", "to", "the", "client", "explaining", "that", "they", "have", "used", "a", "poorly", "formed", "URL", "and", "then", "the", "help", "page", "..."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/dtswar/src/main/java/opendap/dts/DTSServlet.java#L1094-L1117", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/dtswar/src/main/java/opendap/dts/DTSServlet.java", "func_name": "DTSServlet.doGetCatalog", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Handler for OPeNDAP catalog.xml requests.\n\n@param rs The client's ReqState \n@see GetHTMLInterfaceHandler", "docstring_tokens": ["Handler", "for", "OPeNDAP", "catalog", ".", "xml", "requests", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/dtswar/src/main/java/opendap/dts/DTSServlet.java#L1293-L1305", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/dtswar/src/main/java/opendap/dts/DTSServlet.java", "func_name": "DTSServlet.printCatalog", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "to be overridden by servers that implement catalogs", "docstring_tokens": ["to", "be", "overridden", "by", "servers", "that", "implement", "catalogs"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/dtswar/src/main/java/opendap/dts/DTSServlet.java#L1308-L1313", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/dtswar/src/main/java/opendap/dts/DTSServlet.java", "func_name": "DTSServlet.printStatus", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "to be overridden by servers that implement status report", "docstring_tokens": ["to", "be", "overridden", "by", "servers", "that", "implement", "status", "report"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/dtswar/src/main/java/opendap/dts/DTSServlet.java#L1464-L1490", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/dtswar/src/main/java/opendap/dts/DTSServlet.java", "func_name": "DTSServlet.printBadURLPage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Prints the Bad URL Page page to the passed PrintWriter\n\n@param pw PrintWriter stream to which to dump the bad URL page.", "docstring_tokens": ["Prints", "the", "Bad", "URL", "Page", "page", "to", "the", "passed", "PrintWriter"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/dtswar/src/main/java/opendap/dts/DTSServlet.java#L1851-L1861", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/grib2/Grib2SectionIdentification.java", "func_name": "Grib2SectionIdentification.getReferenceDate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "reference reference or base time as Dare.\n\n@return baseTime", "docstring_tokens": ["reference", "reference", "or", "base", "time", "as", "Dare", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/grib2/Grib2SectionIdentification.java#L156-L158", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/stream/NcStreamIosp.java", "func_name": "NcStreamIosp.readVlenData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "lOOK probably desnt work", "docstring_tokens": ["lOOK", "probably", "desnt", "work"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/stream/NcStreamIosp.java#L153-L168", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/thredds/inventory/NcmlCollectionReader.java", "func_name": "NcmlCollectionReader.readNcML", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read an NcML file from a String, and construct a NcmlCollectionReader from its scan or scanFmrc element.\n\n@param ncmlString the NcML to construct the reader from\n@param errlog put error messages here\n@return the resulting NetcdfDataset\n@throws IOException on read error, or bad referencedDatasetUri URI", "docstring_tokens": ["Read", "an", "NcML", "file", "from", "a", "String", "and", "construct", "a", "NcmlCollectionReader", "from", "its", "scan", "or", "scanFmrc", "element", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/thredds/inventory/NcmlCollectionReader.java#L50-L64", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/thredds/inventory/NcmlCollectionReader.java", "func_name": "NcmlCollectionReader.open", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read an NcML file from a URL location, and construct a NcmlCollectionReader from its scan or scanFmrc element.\n\n@param ncmlLocation the URL location string of the NcML document\n@param errlog put error messages here\n@return the resulting NetcdfDataset\n@throws IOException on read error, or bad referencedDatasetUri URI", "docstring_tokens": ["Read", "an", "NcML", "file", "from", "a", "URL", "location", "and", "construct", "a", "NcmlCollectionReader", "from", "its", "scan", "or", "scanFmrc", "element", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/thredds/inventory/NcmlCollectionReader.java#L74-L91", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/util/StringUtil2.java", "func_name": "StringUtil2.allow", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Replace any char not alphanumeric or in allowChars by replaceChar.\n\n@param x operate on this string\n@param allowChars these are ok.\n@param replaceChar thar char to replace\n@return resulting string.", "docstring_tokens": ["Replace", "any", "char", "not", "alphanumeric", "or", "in", "allowChars", "by", "replaceChar", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/util/StringUtil2.java#L31-L55", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/util/StringUtil2.java", "func_name": "StringUtil2.cleanup", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Delete any non-printable characters\n\n@param h byte array\n@return cleaned up string", "docstring_tokens": ["Delete", "any", "non", "-", "printable", "characters"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/util/StringUtil2.java#L89-L97", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/util/StringUtil2.java", "func_name": "StringUtil2.filter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove any char not alphanumeric or in okChars.\n\n@param x filter this string\n@param okChars these are ok.\n@return filtered string.", "docstring_tokens": ["Remove", "any", "char", "not", "alphanumeric", "or", "in", "okChars", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/util/StringUtil2.java#L112-L135", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/util/StringUtil2.java", "func_name": "StringUtil2.filter7bits", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove all but printable ascii\n\n@param s filter this string\n@return filtered string.", "docstring_tokens": ["Remove", "all", "but", "printable", "ascii"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/util/StringUtil2.java#L143-L155", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/util/StringUtil2.java", "func_name": "StringUtil2.makeValidCdmObjectName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "transform embedded space to \"_\"", "docstring_tokens": ["transform", "embedded", "space", "to", "_"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/util/StringUtil2.java#L161-L183", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/util/StringUtil2.java", "func_name": "StringUtil2.match", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Count number of chars that match in two strings, starting from front.\n\n@param s1 compare this string\n@param s2 compare this string\n@return number of matching chars, starting from first char", "docstring_tokens": ["Count", "number", "of", "chars", "that", "match", "in", "two", "strings", "starting", "from", "front", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/util/StringUtil2.java#L192-L201", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/util/StringUtil2.java", "func_name": "StringUtil2.padLeft", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Pad the given string with padString on the left up to the given length.\n\n@param s String to pad\n@param desiredLength ending length\n@param padString String to pad with (e.g, \" \")\n@return padded String", "docstring_tokens": ["Pad", "the", "given", "string", "with", "padString", "on", "the", "left", "up", "to", "the", "given", "length", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/util/StringUtil2.java#L236-L242", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/util/StringUtil2.java", "func_name": "StringUtil2.padRight", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Pad the given string with padString on the right up to the given length.\n\n@param s String to pad\n@param desiredLength ending length\n@param padString String to pad with (e.g, \" \")\n@return padded String", "docstring_tokens": ["Pad", "the", "given", "string", "with", "padString", "on", "the", "right", "up", "to", "the", "given", "length", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/util/StringUtil2.java#L265-L272", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/util/StringUtil2.java", "func_name": "StringUtil2.remove", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove all occurrences of the substring sub in the string s.\n\n@param s operate on this string\n@param sub remove all occurrences of this substring.\n@return result with substrings removed", "docstring_tokens": ["Remove", "all", "occurrences", "of", "the", "substring", "sub", "in", "the", "string", "s", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/util/StringUtil2.java#L281-L288", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/util/StringUtil2.java", "func_name": "StringUtil2.remove", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove all occurrences of the character c in the string s.\n\n@param s operate on this string\n@param c remove all occurrences of this character.\n@return result with any character c removed", "docstring_tokens": ["Remove", "all", "occurrences", "of", "the", "character", "c", "in", "the", "string", "s", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/util/StringUtil2.java#L297-L312", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/util/StringUtil2.java", "func_name": "StringUtil2.removeFromEnd", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove all occurrences of the character c at the end of s.\n\n@param s operate on this string\n@param c remove all occurrences of this character that are at the end of the string.\n@return result with any character c removed", "docstring_tokens": ["Remove", "all", "occurrences", "of", "the", "character", "c", "at", "the", "end", "of", "s", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/util/StringUtil2.java#L321-L332", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/util/StringUtil2.java", "func_name": "StringUtil2.collapseWhitespace", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Collapse continuous whitespace into one single \" \".\n\n@param s operate on this string\n@return result with collapsed whitespace", "docstring_tokens": ["Collapse", "continuous", "whitespace", "into", "one", "single", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/util/StringUtil2.java#L366-L381", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/util/StringUtil2.java", "func_name": "StringUtil2.replace", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Replace any char \"out\" in s with \"in\".\n\n@param s string to replace\n@param out replace this character\n@param in with this string\n@return modified string if needed", "docstring_tokens": ["Replace", "any", "char", "out", "in", "s", "with", "in", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/util/StringUtil2.java#L391-L400", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/util/StringUtil2.java", "func_name": "StringUtil2.replace", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Replace all occurrences of any char in replaceChar with corresponding String in replaceWith\n\n@param x operate on this string\n@param replaceChar get rid of these\n@param replaceWith replace with these\n@return resulting string", "docstring_tokens": ["Replace", "all", "occurrences", "of", "any", "char", "in", "replaceChar", "with", "corresponding", "String", "in", "replaceWith"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/util/StringUtil2.java#L411-L433", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/util/StringUtil2.java", "func_name": "StringUtil2.replace", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Replaces all occurrences of \"pattern\" in \"string\" with \"value\"\n\n@param string string to munge\n@param pattern pattern to replace\n@param value replacement value\n@return munged string", "docstring_tokens": ["Replaces", "all", "occurrences", "of", "pattern", "in", "string", "with", "value"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/util/StringUtil2.java#L443-L465", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/util/StringUtil2.java", "func_name": "StringUtil2.substitute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find all occurrences of the \"match\" in original, and substitute the \"subst\" string.\n\n@param original starting string\n@param match string to match\n@param subst string to substitute\n@return a new string with substitutions", "docstring_tokens": ["Find", "all", "occurrences", "of", "the", "match", "in", "original", "and", "substitute", "the", "subst", "string", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/util/StringUtil2.java#L507-L515", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/util/StringUtil2.java", "func_name": "StringUtil2.substitute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find all occurences of match strings in original, and substitute the corresponding\nsubst string.\n\n@param original starting string\n@param match array of strings to match\n@param subst array of strings to substitute\n@return a new string with substitutions", "docstring_tokens": ["Find", "all", "occurences", "of", "match", "strings", "in", "original", "and", "substitute", "the", "corresponding", "subst", "string", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/util/StringUtil2.java#L598-L617", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/util/StringUtil2.java", "func_name": "StringUtil2.remove", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove any of the characters in out from sb\n\n@param sb the StringBuilder\n@param out get rid of any of these characters", "docstring_tokens": ["Remove", "any", "of", "the", "characters", "in", "out", "from", "sb"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/util/StringUtil2.java#L669-L683", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/util/StringUtil2.java", "func_name": "StringUtil2.unreplace", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Replace any String \"out\" in sb with char \"in\".\n\n@param sb StringBuilder to replace\n@param out repalce this String\n@param in with this char", "docstring_tokens": ["Replace", "any", "String", "out", "in", "sb", "with", "char", "in", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/util/StringUtil2.java#L708-L714", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/util/StringUtil2.java", "func_name": "StringUtil2.replace", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Replace any of the characters from out with corresponding character from in\n\n@param sb the StringBuilder\n@param out get rid of any of these characters\n@param in replacing with the character at same index", "docstring_tokens": ["Replace", "any", "of", "the", "characters", "from", "out", "with", "corresponding", "character", "from", "in"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/util/StringUtil2.java#L723-L731", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/util/StringUtil2.java", "func_name": "StringUtil2.substitute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find all occurences of the \"match\" in original, and substitute the \"subst\" string,\ndirectly into the original.\n\n@param sbuff starting string buffer\n@param match string to match\n@param subst string to substitute", "docstring_tokens": ["Find", "all", "occurences", "of", "the", "match", "in", "original", "and", "substitute", "the", "subst", "string", "directly", "into", "the", "original", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/util/StringUtil2.java#L742-L750", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/util/StringUtil2.java", "func_name": "StringUtil2.trim", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove bad char from beginning or end of string\n\n@param s operate on this\n@return trimmed string", "docstring_tokens": ["Remove", "bad", "char", "from", "beginning", "or", "end", "of", "string"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/util/StringUtil2.java#L759-L770", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/featurecollection/InvDatasetFeatureCollection.java", "func_name": "InvDatasetFeatureCollection.processEvent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "called by eventBus, this is where the trigger comes in", "docstring_tokens": ["called", "by", "eventBus", "this", "is", "where", "the", "trigger", "comes", "in"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/featurecollection/InvDatasetFeatureCollection.java#L198-L207", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/featurecollection/InvDatasetFeatureCollection.java", "func_name": "InvDatasetFeatureCollection.checkState", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "A request has come in, check that the state has been initialized.\nthis is called from the request thread.\n\n@return a copy of the State", "docstring_tokens": ["A", "request", "has", "come", "in", "check", "that", "the", "state", "has", "been", "initialized", ".", "this", "is", "called", "from", "the", "request", "thread", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/featurecollection/InvDatasetFeatureCollection.java#L268-L282", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/featurecollection/InvDatasetFeatureCollection.java", "func_name": "InvDatasetFeatureCollection.update", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Collection was changed, update internal objects.\ncalled by CollectionUpdater, trigger via handleCollectionEvent, so in a quartz scheduler thread\n\n@param force update type", "docstring_tokens": ["Collection", "was", "changed", "update", "internal", "objects", ".", "called", "by", "CollectionUpdater", "trigger", "via", "handleCollectionEvent", "so", "in", "a", "quartz", "scheduler", "thread"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/featurecollection/InvDatasetFeatureCollection.java#L290-L312", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/grib/Grib2ReportPanel.java", "func_name": "Grib2ReportPanel.doUniqueTemplates", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Look through the collection and find what GDS and PDS templates are used.", "docstring_tokens": ["Look", "through", "the", "collection", "and", "find", "what", "GDS", "and", "PDS", "templates", "are", "used", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/grib/Grib2ReportPanel.java#L386-L425", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/InvCatalogRef.java", "func_name": "InvCatalogRef.getDatasets", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a list of all the nested datasets.\n@return Datasets. This triggers a read of the referenced catalog the first time its called.", "docstring_tokens": ["Get", "a", "list", "of", "all", "the", "nested", "datasets", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/InvCatalogRef.java#L109-L113", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/InvCatalogRef.java", "func_name": "InvCatalogRef.release", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Release resources - undo the read of the catalog. This is needed when crawling large catalogs.\nFor modest catalogs that you will repeatedly examine, do not use this method.", "docstring_tokens": ["Release", "resources", "-", "undo", "the", "read", "of", "the", "catalog", ".", "This", "is", "needed", "when", "crawling", "large", "catalogs", ".", "For", "modest", "catalogs", "that", "you", "will", "repeatedly", "examine", "do", "not", "use", "this", "method", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/InvCatalogRef.java#L135-L140", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/StructureDataDeep.java", "func_name": "StructureDataDeep.copy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make deep copy from sdata to another StructureData object whose data is self contained\n@param sdata original sdata\n@param members the StructureData members. a reference is kept to this object\n@return StructureData with all data self contained", "docstring_tokens": ["Make", "deep", "copy", "from", "sdata", "to", "another", "StructureData", "object", "whose", "data", "is", "self", "contained"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/StructureDataDeep.java#L29-L32", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/StructureDataDeep.java", "func_name": "StructureDataDeep.copyToArrayBB", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make deep copy from an ArrayStructure to a ArrayStructureBB whose data is contained in a ByteBuffer\n@param as original ArrayStructure\n@param bo what byte order to use ? (null for any)\n@param canonical packing must be canonical\n@return ArrayStructureBB with all data self contained", "docstring_tokens": ["Make", "deep", "copy", "from", "an", "ArrayStructure", "to", "a", "ArrayStructureBB", "whose", "data", "is", "contained", "in", "a", "ByteBuffer"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/StructureDataDeep.java#L41-L63", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/StructureDataDeep.java", "func_name": "StructureDataDeep.copyToArrayBB", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make deep copy to an ArrayStructureBB whose data is contained in a ByteBuffer.\nUse the order of the members in the given Structure; skip copying any not in the Structure\n@param s list of structure members come from here; must be compatible with ArrayStructure's data\n@param as original ArrayStructure\n@param bo what byte order to use ? (null for default)\n@return ArrayStructureBB with all data self contained", "docstring_tokens": ["Make", "deep", "copy", "to", "an", "ArrayStructureBB", "whose", "data", "is", "contained", "in", "a", "ByteBuffer", ".", "Use", "the", "order", "of", "the", "members", "in", "the", "given", "Structure", ";", "skip", "copying", "any", "not", "in", "the", "Structure"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/StructureDataDeep.java#L73-L87", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/StructureDataDeep.java", "func_name": "StructureDataDeep.copyToArrayBB", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make deep copy from a StructureData to a ArrayStructureBB whose data is contained in a ByteBuffer.\n@param sdata original ArrayStructure.\n@return ArrayStructureBB with all data self contained", "docstring_tokens": ["Make", "deep", "copy", "from", "a", "StructureData", "to", "a", "ArrayStructureBB", "whose", "data", "is", "contained", "in", "a", "ByteBuffer", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/StructureDataDeep.java#L95-L97", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/StructureDataDeep.java", "func_name": "StructureDataDeep.copyToArrayBB", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make deep copy from a StructureData to a ArrayStructureBB whose data is contained in a ByteBuffer\n@param sdata original ArrayStructure\n@param sm the StructureData members. a reference is kept to this object\n@param bo Byte Order of the ByteBuffer\n@return ArrayStructureBB with all data self contained", "docstring_tokens": ["Make", "deep", "copy", "from", "a", "StructureData", "to", "a", "ArrayStructureBB", "whose", "data", "is", "contained", "in", "a", "ByteBuffer"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/StructureDataDeep.java#L106-L114", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/grib2/table/NwsMetDevTables.java", "func_name": "NwsMetDevTables.getForecastTimeIntervalSizeInHours", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Only use in GribVariable to decide on variable identity when intvMerge = false.\nBy returning a constant, we dont intvMerge = false.\nProblem is we cant reconstruct interval length without reference time, which is not in the pds.", "docstring_tokens": ["Only", "use", "in", "GribVariable", "to", "decide", "on", "variable", "identity", "when", "intvMerge", "=", "false", ".", "By", "returning", "a", "constant", "we", "dont", "intvMerge", "=", "false", ".", "Problem", "is", "we", "cant", "reconstruct", "interval", "length", "without", "reference", "time", "which", "is", "not", "in", "the", "pds", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/grib2/table/NwsMetDevTables.java#L66-L80", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/CoordinateAxis1D.java", "func_name": "CoordinateAxis1D.section", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a new CoordinateAxis1D as a section of this CoordinateAxis1D.\n\n@param r the section range\n@return a new CoordinateAxis1D as a section of this CoordinateAxis1D\n@throws InvalidRangeException if IllegalRange", "docstring_tokens": ["Create", "a", "new", "CoordinateAxis1D", "as", "a", "section", "of", "this", "CoordinateAxis1D", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/CoordinateAxis1D.java#L130-L183", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft/point/standard/TableAnalyzer.java", "func_name": "TableAnalyzer.factory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a TableAnalyser for this dataset with the given TableConfigurer\n\n@param tc TableConfigurer, may be null.\n@param wantFeatureType want this FeatureType\n@param ds for this dataset\n@return TableAnalyser\n@throws IOException on read error", "docstring_tokens": ["Create", "a", "TableAnalyser", "for", "this", "dataset", "with", "the", "given", "TableConfigurer"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft/point/standard/TableAnalyzer.java#L263-L289", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft/point/standard/TableAnalyzer.java", "func_name": "TableAnalyzer.getFirstFeatureType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "for debugging messages", "docstring_tokens": ["for", "debugging", "messages"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft/point/standard/TableAnalyzer.java#L339-L345", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft/point/standard/TableAnalyzer.java", "func_name": "TableAnalyzer.analyze", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make a NestedTable object for the dataset.\n@param wantFeatureType want this FeatureType\n@throws IOException on read error", "docstring_tokens": ["Make", "a", "NestedTable", "object", "for", "the", "dataset", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft/point/standard/TableAnalyzer.java#L383-L412", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/mcidas/McIDASGridServiceProvider.java", "func_name": "McIDASGridServiceProvider.sync", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sync and extend\n\n@return false", "docstring_tokens": ["Sync", "and", "extend"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/mcidas/McIDASGridServiceProvider.java#L107-L121", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/grads/GradsUtil.java", "func_name": "GradsUtil.getGaussianLatitudes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the latitude values for the given type.\n\n@param type gaussian type\n@param start starting index (1 based)\n@param num number of values\n\n@return the values\n\n@throws IllegalArgumentException invalid or unsupported type", "docstring_tokens": ["Get", "the", "latitude", "values", "for", "the", "given", "type", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/grads/GradsUtil.java#L113-L140", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/gis/shapefile/Swap.java", "func_name": "Swap.swapLong", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the long resulting from reversing 8 bytes at a specified\noffset in a byte array.\n\n@param b the byte array\n@param offset the offset of the first byte\n@return the long represented by the bytes\nb[offset+7], b[offset+6], ..., b[offset]", "docstring_tokens": ["Returns", "the", "long", "resulting", "from", "reversing", "8", "bytes", "at", "a", "specified", "offset", "in", "a", "byte", "array", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/gis/shapefile/Swap.java#L59-L68", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/gis/shapefile/Swap.java", "func_name": "Swap.swapFloat", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the float resulting from reversing 4 bytes at a specified\noffset in a byte array.\n\n@param b the byte array\n@param offset the offset of the first byte\n@return the float represented by the bytes\nb[offset+3], b[offset+2], ..., b[offset]", "docstring_tokens": ["Returns", "the", "float", "resulting", "from", "reversing", "4", "bytes", "at", "a", "specified", "offset", "in", "a", "byte", "array", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/gis/shapefile/Swap.java#L79-L84", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/gis/shapefile/Swap.java", "func_name": "Swap.swapChar", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the char resulting from swapping 2 bytes at a specified\noffset in a byte array.\n\n@param b the byte array\n@param offset the offset of the first byte\n@return the char represented by the bytes\nb[offset+1], b[offset]", "docstring_tokens": ["Returns", "the", "char", "resulting", "from", "swapping", "2", "bytes", "at", "a", "specified", "offset", "in", "a", "byte", "array", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/gis/shapefile/Swap.java#L114-L119", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/conv/CSMConvention.java", "func_name": "CSMConvention.findCoordinateAxes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The attribute \"coordinates\" is an alias for _CoordinateAxes.", "docstring_tokens": ["The", "attribute", "coordinates", "is", "an", "alias", "for", "_CoordinateAxes", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/conv/CSMConvention.java#L56-L69", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/conv/CSMConvention.java", "func_name": "CSMConvention.addParameter2", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a Parameter to a CoordinateTransform. The variable attribute points to a another variable that has the data in it.\nMake sure that atrribute and variable exist. Id readData is true, read the data and use it as the value of the\nparameter, otherwise use the name as the value of the parameter.\n\n@param rs the CoordinateTransform\n@param paramName the parameter name\n@param ds dataset\n@param v variable\n@param attName variable attribute name\n@param readData if true, read data and use a s parameter value\n@return true if success, false is failed", "docstring_tokens": ["Add", "a", "Parameter", "to", "a", "CoordinateTransform", ".", "The", "variable", "attribute", "points", "to", "a", "another", "variable", "that", "has", "the", "data", "in", "it", ".", "Make", "sure", "that", "atrribute", "and", "variable", "exist", ".", "Id", "readData", "is", "true", "read", "the", "data", "and", "use", "it", "as", "the", "value", "of", "the", "parameter", "otherwise", "use", "the", "name", "as", "the", "value", "of", "the", "parameter", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/conv/CSMConvention.java#L147-L176", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Group.java", "func_name": "Group.commonParent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the common parent of this and the other group.\nCant fail, since the root group is always a parent of any 2 groups.\n\n@param other the other group\n@return common parent of this and the other group", "docstring_tokens": ["Get", "the", "common", "parent", "of", "this", "and", "the", "other", "group", ".", "Cant", "fail", "since", "the", "root", "group", "is", "always", "a", "parent", "of", "any", "2", "groups", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Group.java#L305-L311", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Group.java", "func_name": "Group.isParent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Is this a parent of the other Group?\n\n@param other another Group\n@return true is it is equal or a parent", "docstring_tokens": ["Is", "this", "a", "parent", "of", "the", "other", "Group?"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Group.java#L319-L323", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Group.java", "func_name": "Group.setParentGroup", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the Group's parent Group\n\n@param parent parent group.", "docstring_tokens": ["Set", "the", "Group", "s", "parent", "Group"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Group.java#L449-L452", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Group.java", "func_name": "Group.addDimension", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds the specified shared dimension to this group.\n\n@param dim the dimension to add.\n@throws IllegalStateException if this dimension is {@link #setImmutable() immutable}.\n@throws IllegalArgumentException if {@code dim} isn't shared or a dimension with {@code dim}'s name already\nexists within the group.", "docstring_tokens": ["Adds", "the", "specified", "shared", "dimension", "to", "this", "group", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Group.java#L475-L487", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Group.java", "func_name": "Group.addDimensionIfNotExists", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds the specified shared dimension to this group, but only if another dimension with the same name doesn't\nalready exist.\n\n@param dim the dimension to add.\n@return {@code true} if {@code dim} was successfully added to the group. Otherwise, {@code false} will be returned,\nmeaning that a dimension with {@code dim}'s name already exists within the group.\n@throws IllegalStateException if this dimension is {@link #setImmutable() immutable}.\n@throws IllegalArgumentException if {@code dim} isn't shared.", "docstring_tokens": ["Adds", "the", "specified", "shared", "dimension", "to", "this", "group", "but", "only", "if", "another", "dimension", "with", "the", "same", "name", "doesn", "t", "already", "exist", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Group.java#L499-L512", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Group.java", "func_name": "Group.addGroup", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a nested Group\n\n@param g add this Group.", "docstring_tokens": ["Add", "a", "nested", "Group"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Group.java#L519-L527", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Group.java", "func_name": "Group.addEnumeration", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add an Enumeration\n\n@param e add this Enumeration.", "docstring_tokens": ["Add", "an", "Enumeration"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Group.java#L534-L539", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Group.java", "func_name": "Group.addVariable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a Variable\n\n@param v add this Variable.", "docstring_tokens": ["Add", "a", "Variable"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Group.java#L546-L557", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Group.java", "func_name": "Group.removeDimension", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "remove a Dimension using its name, in this group only\n\n@param dimName Dimension name.\n@return true if dimension found and removed", "docstring_tokens": ["remove", "a", "Dimension", "using", "its", "name", "in", "this", "group", "only"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Group.java#L598-L608", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Group.java", "func_name": "Group.makeRelativeGroup", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create groups to ensure path is defined\n\n@param ncf the containing netcdf file object\n@param path the path to the desired group\n@param ignorelast true => ignore last element in the path\n@return the Group, or null if not found", "docstring_tokens": ["Create", "groups", "to", "ensure", "path", "is", "defined"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Group.java#L689-L712", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/dap/DDS.java", "func_name": "DDS.convertDDSAliasFieldsToDASAliasFields", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method just makes sure that the attribute field in each Aliases resolves correctly\nif there ends up being a \"looseEnds\" Attribute Table at the top level.\n\n@param attribute\n@return\n@throws MalformedAliasException", "docstring_tokens": ["This", "method", "just", "makes", "sure", "that", "the", "attribute", "field", "in", "each", "Aliases", "resolves", "correctly", "if", "there", "ends", "up", "being", "a", "looseEnds", "Attribute", "Table", "at", "the", "top", "level", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/dap/DDS.java#L571-L604", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/dap/DDS.java", "func_name": "DDS.printDAS", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Print a DAS constructed from this DDS and it's BaseType variables.\n\n@param pw The PrintWriter to print to.", "docstring_tokens": ["Print", "a", "DAS", "constructed", "from", "this", "DDS", "and", "it", "s", "BaseType", "variables", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/dap/DDS.java#L826-L839", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/dap/DDS.java", "func_name": "DDS.getVariable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a reference to the named variable.\n\n@param name the name of the variable to return.\n@return the variable named name.\n@throws NoSuchVariableException if the variable isn't found.", "docstring_tokens": ["Returns", "a", "reference", "to", "the", "named", "variable", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/dap/DDS.java#L895-L900", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/geotiff/GeotiffWriter.java", "func_name": "GeotiffWriter.writeGrid", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write GridDatatype data to the geotiff file.\n\n@param dataset grid in contained in this dataset\n@param grid data is in this grid\n@param data 2D array in YX order\n@param greyScale if true, write greyScale image, else dataSample.\n@throws IOException on i/o error", "docstring_tokens": ["Write", "GridDatatype", "data", "to", "the", "geotiff", "file", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/geotiff/GeotiffWriter.java#L70-L105", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/geotiff/GeotiffWriter.java", "func_name": "GeotiffWriter.replaceMissingValues", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Replace missing values with dataMinMax.min - 1.0; return a floating point data array.\n\n@param grid GridDatatype\n@param data input data array\n@return floating point data array with missing values replaced.", "docstring_tokens": ["Replace", "missing", "values", "with", "dataMinMax", ".", "min", "-", "1", ".", "0", ";", "return", "a", "floating", "point", "data", "array", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/geotiff/GeotiffWriter.java#L273-L288", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/geotiff/GeotiffWriter.java", "func_name": "GeotiffWriter.replaceMissingValuesAndScale", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Replace missing values with 0; scale other values between 1 and 255, return a byte data array.\n\n@param grid GridDatatype\n@param data input data array\n@return byte data array with missing values replaced and data scaled from 1- 255.", "docstring_tokens": ["Replace", "missing", "values", "with", "0", ";", "scale", "other", "values", "between", "1", "and", "255", "return", "a", "byte", "data", "array", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/geotiff/GeotiffWriter.java#L297-L317", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/geotiff/GeotiffWriter.java", "func_name": "GeotiffWriter.geoShiftGetXstart", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "LOOK WTF ?? is this the seam crossing ??", "docstring_tokens": ["LOOK", "WTF", "??", "is", "this", "the", "seam", "crossing", "??"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/geotiff/GeotiffWriter.java#L508-L531", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/geotiff/GeotiffWriter.java", "func_name": "GeotiffWriter.writeGrid", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write GridCoverage data to the geotiff file.\n\n@param array GeoReferencedArray array in YX order\n@param greyScale if true, write greyScale image, else dataSample.\n@throws IOException on i/o error", "docstring_tokens": ["Write", "GridCoverage", "data", "to", "the", "geotiff", "file", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/geotiff/GeotiffWriter.java#L541-L595", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/server/wfs/WFSExceptionWriter.java", "func_name": "WFSExceptionWriter.write", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Given the information on construction, writes the necessary exception information.\n\n@param hsr the Servlet Response to write to\n@throws IOException", "docstring_tokens": ["Given", "the", "information", "on", "construction", "writes", "the", "necessary", "exception", "information", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/server/wfs/WFSExceptionWriter.java#L25-L38", "partition": "test"} +{"repo": "Unidata/thredds", "path": "netcdf4/src/main/java/ucar/nc2/jni/netcdf/Nc4wrapper.java", "func_name": "Nc4wrapper.nc_inq_libvers", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Begin API Override", "docstring_tokens": ["Begin", "API", "Override"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/netcdf4/src/main/java/ucar/nc2/jni/netcdf/Nc4wrapper.java#L63-L72", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/collection/GribCdmIndex.java", "func_name": "GribCdmIndex.makeTopIndexFileFromConfig", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This is only used for the top level GribCollection.\n\n@param config use this FeatureCollectionConfig\n@return index File", "docstring_tokens": ["This", "is", "only", "used", "for", "the", "top", "level", "GribCollection", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/collection/GribCdmIndex.java#L110-L118", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/collection/GribCdmIndex.java", "func_name": "GribCdmIndex.getType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find out what kind of index this is\n\n@param raf open RAF\n@return GribCollectionType\n@throws IOException on read error", "docstring_tokens": ["Find", "out", "what", "kind", "of", "index", "this", "is"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/collection/GribCdmIndex.java#L142-L163", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/collection/GribCdmIndex.java", "func_name": "GribCdmIndex.updateGribCollection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Update Grib Collection if needed\n\n@return true if the collection was updated", "docstring_tokens": ["Update", "Grib", "Collection", "if", "needed"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/collection/GribCdmIndex.java#L288-L330", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/collection/GribCdmIndex.java", "func_name": "GribCdmIndex.updateLeafCollection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Update all the gbx indices in one directory, and the ncx index for that directory\n\n@param config FeatureCollectionConfig\n@param dirPath directory path\n@return true if collection was rewritten, exception on failure", "docstring_tokens": ["Update", "all", "the", "gbx", "indices", "in", "one", "directory", "and", "the", "ncx", "index", "for", "that", "directory"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/collection/GribCdmIndex.java#L490-L512", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/collection/GribCdmIndex.java", "func_name": "GribCdmIndex.openGribCollectionFromRaf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Used by IOSPs", "docstring_tokens": ["Used", "by", "IOSPs"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/collection/GribCdmIndex.java#L717-L737", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/collection/GribCdmIndex.java", "func_name": "GribCdmIndex.openGribCollectionFromDataFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Open a grib collection from a single grib1 or grib2 file.\nCreate the gbx9 and ncx2 files if needed.\n\n@param isGrib1 true if grib1\n@param dataRaf the data file already open\n@param config special configuration\n@param updateType force writing index\n@return the resulting GribCollection\n@throws IOException on io error", "docstring_tokens": ["Open", "a", "grib", "collection", "from", "a", "single", "grib1", "or", "grib2", "file", ".", "Create", "the", "gbx9", "and", "ncx2", "files", "if", "needed", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/collection/GribCdmIndex.java#L750-L758", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/collection/GribCdmIndex.java", "func_name": "GribCdmIndex.openGribCollectionFromDataFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "from a single file, read in the index, create if it doesnt exist; return null on failure", "docstring_tokens": ["from", "a", "single", "file", "read", "in", "the", "index", "create", "if", "it", "doesnt", "exist", ";", "return", "null", "on", "failure"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/collection/GribCdmIndex.java#L763-L785", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/rc/RC.java", "func_name": "RC.urlMatch", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Match has different semantics than urlCompare", "docstring_tokens": ["Match", "has", "different", "semantics", "than", "urlCompare"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/rc/RC.java#L106-L125", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/rc/RC.java", "func_name": "RC.add", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Allow users to add to the default rc\n\n@param key\n@param value\n@param url null => not url specific", "docstring_tokens": ["Allow", "users", "to", "add", "to", "the", "default", "rc"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/rc/RC.java#L208-L216", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/rc/RC.java", "func_name": "RC.find", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Allow users to search the default rc\n\n@param key\n@param url null => not url specific\n@return value corresponding to key+url, or null if does not exist", "docstring_tokens": ["Allow", "users", "to", "search", "the", "default", "rc"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/rc/RC.java#L225-L231", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/rc/RC.java", "func_name": "RC.setWellKnown", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Record some well known parameters", "docstring_tokens": ["Record", "some", "well", "known", "parameters"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/rc/RC.java#L236-L246", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/rc/RC.java", "func_name": "RC.load", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "overwrite existing entries", "docstring_tokens": ["overwrite", "existing", "entries"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/rc/RC.java#L308-L362", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/rc/RC.java", "func_name": "RC.insert", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Allow for external loading", "docstring_tokens": ["Allow", "for", "external", "loading"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/rc/RC.java#L417-L425", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/thredds/client/catalog/DatasetNode.java", "func_name": "DatasetNode.getDatasetsLocal", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get top level datasets contained directly in this catalog.\nDo not dereference catRefs.", "docstring_tokens": ["Get", "top", "level", "datasets", "contained", "directly", "in", "this", "catalog", ".", "Do", "not", "dereference", "catRefs", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/thredds/client/catalog/DatasetNode.java#L59-L62", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/thredds/client/catalog/DatasetNode.java", "func_name": "DatasetNode.findDatasetByName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Look though all datasets here or under here. do not go into catrefs", "docstring_tokens": ["Look", "though", "all", "datasets", "here", "or", "under", "here", ".", "do", "not", "go", "into", "catrefs"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/thredds/client/catalog/DatasetNode.java#L81-L88", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/gis/GisFeatureRendererMulti.java", "func_name": "GisFeatureRendererMulti.setProjection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets new projection for subsequent drawing.\n\n@param project the new projection", "docstring_tokens": ["Sets", "new", "projection", "for", "subsequent", "drawing", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/gis/GisFeatureRendererMulti.java#L41-L51", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/gis/GisFeatureRendererMulti.java", "func_name": "GisFeatureRendererMulti.getShapes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "we have to deal with both projections and resolution-dependence", "docstring_tokens": ["we", "have", "to", "deal", "with", "both", "projections", "and", "resolution", "-", "dependence"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/gis/GisFeatureRendererMulti.java#L67-L128", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/gis/GisFeatureRendererMulti.java", "func_name": "GisFeatureRendererMulti.makeShapes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "make an ArrayList of Shapes from the given featureList and current display Projection", "docstring_tokens": ["make", "an", "ArrayList", "of", "Shapes", "from", "the", "given", "featureList", "and", "current", "display", "Projection"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/gis/GisFeatureRendererMulti.java#L131-L183", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/PrefixName.java", "func_name": "PrefixName.compareTo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compares this PrefixName with a string.\n@param string\t\tThe string to compare this PrefixName against.\n@return\t\t\tA negative value, zero, or a positive value\ndepending on whether this PrefixName is less\nthan, equal to, or greater than \nstring, respectively.", "docstring_tokens": ["Compares", "this", "PrefixName", "with", "a", "string", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/PrefixName.java#L55-L62", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/widget/StopButton.java", "func_name": "StopButton.startProgressMonitorTask", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The given task is run in a background thread.\nProgress is indicated once a second.\nYou cannot call this method again till the task is completed.\n@param pmt heres where the work is done.\n@return true task was started, false if still busy with previous task.", "docstring_tokens": ["The", "given", "task", "is", "run", "in", "a", "background", "thread", ".", "Progress", "is", "indicated", "once", "a", "second", ".", "You", "cannot", "call", "this", "method", "again", "till", "the", "task", "is", "completed", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/widget/StopButton.java#L115-L171", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/collection/GribPartitionBuilder.java", "func_name": "GribPartitionBuilder.needsUpdate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "LOOK need an option to only scan latest last partition or something", "docstring_tokens": ["LOOK", "need", "an", "option", "to", "only", "scan", "latest", "last", "partition", "or", "something"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/collection/GribPartitionBuilder.java#L73-L106", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft/fmrc/EnsCoord.java", "func_name": "EnsCoord.normalize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extend result with all the values in the list of EnsCoord\n\n@param result extend this coord\n@param ecList list of EnsCoord, may be empty", "docstring_tokens": ["Extend", "result", "with", "all", "the", "values", "in", "the", "list", "of", "EnsCoord"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft/fmrc/EnsCoord.java#L135-L151", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/ArrayStructure.java", "func_name": "ArrayStructure.setObject", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the index-th StructureData of this ArrayStructure.\n\n@param index which one to set.\n@param value must be type StructureData.", "docstring_tokens": ["Set", "the", "index", "-", "th", "StructureData", "of", "this", "ArrayStructure", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/ArrayStructure.java#L184-L188", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/ArrayStructure.java", "func_name": "ArrayStructure.getStructureData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the index-th StructureData of this ArrayStructure.\n\n@param index which one to get, specified by an integer.\n@return object of type StructureData.", "docstring_tokens": ["Get", "the", "index", "-", "th", "StructureData", "of", "this", "ArrayStructure", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/ArrayStructure.java#L206-L214", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/ArrayStructure.java", "func_name": "ArrayStructure.copyStructures", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "member data is itself a structure, and may be an array of structures.", "docstring_tokens": ["member", "data", "is", "itself", "a", "structure", "and", "may", "be", "an", "array", "of", "structures", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/ArrayStructure.java#L501-L506", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/ArrayStructure.java", "func_name": "ArrayStructure.getScalarObject", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get member data array of any type as an Object, eg, Float, Double, String, StructureData etc.\n\n@param recno get data from the recnum-th StructureData of the ArrayStructure. Must be less than getSize();\n@param m get data from this StructureMembers.Member.\n@return value as Float, Double, etc..", "docstring_tokens": ["Get", "member", "data", "array", "of", "any", "type", "as", "an", "Object", "eg", "Float", "Double", "String", "StructureData", "etc", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/ArrayStructure.java#L521-L557", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/ArrayStructure.java", "func_name": "ArrayStructure.convertScalarDouble", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get scalar value as a double, with conversion as needed. Underlying type must be convertible to double.\n\n@param recnum get data from the recnum-th StructureData of the ArrayStructure. Must be less than getSize();\n@param m member Variable.\n@return scalar double value\n@throws ForbiddenConversionException if not convertible to double.", "docstring_tokens": ["Get", "scalar", "value", "as", "a", "double", "with", "conversion", "as", "needed", ".", "Underlying", "type", "must", "be", "convertible", "to", "double", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/ArrayStructure.java#L585-L591", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/ArrayStructure.java", "func_name": "ArrayStructure.convertScalarInt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get scalar value as an int, with conversion as needed. Underlying type must be convertible to int.\n\n@param recnum get data from the recnum-th StructureData of the ArrayStructure. Must be less than getSize();\n@param m member Variable.\n@return scalar double value\n@throws ForbiddenConversionException if not convertible to double.", "docstring_tokens": ["Get", "scalar", "value", "as", "an", "int", "with", "conversion", "as", "needed", ".", "Underlying", "type", "must", "be", "convertible", "to", "int", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/ArrayStructure.java#L601-L611", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/ArrayStructure.java", "func_name": "ArrayStructure.getScalarFloat", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get scalar member data of type float.\n\n@param recnum get data from the recnum-th StructureData of the ArrayStructure. Must be less than getSize();\n@param m get data from this StructureMembers.Member. Must be of type float.\n@return scalar double value", "docstring_tokens": ["Get", "scalar", "member", "data", "of", "type", "float", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/ArrayStructure.java#L667-L672", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/ArrayStructure.java", "func_name": "ArrayStructure.getScalarByte", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get scalar member data of type byte.\n\n@param recnum get data from the recnum-th StructureData of the ArrayStructure. Must be less than getSize();\n@param m get data from this StructureMembers.Member. Must be of type byte.\n@return scalar double value", "docstring_tokens": ["Get", "scalar", "member", "data", "of", "type", "byte", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/ArrayStructure.java#L699-L704", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/ArrayStructure.java", "func_name": "ArrayStructure.getScalarShort", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get scalar member data of type short.\n\n@param recnum get data from the recnum-th StructureData of the ArrayStructure. Must be less than getSize();\n@param m get data from this StructureMembers.Member. Must be of type short.\n@return scalar double value", "docstring_tokens": ["Get", "scalar", "member", "data", "of", "type", "short", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/ArrayStructure.java#L731-L736", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/ArrayStructure.java", "func_name": "ArrayStructure.getScalarChar", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get scalar member data of type char.\n\n@param recnum get data from the recnum-th StructureData of the ArrayStructure. Must be less than getSize();\n@param m get data from this StructureMembers.Member. Must be of type char.\n@return scalar double value", "docstring_tokens": ["Get", "scalar", "member", "data", "of", "type", "char", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/ArrayStructure.java#L827-L832", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/ArrayStructure.java", "func_name": "ArrayStructure.getScalarString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get member data of type String or char.\n\n@param recnum get data from the recnum-th StructureData of the ArrayStructure. Must be less than getSize();\n@param m get data from this StructureMembers.Member. Must be of type String or char.\n@return scalar String value", "docstring_tokens": ["Get", "member", "data", "of", "type", "String", "or", "char", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/ArrayStructure.java#L859-L871", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/ArrayStructure.java", "func_name": "ArrayStructure.getArrayStructure", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get member data of type array of Structure.\n\n@param recnum get data from the recnum-th StructureData of the ArrayStructure. Must be less than getSize();\n@param m get data from this StructureMembers.Member. Must be of type Structure.\n@return nested ArrayStructure.", "docstring_tokens": ["Get", "member", "data", "of", "type", "array", "of", "Structure", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/ArrayStructure.java#L925-L941", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/ArrayStructure.java", "func_name": "ArrayStructure.getArraySequence", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get member data of type ArraySequence\n\n@param recnum get data from the recnum-th StructureData of the ArrayStructure. Must be less than getSize();\n@param m get data from this StructureMembers.Member. Must be of type Structure.\n@return nested ArrayStructure.", "docstring_tokens": ["Get", "member", "data", "of", "type", "ArraySequence"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/ArrayStructure.java#L950-L957", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/ArrayStructure.java", "func_name": "ArrayStructure.getArrayObject", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get member data of type ArrayObject\n\n@param recnum get data from the recnum-th StructureData of the ArrayStructure. Must be less than getSize();\n@param m get data from this StructureMembers.Member. Must be of type Structure.\n@return ArrayObject.", "docstring_tokens": ["Get", "member", "data", "of", "type", "ArrayObject"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/ArrayStructure.java#L966-L972", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/util/CoreTypeFcns.java", "func_name": "CoreTypeFcns.minmax", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Peg a value to either the min or max\ndepending on sign.\n\n@param value the value to peg\n@param min peg to this if value is < min\n@param max peg to this if value is > max\n@return pegg'ed value", "docstring_tokens": ["Peg", "a", "value", "to", "either", "the", "min", "or", "max", "depending", "on", "sign", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/util/CoreTypeFcns.java#L140-L146", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/ce/CEConstraint.java", "func_name": "CEConstraint.eval", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Evaluate a filter with respect to a Sequence record.\nAssumes the filter has been canonicalized so that\nthe lhs is a variable.\n\n@param seq the template\n@param record the record to evaluate\n@param expr the filter\n@throws DapException\n@returns the value of the expression (usually a Boolean)", "docstring_tokens": ["Evaluate", "a", "filter", "with", "respect", "to", "a", "Sequence", "record", ".", "Assumes", "the", "filter", "has", "been", "canonicalized", "so", "that", "the", "lhs", "is", "a", "variable", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/ce/CEConstraint.java#L332-L372", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/ce/CEConstraint.java", "func_name": "CEConstraint.toConstraintString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert the view to a constraint string suitable\nfor use in a URL, except not URL encoded.\n\n@return constraint string", "docstring_tokens": ["Convert", "the", "view", "to", "a", "constraint", "string", "suitable", "for", "use", "in", "a", "URL", "except", "not", "URL", "encoded", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/ce/CEConstraint.java#L551-L564", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/ce/CEConstraint.java", "func_name": "CEConstraint.references", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reference X match\n\n@param node to test\n@return true if node is referenced by this constraint", "docstring_tokens": ["Reference", "X", "match"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/ce/CEConstraint.java#L634-L658", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/ce/CEConstraint.java", "func_name": "CEConstraint.matches", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Evaluate a filter with respect to a Sequence record.\n\n@param seq the template\n@param rec the record to evaluate\n@param filter the filter\n@throws DapException\n@returns true if a match", "docstring_tokens": ["Evaluate", "a", "filter", "with", "respect", "to", "a", "Sequence", "record", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/ce/CEConstraint.java#L746-L752", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/ce/CEConstraint.java", "func_name": "CEConstraint.expansionCount", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Count the number of fields of a structure that\nalready in this view.\n\n@param struct the dapstructure to check\n@return # of fields in this view\n@throws DapException", "docstring_tokens": ["Count", "the", "number", "of", "fields", "of", "a", "structure", "that", "already", "in", "this", "view", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/ce/CEConstraint.java#L885-L893", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/ce/CEConstraint.java", "func_name": "CEConstraint.computeenums", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Walk all the included variables and accumulate\nthe referenced enums", "docstring_tokens": ["Walk", "all", "the", "included", "variables", "and", "accumulate", "the", "referenced", "enums"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/ce/CEConstraint.java#L1033-L1045", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/ce/CEConstraint.java", "func_name": "CEConstraint.computegroups", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Walk all the included declarations\nand accumulate the set of referenced groups", "docstring_tokens": ["Walk", "all", "the", "included", "declarations", "and", "accumulate", "the", "set", "of", "referenced", "groups"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/ce/CEConstraint.java#L1051-L1080", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/ce/CEConstraint.java", "func_name": "CEConstraint.compile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Static Utility for compiling a constraint string", "docstring_tokens": ["Static", "Utility", "for", "compiling", "a", "constraint", "string"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/ce/CEConstraint.java#L1085-L1112", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/collection/Grib2Iosp.java", "func_name": "Grib2Iosp.isValidFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "accept grib2 or ncx files", "docstring_tokens": ["accept", "grib2", "or", "ncx", "files"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/collection/Grib2Iosp.java#L192-L206", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/thredds/ui/catalog/ThreddsUI.java", "func_name": "ThreddsUI.makeActionsSystem", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "actions that are system-wide", "docstring_tokens": ["actions", "that", "are", "system", "-", "wide"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/thredds/ui/catalog/ThreddsUI.java#L340-L425", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakFileReader.java", "func_name": "GempakFileReader.getByteOrder", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the byte order for the machine type.\n\n@param kmachn maching type\n@return byte order", "docstring_tokens": ["Get", "the", "byte", "order", "for", "the", "machine", "type", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakFileReader.java#L228-L234", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakFileReader.java", "func_name": "GempakFileReader.setByteOrder", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "LOOK WTF ??\nSet the machine type for this system.\n\n@see http://lopica.sourceforge.net/os.html", "docstring_tokens": ["LOOK", "WTF", "??", "Set", "the", "machine", "type", "for", "this", "system", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakFileReader.java#L242-L253", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakFileReader.java", "func_name": "GempakFileReader.findKey", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find a key with the given name\n\n@param name the name of the key\n@return the key or null;", "docstring_tokens": ["Find", "a", "key", "with", "the", "given", "name"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakFileReader.java#L1071-L1089", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakFileReader.java", "func_name": "GempakFileReader.findFileHeader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find the file header with this name\n\n@param name name of header\n@return headerinfo or null if not found", "docstring_tokens": ["Find", "the", "file", "header", "with", "this", "name"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakFileReader.java#L1155-L1165", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakFileReader.java", "func_name": "GempakFileReader.getFileHeader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read in the values for the file header\n\n@param name name of header\n@return values or null if not found\n@throws IOException problem reading file", "docstring_tokens": ["Read", "in", "the", "values", "for", "the", "file", "header"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakFileReader.java#L1174-L1205", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakFileReader.java", "func_name": "GempakFileReader.printParts", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Print the part information", "docstring_tokens": ["Print", "the", "part", "information"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakFileReader.java#L1250-L1258", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakFileReader.java", "func_name": "GempakFileReader.getDataPointer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the pointer to the data. Taken from DM_RDTR\n\n@param irow row number\n@param icol column number\n@param partName name of the part\n@return word (1 based) of start of data.", "docstring_tokens": ["Get", "the", "pointer", "to", "the", "data", ".", "Taken", "from", "DM_RDTR"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakFileReader.java#L1307-L1332", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakFileReader.java", "func_name": "GempakFileReader.DM_RFLT", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a float\n\n@param word word in file (1 based) to read\n@return float read\n@throws IOException problem reading file", "docstring_tokens": ["Read", "a", "float"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakFileReader.java#L1408-L1434", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakFileReader.java", "func_name": "GempakFileReader.DM_RSTR", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a String\n\n@param isword offset in file (1 based FORTRAN word)\n@param nchar number of characters to read\n@return String read\n@throws IOException problem reading file", "docstring_tokens": ["Read", "a", "String"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakFileReader.java#L1488-L1494", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakFileReader.java", "func_name": "GempakFileReader.DM_UNPK", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Unpack an array of packed integers.\n\n@param part the part with packing info\n@param ibitst packed integer bit string\n@return unpacked ints as floats", "docstring_tokens": ["Unpack", "an", "array", "of", "packed", "integers", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakFileReader.java#L1603-L1665", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakFileReader.java", "func_name": "GempakFileReader.getBits", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a bit string for an integer\n\n@param b the integer\n@return a bit string (e.g.: 01100001|11000000|10011010|10110100|)", "docstring_tokens": ["Get", "a", "bit", "string", "for", "an", "integer"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakFileReader.java#L1673-L1686", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/netcdf3/N3channelWriter.java", "func_name": "N3channelWriter.writeToChannel", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write ncfile to a WritableByteChannel.\n\n@param ncfile the file to write\n@param wbc write to this WritableByteChannel.\nIf its a Socket, must have been opened through a call to java.nio.channels.SocketChannel.open()\n@throws IOException on IO error\n@throws InvalidRangeException range error", "docstring_tokens": ["Write", "ncfile", "to", "a", "WritableByteChannel", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/netcdf3/N3channelWriter.java#L129-L137", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/dap/parsers/DDSXMLParser.java", "func_name": "DDSXMLParser.parseBase", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method recursively travels through the DOM tree, locating\nBaseType derived nodes and placing them in the DDS. The structure\nof the BaseType derived elements in the XML instance document\nis captured in the DOM object that is being parsed. This structure\nagain reflected in the resulting DDS.", "docstring_tokens": ["This", "method", "recursively", "travels", "through", "the", "DOM", "tree", "locating", "BaseType", "derived", "nodes", "and", "placing", "them", "in", "the", "DDS", ".", "The", "structure", "of", "the", "BaseType", "derived", "elements", "in", "the", "XML", "instance", "document", "is", "captured", "in", "the", "DOM", "object", "that", "is", "being", "parsed", ".", "This", "structure", "again", "reflected", "in", "the", "resulting", "DDS", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/dap/parsers/DDSXMLParser.java#L256-L341", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/dap/parsers/DDSXMLParser.java", "func_name": "DDSXMLParser.parseGrid", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Grids are unusual examples of DConstructor and require special\nhandling when parsing.", "docstring_tokens": ["Grids", "are", "unusual", "examples", "of", "DConstructor", "and", "require", "special", "handling", "when", "parsing", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/dap/parsers/DDSXMLParser.java#L496-L556", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/dap/parsers/DDSXMLParser.java", "func_name": "DDSXMLParser.parseAliases", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse all of the Alias tags in this element of the XML document.\nAdd each one to the correct Attribute Table.", "docstring_tokens": ["Parse", "all", "of", "the", "Alias", "tags", "in", "this", "element", "of", "the", "XML", "document", ".", "Add", "each", "one", "to", "the", "correct", "Attribute", "Table", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/dap/parsers/DDSXMLParser.java#L851-L889", "partition": "test"} +{"repo": "Unidata/thredds", "path": "bufr/src/main/java/ucar/nc2/iosp/bufr/DataDescriptorTreeConstructor.java", "func_name": "DataDescriptorTreeConstructor.decode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "convert ids to DataDescriptors, expand table D", "docstring_tokens": ["convert", "ids", "to", "DataDescriptors", "expand", "table", "D"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/bufr/src/main/java/ucar/nc2/iosp/bufr/DataDescriptorTreeConstructor.java#L55-L73", "partition": "test"} +{"repo": "Unidata/thredds", "path": "bufr/src/main/java/ucar/nc2/iosp/bufr/DataDescriptorTreeConstructor.java", "func_name": "DataDescriptorTreeConstructor.replicate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "look for replication, move replicated items into subtree", "docstring_tokens": ["look", "for", "replication", "move", "replicated", "items", "into", "subtree"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/bufr/src/main/java/ucar/nc2/iosp/bufr/DataDescriptorTreeConstructor.java#L76-L120", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/servers/ServerDDS.java", "func_name": "ServerDDS.getDatasetFilename", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the dataset filename.\n\n@return The filename of the dataset.\n@see #setDatasetFilename(String)", "docstring_tokens": ["Get", "the", "dataset", "filename", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/servers/ServerDDS.java#L142-L146", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakSurfaceIOSP.java", "func_name": "GempakSurfaceIOSP.getCFFeatureType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the CF feature type\n\n@return the feature type", "docstring_tokens": ["Get", "the", "CF", "feature", "type"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakSurfaceIOSP.java#L86-L91", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/Misc.java", "func_name": "Misc.nearlyEqualsAbs", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if two numbers are nearly equal with given absolute tolerance.\n\n@param a first number.\n@param b second number.\n@param maxAbsDiff the maximum {@link #absoluteDifference absolute difference} the two numbers may have.\n@return true if within tolerance.", "docstring_tokens": ["Check", "if", "two", "numbers", "are", "nearly", "equal", "with", "given", "absolute", "tolerance", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/Misc.java#L137-L139", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4core/src/main/java/dap4/core/ce/Universal.java", "func_name": "Universal.references", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Selected consult or iterator overrides for efficiency", "docstring_tokens": ["Selected", "consult", "or", "iterator", "overrides", "for", "efficiency"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4core/src/main/java/dap4/core/ce/Universal.java#L84-L98", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/UnitFormatImpl.java", "func_name": "UnitFormatImpl.parse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses a unit specification. This method is thread-safe.\n\n@param spec\nThe unit specification (e.g. \"m/s\");\n@return The unit corresponding to the specification.\n@throws NoSuchUnitException\nA unit in the specification couldn't be found (e.g. the \"m\"\nin the example).\n@throws UnitParseException\nThe specification is grammatically incorrect.\n@throws SpecificationException\nThe specification is incorrect somehow.\n@throws UnitDBException\nProblem with the unit database.\n@throws PrefixDBException\nProblem with the unit-prefix database.\n@throws UnitSystemException\nProblem with the system of units.", "docstring_tokens": ["Parses", "a", "unit", "specification", ".", "This", "method", "is", "thread", "-", "safe", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/UnitFormatImpl.java#L40-L46", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/util/Tools.java", "func_name": "Tools.probeObject", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Show me lots of stuff about the passed in object", "docstring_tokens": ["Show", "me", "lots", "of", "stuff", "about", "the", "passed", "in", "object"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/util/Tools.java#L57-L99", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ncml/AggregationTiled.java", "func_name": "AggregationTiled.isTiled", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "a variable is tiled if any of its dimensions are tiled", "docstring_tokens": ["a", "variable", "is", "tiled", "if", "any", "of", "its", "dimensions", "are", "tiled"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ncml/AggregationTiled.java#L111-L119", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/coord/CoordinateTimeAbstract.java", "func_name": "CoordinateTimeAbstract.makeBestFromComplete", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Implements coverting a \"complete best\" to a \"monotonic best\".\nThe reftime is not allowed to decrease\n@return \"monotonic best\" CoordinateTimeAbstract, based on this one, which is a \"complete best\"", "docstring_tokens": ["Implements", "coverting", "a", "complete", "best", "to", "a", "monotonic", "best", ".", "The", "reftime", "is", "not", "allowed", "to", "decrease"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/coord/CoordinateTimeAbstract.java#L104-L119", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/geoloc/projection/LatLonProjection.java", "func_name": "LatLonProjection.latLonToProjRect", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Split a latlon rectangle to the equivalent ProjectionRect\nusing this LatLonProjection to split it at the seam if needed.\n\n@param latlonR the latlon rectangle to transform\n@return 1 or 2 ProjectionRect. If it doesnt cross the seam,\nthe second rectangle is null.", "docstring_tokens": ["Split", "a", "latlon", "rectangle", "to", "the", "equivalent", "ProjectionRect", "using", "this", "LatLonProjection", "to", "split", "it", "at", "the", "seam", "if", "needed", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/geoloc/projection/LatLonProjection.java#L320-L344", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/thredds/ui/monitor/AccessLogTable.java", "func_name": "AccessLogTable.showTimeSeriesAll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "construct the TImeSeries plot for the list of logs passed in", "docstring_tokens": ["construct", "the", "TImeSeries", "plot", "for", "the", "list", "of", "logs", "passed", "in"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/thredds/ui/monitor/AccessLogTable.java#L614-L666", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Attribute.java", "func_name": "Attribute.makeMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Turn a list into a map\n\n@param atts list of attributes\n@return map of attributes by name", "docstring_tokens": ["Turn", "a", "list", "into", "a", "map"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Attribute.java#L47-L54", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Attribute.java", "func_name": "Attribute.getValues", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the value as an Array.\n\n@return Array of values.", "docstring_tokens": ["Get", "the", "value", "as", "an", "Array", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Attribute.java#L118-L125", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Attribute.java", "func_name": "Attribute.getNumericValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retrieve a numeric value by index. If it's a String, it will try to parse it as a double.\n\n@param index the index into the value array.\n@return Number value[index], or null if its a non-parseable String or\nthe index is out of range.", "docstring_tokens": ["Retrieve", "a", "numeric", "value", "by", "index", ".", "If", "it", "s", "a", "String", "it", "will", "try", "to", "parse", "it", "as", "a", "double", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Attribute.java#L194-L224", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Attribute.java", "func_name": "Attribute.writeCDL", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write CDL representation into f\n\n@param f write into this\n@param strict if true, create strict CDL, escaping names", "docstring_tokens": ["Write", "CDL", "representation", "into", "f"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Attribute.java#L254-L310", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Attribute.java", "func_name": "Attribute.setStringValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "set the value as a String, trimming trailing zeroes\n\n@param val value of Attribute", "docstring_tokens": ["set", "the", "value", "as", "a", "String", "trimming", "trailing", "zeroes"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Attribute.java#L460-L478", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Attribute.java", "func_name": "Attribute.setValues", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "set the values from a list\n\n@param values", "docstring_tokens": ["set", "the", "values", "from", "a", "list"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Attribute.java#L500-L540", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Attribute.java", "func_name": "Attribute.setValues", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "set the values from an Array\n\n@param arr value of Attribute", "docstring_tokens": ["set", "the", "values", "from", "an", "Array"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Attribute.java#L548-L596", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/cataloggen/CollectionLevelScanner.java", "func_name": "CollectionLevelScanner.scan", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Scan the collection and gather information on contained datasets.\n\n@throws IOException if an I/O error occurs while locating the contained datasets.", "docstring_tokens": ["Scan", "the", "collection", "and", "gather", "information", "on", "contained", "datasets", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/cataloggen/CollectionLevelScanner.java#L475-L556", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/cataloggen/CollectionLevelScanner.java", "func_name": "CollectionLevelScanner.generateProxyDsResolverCatalog", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generate the catalog for a resolver request of the given ProxyDatasetHandler.\n\n@param pdh the ProxyDatasetHandler corresponding to the resolver request.\n@return the catalog for a resolver request of the given proxy dataset.\n@throws IllegalStateException if this collection has not yet been scanned.\n@throws IllegalArgumentException if the given ProxyDatasetHandler is not known by this CollectionLevelScanner.", "docstring_tokens": ["Generate", "the", "catalog", "for", "a", "resolver", "request", "of", "the", "given", "ProxyDatasetHandler", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/cataloggen/CollectionLevelScanner.java#L604-L633", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ldm/src/main/thredds/ldm/MessageWriter.java", "func_name": "MessageWriter.scheduleWrite", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "put a message on the queue, schedule writing if not already scheduled.", "docstring_tokens": ["put", "a", "message", "on", "the", "queue", "schedule", "writing", "if", "not", "already", "scheduled", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ldm/src/main/thredds/ldm/MessageWriter.java#L67-L72", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/ToolsUI.java", "func_name": "ToolsUI.setThreddsDatatype", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Jump to the appropriate tab based on datatype of InvDataset", "docstring_tokens": ["Jump", "to", "the", "appropriate", "tab", "based", "on", "datatype", "of", "InvDataset"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/ToolsUI.java#L1012-L1046", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/ToolsUI.java", "func_name": "ToolsUI.jumptoThreddsDatatype", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "jump to the appropriate tab based on datatype of InvAccess", "docstring_tokens": ["jump", "to", "the", "appropriate", "tab", "based", "on", "datatype", "of", "InvAccess"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/ToolsUI.java#L1049-L1104", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/ToolsUI.java", "func_name": "ToolsUI.jumptoThreddsDatatype", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Jump to the appropriate tab based on datatype of threddsData", "docstring_tokens": ["Jump", "to", "the", "appropriate", "tab", "based", "on", "datatype", "of", "threddsData"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/ToolsUI.java#L1109-L1160", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/ToolsUI.java", "func_name": "ToolsUI.setDataset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Handle messages.", "docstring_tokens": ["Handle", "messages", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/ToolsUI.java#L1288-L1305", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/ToolsUI.java", "func_name": "ToolsUI.prepareGui", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set look-and-feel.", "docstring_tokens": ["Set", "look", "-", "and", "-", "feel", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/ToolsUI.java#L1310-L1358", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/ToolsUI.java", "func_name": "ToolsUI.createToolsFrame", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Must call this method on the event thread.", "docstring_tokens": ["Must", "call", "this", "method", "on", "the", "event", "thread", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/ToolsUI.java#L1363-L1406", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/CoordinateSystem.java", "func_name": "CoordinateSystem.makeName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create standard name from list of axes. Sort the axes first\n@param axes list of CoordinateAxis\n@return CoordinateSystem name, created from axes names", "docstring_tokens": ["Create", "standard", "name", "from", "list", "of", "axes", ".", "Sort", "the", "axes", "first"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/CoordinateSystem.java#L55-L65", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/CoordinateSystem.java", "func_name": "CoordinateSystem.lesserRank", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "prefer smaller ranks, in case more than one", "docstring_tokens": ["prefer", "smaller", "ranks", "in", "case", "more", "than", "one"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/CoordinateSystem.java#L125-L128", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/CoordinateSystem.java", "func_name": "CoordinateSystem.findAxis", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find the CoordinateAxis that has the given AxisType.\nIf more than one, return the one with lesser rank.\n@param type look for this axisType\n@return CoordinateAxis of the given AxisType, else null.", "docstring_tokens": ["Find", "the", "CoordinateAxis", "that", "has", "the", "given", "AxisType", ".", "If", "more", "than", "one", "return", "the", "one", "with", "lesser", "rank", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/CoordinateSystem.java#L201-L209", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/CoordinateSystem.java", "func_name": "CoordinateSystem.getProjectionCT", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find the first ProjectionCT from the list of CoordinateTransforms.\n@return ProjectionCT or null if none.", "docstring_tokens": ["Find", "the", "first", "ProjectionCT", "from", "the", "list", "of", "CoordinateTransforms", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/CoordinateSystem.java#L288-L294", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/CoordinateSystem.java", "func_name": "CoordinateSystem.isGeoXY", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "true if it has X and Y CoordinateAxis, and a CoordTransform Projection\n@return true if it has X and Y CoordinateAxis, and a CoordTransform Projection", "docstring_tokens": ["true", "if", "it", "has", "X", "and", "Y", "CoordinateAxis", "and", "a", "CoordTransform", "Projection"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/CoordinateSystem.java#L317-L320", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/CoordinateSystem.java", "func_name": "CoordinateSystem.isRegular", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "true if all axes are CoordinateAxis1D and are regular\n\n@return true if all axes are CoordinateAxis1D and are regular", "docstring_tokens": ["true", "if", "all", "axes", "are", "CoordinateAxis1D", "and", "are", "regular"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/CoordinateSystem.java#L353-L359", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/CoordinateSystem.java", "func_name": "CoordinateSystem.isSubset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Test if all the Dimensions in subset are in set\n@param subset is this a subset\n@param set of this?\n@return true if all the Dimensions in subset are in set", "docstring_tokens": ["Test", "if", "all", "the", "Dimensions", "in", "subset", "are", "in", "set"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/CoordinateSystem.java#L388-L394", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/CoordinateSystem.java", "func_name": "CoordinateSystem.containsAxes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Do we have all the axes in the list?\n@param wantAxes List of CoordinateAxis\n@return true if all in our list.", "docstring_tokens": ["Do", "we", "have", "all", "the", "axes", "in", "the", "list?"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/CoordinateSystem.java#L443-L449", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/CoordinateSystem.java", "func_name": "CoordinateSystem.containsAxis", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Do we have the named axis?\n@param axisName (full unescaped) name of axis\n@return true if we have an axis of that name", "docstring_tokens": ["Do", "we", "have", "the", "named", "axis?"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/CoordinateSystem.java#L456-L462", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/CoordinateSystem.java", "func_name": "CoordinateSystem.containsDomain", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Do we have all the dimensions in the list?\n@param wantDimensions List of Dimensions\n@return true if all in our list.", "docstring_tokens": ["Do", "we", "have", "all", "the", "dimensions", "in", "the", "list?"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/CoordinateSystem.java#L469-L475", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/CoordinateSystem.java", "func_name": "CoordinateSystem.containsAxisTypes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Do we have all the axes types in the list?\n@param wantAxes List of AxisType\n@return true if all in our list.", "docstring_tokens": ["Do", "we", "have", "all", "the", "axes", "types", "in", "the", "list?"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/CoordinateSystem.java#L482-L487", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/CoordinateSystem.java", "func_name": "CoordinateSystem.containsAxisType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Do we have an axes of the given type?\n@param wantAxisType want this AxisType\n@return true if we have at least one axis of that type.", "docstring_tokens": ["Do", "we", "have", "an", "axes", "of", "the", "given", "type?"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/CoordinateSystem.java#L495-L500", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/dap/DAPNode.java", "func_name": "DAPNode.cloneDAG", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This procedure does the actual recursive clone.\n@param map list of previously cloned nodes\n@return clone of this node\n@throws CloneNotSupportedException", "docstring_tokens": ["This", "procedure", "does", "the", "actual", "recursive", "clone", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/dap/DAPNode.java#L284-L294", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/util/prefs/ui/BeanTable.java", "func_name": "BeanTable.getSelectedBean", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the currently selected bean, or null if none selected.\n\n@return the currently selected bean, or null if none selected", "docstring_tokens": ["Get", "the", "currently", "selected", "bean", "or", "null", "if", "none", "selected", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/util/prefs/ui/BeanTable.java#L265-L271", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/util/prefs/ui/BeanTable.java", "func_name": "BeanTable.getSelectedBeans", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the currently selected beans. Use this for multiple selection\n\n@return ArrayList of currently selected beans (wont be null).\n@see #setSelectionMode", "docstring_tokens": ["Get", "the", "currently", "selected", "beans", ".", "Use", "this", "for", "multiple", "selection"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/util/prefs/ui/BeanTable.java#L279-L288", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/util/prefs/ui/BeanTable.java", "func_name": "BeanTable.getSelectedCells", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the currently selected cells.\nUse this for multiple row selection, when columnSelection is on\n\n@return ArrayList of currently selected cells (wont be null).\n@see BeanTable#setSelectionMode(int).", "docstring_tokens": ["Get", "the", "currently", "selected", "cells", ".", "Use", "this", "for", "multiple", "row", "selection", "when", "columnSelection", "is", "on"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/util/prefs/ui/BeanTable.java#L297-L309", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/util/prefs/ui/BeanTable.java", "func_name": "BeanTable.setSelectedBean", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set which row is selected.\n\n@param bean select this one; must be in the list.", "docstring_tokens": ["Set", "which", "row", "is", "selected", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/util/prefs/ui/BeanTable.java#L384-L392", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/util/prefs/ui/BeanTable.java", "func_name": "BeanTable.restoreState", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Restore state from PreferencesExt", "docstring_tokens": ["Restore", "state", "from", "PreferencesExt"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/util/prefs/ui/BeanTable.java#L487-L517", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/UnknownUnit.java", "func_name": "UnknownUnit.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Factory method for constructing an unknown unit from a name.\n\n@param name The name of the unit.\n@return The unknown unit.\n@throws NameException name == null.", "docstring_tokens": ["Factory", "method", "for", "constructing", "an", "unknown", "unit", "from", "a", "name", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/UnknownUnit.java#L44-L56", "partition": "test"} +{"repo": "Unidata/thredds", "path": "httpservices/src/main/java/ucar/httpservices/HTTPMethodStream.java", "func_name": "HTTPMethodStream.close", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Closes this input stream and releases any system resources associated\nwith the stream; closes the method also.\n\n@exception IOException if an I/O error occurs; but not if close\nis called twice.", "docstring_tokens": ["Closes", "this", "input", "stream", "and", "releases", "any", "system", "resources", "associated", "with", "the", "stream", ";", "closes", "the", "method", "also", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/httpservices/src/main/java/ucar/httpservices/HTTPMethodStream.java#L61-L73", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft/point/standard/NestedTable.java", "func_name": "NestedTable.isExtra", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Has v already been added to the set of extra variables?", "docstring_tokens": ["Has", "v", "already", "been", "added", "to", "the", "set", "of", "extra", "variables?"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft/point/standard/NestedTable.java#L169-L171", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft/point/standard/NestedTable.java", "func_name": "NestedTable.isCoordinate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Is v a coordinate axis for this feature type?", "docstring_tokens": ["Is", "v", "a", "coordinate", "axis", "for", "this", "feature", "type?"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft/point/standard/NestedTable.java#L174-L183", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft/point/standard/NestedTable.java", "func_name": "NestedTable.findCoordinateAxis", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "find a coord axis of the given type in the table and its parents", "docstring_tokens": ["find", "a", "coord", "axis", "of", "the", "given", "type", "in", "the", "table", "and", "its", "parents"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft/point/standard/NestedTable.java#L186-L225", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft/point/standard/NestedTable.java", "func_name": "NestedTable.addDataVariables", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "use recursion so that parent variables come first", "docstring_tokens": ["use", "recursion", "so", "that", "parent", "variables", "come", "first"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft/point/standard/NestedTable.java#L481-L488", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft/point/standard/NestedTable.java", "func_name": "NestedTable.addParentJoin", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "add table join to this cursor level", "docstring_tokens": ["add", "table", "join", "to", "this", "cursor", "level"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft/point/standard/NestedTable.java#L629-L640", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft/point/standard/NestedTable.java", "func_name": "NestedTable.makeStation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "also called from StandardPointFeatureIterator", "docstring_tokens": ["also", "called", "from", "StandardPointFeatureIterator"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft/point/standard/NestedTable.java#L689-L704", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4cdm/src/main/java/dap4/cdm/nc2/DMRToCDM.java", "func_name": "DMRToCDM.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Do the conversion and return a NodeMap\nrepresenting the conversion.\n\n@throws DapException", "docstring_tokens": ["Do", "the", "conversion", "and", "return", "a", "NodeMap", "representing", "the", "conversion", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4cdm/src/main/java/dap4/cdm/nc2/DMRToCDM.java#L69-L78", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/units/SimpleUnit.java", "func_name": "SimpleUnit.factory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a SimpleUnit from the given name, catch Exceptions.\n\n@param name parse this name to create a unit.\n@return SimpleUnit, DateUnit, TimeUnit, or null if failed\n@see ucar.units.UnitFormat#parse", "docstring_tokens": ["Create", "a", "SimpleUnit", "from", "the", "given", "name", "catch", "Exceptions", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/units/SimpleUnit.java#L60-L67", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/units/SimpleUnit.java", "func_name": "SimpleUnit.factoryWithExceptions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a SimpleUnit from the given name, allow Exceptions.\n\n@param name parse this name to create a unit.\n@return SimpleUnit, DateUnit, or TimeUnit\n@throws Exception when date parser fails\n@see ucar.units.UnitFormat#parse", "docstring_tokens": ["Create", "a", "SimpleUnit", "from", "the", "given", "name", "allow", "Exceptions", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/units/SimpleUnit.java#L77-L83", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/units/SimpleUnit.java", "func_name": "SimpleUnit.makeUnit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "need subclass access", "docstring_tokens": ["need", "subclass", "access"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/units/SimpleUnit.java#L86-L89", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/units/SimpleUnit.java", "func_name": "SimpleUnit.isCompatibleWithExceptions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return true if unitString1 is convertible to unitString2\n\n@param unitString1 compare this unit\n@param unitString2 compare this unit\n@return true if the 2 units are compatible\n@throws UnitException if units parsing fails", "docstring_tokens": ["Return", "true", "if", "unitString1", "is", "convertible", "to", "unitString2"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/units/SimpleUnit.java#L129-L134", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/units/SimpleUnit.java", "func_name": "SimpleUnit.isDateUnit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return true if this ucar.units.Unit is a Date.\n\n@param uu check this Unit\n@return true if its a Date", "docstring_tokens": ["Return", "true", "if", "this", "ucar", ".", "units", ".", "Unit", "is", "a", "Date", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/units/SimpleUnit.java#L142-L151", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/units/SimpleUnit.java", "func_name": "SimpleUnit.isTimeUnit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return true if the given unit is a time Unit, eg \"seconds\".\n\n@param unitString check this unit string\n@return true if its a Time", "docstring_tokens": ["Return", "true", "if", "the", "given", "unit", "is", "a", "time", "Unit", "eg", "seconds", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/units/SimpleUnit.java#L182-L185", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/units/SimpleUnit.java", "func_name": "SimpleUnit.getConversionFactor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the conversion factor to convert inputUnit to outputUnit.\n\n@param inputUnitString inputUnit in string form\n@param outputUnitString outputUnit in string form\n@return conversion factor\n@throws IllegalArgumentException if not convertible", "docstring_tokens": ["Get", "the", "conversion", "factor", "to", "convert", "inputUnit", "to", "outputUnit", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/units/SimpleUnit.java#L195-L199", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/units/SimpleUnit.java", "func_name": "SimpleUnit.convertTo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert given value of this unit to the new unit.\n\n@param value value in this unit\n@param outputUnit convert to this unit\n@return value in outputUnit\n@throws IllegalArgumentException if outputUnit not convertible from this unit", "docstring_tokens": ["Convert", "given", "value", "of", "this", "unit", "to", "the", "new", "unit", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/units/SimpleUnit.java#L243-L249", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/units/SimpleUnit.java", "func_name": "SimpleUnit.isUnknownUnit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Is this an instance of an UnknownUnit?\n\n@return true if an instance of an UnknownUnit", "docstring_tokens": ["Is", "this", "an", "instance", "of", "an", "UnknownUnit?"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/units/SimpleUnit.java#L282-L298", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/units/SimpleUnit.java", "func_name": "SimpleUnit.getValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extract the value, can only be called for ScaledUnit.\n@return value of this unit if ScaledUnit, else NaN", "docstring_tokens": ["Extract", "the", "value", "can", "only", "be", "called", "for", "ScaledUnit", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/units/SimpleUnit.java#L313-L317", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/servers/ClauseFactory.java", "func_name": "ClauseFactory.newRelOpClause", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates a clause which which compares subclauses, using one of the\nrelative operators supported by the Operator class.", "docstring_tokens": ["Generates", "a", "clause", "which", "which", "compares", "subclauses", "using", "one", "of", "the", "relative", "operators", "supported", "by", "the", "Operator", "class", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/servers/ClauseFactory.java#L84-L92", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/servers/ClauseFactory.java", "func_name": "ClauseFactory.newBoolFunctionClause", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates a clause which invokes a function that returns a\nboolean value.\n\n@see BoolFunctionClause", "docstring_tokens": ["Generates", "a", "clause", "which", "invokes", "a", "function", "that", "returns", "a", "boolean", "value", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/servers/ClauseFactory.java#L100-L122", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/servers/ClauseFactory.java", "func_name": "ClauseFactory.newBTFunctionClause", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates a clause which invokes a function that returns a\nBaseType.\n\n@see BTFunctionClause", "docstring_tokens": ["Generates", "a", "clause", "which", "invokes", "a", "function", "that", "returns", "a", "BaseType", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/servers/ClauseFactory.java#L144-L165", "partition": "test"} +{"repo": "Unidata/thredds", "path": "clcommon/src/main/java/ucar/nc2/dt/image/image/ImageArrayAdapter.java", "func_name": "ImageArrayAdapter.makeGrayscaleImage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adapt a rank 2 array into a java.awt.image.BufferedImage.\nIf passed a rank 3 array, take first 2D slice.\n@param ma rank 2 or 3 array.\n@return BufferedImage", "docstring_tokens": ["Adapt", "a", "rank", "2", "array", "into", "a", "java", ".", "awt", ".", "image", ".", "BufferedImage", ".", "If", "passed", "a", "rank", "3", "array", "take", "first", "2D", "slice", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/clcommon/src/main/java/ucar/nc2/dt/image/image/ImageArrayAdapter.java#L25-L50", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/crawl/CatalogCrawler.java", "func_name": "CatalogCrawler.crawl", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Crawl a catalog thats already been opened.\nWhen you get to a dataset containing leaf datasets, do all, only the first, or a randomly chosen one.\n\n@param cat the catalog\n@param task user can cancel the task (may be null)\n@param out send status messages to here (may be null)\n@param context caller can pass this object in (used for thread safety)\n@return number of catalog references opened and crawled", "docstring_tokens": ["Crawl", "a", "catalog", "thats", "already", "been", "opened", ".", "When", "you", "get", "to", "a", "dataset", "containing", "leaf", "datasets", "do", "all", "only", "the", "first", "or", "a", "randomly", "chosen", "one", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/crawl/CatalogCrawler.java#L127-L142", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/crawl/CatalogCrawler.java", "func_name": "CatalogCrawler.crawlDataset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Crawl this dataset recursively, return all datasets\n\n@param ds the dataset\n@param task user can cancel the task (may be null)\n@param out send status messages to here (may be null)\n@param context caller can pass this object in (used for thread safety)", "docstring_tokens": ["Crawl", "this", "dataset", "recursively", "return", "all", "datasets"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/crawl/CatalogCrawler.java#L152-L196", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/crawl/CatalogCrawler.java", "func_name": "CatalogCrawler.crawlDirectDatasets", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Crawl this dataset recursively. Only send back direct datasets\n\n@param ds the dataset\n@param task user can cancel the task (may be null)\n@param out send status messages to here (may be null)\n@param context caller can pass this object in (used for thread safety)", "docstring_tokens": ["Crawl", "this", "dataset", "recursively", ".", "Only", "send", "back", "direct", "datasets"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/crawl/CatalogCrawler.java#L206-L270", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/GribIndexCache.java", "func_name": "GribIndexCache.getFileOrCache", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get index file, may be in cache directory, may not exist\n\n@param fileLocation full path of original index filename\n@return File, possibly in cache, may or may not exist", "docstring_tokens": ["Get", "index", "file", "may", "be", "in", "cache", "directory", "may", "not", "exist"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/GribIndexCache.java#L39-L43", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/GribIndexCache.java", "func_name": "GribIndexCache.getExistingFileOrCache", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Looking for an existing file, in cache or not\n\n@param fileLocation full path of original index filename\n@return existing file if you can find it, else null", "docstring_tokens": ["Looking", "for", "an", "existing", "file", "in", "cache", "or", "not"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/GribIndexCache.java#L51-L59", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java", "func_name": "RandomAccessFile.setDebugLeaks", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Debugging, do not use in production.\nSet counters to zero, set debugging on\n@param b set true to track java.io.RandomAccessFile", "docstring_tokens": ["Debugging", "do", "not", "use", "in", "production", ".", "Set", "counters", "to", "zero", "set", "debugging", "on"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java#L88-L95", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java", "func_name": "RandomAccessFile.getAllFiles", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Debugging, do not use.\n\n@return list of all files used.", "docstring_tokens": ["Debugging", "do", "not", "use", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java#L119-L125", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java", "func_name": "RandomAccessFile.close", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Close the file, and release any associated system resources.\n\n@throws IOException if an I/O error occurrs.", "docstring_tokens": ["Close", "the", "file", "and", "release", "any", "associated", "system", "resources", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java#L396-L433", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java", "func_name": "RandomAccessFile.seek", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the position in the file for the next read or write.\n\n@param pos the offset (in bytes) from the start of the file.\n@throws IOException if an I/O error occurrs.", "docstring_tokens": ["Set", "the", "position", "in", "the", "file", "for", "the", "next", "read", "or", "write", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java#L472-L484", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java", "func_name": "RandomAccessFile.flush", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copy the contents of the buffer to the disk.\n\n@throws IOException if an I/O error occurs.", "docstring_tokens": ["Copy", "the", "contents", "of", "the", "buffer", "to", "the", "disk", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java#L566-L578", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java", "func_name": "RandomAccessFile.read", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a byte of data from the file, blocking until data is\navailable.\n\n@return the next byte of data, or -1 if the end of the file is\nreached.\n@throws IOException if an I/O error occurrs.", "docstring_tokens": ["Read", "a", "byte", "of", "data", "from", "the", "file", "blocking", "until", "data", "is", "available", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java#L610-L627", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java", "func_name": "RandomAccessFile.readShort", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read an array of shorts\n\n@param pa read into this array\n@param start starting at pa[start]\n@param n read this many elements\n@throws IOException on read error", "docstring_tokens": ["Read", "an", "array", "of", "shorts"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java#L1108-L1112", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java", "func_name": "RandomAccessFile.readIntUnbuffered", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read an integer at the given position, bypassing all buffering.\n\n@param pos read a byte at this position\n@return The int that was read\n@throws IOException if an I/O error occurs.", "docstring_tokens": ["Read", "an", "integer", "at", "the", "given", "position", "bypassing", "all", "buffering", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java#L1234-L1250", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java", "func_name": "RandomAccessFile.readInt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read an array of ints\n\n@param pa read into this array\n@param start starting at pa[start]\n@param n read this many elements\n@throws IOException on read error", "docstring_tokens": ["Read", "an", "array", "of", "ints"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java#L1261-L1265", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java", "func_name": "RandomAccessFile.readLong", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read an array of longs\n\n@param pa read into this array\n@param start starting at pa[start]\n@param n read this many elements\n@throws IOException on read error", "docstring_tokens": ["Read", "an", "array", "of", "longs"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java#L1327-L1331", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java", "func_name": "RandomAccessFile.readFloat", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read an array of floats\n\n@param pa read into this array\n@param start starting at pa[start]\n@param n read this many elements\n@throws IOException on read error", "docstring_tokens": ["Read", "an", "array", "of", "floats"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java#L1364-L1368", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java", "func_name": "RandomAccessFile.readDouble", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read an array of doubles\n\n@param pa read into this array\n@param start starting at pa[start]\n@param n read this many elements\n@throws IOException on read error", "docstring_tokens": ["Read", "an", "array", "of", "doubles"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java#L1401-L1405", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java", "func_name": "RandomAccessFile.readString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a String of known length.\n\n@param nbytes number of bytes to read\n@return String wrapping the bytes.\n@throws IOException if an I/O error occurs.", "docstring_tokens": ["Read", "a", "String", "of", "known", "length", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java#L1493-L1497", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java", "func_name": "RandomAccessFile.readStringMax", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a String of max length, zero terminate.\n\n@param nbytes number of bytes to read\n@return String wrapping the bytes.\n@throws IOException if an I/O error occurs.", "docstring_tokens": ["Read", "a", "String", "of", "max", "length", "zero", "terminate", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java#L1506-L1513", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java", "func_name": "RandomAccessFile.writeBoolean", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write an array of booleans\n\n@param pa write from this array\n@param start starting with this element in the array\n@param n write this number of elements\n@throws IOException on read error", "docstring_tokens": ["Write", "an", "array", "of", "booleans"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java#L1540-L1544", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java", "func_name": "RandomAccessFile.writeShort", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write an array of shorts\n\n@param pa write from this array\n@param start starting with this element in the array\n@param n this number of elements\n@throws IOException on read error", "docstring_tokens": ["Write", "an", "array", "of", "shorts"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java#L1575-L1579", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java", "func_name": "RandomAccessFile.writeChar", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write an array of chars\n\n@param pa write from this array\n@param start starting with this element in the array\n@param n this number of elements\n@throws IOException on read error", "docstring_tokens": ["Write", "an", "array", "of", "chars"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java#L1601-L1605", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java", "func_name": "RandomAccessFile.writeInt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write an array of ints\n\n@param pa write from this array\n@param start starting with this element in the array\n@param n write this number of elements\n@throws IOException on read error", "docstring_tokens": ["Write", "an", "array", "of", "ints"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java#L1628-L1632", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java", "func_name": "RandomAccessFile.writeLong", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write an array of longs\n\n@param pa write from this array\n@param start starting with this element in the array\n@param n write this number of elements\n@throws IOException on read error", "docstring_tokens": ["Write", "an", "array", "of", "longs"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java#L1659-L1663", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java", "func_name": "RandomAccessFile.writeFloat", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write an array of floats\n\n@param pa write from this array\n@param start starting with this element in the array\n@param n write this number of elements\n@throws IOException on read error", "docstring_tokens": ["Write", "an", "array", "of", "floats"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java#L1687-L1691", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java", "func_name": "RandomAccessFile.writeDouble", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write an array of doubles\n\n@param pa write from this array\n@param start starting with this element in the array\n@param n write this number of elements\n@throws IOException on read error", "docstring_tokens": ["Write", "an", "array", "of", "doubles"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java#L1716-L1720", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java", "func_name": "RandomAccessFile.writeBytes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes the string to the file as a sequence of bytes. Each\ncharacter in the string is written out, in sequence, by discarding\nits high eight bits.\n\n@param s a string of bytes to be written.\n@throws IOException if an I/O error occurs.", "docstring_tokens": ["Writes", "the", "string", "to", "the", "file", "as", "a", "sequence", "of", "bytes", ".", "Each", "character", "in", "the", "string", "is", "written", "out", "in", "sequence", "by", "discarding", "its", "high", "eight", "bits", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java#L1730-L1735", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java", "func_name": "RandomAccessFile.writeBytes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes the character array to the file as a sequence of bytes. Each\ncharacter in the string is written out, in sequence, by discarding\nits high eight bits.\n\n@param b a character array of bytes to be written.\n@param off the index of the first character to write.\n@param len the number of characters to write.\n@throws IOException if an I/O error occurs.", "docstring_tokens": ["Writes", "the", "character", "array", "to", "the", "file", "as", "a", "sequence", "of", "bytes", ".", "Each", "character", "in", "the", "string", "is", "written", "out", "in", "sequence", "by", "discarding", "its", "high", "eight", "bits", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java#L1747-L1751", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java", "func_name": "RandomAccessFile.searchForward", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Search forward from the current pos, looking for a match.\n\n@param match the match to look for.\n@param maxBytes maximum number of bytes to search. use -1 for all\n@return true if found, file position will be at the start of the match.\n@throws IOException on read error", "docstring_tokens": ["Search", "forward", "from", "the", "current", "pos", "looking", "for", "a", "match", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java#L1842-L1880", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/query/Selector.java", "func_name": "Selector.appendQuery", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create the selector result string, and append.\n@param sbuff append here\n@param values list of selected values, each value is a pair (String, Object), where the\nString is name of the value, and the Object is the value itself. We use the toString()\nmethod on the object to get its String representation.", "docstring_tokens": ["Create", "the", "selector", "result", "string", "and", "append", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/query/Selector.java#L99-L104", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/thredds/inventory/partition/DirectoryBuilder.java", "func_name": "DirectoryBuilder.factory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "returns a DirectoryPartition or DirectoryCollection", "docstring_tokens": ["returns", "a", "DirectoryPartition", "or", "DirectoryCollection"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/thredds/inventory/partition/DirectoryBuilder.java#L36-L52", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/thredds/inventory/partition/DirectoryBuilder.java", "func_name": "DirectoryBuilder.findIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find the index file, using its canonical name\n@return true if found\n@throws IOException", "docstring_tokens": ["Find", "the", "index", "file", "using", "its", "canonical", "name"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/thredds/inventory/partition/DirectoryBuilder.java#L106-L116", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/thredds/inventory/partition/DirectoryBuilder.java", "func_name": "DirectoryBuilder.isLeaf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Scans first 100 files to decide if its a leaf. If so, it becomes a DirectoryCollection, else a PartitionCollection.\n@param indexReader reads the index\n@return true if partition, false if file collection\n@throws IOException on IO error", "docstring_tokens": ["Scans", "first", "100", "files", "to", "decide", "if", "its", "a", "leaf", ".", "If", "so", "it", "becomes", "a", "DirectoryCollection", "else", "a", "PartitionCollection", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/thredds/inventory/partition/DirectoryBuilder.java#L124-L141", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/thredds/inventory/partition/DirectoryBuilder.java", "func_name": "DirectoryBuilder.constructChildren", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find all children directories. Does not recurse.\nWe separate this from the constructor so it can be done on demand\nPublic for debugging.\n\nLook for children by:\n

    \n
  1. If index exists , use the children inside there./li>\n
  2. (or) scan the directory for children partitions
  3. \n
\n\n@param indexReader this reads the index, and calls AddChild.addchild() for each child\n@return children, may be empty but not null\n@throws IOException", "docstring_tokens": ["Find", "all", "children", "directories", ".", "Does", "not", "recurse", ".", "We", "separate", "this", "from", "the", "constructor", "so", "it", "can", "be", "done", "on", "demand", "Public", "for", "debugging", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/thredds/inventory/partition/DirectoryBuilder.java#L158-L173", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/thredds/inventory/partition/DirectoryBuilder.java", "func_name": "DirectoryBuilder.scanForChildren", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Scan for subdirectories, make each into a DirectoryBuilder and add as a child", "docstring_tokens": ["Scan", "for", "subdirectories", "make", "each", "into", "a", "DirectoryBuilder", "and", "add", "as", "a", "child"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/thredds/inventory/partition/DirectoryBuilder.java#L230-L247", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/thredds/inventory/partition/DirectoryBuilder.java", "func_name": "DirectoryBuilder.readFilesFromIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "read the list of files from the index", "docstring_tokens": ["read", "the", "list", "of", "files", "from", "the", "index"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/thredds/inventory/partition/DirectoryBuilder.java#L252-L258", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dt/grid/GridDataset.java", "func_name": "GridDataset.getGridsets", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return GridDatatype objects grouped by GridCoordSys. All GridDatatype in a Gridset\nhave the same GridCoordSystem.\n\n@return List of type ucar.nc2.dt.GridDataset.Gridset", "docstring_tokens": ["Return", "GridDatatype", "objects", "grouped", "by", "GridCoordSys", ".", "All", "GridDatatype", "in", "a", "Gridset", "have", "the", "same", "GridCoordSystem", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dt/grid/GridDataset.java#L331-L333", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/cache/FileCache.java", "func_name": "FileCache.acquire", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Acquire a FileCacheable, and lock it so no one else can use it.\ncall FileCacheable.close when done.\n\n@param factory use this factory to open the file; may not be null\n@param durl file location, also used as the cache name, will be passed to the NetcdfFileFactory\n@param cancelTask user can cancel, ok to be null.\n@return NetcdfFile corresponding to location.\n@throws IOException on error", "docstring_tokens": ["Acquire", "a", "FileCacheable", "and", "lock", "it", "so", "no", "one", "else", "can", "use", "it", ".", "call", "FileCacheable", ".", "close", "when", "done", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/cache/FileCache.java#L197-L199", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/cache/FileCache.java", "func_name": "FileCache.remove", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "LOOK should you remove the entire CacheElement ?", "docstring_tokens": ["LOOK", "should", "you", "remove", "the", "entire", "CacheElement", "?"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/cache/FileCache.java#L365-L375", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/cache/FileCache.java", "func_name": "FileCache.eject", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove all instances of object from the cache\n@param hashKey the object", "docstring_tokens": ["Remove", "all", "instances", "of", "object", "from", "the", "cache"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/cache/FileCache.java#L381-L406", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/cache/FileCache.java", "func_name": "FileCache.release", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Release the file. This unlocks it, updates its lastAccessed date.\nNormally applications need not call this, just close the file as usual.\nThe FileCacheable has to do tricky stuff.\n\n@param ncfile release this file.\n@return true if file was in cache, false if it was not", "docstring_tokens": ["Release", "the", "file", ".", "This", "unlocks", "it", "updates", "its", "lastAccessed", "date", ".", "Normally", "applications", "need", "not", "call", "this", "just", "close", "the", "file", "as", "usual", ".", "The", "FileCacheable", "has", "to", "do", "tricky", "stuff", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/cache/FileCache.java#L416-L443", "partition": "test"} +{"repo": "Unidata/thredds", "path": "bufr/src/main/java/ucar/nc2/iosp/bufr/BufrNumbers.java", "func_name": "BufrNumbers.int4", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert 4 bytes into a signed integer.\n\n@param a\n@param b\n@param c\n@param d\n@return int", "docstring_tokens": ["Convert", "4", "bytes", "into", "a", "signed", "integer", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/bufr/src/main/java/ucar/nc2/iosp/bufr/BufrNumbers.java#L124-L130", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/cache/FileCacheARC.java", "func_name": "FileCacheARC.updateInCache", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "get CacheElement specified by hashKey. If found, update lastUsed in shadowCache.", "docstring_tokens": ["get", "CacheElement", "specified", "by", "hashKey", ".", "If", "found", "update", "lastUsed", "in", "shadowCache", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/cache/FileCacheARC.java#L212-L223", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/cache/FileCacheARC.java", "func_name": "FileCacheARC.clearCache", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove all cache entries.\n\n@param force if true, remove them even if they are currently locked.", "docstring_tokens": ["Remove", "all", "cache", "entries", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/cache/FileCacheARC.java#L503-L551", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dt/grid/GridCoordSys.java", "func_name": "GridCoordSys.makeVerticalTransform", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "we have to delay making these, since we dont identify the dimensions specifically until now", "docstring_tokens": ["we", "have", "to", "delay", "making", "these", "since", "we", "dont", "identify", "the", "dimensions", "specifically", "until", "now"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dt/grid/GridCoordSys.java#L625-L637", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dt/grid/GridCoordSys.java", "func_name": "GridCoordSys.isGlobalLon", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Is this a global coverage over longitude ?\n@return true if isLatLon and longitude wraps", "docstring_tokens": ["Is", "this", "a", "global", "coverage", "over", "longitude", "?"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dt/grid/GridCoordSys.java#L723-L733", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dt/grid/GridCoordSys.java", "func_name": "GridCoordSys.isZPositive", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "true if increasing z coordinate values means \"up\" in altitude", "docstring_tokens": ["true", "if", "increasing", "z", "coordinate", "values", "means", "up", "in", "altitude"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dt/grid/GridCoordSys.java#L738-L746", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dt/grid/GridCoordSys.java", "func_name": "GridCoordSys.findXYindexFromCoord", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Given a point in x,y coordinate space, find the x,y index in the coordinate system.\n\n@param x_coord position in x coordinate space.\n@param y_coord position in y coordinate space.\n@param result put result (x,y) index in here, may be null\n@return int[2], 0=x,1=y indices in the coordinate system of the point. These will be -1 if out of range.", "docstring_tokens": ["Given", "a", "point", "in", "x", "y", "coordinate", "space", "find", "the", "x", "y", "index", "in", "the", "coordinate", "system", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dt/grid/GridCoordSys.java#L784-L811", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dt/grid/GridCoordSys.java", "func_name": "GridCoordSys.findXYindexFromCoordBounded", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Given a point in x,y coordinate space, find the x,y index in the coordinate system.\nIf outside the range, the closest point is returned, eg, 0 or n-1 depending on if the coordinate is too small or too large.\n\n@param x_coord position in x coordinate space.\n@param y_coord position in y coordinate space.\n@param result put result in here, may be null\n@return int[2], 0=x,1=y indices in the coordinate system of the point.", "docstring_tokens": ["Given", "a", "point", "in", "x", "y", "coordinate", "space", "find", "the", "x", "y", "index", "in", "the", "coordinate", "system", ".", "If", "outside", "the", "range", "the", "closest", "point", "is", "returned", "eg", "0", "or", "n", "-", "1", "depending", "on", "if", "the", "coordinate", "is", "too", "small", "or", "too", "large", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dt/grid/GridCoordSys.java#L822-L845", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dt/grid/GridCoordSys.java", "func_name": "GridCoordSys.findXYindexFromLatLon", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Given a lat,lon point, find the x,y index in the coordinate system.\n\n@param lat latitude position.\n@param lon longitude position.\n@param result put result in here, may be null\n@return int[2], 0=x,1=y indices in the coordinate system of the point. These will be -1 if out of range.", "docstring_tokens": ["Given", "a", "lat", "lon", "point", "find", "the", "x", "y", "index", "in", "the", "coordinate", "system", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dt/grid/GridCoordSys.java#L855-L861", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dt/grid/GridCoordSys.java", "func_name": "GridCoordSys.findXYindexFromLatLonBounded", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Given a lat,lon point, find the x,y index in the coordinate system.\nIf outside the range, the closest point is returned\n\n@param lat latitude position.\n@param lon longitude position.\n@param result put result in here, may be null\n@return int[2], 0=x,1=y indices in the coordinate system of the point.", "docstring_tokens": ["Given", "a", "lat", "lon", "point", "find", "the", "x", "y", "index", "in", "the", "coordinate", "system", ".", "If", "outside", "the", "range", "the", "closest", "point", "is", "returned"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dt/grid/GridCoordSys.java#L872-L878", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/widget/SuperComboBox.java", "func_name": "MyTextField.getItemPos", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "return slider indicator position for currently selected item", "docstring_tokens": ["return", "slider", "indicator", "position", "for", "currently", "selected", "item"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/widget/SuperComboBox.java#L452-L462", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/widget/SuperComboBox.java", "func_name": "MyTextField.getItem", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "return item selected by this pixel position", "docstring_tokens": ["return", "item", "selected", "by", "this", "pixel", "position"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/widget/SuperComboBox.java#L465-L474", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/thredds/inventory/partition/DirectoryCollection.java", "func_name": "DirectoryCollection.iterateOverMFileCollection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "this idiom keeps the iterator from escaping, so that we can use try-with-resource, and ensure DirectoryStream closes. like++", "docstring_tokens": ["this", "idiom", "keeps", "the", "iterator", "from", "escaping", "so", "that", "we", "can", "use", "try", "-", "with", "-", "resource", "and", "ensure", "DirectoryStream", "closes", ".", "like", "++"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/thredds/inventory/partition/DirectoryCollection.java#L176-L193", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/thredds/ui/monitor/TdsDownloader.java", "func_name": "TdsDownloader.getRemoteFiles", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "copy remote files to localDir", "docstring_tokens": ["copy", "remote", "files", "to", "localDir"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/thredds/ui/monitor/TdsDownloader.java#L52-L108", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/grib2/table/FslHrrrLocalTables.java", "func_name": "FslHrrrLocalTables.getSubCenterName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "LOOK maybe combine grib1, grib2 and bufr ??", "docstring_tokens": ["LOOK", "maybe", "combine", "grib1", "grib2", "and", "bufr", "??"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/grib2/table/FslHrrrLocalTables.java#L54-L66", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/time/CalendarPeriod.java", "func_name": "CalendarPeriod.fromUnitString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert a period string into a CalendarPeriod.Field.\n@param udunit period string\n@return CalendarPeriod.Field enum\n@throws IllegalArgumentException if not valid format", "docstring_tokens": ["Convert", "a", "period", "string", "into", "a", "CalendarPeriod", ".", "Field", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/time/CalendarPeriod.java#L52-L89", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/time/CalendarPeriod.java", "func_name": "CalendarPeriod.of", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "minimize memory use by interning. wacko shit in GribPartitionBuilder TimeCoordinate, whoduhthunk?", "docstring_tokens": ["minimize", "memory", "use", "by", "interning", ".", "wacko", "shit", "in", "GribPartitionBuilder", "TimeCoordinate", "whoduhthunk?"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/time/CalendarPeriod.java#L92-L99", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/time/CalendarPeriod.java", "func_name": "CalendarPeriod.of", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert a udunit period string into a CalendarPeriod\n@param udunit period string : \"[val] unit\"\n@return CalendarPeriod or null if illegal", "docstring_tokens": ["Convert", "a", "udunit", "period", "string", "into", "a", "CalendarPeriod"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/time/CalendarPeriod.java#L106-L128", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/time/CalendarPeriod.java", "func_name": "CalendarPeriod.subtract", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Subtract two dates, return difference in units of this period.\nIf not even, will round down and log a warning\n@param start start date\n@param end end date\n@return difference in units of this period", "docstring_tokens": ["Subtract", "two", "dates", "return", "difference", "in", "units", "of", "this", "period", ".", "If", "not", "even", "will", "round", "down", "and", "log", "a", "warning"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/time/CalendarPeriod.java#L169-L175", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/time/CalendarPeriod.java", "func_name": "CalendarPeriod.getConvertFactor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the conversion factor of the other CalendarPeriod to this one\n@param from convert from this\n@return conversion factor, so that getConvertFactor(from) * from = this", "docstring_tokens": ["Get", "the", "conversion", "factor", "of", "the", "other", "CalendarPeriod", "to", "this", "one"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/time/CalendarPeriod.java#L182-L188", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/time/CalendarPeriod.java", "func_name": "CalendarPeriod.getValueInMillisecs", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the duration in milliseconds -+\n@return the duration in seconds\n@deprecated dont use because these are fixed length and thus approximate.", "docstring_tokens": ["Get", "the", "duration", "in", "milliseconds", "-", "+"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/time/CalendarPeriod.java#L195-L201", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/time/CalendarPeriod.java", "func_name": "CalendarPeriod.getOffset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "start + offset = end", "docstring_tokens": ["start", "+", "offset", "=", "end"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/time/CalendarPeriod.java#L227-L240", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakGridServiceProvider.java", "func_name": "GempakGridServiceProvider.sync", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sync the file\n\n@return true if needed to sync\n@throws IOException problem synching the file", "docstring_tokens": ["Sync", "the", "file"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakGridServiceProvider.java#L109-L119", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakGridServiceProvider.java", "func_name": "GempakGridServiceProvider.initTables", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Initialize the parameter tables.", "docstring_tokens": ["Initialize", "the", "parameter", "tables", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakGridServiceProvider.java#L135-L144", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tdcommon/src/main/java/thredds/server/catalog/DataRootPathMatcher.java", "func_name": "DataRootPathMatcher.put", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a dataRootExt to in-memory tree.\n@return true if not already exist", "docstring_tokens": ["Add", "a", "dataRootExt", "to", "in", "-", "memory", "tree", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tdcommon/src/main/java/thredds/server/catalog/DataRootPathMatcher.java#L62-L65", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tdcommon/src/main/java/thredds/server/catalog/DataRootPathMatcher.java", "func_name": "DataRootPathMatcher.findLongestPathMatch", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find the longest path match.\n@param reqPath find object with longest match where reqPath.startsWith( key)\n@return the value whose key is the longest that matches path, or null if none", "docstring_tokens": ["Find", "the", "longest", "path", "match", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tdcommon/src/main/java/thredds/server/catalog/DataRootPathMatcher.java#L93-L111", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tdcommon/src/main/java/thredds/server/catalog/DataRootPathMatcher.java", "func_name": "DataRootPathMatcher.findDataRoot", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find the longest DataRoot match.\n@param reqPath find object with longest match where reqPath.startsWith( key)\n@return the value whose key is the longest that matches path, or null if none", "docstring_tokens": ["Find", "the", "longest", "DataRoot", "match", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tdcommon/src/main/java/thredds/server/catalog/DataRootPathMatcher.java#L118-L127", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tdcommon/src/main/java/thredds/server/catalog/DataRootPathMatcher.java", "func_name": "DataRootPathMatcher.convert2DataRoot", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "convert a dataRootExt to a dataRoot", "docstring_tokens": ["convert", "a", "dataRootExt", "to", "a", "dataRoot"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tdcommon/src/main/java/thredds/server/catalog/DataRootPathMatcher.java#L130-L138", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/server/ncss/params/NcssParamsBean.java", "func_name": "NcssParamsBean.getCalendarDateRange", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "return requested CalendarDateRange.", "docstring_tokens": ["return", "requested", "CalendarDateRange", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/server/ncss/params/NcssParamsBean.java#L261-L267", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/coord/CoordinateSharerBest.java", "func_name": "CoordinateSharerBest.reindex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "redo the variables against the shared coordinates", "docstring_tokens": ["redo", "the", "variables", "against", "the", "shared", "coordinates"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/coord/CoordinateSharerBest.java#L106-L118", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NetcdfFileWriter.java", "func_name": "NetcdfFileWriter.createNew", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a new Netcdf file, with fill mode true.\n\n@param version netcdf-3 or 4\n@param location name of new file to open; if it exists, will overwrite it.\n@param chunker used only for netcdf4, or null for default chunking algorithm\n@return new NetcdfFileWriter\n@throws IOException on I/O error", "docstring_tokens": ["Create", "a", "new", "Netcdf", "file", "with", "fill", "mode", "true", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NetcdfFileWriter.java#L121-L123", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NetcdfFileWriter.java", "func_name": "NetcdfFileWriter.addGroup", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a Group to the file. Must be in define mode.\nIf pass in null as the parent then the root group is returned and the name is ignored.\nThis is how you get the root group. Note this is different from other uses of parent group.\n\n@param parent the parent of this group, if null then returns the root group.\n@param name the name of this group, unique within parent\n@return the created group", "docstring_tokens": ["Add", "a", "Group", "to", "the", "file", ".", "Must", "be", "in", "define", "mode", ".", "If", "pass", "in", "null", "as", "the", "parent", "then", "the", "root", "group", "is", "returned", "and", "the", "name", "is", "ignored", ".", "This", "is", "how", "you", "get", "the", "root", "group", ".", "Note", "this", "is", "different", "from", "other", "uses", "of", "parent", "group", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NetcdfFileWriter.java#L393-L400", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NetcdfFileWriter.java", "func_name": "NetcdfFileWriter.addTypedef", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a EnumTypedef to the file. Must be in define mode.\n\n@param g the group to add to. if null, use root group\n@param td the EnumTypedef.\n@return the created attribute", "docstring_tokens": ["Add", "a", "EnumTypedef", "to", "the", "file", ".", "Must", "be", "in", "define", "mode", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NetcdfFileWriter.java#L441-L447", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NetcdfFileWriter.java", "func_name": "NetcdfFileWriter.deleteGroupAttribute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Delete a group Attribute. Must be in define mode.\n\n@param g the group to add to. if null, use root group\n@param attName existing Attribute has this name\n@return deleted Attribute, or null if not found", "docstring_tokens": ["Delete", "a", "group", "Attribute", ".", "Must", "be", "in", "define", "mode", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NetcdfFileWriter.java#L460-L467", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NetcdfFileWriter.java", "func_name": "NetcdfFileWriter.renameGroupAttribute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Rename a group Attribute. Must be in define mode.\n\n@param g the group to add to. if null, use root group\n@param oldName existing Attribute has this name\n@param newName rename to this\n@return renamed Attribute, or null if not found", "docstring_tokens": ["Rename", "a", "group", "Attribute", ".", "Must", "be", "in", "define", "mode", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NetcdfFileWriter.java#L480-L497", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NetcdfFileWriter.java", "func_name": "NetcdfFileWriter.addRecordStructure", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "For netcdf3 only, take all unlimited variables and make them into a structure.\n@return the record Structure, or null if not done.", "docstring_tokens": ["For", "netcdf3", "only", "take", "all", "unlimited", "variables", "and", "make", "them", "into", "a", "structure", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NetcdfFileWriter.java#L973-L979", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NetcdfFileWriter.java", "func_name": "NetcdfFileWriter.abort", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Abort writing to this file. The file is closed.\n@throws java.io.IOException", "docstring_tokens": ["Abort", "writing", "to", "this", "file", ".", "The", "file", "is", "closed", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NetcdfFileWriter.java#L1095-L1100", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/util/prefs/Bean.java", "func_name": "Bean.writeProperties", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "write XML using the bean properties of the contained object", "docstring_tokens": ["write", "XML", "using", "the", "bean", "properties", "of", "the", "contained", "object"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/util/prefs/Bean.java#L37-L40", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tdcommon/src/main/java/thredds/server/catalog/writer/ThreddsMetadataExtractor.java", "func_name": "ThreddsMetadataExtractor.extract", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "extract info from underlying feature dataset\n@param threddsDataset call DataFactory().openFeatureDataset() to open it\n@return results in ThreddsMetadata object\n@throws IOException", "docstring_tokens": ["extract", "info", "from", "underlying", "feature", "dataset"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tdcommon/src/main/java/thredds/server/catalog/writer/ThreddsMetadataExtractor.java#L71-L113", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/OffsetUnit.java", "func_name": "OffsetUnit.myDivideInto", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Divide this unit into another unit.\n\n@param that\nThe unit to divide this unit into.\n@return The quotient of that unit and this unit. The offset\nof this unit will be ignored; thus, for example\n\"celsius.myDivideInto(day)\" is equivalent to\n\"kelvin.myDivideInto(day)\".\n@throws OperationException\nCan't divide these units.", "docstring_tokens": ["Divide", "this", "unit", "into", "another", "unit", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/OffsetUnit.java#L183-L188", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/OffsetUnit.java", "func_name": "OffsetUnit.toDerivedUnit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts a value in this unit to the equivalent value in the convertible\nderived unit.\n\n@param amount\nThe value in this unit.\n@return The equivalent value in the convertible derived unit.\n@throws ConversionException\nCan't convert between units.", "docstring_tokens": ["Converts", "a", "value", "in", "this", "unit", "to", "the", "equivalent", "value", "in", "the", "convertible", "derived", "unit", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/OffsetUnit.java#L240-L245", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/OffsetUnit.java", "func_name": "OffsetUnit.fromDerivedUnit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts a value in the convertible derived unit to the equivalent value\nin this unit.\n\n@param amount\nThe value in the convertible derived unit.\n@return The equivalent value in this unit.\n@throws ConversionException\nCan't convert between units.", "docstring_tokens": ["Converts", "a", "value", "in", "the", "convertible", "derived", "unit", "to", "the", "equivalent", "value", "in", "this", "unit", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/OffsetUnit.java#L321-L328", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/ucar/nc2/dods/ConvertD2N.java", "func_name": "ConvertD2N.convertNestedVariable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert a DataDDS into an Array for a Structure member variable.\n\n@param v must be a member of a structure\n@param section the requested variable section, as a List of type Range\n@param dataV the dataDDS has been parsed into this dodsV, this is the top variable containing v\n@param flatten if true, remove the StructureData \"wrapper\".\n@return the data as as Array\n@throws IOException on io error\n@throws DAP2Exception on bad things happening", "docstring_tokens": ["Convert", "a", "DataDDS", "into", "an", "Array", "for", "a", "Structure", "member", "variable", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/ucar/nc2/dods/ConvertD2N.java#L69-L92", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/ucar/nc2/dods/ConvertD2N.java", "func_name": "ConvertD2N.convertTopVariable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert a DataDDS into an Array for a top level variable, ie not a Structure member variable.\n\n@param v must be a top variable\n@param section the requested variable section\n@param dataV the dataDDS has been parsed into this dodsV\n@return the data as as Array\n@throws IOException on io error\n@throws DAP2Exception on bad", "docstring_tokens": ["Convert", "a", "DataDDS", "into", "an", "Array", "for", "a", "top", "level", "variable", "ie", "not", "a", "Structure", "member", "variable", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/ucar/nc2/dods/ConvertD2N.java#L117-L151", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/ucar/nc2/dods/ConvertD2N.java", "func_name": "ConvertD2N.convert", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert a DataDDS into an Array\n\n@param dataV the dataDDS has been parsed into this dodsV\n@return the data as as Array\n@throws IOException on io error\n@throws DAP2Exception on bad", "docstring_tokens": ["Convert", "a", "DataDDS", "into", "an", "Array"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/ucar/nc2/dods/ConvertD2N.java#L161-L212", "partition": "test"} +{"repo": "Unidata/thredds", "path": "clcommon/src/main/java/thredds/inventory/bdb/MetadataManager.java", "func_name": "MetadataManager.closeAll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "this is called on TDS shutdown and reinit", "docstring_tokens": ["this", "is", "called", "on", "TDS", "shutdown", "and", "reinit"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/clcommon/src/main/java/thredds/inventory/bdb/MetadataManager.java#L114-L134", "partition": "test"} +{"repo": "Unidata/thredds", "path": "clcommon/src/main/java/thredds/inventory/bdb/MetadataManager.java", "func_name": "MetadataManager.openDatabase", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "assumes only one open at a time; could have MetadataManagers share open databases", "docstring_tokens": ["assumes", "only", "one", "open", "at", "a", "time", ";", "could", "have", "MetadataManagers", "share", "open", "databases"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/clcommon/src/main/java/thredds/inventory/bdb/MetadataManager.java#L228-L238", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/time/CalendarDuration.java", "func_name": "CalendarDuration.convertToPeriod", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert a time udunit string\n@param value number of units\n@param udunit msec, sec, minute, hour, hr, day, week, month, year (plural form ok)\n@return joda Period", "docstring_tokens": ["Convert", "a", "time", "udunit", "string"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/time/CalendarDuration.java#L57-L81", "partition": "test"} +{"repo": "Unidata/thredds", "path": "waterml/src/main/java/ucar/nc2/ogc/erddap/util/ErddapStringArray.java", "func_name": "ErddapStringArray.ensureCapacity", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This ensures that the capacity is at least 'minCapacity'.\n\n@param minCapacity the minimum acceptable capacity.\nminCapacity is type long, but >= Integer.MAX_VALUE will throw exception.", "docstring_tokens": ["This", "ensures", "that", "the", "capacity", "is", "at", "least", "minCapacity", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/waterml/src/main/java/ucar/nc2/ogc/erddap/util/ErddapStringArray.java#L98-L112", "partition": "test"} +{"repo": "Unidata/thredds", "path": "waterml/src/main/java/ucar/nc2/ogc/erddap/util/ErddapStringArray.java", "func_name": "ErddapStringArray.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This gets a specified element.\n\n@param index 0 ... size-1", "docstring_tokens": ["This", "gets", "a", "specified", "element", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/waterml/src/main/java/ucar/nc2/ogc/erddap/util/ErddapStringArray.java#L119-L124", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/InvDatasetScan.java", "func_name": "InvDatasetScan.makeCatalogForDirectory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Try to build a catalog for the given path by scanning the location\nassociated with this InvDatasetScan. The given path must start with\nthe path of this InvDatasetScan.\n\n@param orgPath the part of the baseURI that is the path\n@param catURI the base URL for the catalog, used to resolve relative URLs.\n\n@return the catalog for this path (uses version 1.1) or null if build unsuccessful.", "docstring_tokens": ["Try", "to", "build", "a", "catalog", "for", "the", "given", "path", "by", "scanning", "the", "location", "associated", "with", "this", "InvDatasetScan", ".", "The", "given", "path", "must", "start", "with", "the", "path", "of", "this", "InvDatasetScan", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/InvDatasetScan.java#L491-L579", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/InvDatasetScan.java", "func_name": "InvDatasetScan.makeProxyDsResolverCatalog", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Try to build a catalog for the given resolver path by scanning the\nlocation associated with this InvDatasetScan. The given path must start\nwith the path of this InvDatasetScan and refer to a resolver\nProxyDatasetHandler that is part of this InvDatasetScan.\n\n@param path the part of the baseURI that is the path\n@param baseURI the base URL for the catalog, used to resolve relative URLs.\n\n@return the resolver catalog for this path (uses version 1.1) or null if build unsuccessful.", "docstring_tokens": ["Try", "to", "build", "a", "catalog", "for", "the", "given", "resolver", "path", "by", "scanning", "the", "location", "associated", "with", "this", "InvDatasetScan", ".", "The", "given", "path", "must", "start", "with", "the", "path", "of", "this", "InvDatasetScan", "and", "refer", "to", "a", "resolver", "ProxyDatasetHandler", "that", "is", "part", "of", "this", "InvDatasetScan", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/InvDatasetScan.java#L592-L667", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ncml/AggregationNew.java", "func_name": "AggregationNew.getCoordinateType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "What is the data type of the aggregation coordinate ?\n\n@return the data type of the aggregation coordinate", "docstring_tokens": ["What", "is", "the", "data", "type", "of", "the", "aggregation", "coordinate", "?"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ncml/AggregationNew.java#L131-L135", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/grib2/Grib2Pds.java", "func_name": "Grib2Pds.factory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Factory for Grib2Pds\n\n@param template pds template number\n@param input raw bytes\n@return Grib2Pds or null on error", "docstring_tokens": ["Factory", "for", "Grib2Pds"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/grib2/Grib2Pds.java#L37-L74", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/grib2/Grib2Pds.java", "func_name": "Grib2Pds.calcTime", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "null means use refTime", "docstring_tokens": ["null", "means", "use", "refTime"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/grib2/Grib2Pds.java#L1580-L1599", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/grib2/Grib2Pds.java", "func_name": "Grib2Pds.applyScaleFactor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Apply scale factor to value, return a double result.\n\n@param scale signed scale factor\n@param value apply to this value\n@return value ^ -scale", "docstring_tokens": ["Apply", "scale", "factor", "to", "value", "return", "a", "double", "result", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/grib2/Grib2Pds.java#L1608-L1610", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/grib1/tables/EcmwfLocalConcepts.java", "func_name": "EcmwfLocalConcepts.parseLocalConcept", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse the localConcept files needed to create grib1 tables for use by the CDM.", "docstring_tokens": ["Parse", "the", "localConcept", "files", "needed", "to", "create", "grib1", "tables", "for", "use", "by", "the", "CDM", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/grib1/tables/EcmwfLocalConcepts.java#L66-L70", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/grib1/tables/EcmwfLocalConcepts.java", "func_name": "EcmwfLocalConcepts.addLocalConcept", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add the information from a localConcept file to super HashMap localConcepts\n\n@param is InputStream of the localConcept file\n@param conceptName \"type\" of localConcept being added", "docstring_tokens": ["Add", "the", "information", "from", "a", "localConcept", "file", "to", "super", "HashMap", "localConcepts"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/grib1/tables/EcmwfLocalConcepts.java#L78-L119", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/grib1/tables/EcmwfLocalConcepts.java", "func_name": "EcmwfLocalConcepts.cleanLine", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "clean the string representation of a line in the localConcept\nfile. Basic removal of tabs, semicolons, single quotes, etc.\n@param lineIn line (String) to be cleaned\n@return cleaned version of lineIn", "docstring_tokens": ["clean", "the", "string", "representation", "of", "a", "line", "in", "the", "localConcept", "file", ".", "Basic", "removal", "of", "tabs", "semicolons", "single", "quotes", "etc", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/grib1/tables/EcmwfLocalConcepts.java#L127-L134", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/grib1/tables/EcmwfLocalConcepts.java", "func_name": "EcmwfLocalConcepts.storeConcept", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Store localConcept information in super HashMap localConcepts\n\n@param tableVersion - version of the table to add parameter to\n@param parameterNumber - parameter number\n@param key Type of metadata to be added (shortName, Description, Units)\n@param value Value of metadata", "docstring_tokens": ["Store", "localConcept", "information", "in", "super", "HashMap", "localConcepts"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/grib1/tables/EcmwfLocalConcepts.java#L144-L168", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/grib1/tables/EcmwfLocalConcepts.java", "func_name": "EcmwfLocalConcepts.writeGrib1Tables", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write out grib1 tables based on localConcepts files - these are the tables\nthat the CDM will read.", "docstring_tokens": ["Write", "out", "grib1", "tables", "based", "on", "localConcepts", "files", "-", "these", "are", "the", "tables", "that", "the", "CDM", "will", "read", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/grib1/tables/EcmwfLocalConcepts.java#L174-L209", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/grib1/tables/EcmwfLocalConcepts.java", "func_name": "EcmwfLocalConcepts.writeLookupTableFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write the lookupTables.txt file, which basically registers all of the new grib1 tables\nwith the CDM\n\n@param tableNums List of Table Numbers\n@param dir Directory where the tables live\n@param writeDate Date on which the main method of this class was run, resulting in new tables", "docstring_tokens": ["Write", "the", "lookupTables", ".", "txt", "file", "which", "basically", "registers", "all", "of", "the", "new", "grib1", "tables", "with", "the", "CDM"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/grib1/tables/EcmwfLocalConcepts.java#L219-L236", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/grib1/tables/EcmwfLocalConcepts.java", "func_name": "EcmwfLocalConcepts.showLocalConcepts", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Quick prinout to System.out of the different parameter metadata fields", "docstring_tokens": ["Quick", "prinout", "to", "System", ".", "out", "of", "the", "different", "parameter", "metadata", "fields"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/grib1/tables/EcmwfLocalConcepts.java#L241-L249", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/grib1/tables/EcmwfLocalConcepts.java", "func_name": "EcmwfLocalConcepts.main", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generate grib1 tables for the CDM based on the localConcept files from ECMWF GRIB-API\n\n@param args None", "docstring_tokens": ["Generate", "grib1", "tables", "for", "the", "CDM", "based", "on", "the", "localConcept", "files", "from", "ECMWF", "GRIB", "-", "API"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/grib1/tables/EcmwfLocalConcepts.java#L256-L265", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/cataloggen/config/DatasetSourceType.java", "func_name": "DatasetSourceType.getType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find the DatasetSourceType that matches this name.\n@param name\n@return DatasetSourceType or null if no match.", "docstring_tokens": ["Find", "the", "DatasetSourceType", "that", "matches", "this", "name", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/cataloggen/config/DatasetSourceType.java#L36-L40", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/cataloggen/config/DatasetSource.java", "func_name": "DatasetSource.expand", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Crawl this DatasetSource and generate a new InvCatalog, return the\ntop-level InvDataset.\n\nEach object found on the DatasetSource becomes an InvDataset if it is\naccepted by at least one DatasetFilter. The catalog reflects the\nheirarchical structure of the DatasetSource. All datasets are named\nwith the location of the object they represent on the dataset source.\n\n@return the top-level InvDataset in the generated InvCatalog.\n\n@throws IOException if the accessPoint for this DatasetSource is not a container dataset.", "docstring_tokens": ["Crawl", "this", "DatasetSource", "and", "generate", "a", "new", "InvCatalog", "return", "the", "top", "-", "level", "InvDataset", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/cataloggen/config/DatasetSource.java#L311-L336", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/cataloggen/config/DatasetSource.java", "func_name": "DatasetSource.fullExpand", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Crawl this DatasetSource and generate a new InvCatalog with all datasets\nnamed, sorted, and organized as defined by this DatasetSource, return the\nnewly generated InvCatalog.\n\n@return the generated InvCatalog.\n\n@throws IOException if DatasetSource does not reference a container dataset.", "docstring_tokens": ["Crawl", "this", "DatasetSource", "and", "generate", "a", "new", "InvCatalog", "with", "all", "datasets", "named", "sorted", "and", "organized", "as", "defined", "by", "this", "DatasetSource", "return", "the", "newly", "generated", "InvCatalog", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/cataloggen/config/DatasetSource.java#L453-L479", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/cataloggen/config/DatasetSource.java", "func_name": "DatasetSource.nameDatasets", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Use the list of dsNamers to name the given list of datasets.\n\n@param datasetContainer - a InvDatasetImpl that contains one or\nmore datasets to be named.", "docstring_tokens": ["Use", "the", "list", "of", "dsNamers", "to", "name", "the", "given", "list", "of", "datasets", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/cataloggen/config/DatasetSource.java#L535-L555", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/cataloggen/config/DatasetSource.java", "func_name": "DatasetSource.nameDatasetList", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Name the datasets contained in the given dataset.\nThe given dataset contains a flat list of datasets.", "docstring_tokens": ["Name", "the", "datasets", "contained", "in", "the", "given", "dataset", ".", "The", "given", "dataset", "contains", "a", "flat", "list", "of", "datasets", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/cataloggen/config/DatasetSource.java#L559-L636", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/cataloggen/config/DatasetSource.java", "func_name": "DatasetSource.nameDatasetTree", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Name the datasets in the given dataset hierarchy using this\nDatasetSource's list of datasetNamers.", "docstring_tokens": ["Name", "the", "datasets", "in", "the", "given", "dataset", "hierarchy", "using", "this", "DatasetSource", "s", "list", "of", "datasetNamers", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/cataloggen/config/DatasetSource.java#L640-L669", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/image/ScalablePicture.java", "func_name": "ScalablePicture.loadPictureImd", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Synchroneous method to load the image.\nIt should only be called by something which is a thread itself such as the HtmlDistillerThread.\nSince this intended for large batch operations this bypasses the cache.\n\n@param imageUrl The Url of the image to be loaded\n@param rotation The angle by which it is to be roated upon loading.", "docstring_tokens": ["Synchroneous", "method", "to", "load", "the", "image", ".", "It", "should", "only", "be", "called", "by", "something", "which", "is", "a", "thread", "itself", "such", "as", "the", "HtmlDistillerThread", ".", "Since", "this", "intended", "for", "large", "batch", "operations", "this", "bypasses", "the", "cache", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/image/ScalablePicture.java#L274-L282", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/image/ScalablePicture.java", "func_name": "ScalablePicture.stopLoadingExcept", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "stops all picture loading except if the Url we desire is being loaded\n\n@param url The URL of the image which is to be loaded.", "docstring_tokens": ["stops", "all", "picture", "loading", "except", "if", "the", "Url", "we", "desire", "is", "being", "loaded"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/image/ScalablePicture.java#L290-L298", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/image/ScalablePicture.java", "func_name": "ScalablePicture.sourceStatusChange", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "method that is invoked by the SourcePictureListener interface. Usually this\nwill be called by the SourcePicture telling the ScalablePicture that\nit has completed loading. The ScalablePicture should then change it's own\nstatus and tell the ScalableListeners what's up.", "docstring_tokens": ["method", "that", "is", "invoked", "by", "the", "SourcePictureListener", "interface", ".", "Usually", "this", "will", "be", "called", "by", "the", "SourcePicture", "telling", "the", "ScalablePicture", "that", "it", "has", "completed", "loading", ".", "The", "ScalablePicture", "should", "then", "change", "it", "s", "own", "status", "and", "tell", "the", "ScalableListeners", "what", "s", "up", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/image/ScalablePicture.java#L308-L343", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/image/ScalablePicture.java", "func_name": "ScalablePicture.sourceLoadProgressNotification", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "pass on the update on the loading Progress to the listening objects", "docstring_tokens": ["pass", "on", "the", "update", "on", "the", "loading", "Progress", "to", "the", "listening", "objects"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/image/ScalablePicture.java#L348-L355", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/image/ScalablePicture.java", "func_name": "ScalablePicture.createScaledPictureInThread", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "method that creates the scaled image in the background in it's own thread.\n\n@param priority The priority this image takes relative to the others.", "docstring_tokens": ["method", "that", "creates", "the", "scaled", "image", "in", "the", "background", "in", "it", "s", "own", "thread", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/image/ScalablePicture.java#L362-L367", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/image/ScalablePicture.java", "func_name": "ScalablePicture.getScaledSize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "return the size of the scaled image or Zero if there is none", "docstring_tokens": ["return", "the", "size", "of", "the", "scaled", "image", "or", "Zero", "if", "there", "is", "none"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/image/ScalablePicture.java#L467-L472", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/image/ScalablePicture.java", "func_name": "ScalablePicture.getScaledSizeString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "return the size of the scaled image as a neatly formatted text or Zero if there is none", "docstring_tokens": ["return", "the", "size", "of", "the", "scaled", "image", "as", "a", "neatly", "formatted", "text", "or", "Zero", "if", "there", "is", "none"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/image/ScalablePicture.java#L478-L485", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakSoundingFileReader.java", "func_name": "GempakSoundingFileReader.getMergedParts", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the list of merged parts in this file\n\n@return a list of the unmerged parts (only SNDT)", "docstring_tokens": ["Get", "the", "list", "of", "merged", "parts", "in", "this", "file"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakSoundingFileReader.java#L222-L226", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakSoundingFileReader.java", "func_name": "GempakSoundingFileReader.makeHeader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make the header for the text report\n\n@param stn the station\n@param date the date\n@return the header", "docstring_tokens": ["Make", "the", "header", "for", "the", "text", "report"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakSoundingFileReader.java#L322-L344", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakSoundingFileReader.java", "func_name": "GempakSoundingFileReader.SN_CKUA", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This subroutine checks the parts in a sounding data set for the\nunmerged data types.\n\n@return list of part names", "docstring_tokens": ["This", "subroutine", "checks", "the", "parts", "in", "a", "sounding", "data", "set", "for", "the", "unmerged", "data", "types", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakSoundingFileReader.java#L352-L376", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakSoundingFileReader.java", "func_name": "GempakSoundingFileReader.checkForValidGroup", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check for valid groups\n\n@param partToCheck the part name\n@param params the parameters that are supposed to be there\n@return true if the part is there and has the right params", "docstring_tokens": ["Check", "for", "valid", "groups"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakSoundingFileReader.java#L385-L397", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/DiskCache.java", "func_name": "DiskCache.setRootDirectory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the cache root directory. Create it if it doesnt exist.\n\n@param cacheDir the cache directory", "docstring_tokens": ["Set", "the", "cache", "root", "directory", ".", "Create", "it", "if", "it", "doesnt", "exist", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/DiskCache.java#L102-L108", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/DiskCache.java", "func_name": "DiskCache.makeRootDirectory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make sure that the current root directory exists.", "docstring_tokens": ["Make", "sure", "that", "the", "current", "root", "directory", "exists", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/DiskCache.java#L113-L119", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/DiskCache.java", "func_name": "DiskCache.getCacheFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a file in the cache.\nFile may or may not exist. We assume its always writeable.\nIf it does exist, set its LastModifiedDate to current time.\n\n@param fileLocation normal file location\n@return equivalent File in the cache.", "docstring_tokens": ["Get", "a", "file", "in", "the", "cache", ".", "File", "may", "or", "may", "not", "exist", ".", "We", "assume", "its", "always", "writeable", ".", "If", "it", "does", "exist", "set", "its", "LastModifiedDate", "to", "current", "time", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/DiskCache.java#L202-L216", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/DiskCache.java", "func_name": "DiskCache.cleanCache", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove all files with date < cutoff.\n\n@param cutoff earliest date to allow\n@param sbuff write results here, null is ok.", "docstring_tokens": ["Remove", "all", "files", "with", "date", "<", "cutoff", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/DiskCache.java#L251-L266", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/util/DiskCache.java", "func_name": "DiskCache.cleanCache", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove files if needed to make cache have less than maxBytes bytes file sizes.\nThis will remove files in sort order defined by fileComparator.\nThe first files in the sort order are kept, until the max bytes is exceeded, then they are deleted.\n\n@param maxBytes max number of bytes in cache.\n@param fileComparator sort files first with this\n@param sbuff write results here, null is ok.", "docstring_tokens": ["Remove", "files", "if", "needed", "to", "make", "cache", "have", "less", "than", "maxBytes", "bytes", "file", "sizes", ".", "This", "will", "remove", "files", "in", "sort", "order", "defined", "by", "fileComparator", ".", "The", "first", "files", "in", "the", "sort", "order", "are", "kept", "until", "the", "max", "bytes", "is", "exceeded", "then", "they", "are", "deleted", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/util/DiskCache.java#L288-L317", "partition": "test"} +{"repo": "Unidata/thredds", "path": "bufr/src/main/java/ucar/nc2/iosp/bufr/Descriptor.java", "func_name": "Descriptor.isBufrTable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "contains a BUFR table entry", "docstring_tokens": ["contains", "a", "BUFR", "table", "entry"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/bufr/src/main/java/ucar/nc2/iosp/bufr/Descriptor.java#L57-L62", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/CoordinateAxis.java", "func_name": "CoordinateAxis.factory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a coordinate axis from an existing Variable.\n\n@param ncd the containing dataset\n@param vds an existing Variable in dataset.\n@return CoordinateAxis or one of its subclasses (CoordinateAxis1D, CoordinateAxis2D, or CoordinateAxis1DTime).", "docstring_tokens": ["Create", "a", "coordinate", "axis", "from", "an", "existing", "Variable", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/CoordinateAxis.java#L64-L71", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/CoordinateAxis.java", "func_name": "CoordinateAxis.copyNoCache", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make a copy, with an independent cache.\n\n@return copy of this CoordinateAxis", "docstring_tokens": ["Make", "a", "copy", "with", "an", "independent", "cache", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/CoordinateAxis.java#L116-L128", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/CoordinateAxis.java", "func_name": "CoordinateAxis.isNumeric", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Does the axis have numeric values.\n\n@return true if the CoordAxis is numeric, false if its string valued (\"nominal\").", "docstring_tokens": ["Does", "the", "axis", "have", "numeric", "values", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/CoordinateAxis.java#L166-L170", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/CoordinateAxis.java", "func_name": "CoordinateAxis.getInfo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a string representation\n\n@param buf place info here", "docstring_tokens": ["Get", "a", "string", "representation"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/CoordinateAxis.java#L284-L314", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/CoordinateAxis.java", "func_name": "CoordinateAxis.getCalendarFromAttribute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "needed by time coordinates", "docstring_tokens": ["needed", "by", "time", "coordinates"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/CoordinateAxis.java#L373-L390", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/table/JTableSorted.java", "func_name": "JTableSorted.setList", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Replace the rowList with this one.\n@param rowList list of rows", "docstring_tokens": ["Replace", "the", "rowList", "with", "this", "one", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/table/JTableSorted.java#L293-L302", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/table/JTableSorted.java", "func_name": "JTableSorted.getSelected", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the currently selected row.\n@return selected TableRow", "docstring_tokens": ["Get", "the", "currently", "selected", "row", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/table/JTableSorted.java#L347-L355", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/table/JTableSorted.java", "func_name": "JTableSorted.incrSelected", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Increment or decrement the current selection by one row.\n@param increment true=increment, false=decrement", "docstring_tokens": ["Increment", "or", "decrement", "the", "current", "selection", "by", "one", "row", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/table/JTableSorted.java#L373-L381", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/table/JTableSorted.java", "func_name": "JTableSorted.getModelIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "for each column, get the model index", "docstring_tokens": ["for", "each", "column", "get", "the", "model", "index"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/table/JTableSorted.java#L387-L397", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/grid/VertScaleSlider.java", "func_name": "VertScaleSlider.setSelectedIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "set current value - no event", "docstring_tokens": ["set", "current", "value", "-", "no", "event"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/grid/VertScaleSlider.java#L180-L187", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/dap/Util.java", "func_name": "Util.quickSort", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Internal recursive method to perform Quick Sort on name array.\n\n@param a an array of String.\n@param lo0 the low index to sort.\n@param hi0 the high index to sort.", "docstring_tokens": ["Internal", "recursive", "method", "to", "perform", "Quick", "Sort", "on", "name", "array", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/dap/Util.java#L124-L163", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/dap/Util.java", "func_name": "Util.swap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Private method to swap two elements in the array\n\n@param a an array of String.\n@param i the index of the first element.\n@param j the index of the second element.", "docstring_tokens": ["Private", "method", "to", "swap", "two", "elements", "in", "the", "array"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/dap/Util.java#L172-L177", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/thredds/filesystem/MFileOS.java", "func_name": "MFileOS.getExistingFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make MFileOS if file exists, otherwise return null\n@param filename\n@return MFileOS or null", "docstring_tokens": ["Make", "MFileOS", "if", "file", "exists", "otherwise", "return", "null"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/thredds/filesystem/MFileOS.java#L55-L60", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/geoloc/projection/RotatedLatLon.java", "func_name": "RotatedLatLon.rotate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Tor's transform algorithm renamed to rotate for clarity", "docstring_tokens": ["Tor", "s", "transform", "algorithm", "renamed", "to", "rotate", "for", "clarity"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/geoloc/projection/RotatedLatLon.java#L186-L220", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/util/prefs/XMLStore.java", "func_name": "XMLStore.createFromFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create an XMLStore reading from the specified filename.\n\n@param fileName The XMLStore is stored in this files.\n@param storedDefaults This contains the \"stored defaults\", or null if none.\n@return new XMLStore object\n@throws java.io.IOException on error", "docstring_tokens": ["Create", "an", "XMLStore", "reading", "from", "the", "specified", "filename", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/util/prefs/XMLStore.java#L80-L94", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/util/prefs/XMLStore.java", "func_name": "XMLStore.createFromInputStream", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create an XMLStore reading from an input stream. Because of some peculiariteis, you must open the\ninput stream wtice, and pass both in.\n\n@param is1 the first copy of the input stream.\n@param is2 the second copy of the input stream.\n@param storedDefaults This contains the \"stored defaults\", or null if none.\n@return new XMLStore object\n@throws java.io.IOException on error", "docstring_tokens": ["Create", "an", "XMLStore", "reading", "from", "an", "input", "stream", ".", "Because", "of", "some", "peculiariteis", "you", "must", "open", "the", "input", "stream", "wtice", "and", "pass", "both", "in", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/util/prefs/XMLStore.java#L106-L109", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/util/prefs/XMLStore.java", "func_name": "XMLStore.createFromResource", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a read-only XMLStore reading from the specified resource, opened as a Resource stream using the\nXMLStore ClassLoader. This allows you to find files that are in jar files on\nthe application CLASSPATH.\n\n@param resourceName The XMLStore is stored in this resource. By convention it has .xml suffix.\n@param storedDefaults This contains the \"stored defaults\", or null if none.\n@throws java.io.IOException if Resource not found or error reading it\n@return new XMLStore object", "docstring_tokens": ["Create", "a", "read", "-", "only", "XMLStore", "reading", "from", "the", "specified", "resource", "opened", "as", "a", "Resource", "stream", "using", "the", "XMLStore", "ClassLoader", ".", "This", "allows", "you", "to", "find", "files", "that", "are", "in", "jar", "files", "on", "the", "application", "CLASSPATH", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/util/prefs/XMLStore.java#L121-L141", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/util/prefs/XMLStore.java", "func_name": "XMLStore.makeStandardFilename", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convenience routine for creating an XMLStore file in a standard place.\n\n

Initialize:\n

    \n
  1. $user.home = System.getProperty(\"user.home\"), if not exist, use \".\"\n
  2. create directory \"$(user_home)/appName/\" , if not exist, create it\n
  3. return \"$(user_home)/appName/storeName\" for use in createFromFile()\n
\n@param appName application name\n@param storeName store name\n@return standard file name", "docstring_tokens": ["Convenience", "routine", "for", "creating", "an", "XMLStore", "file", "in", "a", "standard", "place", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/util/prefs/XMLStore.java#L271-L289", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/util/prefs/XMLStore.java", "func_name": "XMLStore.save", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Save the current state of the Preferences tree to disk, using the\noriginal filename. The XMLStore must have been constructed from a\nwriteable XML file.\n@throws UnsupportedOperationException: if XMLStore was created from createFromResource.\n@throws java.io.IOException on read error", "docstring_tokens": ["Save", "the", "current", "state", "of", "the", "Preferences", "tree", "to", "disk", "using", "the", "original", "filename", ".", "The", "XMLStore", "must", "have", "been", "constructed", "from", "a", "writeable", "XML", "file", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/util/prefs/XMLStore.java#L424-L451", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/util/prefs/XMLStore.java", "func_name": "XMLStore.save", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Save the current state of the Preferences tree to the given OutputStream.", "docstring_tokens": ["Save", "the", "current", "state", "of", "the", "Preferences", "tree", "to", "the", "given", "OutputStream", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/util/prefs/XMLStore.java#L456-L489", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4servlet/src/main/java/dap4/servlet/DapSerializer.java", "func_name": "DapSerializer.writeAtomicVariable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write out an atomic variable.\n\n@param data\n@param dst\n@throws dap4.core.util.DapException", "docstring_tokens": ["Write", "out", "an", "atomic", "variable", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4servlet/src/main/java/dap4/servlet/DapSerializer.java#L121-L134", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4servlet/src/main/java/dap4/servlet/DapSerializer.java", "func_name": "DapSerializer.writeStructure", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write out a scalar or array structure instance\n\n@param data\n@param dst - where to write\n@throws dap4.core.util.DapException", "docstring_tokens": ["Write", "out", "a", "scalar", "or", "array", "structure", "instance"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4servlet/src/main/java/dap4/servlet/DapSerializer.java#L144-L158", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4servlet/src/main/java/dap4/servlet/DapSerializer.java", "func_name": "DapSerializer.writeStructure1", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write out a single structure instance\n\n@param instance\n@param dst - where to write\n@throws dap4.core.util.DapException", "docstring_tokens": ["Write", "out", "a", "single", "structure", "instance"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4servlet/src/main/java/dap4/servlet/DapSerializer.java#L168-L184", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4servlet/src/main/java/dap4/servlet/DapSerializer.java", "func_name": "DapSerializer.writeSequence", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write out a single or array sequence instance\n\n@param data\n@param dst - where to write\n@throws dap4.core.util.DapException", "docstring_tokens": ["Write", "out", "a", "single", "or", "array", "sequence", "instance"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4servlet/src/main/java/dap4/servlet/DapSerializer.java#L194-L215", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4servlet/src/main/java/dap4/servlet/DapSerializer.java", "func_name": "DapSerializer.writeRecord", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write out a single Record instance.\n\n@param record the record data cursor\n@param dst to which to write\n@throws dap4.core.util.DapException", "docstring_tokens": ["Write", "out", "a", "single", "Record", "instance", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4servlet/src/main/java/dap4/servlet/DapSerializer.java#L250-L263", "partition": "test"} +{"repo": "Unidata/thredds", "path": "bufr/src/main/java/ucar/nc2/iosp/bufr/MessageScanner.java", "func_name": "MessageScanner.isValidFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "is this a valid BUFR file.\n\n@param raf check this file\n@return true if its a BUFR file\n@throws IOException on read error", "docstring_tokens": ["is", "this", "a", "valid", "BUFR", "file", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/bufr/src/main/java/ucar/nc2/iosp/bufr/MessageScanner.java#L34-L42", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/gempak/GempakStation.java", "func_name": "GempakStation.getWmoId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the WMO Station ID as a string\n\n@return the WMO id", "docstring_tokens": ["Get", "the", "WMO", "Station", "ID", "as", "a", "string"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/gempak/GempakStation.java#L449-L455", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/gis/shapefile/DbaseData.java", "func_name": "DbaseData.readRowN", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Method to read an entry from the data stream. The stream is assumed to be\nin the right spot for reading. This method should be called from something\ncontrolling the reading of the entire file.\n\n@see DbaseFile", "docstring_tokens": ["Method", "to", "read", "an", "entry", "from", "the", "data", "stream", ".", "The", "stream", "is", "assumed", "to", "be", "in", "the", "right", "spot", "for", "reading", ".", "This", "method", "should", "be", "called", "from", "something", "controlling", "the", "reading", "of", "the", "entire", "file", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/gis/shapefile/DbaseData.java#L79-L121", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/gis/shapefile/DbaseData.java", "func_name": "DbaseData.getData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Method to retrieve data for this field\n\n@param i index of desired String, assumes 0 < i < getNumRec()\n@return either a Double, Boolean, or String with the data", "docstring_tokens": ["Method", "to", "retrieve", "data", "for", "this", "field"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/gis/shapefile/DbaseData.java#L186-L196", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/grib2/Grib2DataReader.java", "func_name": "Grib2DataReader.getData0", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Grid point data - simple packing", "docstring_tokens": ["Grid", "point", "data", "-", "simple", "packing"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/grib2/Grib2DataReader.java#L206-L245", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/grib2/Grib2DataReader.java", "func_name": "Grib2DataReader.getData41", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Code taken from esupport ticket ZVT-415274", "docstring_tokens": ["Code", "taken", "from", "esupport", "ticket", "ZVT", "-", "415274"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/grib2/Grib2DataReader.java#L861-L914", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4cdm/src/main/java/dap4/cdm/dsp/CDMCursor.java", "func_name": "CDMCursor.read", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "AbstractCursor Abstract Methods", "docstring_tokens": ["AbstractCursor", "Abstract", "Methods"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4cdm/src/main/java/dap4/cdm/dsp/CDMCursor.java#L48-L83", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/ucar/nc2/dt/grid/CFGridWriter.java", "func_name": "CFGridWriter.makeFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write a netcdf-3 file from a subset of a grid dataset\n\n@param location write new file\n@param gds from this grid dataset\n@param gridList just these grids\n@param llbb horiz subset, may be null\n@param range time subset, may be null\n@throws IOException\n@throws InvalidRangeException", "docstring_tokens": ["Write", "a", "netcdf", "-", "3", "file", "from", "a", "subset", "of", "a", "grid", "dataset"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/ucar/nc2/dt/grid/CFGridWriter.java#L70-L74", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/ucar/nc2/dt/grid/CFGridWriter.java", "func_name": "CFGridWriter.makeGridFileSizeEstimate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write a netcdf-3 file from a subset of a grid dataset, as long as it doesnt exceed a certain file size.\n\n@param gds from this grid dataset\n@param gridList just these grids\n@param llbb horiz subset, may be null\n@param zRange vertical subset, may be null\n@param dateRange time subset, may be null\n@param stride_time time may be strided, -1 if want all\n@param addLatLon optionally add a lat/lon coordinate (if dataset uses projection coords)\n@return file size\n@throws IOException\n@throws InvalidRangeException", "docstring_tokens": ["Write", "a", "netcdf", "-", "3", "file", "from", "a", "subset", "of", "a", "grid", "dataset", "as", "long", "as", "it", "doesnt", "exceed", "a", "certain", "file", "size", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/ucar/nc2/dt/grid/CFGridWriter.java#L97-L104", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/ucar/nc2/dt/grid/CFGridWriter.java", "func_name": "CFGridWriter.makeFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write a CF compliant Netcdf-3 file from any gridded dataset.\n\n@param location write to this location on disk\n@param gds A gridded dataset\n@param gridList the list of grid names to be written, must not be empty. Full name (not short).\n@param llbb optional lat/lon bounding box\n@param range optional time range\n@param addLatLon should 2D lat/lon variables be added, if its a projection coordinate system?\n@param horizStride x,y stride\n@param stride_z not implemented yet\n@param stride_time not implemented yet\n@throws IOException if write or read error\n@throws InvalidRangeException if subset is illegal", "docstring_tokens": ["Write", "a", "CF", "compliant", "Netcdf", "-", "3", "file", "from", "any", "gridded", "dataset", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/ucar/nc2/dt/grid/CFGridWriter.java#L145-L151", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/point/StationRenderer.java", "func_name": "StationRenderer.setStations", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the list of stations.\n@param stns: list of DDStation objects", "docstring_tokens": ["Set", "the", "list", "of", "stations", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/point/StationRenderer.java#L69-L80", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/point/StationRenderer.java", "func_name": "StationRenderer.setSelectedStation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "set selected station based on the sttion id.", "docstring_tokens": ["set", "selected", "station", "based", "on", "the", "sttion", "id", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/point/StationRenderer.java#L83-L88", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/point/StationRenderer.java", "func_name": "StationRenderer.pick", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find station that contains this point. If it exists, make it the\n\"selected\" station.\n@param pickPt: world coordinates\n@return station that contains this point, or null if none.", "docstring_tokens": ["Find", "station", "that", "contains", "this", "point", ".", "If", "it", "exists", "make", "it", "the", "selected", "station", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/point/StationRenderer.java#L127-L135", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/point/StationRenderer.java", "func_name": "StationRenderer.pickClosest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find station closest to this point. Make it the \"selected\" station.\n@param pickPt: world coordinates\n@return station that contains this point, or null if none.", "docstring_tokens": ["Find", "station", "closest", "to", "this", "point", ".", "Make", "it", "the", "selected", "station", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/point/StationRenderer.java#L142-L152", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/point/StationRenderer.java", "func_name": "StationRenderer.getSelectedStation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the selected station.\n@return the selected station, or null if none selected", "docstring_tokens": ["Get", "the", "selected", "station", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/point/StationRenderer.java#L158-L160", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/mcidas/McGridDefRecord.java", "func_name": "McGridDefRecord.getProjName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the name for the projection type\n\n@param type the projection type\n@return a String name for the type", "docstring_tokens": ["Get", "the", "name", "for", "the", "projection", "type"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/mcidas/McGridDefRecord.java#L356-L384", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/ucar/nc2/dt/point/StationDatasetCollection.java", "func_name": "StationDatasetCollection.getStations", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get all the Stations within a bounding box.\n\n@param boundingBox within this bounding box\n@return List of Station\n@throws java.io.IOException I/O error", "docstring_tokens": ["Get", "all", "the", "Stations", "within", "a", "bounding", "box", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/ucar/nc2/dt/point/StationDatasetCollection.java#L55-L57", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/ucar/nc2/dt/point/StationDatasetCollection.java", "func_name": "StationDatasetCollection.getStation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find a Station by name\n\n@param name name of the Station\n@return Station with that name, or null if not found", "docstring_tokens": ["Find", "a", "Station", "by", "name"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/ucar/nc2/dt/point/StationDatasetCollection.java#L65-L67", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/ucar/nc2/dt/point/StationDatasetCollection.java", "func_name": "StationDatasetCollection.getDataIterator", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get all data for this Station.\n\n@param s Station\n@return iterator over type getDataClass()\n@throws java.io.IOException I/O error", "docstring_tokens": ["Get", "all", "data", "for", "this", "Station", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/ucar/nc2/dt/point/StationDatasetCollection.java#L76-L78", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/ucar/nc2/dt/point/StationDatasetCollection.java", "func_name": "StationDatasetCollection.getDataIterator", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get data for this Station within the specified date range.\n\n@param s Station\n@param start starting Date\n@param end ending Date\n@return Iterator over type getDataClass()\n@throws java.io.IOException I/O error", "docstring_tokens": ["Get", "data", "for", "this", "Station", "within", "the", "specified", "date", "range", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/ucar/nc2/dt/point/StationDatasetCollection.java#L89-L91", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/uf/Ray.java", "func_name": "Ray.readData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read data from this ray.\n\n@param raf read from this file\n@param abbrev which data type we want\n@param gateRange handles the possible subset of data to return\n@param ii put the data here\n@throws java.io.IOException", "docstring_tokens": ["Read", "data", "from", "this", "ray", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/uf/Ray.java#L447-L468", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/MAVector.java", "func_name": "MAVector.dot", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Dot product of 2 vectors\n@param v dot product with this vector\n@return double result: dot product\n@exception IllegalArgumentException if nelems != v.getNelems().", "docstring_tokens": ["Dot", "product", "of", "2", "vectors"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/MAVector.java#L86-L96", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/MAVector.java", "func_name": "MAVector.norm", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the L2 norm of this vector.\n@return double norm", "docstring_tokens": ["Get", "the", "L2", "norm", "of", "this", "vector", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/MAVector.java#L102-L111", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/ma2/MAVector.java", "func_name": "MAVector.normalize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Normalize this vector, so it has norm = 1.0.", "docstring_tokens": ["Normalize", "this", "vector", "so", "it", "has", "norm", "=", "1", ".", "0", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/ma2/MAVector.java#L116-L125", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/thredds/client/catalog/builder/CatalogBuilder.java", "func_name": "CatalogBuilder.setServices", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "pull services out of the datasets and into the catalog", "docstring_tokens": ["pull", "services", "out", "of", "the", "datasets", "and", "into", "the", "catalog"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/thredds/client/catalog/builder/CatalogBuilder.java#L215-L222", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/grib1/tables/Grib1ParamTableReader.java", "func_name": "Grib1ParamTableReader.getParameter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the parameter with id. If not found, look in default table.\n\n@param id the parameter number\n@return the Grib1Parameter, or null if not found", "docstring_tokens": ["Get", "the", "parameter", "with", "id", ".", "If", "not", "found", "look", "in", "default", "table", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/grib1/tables/Grib1ParamTableReader.java#L141-L147", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/grib1/tables/Grib1ParamTableReader.java", "func_name": "Grib1ParamTableReader.getLocalParameter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the parameter with id, but dont look in default table.\n\n@param id the parameter number\n@return the Grib1Parameter, or null if not found", "docstring_tokens": ["Get", "the", "parameter", "with", "id", "but", "dont", "look", "in", "default", "table", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/grib1/tables/Grib1ParamTableReader.java#L155-L160", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/PrefixDBImpl.java", "func_name": "PrefixDBImpl.addName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a prefix to the database by name.\n\n@param name\nThe name of the prefix to be added.\n@param value\nThe value of the prefix.\n@throws PrefixExistsException\nAnother prefix with the same name or value already exists in\nthe database.", "docstring_tokens": ["Adds", "a", "prefix", "to", "the", "database", "by", "name", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/PrefixDBImpl.java#L66-L70", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/PrefixDBImpl.java", "func_name": "PrefixDBImpl.addSymbol", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a prefix symbol to the database.\n\n@param symbol\nThe symbol of the prefix to be added.\n@param value\nThe value of the prefix.\n@throws PrefixExistsException\nAnother prefix with the same symbol or value already exists\nin the database.", "docstring_tokens": ["Adds", "a", "prefix", "symbol", "to", "the", "database", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/PrefixDBImpl.java#L83-L88", "partition": "test"} +{"repo": "Unidata/thredds", "path": "udunits/src/main/java/ucar/units/PrefixDBImpl.java", "func_name": "PrefixDBImpl.getPrefix", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the prefix from the given set with the given identifier.\n\n@param string\nThe prefix identifier.\n@param set\nThe set to search.", "docstring_tokens": ["Returns", "the", "prefix", "from", "the", "given", "set", "with", "the", "given", "identifier", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/udunits/src/main/java/ucar/units/PrefixDBImpl.java#L131-L143", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/dl/ADNWriter.java", "func_name": "ADNWriter.emailOK", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "check its an acceptable form of email", "docstring_tokens": ["check", "its", "an", "acceptable", "form", "of", "email"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/dl/ADNWriter.java#L302-L305", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/geoloc/ogc/WKTParser.java", "func_name": "WKTParser.getParameter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the value of the projection parameter. An IllegalArgument exception\nis thrown if the parameter is not found.\n\n@param name The name of the parameter. Case is ignored.\n@return The value of the parameter, as a double.", "docstring_tokens": ["Get", "the", "value", "of", "the", "projection", "parameter", ".", "An", "IllegalArgument", "exception", "is", "thrown", "if", "the", "parameter", "is", "not", "found", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/geoloc/ogc/WKTParser.java#L546-L552", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/grib1/Grib1SectionGridDefinition.java", "func_name": "Grib1SectionGridDefinition.calcCRC", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculate the CRC of the entire byte array\n\n@return CRC of the entire byte array", "docstring_tokens": ["Calculate", "the", "CRC", "of", "the", "entire", "byte", "array"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/grib1/Grib1SectionGridDefinition.java#L93-L103", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/grib1/Grib1SectionGridDefinition.java", "func_name": "Grib1SectionGridDefinition.isThin", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "is a \"thin\" grid\n\n@return if a thin grid", "docstring_tokens": ["is", "a", "thin", "grid"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/grib1/Grib1SectionGridDefinition.java#L162-L167", "partition": "test"} +{"repo": "Unidata/thredds", "path": "dap4/d4lib/src/main/java/dap4/dap4lib/AbstractCursor.java", "func_name": "AbstractCursor.fieldIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Selected DataCursor API overrides", "docstring_tokens": ["Selected", "DataCursor", "API", "overrides"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/dap4/d4lib/src/main/java/dap4/dap4lib/AbstractCursor.java#L94-L110", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/grib1/Grib1ParamTime.java", "func_name": "Grib1ParamTime.getTimeTypeName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "code table 5 - 2010 edition of WMO manual on codes", "docstring_tokens": ["code", "table", "5", "-", "2010", "edition", "of", "WMO", "manual", "on", "codes"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/grib1/Grib1ParamTime.java#L28-L181", "partition": "test"} +{"repo": "Unidata/thredds", "path": "grib/src/main/java/ucar/nc2/grib/grib1/Grib1ParamTime.java", "func_name": "Grib1ParamTime.getTimeCoord", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "A string representation of the time coordinate, whether its an interval or not.\n@return string representation of the time coordinate", "docstring_tokens": ["A", "string", "representation", "of", "the", "time", "coordinate", "whether", "its", "an", "interval", "or", "not", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/grib/src/main/java/ucar/nc2/grib/grib1/Grib1ParamTime.java#L433-L439", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft2/simpgeometry/CFPolygon.java", "func_name": "CFPolygon.setNext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the next polygon which make up the multipolygon which this polygon is a part of.\nIf next is a CFPolygon, automatically connects the other polygon to this polygon as well.", "docstring_tokens": ["Sets", "the", "next", "polygon", "which", "make", "up", "the", "multipolygon", "which", "this", "polygon", "is", "a", "part", "of", ".", "If", "next", "is", "a", "CFPolygon", "automatically", "connects", "the", "other", "polygon", "to", "this", "polygon", "as", "well", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft2/simpgeometry/CFPolygon.java#L118-L124", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft2/simpgeometry/CFPolygon.java", "func_name": "CFPolygon.setPrev", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the previous polygon which makes up the multipolygon which this polygon is a part of.\nIf prev is a CFPolygon, automatically connect the other polygon to this polygon as well.", "docstring_tokens": ["Sets", "the", "previous", "polygon", "which", "makes", "up", "the", "multipolygon", "which", "this", "polygon", "is", "a", "part", "of", ".", "If", "prev", "is", "a", "CFPolygon", "automatically", "connect", "the", "other", "polygon", "to", "this", "polygon", "as", "well", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft2/simpgeometry/CFPolygon.java#L146-L153", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/catalog/InvService.java", "func_name": "InvService.findProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get named property.\n\n@param name match this name\n@return String value of Property or null if not exist.", "docstring_tokens": ["Get", "named", "property", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/catalog/InvService.java#L143-L150", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/geoloc/JTableProjection.java", "func_name": "JTableProjection.setCurrentProjection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "set current projection if found, else deselect", "docstring_tokens": ["set", "current", "projection", "if", "found", "else", "deselect"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/geoloc/JTableProjection.java#L145-L156", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft2/coverage/TimeOffsetAxis.java", "func_name": "TimeOffsetAxis.subsetFromTime", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "normal case already handled, this is the case where a time has been specified, and only one runtime", "docstring_tokens": ["normal", "case", "already", "handled", "this", "is", "the", "case", "where", "a", "time", "has", "been", "specified", "and", "only", "one", "runtime"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft2/coverage/TimeOffsetAxis.java#L30-L61", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NetcdfFile.java", "func_name": "NetcdfFile.registerIOProvider", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Register an IOServiceProvider, using its class string name.\n\n@param className Class that implements IOServiceProvider.\n@throws IllegalAccessException if class is not accessible.\n@throws InstantiationException if class doesnt have a no-arg constructor.\n@throws ClassNotFoundException if class not found.", "docstring_tokens": ["Register", "an", "IOServiceProvider", "using", "its", "class", "string", "name", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NetcdfFile.java#L305-L308", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NetcdfFile.java", "func_name": "NetcdfFile.registerIOProvider", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Register an IOServiceProvider. A new instance will be created when one of its files is opened.\n\n@param iospClass Class that implements IOServiceProvider.\n@param last true=>insert at the end of the list; otherwise front\n@throws IllegalAccessException if class is not accessible.\n@throws InstantiationException if class doesnt have a no-arg constructor.\n@throws ClassCastException if class doesnt implement IOServiceProvider interface.", "docstring_tokens": ["Register", "an", "IOServiceProvider", ".", "A", "new", "instance", "will", "be", "created", "when", "one", "of", "its", "files", "is", "opened", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NetcdfFile.java#L332-L339", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NetcdfFile.java", "func_name": "NetcdfFile.registerIOProviderPreferred", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Register an IOServiceProvider. A new instance will be created when one of its files is opened.\nThis differs from the above in that it specifically locates the target iosp and inserts\nthe new one in front of it in order to override the target.\nIf the iospclass is already registered, remove it and reinsert.\nIf the target class is not present, then insert at front of the registry\n\n@param iospClass Class that implements IOServiceProvider.\n@param target Class to override\n@throws IllegalAccessException if class is not accessible.\n@throws InstantiationException if class doesnt have a no-arg constructor.\n@throws ClassCastException if class doesnt implement IOServiceProvider interface.", "docstring_tokens": ["Register", "an", "IOServiceProvider", ".", "A", "new", "instance", "will", "be", "created", "when", "one", "of", "its", "files", "is", "opened", ".", "This", "differs", "from", "the", "above", "in", "that", "it", "specifically", "locates", "the", "target", "iosp", "and", "inserts", "the", "new", "one", "in", "front", "of", "it", "in", "order", "to", "override", "the", "target", ".", "If", "the", "iospclass", "is", "already", "registered", "remove", "it", "and", "reinsert", ".", "If", "the", "target", "class", "is", "not", "present", "then", "insert", "at", "front", "of", "the", "registry"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NetcdfFile.java#L354-L370", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NetcdfFile.java", "func_name": "NetcdfFile.iospRegistered", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "See if a specific IOServiceProvider is registered\n\n@param iospClass Class for which to search", "docstring_tokens": ["See", "if", "a", "specific", "IOServiceProvider", "is", "registered"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NetcdfFile.java#L377-L382", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NetcdfFile.java", "func_name": "NetcdfFile.iospDeRegister", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "See if a specific IOServiceProvider is registered and if so, remove it.\n\n@param iospClass Class for which to search and remove\n@return true if class was present", "docstring_tokens": ["See", "if", "a", "specific", "IOServiceProvider", "is", "registered", "and", "if", "so", "remove", "it", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NetcdfFile.java#L390-L399", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NetcdfFile.java", "func_name": "NetcdfFile.canOpen", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find out if the file can be opened, but dont actually open it.\nExperimental.\n\n@param location same as open\n@return true if can be opened\n@throws IOException on read error", "docstring_tokens": ["Find", "out", "if", "the", "file", "can", "be", "opened", "but", "dont", "actually", "open", "it", ".", "Experimental", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NetcdfFile.java#L512-L520", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NetcdfFile.java", "func_name": "NetcdfFile.openInMemory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Open an in-memory netcdf file, with a specific iosp.\n\n@param name name of the dataset. Typically use the filename or URI.\n@param data in-memory netcdf file\n@param iospClassName fully qualified class name of the IOSP class to handle this file\n@return NetcdfFile object, or null if cant find IOServiceProver\n@throws IOException if read error\n@throws ClassNotFoundException cannat find iospClassName in the class path\n@throws InstantiationException if class cannot be instantiated\n@throws IllegalAccessException if class is not accessible", "docstring_tokens": ["Open", "an", "in", "-", "memory", "netcdf", "file", "with", "a", "specific", "iosp", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NetcdfFile.java#L799-L806", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NetcdfFile.java", "func_name": "NetcdfFile.openInMemory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Open an in-memory netcdf file.\n\n@param name name of the dataset. Typically use the filename or URI.\n@param data in-memory netcdf file\n@return memory-resident NetcdfFile\n@throws java.io.IOException if error", "docstring_tokens": ["Open", "an", "in", "-", "memory", "netcdf", "file", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NetcdfFile.java#L816-L819", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NetcdfFile.java", "func_name": "NetcdfFile.openInMemory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a local CDM file into memory. All reads are then done from memory.\n\n@param filename location of CDM file, must be a local file.\n@return a NetcdfFile, which is completely in memory\n@throws IOException if error reading file", "docstring_tokens": ["Read", "a", "local", "CDM", "file", "into", "memory", ".", "All", "reads", "are", "then", "done", "from", "memory", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NetcdfFile.java#L828-L835", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NetcdfFile.java", "func_name": "NetcdfFile.openInMemory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a remote CDM file into memory. All reads are then done from memory.\n\n@param uri location of CDM file, must be accessible through url.toURL().openStream().\n@return a NetcdfFile, which is completely in memory\n@throws IOException if error reading file", "docstring_tokens": ["Read", "a", "remote", "CDM", "file", "into", "memory", ".", "All", "reads", "are", "then", "done", "from", "memory", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NetcdfFile.java#L844-L848", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NetcdfFile.java", "func_name": "NetcdfFile.findGlobalAttributeIgnoreCase", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Look up global Attribute by name, ignore case.\n\n@param name the name of the attribute\n@return the attribute, or null if not found", "docstring_tokens": ["Look", "up", "global", "Attribute", "by", "name", "ignore", "case", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NetcdfFile.java#L1252-L1258", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NetcdfFile.java", "func_name": "NetcdfFile.toNcML", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "CDL representation of Netcdf header info, non strict", "docstring_tokens": ["CDL", "representation", "of", "Netcdf", "header", "info", "non", "strict"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NetcdfFile.java#L1396-L1402", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NetcdfFile.java", "func_name": "NetcdfFile.writeCDL", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write CDL representation to OutputStream.\n\n@param out write to this OutputStream\n@param strict if true, make it stricly CDL, otherwise, add a little extra info", "docstring_tokens": ["Write", "CDL", "representation", "to", "OutputStream", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NetcdfFile.java#L1413-L1418", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NetcdfFile.java", "func_name": "NetcdfFile.writeCDL", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write CDL representation to PrintWriter.\n\n@param pw write to this PrintWriter\n@param strict if true, make it stricly CDL, otherwise, add a little extra info", "docstring_tokens": ["Write", "CDL", "representation", "to", "PrintWriter", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NetcdfFile.java#L1426-L1430", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NetcdfFile.java", "func_name": "NetcdfFile.writeCDL", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "the actual work is here", "docstring_tokens": ["the", "actual", "work", "is", "here"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NetcdfFile.java#L1445-L1448", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NetcdfFile.java", "func_name": "NetcdfFile.addAttribute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add an attribute to a group.\n\n@param parent add to this group. If group is null, use root group\n@param att add this attribute\n@return the attribute that was added", "docstring_tokens": ["Add", "an", "attribute", "to", "a", "group", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NetcdfFile.java#L1715-L1720", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NetcdfFile.java", "func_name": "NetcdfFile.addAttribute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add optional String attribute to a group.\n\n@param parent add to this group. If group is null, use root group\n@param name attribute name, may not be null\n@param value attribute value, may be null, in which case, do not addd\n@return the attribute that was added", "docstring_tokens": ["Add", "optional", "String", "attribute", "to", "a", "group", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NetcdfFile.java#L1730-L1737", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NetcdfFile.java", "func_name": "NetcdfFile.addGroup", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a group to the parent group.\n\n@param parent add to this group. If group is null, use root group\n@param g add this group\n@return the group that was added", "docstring_tokens": ["Add", "a", "group", "to", "the", "parent", "group", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NetcdfFile.java#L1746-L1751", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NetcdfFile.java", "func_name": "NetcdfFile.addDimension", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a shared Dimension to a Group.\n\n@param parent add to this group. If group is null, use root group\n@param d add this Dimension\n@return the dimension that was added", "docstring_tokens": ["Add", "a", "shared", "Dimension", "to", "a", "Group", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NetcdfFile.java#L1760-L1765", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NetcdfFile.java", "func_name": "NetcdfFile.removeDimension", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove a shared Dimension from a Group by name.\n\n@param g remove from this group. If group is null, use root group\n@param dimName name of Dimension to remove.\n@return true if found and removed.", "docstring_tokens": ["Remove", "a", "shared", "Dimension", "from", "a", "Group", "by", "name", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NetcdfFile.java#L1774-L1778", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NetcdfFile.java", "func_name": "NetcdfFile.addVariable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a Variable to the given group.\n\n@param g add to this group. If group is null, use root group\n@param v add this Variable\n@return the variable that was added", "docstring_tokens": ["Add", "a", "Variable", "to", "the", "given", "group", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NetcdfFile.java#L1787-L1792", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NetcdfFile.java", "func_name": "NetcdfFile.addVariable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a new Variable, and add to the given group.\n\n@param g add to this group. If group is null, use root group\n@param shortName short name of the Variable\n@param dtype data type of the Variable\n@param dims list of dimension names\n@return the new Variable", "docstring_tokens": ["Create", "a", "new", "Variable", "and", "add", "to", "the", "given", "group", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NetcdfFile.java#L1803-L1811", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NetcdfFile.java", "func_name": "NetcdfFile.addStringVariable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a new Variable of type Datatype.CHAR, and add to the given group.\n\n@param g add to this group. If group is null, use root group\n@param shortName short name of the Variable\n@param dims list of dimension names\n@param strlen dimension length of the inner (fastest changing) dimension\n@return the new Variable", "docstring_tokens": ["Create", "a", "new", "Variable", "of", "type", "Datatype", ".", "CHAR", "and", "add", "to", "the", "given", "group", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NetcdfFile.java#L1822-L1832", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NetcdfFile.java", "func_name": "NetcdfFile.removeVariable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove a Variable from the given group by name.\n\n@param g remove from this group. If group is null, use root group\n@param varName name of variable to remove.\n@return true is variable found and removed", "docstring_tokens": ["Remove", "a", "Variable", "from", "the", "given", "group", "by", "name", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NetcdfFile.java#L1841-L1845", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NetcdfFile.java", "func_name": "NetcdfFile.sendIospMessage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generic way to send a \"message\" to the underlying IOSP.\nThis message is sent after the file is open. To affect the creation of the file, you must send into the factory method.\n\n@param message iosp specific message\nSpecial:
    \n
  • NetcdfFile.IOSP_MESSAGE_ADD_RECORD_STRUCTURE : tells Netcdf-3 files to make record (unlimited) variables into a structure.\nreturn true if it has a Nectdf-3 record structure\n
\n@return iosp specific return, may be null", "docstring_tokens": ["Generic", "way", "to", "send", "a", "message", "to", "the", "underlying", "IOSP", ".", "This", "message", "is", "sent", "after", "the", "file", "is", "open", ".", "To", "affect", "the", "creation", "of", "the", "file", "you", "must", "send", "into", "the", "factory", "method", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NetcdfFile.java#L1879-L1901", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NetcdfFile.java", "func_name": "NetcdfFile.makeRecordStructure", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If there is an unlimited dimension, make all variables that use it into a Structure.\nA Variable called \"record\" is added.\nYou can then access these through the record structure.\n\n@return true if it has a Nectdf-3 record structure", "docstring_tokens": ["If", "there", "is", "an", "unlimited", "dimension", "make", "all", "variables", "that", "use", "it", "into", "a", "Structure", ".", "A", "Variable", "called", "record", "is", "added", ".", "You", "can", "then", "access", "these", "through", "the", "record", "structure", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NetcdfFile.java#L1910-L1918", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NetcdfFile.java", "func_name": "NetcdfFile.finish", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finish constructing the object model.\nThis construsts the \"global\" variables, attributes and dimensions.\nIt also looks for coordinate variables.", "docstring_tokens": ["Finish", "constructing", "the", "object", "model", ".", "This", "construsts", "the", "global", "variables", "attributes", "and", "dimensions", ".", "It", "also", "looks", "for", "coordinate", "variables", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NetcdfFile.java#L2020-L2026", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NetcdfFile.java", "func_name": "NetcdfFile.readSection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a variable using the given section specification.\nThe result is always an array of the type of the innermost variable.\nIts shape is the accumulation of all the shapes of its parent structures.\n\n@param variableSection the constraint expression.\n@return data requested\n@throws IOException if error\n@throws InvalidRangeException if variableSection is invalid\n@see SectionSpecification", "docstring_tokens": ["Read", "a", "variable", "using", "the", "given", "section", "specification", ".", "The", "result", "is", "always", "an", "array", "of", "the", "type", "of", "the", "innermost", "variable", ".", "Its", "shape", "is", "the", "accumulation", "of", "all", "the", "shapes", "of", "its", "parent", "structures", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NetcdfFile.java#L2109-L2123", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NetcdfFile.java", "func_name": "NetcdfFile.readToByteChannel", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read data from a top level Variable and send data to a WritableByteChannel. Experimental.\n\n@param v a top-level Variable\n@param section the section of data to read.\nThere must be a Range for each Dimension in the variable, in order.\nNote: no nulls allowed. IOSP may not modify.\n@param wbc write data to this WritableByteChannel\n@return the number of bytes written to the channel\n@throws java.io.IOException if read error\n@throws ucar.ma2.InvalidRangeException if invalid section", "docstring_tokens": ["Read", "data", "from", "a", "top", "level", "Variable", "and", "send", "data", "to", "a", "WritableByteChannel", ".", "Experimental", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NetcdfFile.java#L2139-L2149", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NetcdfFile.java", "func_name": "NetcdfFile.readArrays", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Do a bulk read on a list of Variables and\nreturn a corresponding list of Array that contains the results\nof a full read on each Variable.\nThis is mostly here so DODSNetcdf can override it with one call to the server.\n\n@param variables List of type Variable\n@return List of Array, one for each Variable in the input.\n@throws IOException if read error", "docstring_tokens": ["Do", "a", "bulk", "read", "on", "a", "list", "of", "Variables", "and", "return", "a", "corresponding", "list", "of", "Array", "that", "contains", "the", "results", "of", "a", "full", "read", "on", "each", "Variable", ".", "This", "is", "mostly", "here", "so", "DODSNetcdf", "can", "override", "it", "with", "one", "call", "to", "the", "server", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NetcdfFile.java#L2205-L2210", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NetcdfFile.java", "func_name": "NetcdfFile.read", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a variable using the given section specification.\n\n@param variableSection the constraint expression.\n@param flatten MUST BE TRUE\n@return Array data read.\n@throws IOException if error\n@throws InvalidRangeException if variableSection is invalid\n@see SectionSpecification\n@deprecated use readSection(), flatten=false no longer supported", "docstring_tokens": ["Read", "a", "variable", "using", "the", "given", "section", "specification", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NetcdfFile.java#L2223-L2227", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NetcdfFile.java", "func_name": "NetcdfFile.makeFullName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Given a CDMNode, create its full name with\nappropriate backslash escaping of the specified characters.\n\n@param node the cdm node\n@param reservedChars the set of characters to escape\n@return full name", "docstring_tokens": ["Given", "a", "CDMNode", "create", "its", "full", "name", "with", "appropriate", "backslash", "escaping", "of", "the", "specified", "characters", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NetcdfFile.java#L2506-L2515", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/NetcdfFile.java", "func_name": "NetcdfFile.makeFullNameWithString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a synthetic full name from a group plus a string\n\n@param parent parent group\n@param name synthetic name string\n@return synthetic name", "docstring_tokens": ["Create", "a", "synthetic", "full", "name", "from", "a", "group", "plus", "a", "string"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/NetcdfFile.java#L2540-L2546", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/thredds/inventory/filter/CompositeMFileFilter.java", "func_name": "CompositeMFileFilter.include", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "inclusion is an OR", "docstring_tokens": ["inclusion", "is", "an", "OR"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/thredds/inventory/filter/CompositeMFileFilter.java#L61-L68", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/thredds/inventory/filter/CompositeMFileFilter.java", "func_name": "CompositeMFileFilter.exclude", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "exclusion is an AND", "docstring_tokens": ["exclusion", "is", "an", "AND"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/thredds/inventory/filter/CompositeMFileFilter.java#L71-L78", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/thredds/inventory/filter/CompositeMFileFilter.java", "func_name": "CompositeMFileFilter.andFilter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "all AND filters must be satisfied", "docstring_tokens": ["all", "AND", "filters", "must", "be", "satisfied"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/thredds/inventory/filter/CompositeMFileFilter.java#L81-L88", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/dap/Attribute.java", "func_name": "Attribute.appendValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Append a value to this attribute.\n\n@param value the attribute String to add.\n@param check if true, check the validity of he attribute's value, if\nfalse don't.\n@throws AttributeBadValueException thrown if the value is not a legal\nmember of type", "docstring_tokens": ["Append", "a", "value", "to", "this", "attribute", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/dap/Attribute.java#L445-L454", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/dap/Attribute.java", "func_name": "Attribute.dispatchCheckValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if the value is legal for a given type.\n\n@param type the type of the value.\n@param value the value String.\n@throws AttributeBadValueException if the value is not a legal\nmember of type", "docstring_tokens": ["Check", "if", "the", "value", "is", "legal", "for", "a", "given", "type", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/dap/Attribute.java#L476-L525", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/dap/Attribute.java", "func_name": "Attribute.forceValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if the value is legal for a given type\nand try to convert to specified type.\n\n@param type the type of the value.\n@param value the value String.\n@return original or converted value\n@throws AttributeBadValueException if the value is not a legal\nmember of type", "docstring_tokens": ["Check", "if", "the", "value", "is", "legal", "for", "a", "given", "type", "and", "try", "to", "convert", "to", "specified", "type", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/dap/Attribute.java#L537-L551", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/dap/Attribute.java", "func_name": "Attribute.checkByte", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if string is a valid Byte.\n\n@param s the String to check.\n@return true if the value is legal.", "docstring_tokens": ["Check", "if", "string", "is", "a", "valid", "Byte", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/dap/Attribute.java#L559-L575", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/dap/Attribute.java", "func_name": "Attribute.checkShort", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if string is a valid Int16.\n\n@param s the String to check.\n@return true if the value is legal.", "docstring_tokens": ["Check", "if", "string", "is", "a", "valid", "Int16", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/dap/Attribute.java#L583-L594", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/dap/Attribute.java", "func_name": "Attribute.checkInt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if string is a valid Int32.\n\n@param s the String to check.\n@return true if the value is legal.", "docstring_tokens": ["Check", "if", "string", "is", "a", "valid", "Int32", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/dap/Attribute.java#L625-L637", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/dap/Attribute.java", "func_name": "Attribute.checkUInt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if string is a valid UInt32.\n\n@param s the String to check.\n@return true if the value is legal.", "docstring_tokens": ["Check", "if", "string", "is", "a", "valid", "UInt32", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/dap/Attribute.java#L645-L660", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/dap/Attribute.java", "func_name": "Attribute.checkFloat", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if string is a valid Float32.\n\n@param s the String to check.\n@return true if the value is legal.", "docstring_tokens": ["Check", "if", "string", "is", "a", "valid", "Float32", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/dap/Attribute.java#L668-L683", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/dap/Attribute.java", "func_name": "Attribute.checkDouble", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if string is a valid Float64.\n\n@param s the String to check.\n@return true if the value is legal.", "docstring_tokens": ["Check", "if", "string", "is", "a", "valid", "Float64", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/dap/Attribute.java#L691-L706", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/EnhanceScaleMissingUnsignedImpl.java", "func_name": "EnhanceScaleMissingUnsignedImpl.getAttributeDataType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the data type of an attribute. Make it unsigned if the variable is unsigned.", "docstring_tokens": ["Get", "the", "data", "type", "of", "an", "attribute", ".", "Make", "it", "unsigned", "if", "the", "variable", "is", "unsigned", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/EnhanceScaleMissingUnsignedImpl.java#L252-L259", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/server/wms/Godiva3Viewer.java", "func_name": "Godiva3Viewer.isViewable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if this is a gridded dataset that is accessible via WMS.", "docstring_tokens": ["Returns", "true", "if", "this", "is", "a", "gridded", "dataset", "that", "is", "accessible", "via", "WMS", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/server/wms/Godiva3Viewer.java#L58-L62", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/util/StringValidateEncodeUtils.java", "func_name": "StringValidateEncodeUtils.validBooleanString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return true if the given String is \"true\" or \"false\", ignoring case.\n\n@param boolString the String to validate.\n@return true if the given String is \"true\" or \"false\", ignoring case.", "docstring_tokens": ["Return", "true", "if", "the", "given", "String", "is", "true", "or", "false", "ignoring", "case", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/util/StringValidateEncodeUtils.java#L226-L235", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/util/StringValidateEncodeUtils.java", "func_name": "StringValidateEncodeUtils.validAlphanumericString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return true if the given String is an alphanumeric string.\n\n@param alphNumString the String to validate.\n@return true if the given String is an alphanumeric string.", "docstring_tokens": ["Return", "true", "if", "the", "given", "String", "is", "an", "alphanumeric", "string", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/util/StringValidateEncodeUtils.java#L246-L251", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/util/StringValidateEncodeUtils.java", "func_name": "StringValidateEncodeUtils.validAlphanumericStringConstrainedSet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return true if the given String is an alphanumeric string and one of\nthe valid strings in the constrained set.\n\n@param alphNumString the String to validate.\n@param constrainedSet the set of valid strings\n@param ignoreCase if true ignore the case of the letters\n@return true if the given String is an alphanumeric string.", "docstring_tokens": ["Return", "true", "if", "the", "given", "String", "is", "an", "alphanumeric", "string", "and", "one", "of", "the", "valid", "strings", "in", "the", "constrained", "set", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/util/StringValidateEncodeUtils.java#L265-L278", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/util/StringValidateEncodeUtils.java", "func_name": "StringValidateEncodeUtils.descendOnlyFilePath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return true if the given path does not ascend into parent directory.\n\n@param path the path to check\n@return true if the given path does not ascend into parent directory.", "docstring_tokens": ["Return", "true", "if", "the", "given", "path", "does", "not", "ascend", "into", "parent", "directory", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/util/StringValidateEncodeUtils.java#L286-L306", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/util/StringValidateEncodeUtils.java", "func_name": "StringValidateEncodeUtils.unicodeCodePoint2PercentHexString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the percentHexOctets string that represents the given Unicode\ncode point in the given character set or null if the given character\nset cannot encode the given code point.\n\n@param codePoint the given Unicode code point\n@param charsetName the name of the character set.\n@return the percentHexOctets string that represents the given Unicode code point in the given character set.\n@throws IllegalArgumentException if the code point is not defined or the the character set is not supported.", "docstring_tokens": ["Return", "the", "percentHexOctets", "string", "that", "represents", "the", "given", "Unicode", "code", "point", "in", "the", "given", "character", "set", "or", "null", "if", "the", "given", "character", "set", "cannot", "encode", "the", "given", "code", "point", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/util/StringValidateEncodeUtils.java#L339-L365", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/grid/GridDefRecord.java", "func_name": "GridDefRecord.getParam", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "gets a param and value.\n\n@param key name of the param\n@return the value or null", "docstring_tokens": ["gets", "a", "param", "and", "value", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/grid/GridDefRecord.java#L415-L436", "partition": "test"} +{"repo": "Unidata/thredds", "path": "visad/src/main/java/ucar/nc2/iosp/grid/GridDefRecord.java", "func_name": "GridDefRecord.compare", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compare GridDefRecords, the numerics will use nearlyEquals so values that\ndiffer in 3 or 4th decimal places will return equal. This is being coded\nbecause the NDFD model dx differ in the 3 decimal place otherwise equal.", "docstring_tokens": ["Compare", "GridDefRecords", "the", "numerics", "will", "use", "nearlyEquals", "so", "values", "that", "differ", "in", "3", "or", "4th", "decimal", "places", "will", "return", "equal", ".", "This", "is", "being", "coded", "because", "the", "NDFD", "model", "dx", "differ", "in", "the", "3", "decimal", "place", "otherwise", "equal", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/visad/src/main/java/ucar/nc2/iosp/grid/GridDefRecord.java#L554-L585", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ldm/src/main/thredds/ldm/MessageBroker.java", "func_name": "MessageBroker.process", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Step 1 - read and extract a Bufr Message", "docstring_tokens": ["Step", "1", "-", "read", "and", "extract", "a", "Bufr", "Message"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ldm/src/main/thredds/ldm/MessageBroker.java#L251-L260", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ldm/src/main/thredds/ldm/MessageBroker.java", "func_name": "MessageBroker.process", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "return where in the buffer we got to.", "docstring_tokens": ["return", "where", "in", "the", "buffer", "we", "got", "to", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ldm/src/main/thredds/ldm/MessageBroker.java#L263-L335", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/servers/parsers/Ceparse.java", "func_name": "Ceparse.removeQuotes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove double quotes from around a string. If there's not both start\nand ending quotes, does nothing.\n\n@param s The source string.\n@return The string without double quotes.", "docstring_tokens": ["Remove", "double", "quotes", "from", "around", "a", "string", ".", "If", "there", "s", "not", "both", "start", "and", "ending", "quotes", "does", "nothing", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/servers/parsers/Ceparse.java#L420-L426", "partition": "test"} +{"repo": "Unidata/thredds", "path": "opendap/src/main/java/opendap/servers/parsers/Ceparse.java", "func_name": "Ceparse.markStackedVariables", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Given a stack of BaseType variables, mark these as part of the\ncurrent projection. This function assumes that if the TOS contains a\nCtor type variable, all of its members are to be projected. Also\nassume all variables under the TOS are Ctor variables and\nonly the ctor itself is to be projected; the member within the Ctor\nthat is part of the projection will be on the stack, too.", "docstring_tokens": ["Given", "a", "stack", "of", "BaseType", "variables", "mark", "these", "as", "part", "of", "the", "current", "projection", ".", "This", "function", "assumes", "that", "if", "the", "TOS", "contains", "a", "Ctor", "type", "variable", "all", "of", "its", "members", "are", "to", "be", "projected", ".", "Also", "assume", "all", "variables", "under", "the", "TOS", "are", "Ctor", "variables", "and", "only", "the", "ctor", "itself", "is", "to", "be", "projected", ";", "the", "member", "within", "the", "Ctor", "that", "is", "part", "of", "the", "projection", "will", "be", "on", "the", "stack", "too", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/opendap/src/main/java/opendap/servers/parsers/Ceparse.java#L436-L462", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/op/NcmlEditor.java", "func_name": "NcmlEditor.writeNcml", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "write ncml from given dataset", "docstring_tokens": ["write", "ncml", "from", "given", "dataset"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/op/NcmlEditor.java#L279-L308", "partition": "test"} +{"repo": "Unidata/thredds", "path": "tds/src/main/java/thredds/server/config/TdsConfigMapper.java", "func_name": "TdsConfigMapper.getValueFromThreddsConfig", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "static so can be called from static enum classes", "docstring_tokens": ["static", "so", "can", "be", "called", "from", "static", "enum", "classes"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/tds/src/main/java/thredds/server/config/TdsConfigMapper.java#L36-L43", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/EnumTypedef.java", "func_name": "EnumTypedef.writeCDL", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "String representation.\n\n@param strict if true, write in strict adherence to CDL definition.\n@return CDL representation.", "docstring_tokens": ["String", "representation", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/EnumTypedef.java#L120-L124", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/ft/point/remote/StationCollectionStream.java", "func_name": "StationCollectionStream.createStationHelper", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "initialize the stationHelper.", "docstring_tokens": ["initialize", "the", "stationHelper", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/ft/point/remote/StationCollectionStream.java#L52-L73", "partition": "test"} +{"repo": "Unidata/thredds", "path": "legacy/src/main/java/thredds/cataloggen/config/ResultService.java", "func_name": "ResultService.validate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Validate this ResultService object. Return true if valid, false if invalid.\n\n@param out StringBuffer with validation messages.\n@return boolean true if valid, false if invalid", "docstring_tokens": ["Validate", "this", "ResultService", "object", ".", "Return", "true", "if", "valid", "false", "if", "invalid", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/legacy/src/main/java/thredds/cataloggen/config/ResultService.java#L96-L113", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/cinrad/Cinrad2Record.java", "func_name": "Cinrad2Record.getAzimuth", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the azimuth in degrees\n\n@return azimuth angle in degrees 0 = true north, 90 = east", "docstring_tokens": ["Get", "the", "azimuth", "in", "degrees"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/cinrad/Cinrad2Record.java#L882-L893", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/cinrad/Cinrad2Record.java", "func_name": "Cinrad2Record.getElevation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the elevation angle in degrees\n\n@return elevation angle in degrees 0 = parellel to pedestal base, 90 = perpendicular", "docstring_tokens": ["Get", "the", "elevation", "angle", "in", "degrees"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/cinrad/Cinrad2Record.java#L900-L910", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/atd/dorade/DoradeSWIB.java", "func_name": "DoradeSWIB.getLatitudes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the array of per-ray latitudes. If we do not have per-ray position\ninformation, null is returned.\n\n@return an array of per-ray latitudes, or null if no per-ray position\ninformation is available.", "docstring_tokens": ["Get", "the", "array", "of", "per", "-", "ray", "latitudes", ".", "If", "we", "do", "not", "have", "per", "-", "ray", "position", "information", "null", "is", "returned", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/atd/dorade/DoradeSWIB.java#L161-L168", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/atd/dorade/DoradeSWIB.java", "func_name": "DoradeSWIB.getLongitudes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the array of per-ray longitudes. If we do not have per-ray position\ninformation, null is returned.\n\n@return an array of per-ray longitudes, or null if no per-ray position\ninformation is available.", "docstring_tokens": ["Get", "the", "array", "of", "per", "-", "ray", "longitudes", ".", "If", "we", "do", "not", "have", "per", "-", "ray", "position", "information", "null", "is", "returned", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/atd/dorade/DoradeSWIB.java#L177-L184", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/atd/dorade/DoradeSWIB.java", "func_name": "DoradeSWIB.getAltitudes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the array of per-ray altitudes. If we do not have per-ray position\ninformation, null is returned.\n\n@return an array of per-ray altitudes in km MSL, or null if no per-ray\nposition information is available.", "docstring_tokens": ["Get", "the", "array", "of", "per", "-", "ray", "altitudes", ".", "If", "we", "do", "not", "have", "per", "-", "ray", "position", "information", "null", "is", "returned", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/atd/dorade/DoradeSWIB.java#L193-L200", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/atd/dorade/DoradeSWIB.java", "func_name": "DoradeSWIB.getAzimuths", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the array of azimuths for this sweep.\n\n@return the array of azimuths for this sweep\n@see #getNRays()", "docstring_tokens": ["Get", "the", "array", "of", "azimuths", "for", "this", "sweep", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/atd/dorade/DoradeSWIB.java#L208-L216", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/atd/dorade/DoradeSWIB.java", "func_name": "DoradeSWIB.getElevations", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the array of elevations for this sweep.\n\n@return the array of elevations for this sweep\n@see #getNRays()", "docstring_tokens": ["Get", "the", "array", "of", "elevations", "for", "this", "sweep", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/atd/dorade/DoradeSWIB.java#L224-L232", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Structure.java", "func_name": "Structure.select", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a subset of the Structure consisting only of the given member variables\n@param memberNames list of Variable names, already a member\n@return Structure containing just those members", "docstring_tokens": ["Create", "a", "subset", "of", "the", "Structure", "consisting", "only", "of", "the", "given", "member", "variables"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Structure.java#L100-L110", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Structure.java", "func_name": "Structure.select", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a subset of the Structure consisting only of the one member variable\n@param varName name of member Variable\n@return containing just that member", "docstring_tokens": ["Create", "a", "subset", "of", "the", "Structure", "consisting", "only", "of", "the", "one", "member", "variable"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Structure.java#L117-L121", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Structure.java", "func_name": "Structure.addMemberVariable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a member variable\n@param v add this variable as a member of this structure\n@return the added variable", "docstring_tokens": ["Add", "a", "member", "variable"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Structure.java#L160-L166", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Structure.java", "func_name": "Structure.setMemberVariables", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the list of member variables.\n@param vars this is the list of member variables", "docstring_tokens": ["Set", "the", "list", "of", "member", "variables", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Structure.java#L171-L178", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Structure.java", "func_name": "Structure.setParentGroup", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the parent group of this Structure, and all member variables.", "docstring_tokens": ["Set", "the", "parent", "group", "of", "this", "Structure", "and", "all", "member", "variables", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Structure.java#L224-L235", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Structure.java", "func_name": "Structure.calcElementSize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Force recalculation of size of one element of this structure - equals the sum of sizes of its members.\nThis is used only by low level classes like IOSPs.", "docstring_tokens": ["Force", "recalculation", "of", "size", "of", "one", "element", "of", "this", "structure", "-", "equals", "the", "sum", "of", "sizes", "of", "its", "members", ".", "This", "is", "used", "only", "by", "low", "level", "classes", "like", "IOSPs", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Structure.java#L311-L317", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Structure.java", "func_name": "Structure.readStructure", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Use this when this is a one dimensional array of Structures, or you are doing the index calculation yourself for\na multidimension array. This will read only the ith structure, and return the data as a StructureData object.\n@param index index into 1D array\n@return ith StructureData\n@throws java.io.IOException on read error\n@throws ucar.ma2.InvalidRangeException if index out of range", "docstring_tokens": ["Use", "this", "when", "this", "is", "a", "one", "dimensional", "array", "of", "Structures", "or", "you", "are", "doing", "the", "index", "calculation", "yourself", "for", "a", "multidimension", "array", ".", "This", "will", "read", "only", "the", "ith", "structure", "and", "return", "the", "data", "as", "a", "StructureData", "object", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Structure.java#L340-L358", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Structure.java", "func_name": "Structure.readStructure", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "For rank 1 array of Structures, read count Structures and return the data as an ArrayStructure.\nUse only when this is a one dimensional array of Structures.\n@param start start at this index\n@param count return this many StructureData\n@return the StructureData recordsfrom start to start+count-1\n@throws java.io.IOException on read error\n@throws ucar.ma2.InvalidRangeException if start, count out of range", "docstring_tokens": ["For", "rank", "1", "array", "of", "Structures", "read", "count", "Structures", "and", "return", "the", "data", "as", "an", "ArrayStructure", ".", "Use", "only", "when", "this", "is", "a", "one", "dimensional", "array", "of", "Structures", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Structure.java#L369-L376", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/Structure.java", "func_name": "Structure.getStructureIterator", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get an efficient iterator over all the data in the Structure.\n\nThis is the efficient way to get all the data, it can be much faster than reading one record at a time,\nand is optimized for large datasets.\nThis is accomplished by buffering bufferSize amount of data at once.\n\n
Example:\n\nStructureDataIterator ii = structVariable.getStructureIterator(100 * 1000);\nwhile (ii.hasNext()) {\nStructureData sdata = ii.next();\n}\n
\n@param bufferSize size in bytes to buffer, set < 0 to use default size\n@return StructureDataIterator over type StructureData\n@throws java.io.IOException on read error", "docstring_tokens": ["Get", "an", "efficient", "iterator", "over", "all", "the", "data", "in", "the", "Structure", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/Structure.java#L411-L413", "partition": "test"} +{"repo": "Unidata/thredds", "path": "bufr/src/main/java/ucar/nc2/iosp/bufr/tables/TableA.java", "func_name": "TableA.getDataCategory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "data category name, from table A\n\n@param cat data category\n@return category name, or null if not found", "docstring_tokens": ["data", "category", "name", "from", "table", "A"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/bufr/src/main/java/ucar/nc2/iosp/bufr/tables/TableA.java#L78-L82", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/geoloc/ProjectionImpl.java", "func_name": "ProjectionImpl.getClassName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the name of the type of the projection.\n\n@return the class name", "docstring_tokens": ["Get", "the", "name", "of", "the", "type", "of", "the", "projection", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/geoloc/ProjectionImpl.java#L120-L127", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/geoloc/ProjectionImpl.java", "func_name": "ProjectionImpl.addParameter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add an attribute to this projection\n\n@param name name of the attribute\n@param value attribute value as a string", "docstring_tokens": ["Add", "an", "attribute", "to", "this", "projection"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/geoloc/ProjectionImpl.java#L241-L243", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/geoloc/ProjectionImpl.java", "func_name": "ProjectionImpl.getHeader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a header for display.\n\n@return human readable header for display", "docstring_tokens": ["Get", "a", "header", "for", "display", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/geoloc/ProjectionImpl.java#L278-L286", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/unidata/geoloc/ProjectionImpl.java", "func_name": "ProjectionImpl.latLonToProjBB2", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Alternate way to calculate latLonToProjBB, originally in GridCoordSys.\nDifficult to do this in a general way.\n\n@param latlonRect desired lat/lon rectangle\n@return a ProjectionRect", "docstring_tokens": ["Alternate", "way", "to", "calculate", "latLonToProjBB", "originally", "in", "GridCoordSys", ".", "Difficult", "to", "do", "this", "in", "a", "general", "way", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/unidata/geoloc/ProjectionImpl.java#L645-L672", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/conv/CF1Convention.java", "func_name": "CF1Convention.getVersion", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get which CF version this is, ie CF-1.x\n@param hasConvName extract from convention name or list of names\n@return version, or -1 if not CF", "docstring_tokens": ["Get", "which", "CF", "version", "this", "is", "ie", "CF", "-", "1", ".", "x"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/conv/CF1Convention.java#L48-L57", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/dataset/conv/CF1Convention.java", "func_name": "CF1Convention.getZisPositive", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Guess the value of ZisPositive based on z axis name and units\n\n@param zaxisName z coordinate axis name\n@param vertCoordUnits z coordinate axis name\n@return CF.POSITIVE_UP or CF.POSITIVE_DOWN", "docstring_tokens": ["Guess", "the", "value", "of", "ZisPositive", "based", "on", "z", "axis", "name", "and", "units"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/dataset/conv/CF1Convention.java#L77-L89", "partition": "test"} +{"repo": "Unidata/thredds", "path": "clcommon/src/main/java/ucar/nc2/dt/image/image/ImageFactoryRandom.java", "func_name": "ImageFactoryRandom.delete", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "remove last file", "docstring_tokens": ["remove", "last", "file"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/clcommon/src/main/java/ucar/nc2/dt/image/image/ImageFactoryRandom.java#L66-L71", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/coverage2/CoverageRenderer.java", "func_name": "CoverageRenderer.setColorScaleParams", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "set colorscale limits, missing data", "docstring_tokens": ["set", "colorscale", "limits", "missing", "data"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/coverage2/CoverageRenderer.java#L370-L385", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/coverage2/CoverageRenderer.java", "func_name": "CoverageRenderer.renderPlanView", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Do the rendering to the given Graphics2D object.\n\n@param g Graphics2D object: has clipRect and AffineTransform set.\n@param dFromN transforms \"Normalized Device\" to Device coordinates", "docstring_tokens": ["Do", "the", "rendering", "to", "the", "given", "Graphics2D", "object", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/coverage2/CoverageRenderer.java#L473-L497", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/hdf5/H5header.java", "func_name": "H5Group.isChildOf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "is this a child of that ?", "docstring_tokens": ["is", "this", "a", "child", "of", "that", "?"], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/hdf5/H5header.java#L2249-L2253", "partition": "test"} +{"repo": "Unidata/thredds", "path": "cdm/src/main/java/ucar/nc2/iosp/hdf5/H5header.java", "func_name": "MessageType.getType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find the MessageType that matches this name.\n\n@param name find DataTYpe with this name.\n@return DataType or null if no match.", "docstring_tokens": ["Find", "the", "MessageType", "that", "matches", "this", "name", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/cdm/src/main/java/ucar/nc2/iosp/hdf5/H5header.java#L2625-L2628", "partition": "test"} +{"repo": "Unidata/thredds", "path": "ui/src/main/java/ucar/nc2/ui/table/TableAligner.java", "func_name": "TableAligner.installInAllColumns", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Installs alignment decorators in all of the table's columns.\n\n@param table a table.\n@param alignment one of the following constants:\n
    \n
  • {@link SwingConstants#LEFT}
  • \n
  • {@link SwingConstants#CENTER} (the default for image-only labels)
  • \n
  • {@link SwingConstants#RIGHT}
  • \n
  • {@link SwingConstants#LEADING} (the default for text-only labels)
  • \n
  • {@link SwingConstants#TRAILING}
  • \n
", "docstring_tokens": ["Installs", "alignment", "decorators", "in", "all", "of", "the", "table", "s", "columns", "."], "sha": "d2d68f9eee87f345625211324d71d5dc3e162ee1", "url": "https://github.com/Unidata/thredds/blob/d2d68f9eee87f345625211324d71d5dc3e162ee1/ui/src/main/java/ucar/nc2/ui/table/TableAligner.java#L60-L66", "partition": "test"} +{"repo": "coinbase/coinbase-java", "path": "src/main/java/com/coinbase/api/CoinbaseBuilder.java", "func_name": "CoinbaseBuilder.withApiKey", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Specify the HMAC api key and secret to be used for authenticated requests\n\nHaving more than one client with the same api/secret globally is unsupported\nand will result in sporadic auth errors as the nonce is calculated from the system time.\n\n@param api_key the HMAC API Key\n@param api_secret the HMAC API Secret\n\n@return this CoinbaseBuilder object", "docstring_tokens": ["Specify", "the", "HMAC", "api", "key", "and", "secret", "to", "be", "used", "for", "authenticated", "requests"], "sha": "e3f48712a0f45aabd8e205f11fa76d1cc3fa0ff8", "url": "https://github.com/coinbase/coinbase-java/blob/e3f48712a0f45aabd8e205f11fa76d1cc3fa0ff8/src/main/java/com/coinbase/api/CoinbaseBuilder.java#L52-L56", "partition": "test"} +{"repo": "nidi3/graphviz-java", "path": "graphviz-java/src/main/java/guru/nidi/graphviz/attribute/Label.java", "func_name": "Label.of", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a simple label. Create newlines with \\n.\n\n@param value the label text\n@return the Label", "docstring_tokens": ["Create", "a", "simple", "label", ".", "Create", "newlines", "with", "\\", "n", "."], "sha": "b7c45ac6c3c28ff7938426f480cdfa5a446a2c47", "url": "https://github.com/nidi3/graphviz-java/blob/b7c45ac6c3c28ff7938426f480cdfa5a446a2c47/graphviz-java/src/main/java/guru/nidi/graphviz/attribute/Label.java#L60-L62", "partition": "test"} +{"repo": "nidi3/graphviz-java", "path": "graphviz-java/src/main/java/guru/nidi/graphviz/attribute/Label.java", "func_name": "Label.lines", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a simple multiline label.\n\n@param just the text justification\n@param lines the text lines\n@return the Label", "docstring_tokens": ["Create", "a", "simple", "multiline", "label", "."], "sha": "b7c45ac6c3c28ff7938426f480cdfa5a446a2c47", "url": "https://github.com/nidi3/graphviz-java/blob/b7c45ac6c3c28ff7938426f480cdfa5a446a2c47/graphviz-java/src/main/java/guru/nidi/graphviz/attribute/Label.java#L81-L85", "partition": "test"} +{"repo": "nidi3/graphviz-java", "path": "graphviz-java/src/main/java/guru/nidi/graphviz/attribute/Label.java", "func_name": "Label.html", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a HTML label.\n\n@param value the HTML code\n@return the Label\n@see www.graphviz.org", "docstring_tokens": ["Create", "a", "HTML", "label", "."], "sha": "b7c45ac6c3c28ff7938426f480cdfa5a446a2c47", "url": "https://github.com/nidi3/graphviz-java/blob/b7c45ac6c3c28ff7938426f480cdfa5a446a2c47/graphviz-java/src/main/java/guru/nidi/graphviz/attribute/Label.java#L94-L96", "partition": "test"} +{"repo": "GoogleCloudPlatform/cloud-sql-jdbc-socket-factory", "path": "core/src/main/java/com/google/cloud/sql/core/CoreSocketFactory.java", "func_name": "CoreSocketFactory.connect", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a socket representing a connection to a Cloud SQL instance.\n\n

Depending on the environment, it may return either a SSL Socket or a Unix Socket.\n\n@param props Properties used to configure the connection.\n@return the newly created Socket.\n@throws IOException if error occurs during socket creation.", "docstring_tokens": ["Creates", "a", "socket", "representing", "a", "connection", "to", "a", "Cloud", "SQL", "instance", "."], "sha": "f108b0d5c7332a86075d32b8a648fb1b98288852", "url": "https://github.com/GoogleCloudPlatform/cloud-sql-jdbc-socket-factory/blob/f108b0d5c7332a86075d32b8a648fb1b98288852/core/src/main/java/com/google/cloud/sql/core/CoreSocketFactory.java#L175-L200", "partition": "test"} +{"repo": "GoogleCloudPlatform/cloud-sql-jdbc-socket-factory", "path": "core/src/main/java/com/google/cloud/sql/core/CoreSocketFactory.java", "func_name": "CoreSocketFactory.listIpTypes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts the string property of IP types to a list by splitting by commas, and upper-casing.", "docstring_tokens": ["Converts", "the", "string", "property", "of", "IP", "types", "to", "a", "list", "by", "splitting", "by", "commas", "and", "upper", "-", "casing", "."], "sha": "f108b0d5c7332a86075d32b8a648fb1b98288852", "url": "https://github.com/GoogleCloudPlatform/cloud-sql-jdbc-socket-factory/blob/f108b0d5c7332a86075d32b8a648fb1b98288852/core/src/main/java/com/google/cloud/sql/core/CoreSocketFactory.java#L280-L291", "partition": "test"} +{"repo": "GoogleCloudPlatform/cloud-sql-jdbc-socket-factory", "path": "connector-j-8/src/main/java/com/google/cloud/sql/mysql/SocketFactory.java", "func_name": "SocketFactory.connect", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Implements the interface for com.mysql.cj.protocol.SocketFactory for mysql-connector-java prior\nto version 8.0.13. This change is required for backwards compatibility.", "docstring_tokens": ["Implements", "the", "interface", "for", "com", ".", "mysql", ".", "cj", ".", "protocol", ".", "SocketFactory", "for", "mysql", "-", "connector", "-", "java", "prior", "to", "version", "8", ".", "0", ".", "13", ".", "This", "change", "is", "required", "for", "backwards", "compatibility", "."], "sha": "f108b0d5c7332a86075d32b8a648fb1b98288852", "url": "https://github.com/GoogleCloudPlatform/cloud-sql-jdbc-socket-factory/blob/f108b0d5c7332a86075d32b8a648fb1b98288852/connector-j-8/src/main/java/com/google/cloud/sql/mysql/SocketFactory.java#L45-L53", "partition": "test"} +{"repo": "fluent/fluent-logger-java", "path": "src/main/java/org/fluentd/logger/FluentLoggerFactory.java", "func_name": "FluentLoggerFactory.purgeLogger", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Purges an invalid logger from the cache.", "docstring_tokens": ["Purges", "an", "invalid", "logger", "from", "the", "cache", "."], "sha": "ffc13412ceb71542f3d45ac4bc5b1bd28cb955c3", "url": "https://github.com/fluent/fluent-logger-java/blob/ffc13412ceb71542f3d45ac4bc5b1bd28cb955c3/src/main/java/org/fluentd/logger/FluentLoggerFactory.java#L88-L96", "partition": "test"} +{"repo": "trung/InMemoryJavaCompiler", "path": "src/main/java/org/mdkt/compiler/InMemoryJavaCompiler.java", "func_name": "InMemoryJavaCompiler.compileAll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compile all sources\n\n@return Map containing instances of all compiled classes\n@throws Exception", "docstring_tokens": ["Compile", "all", "sources"], "sha": "d84c404975dc308ee5a418c5af8a6629c5e6c995", "url": "https://github.com/trung/InMemoryJavaCompiler/blob/d84c404975dc308ee5a418c5af8a6629c5e6c995/src/main/java/org/mdkt/compiler/InMemoryJavaCompiler.java#L67-L115", "partition": "test"} +{"repo": "trung/InMemoryJavaCompiler", "path": "src/main/java/org/mdkt/compiler/InMemoryJavaCompiler.java", "func_name": "InMemoryJavaCompiler.compile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compile single source\n\n@param className\n@param sourceCode\n@return\n@throws Exception", "docstring_tokens": ["Compile", "single", "source"], "sha": "d84c404975dc308ee5a418c5af8a6629c5e6c995", "url": "https://github.com/trung/InMemoryJavaCompiler/blob/d84c404975dc308ee5a418c5af8a6629c5e6c995/src/main/java/org/mdkt/compiler/InMemoryJavaCompiler.java#L125-L127", "partition": "test"} +{"repo": "trung/InMemoryJavaCompiler", "path": "src/main/java/org/mdkt/compiler/InMemoryJavaCompiler.java", "func_name": "InMemoryJavaCompiler.addSource", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add source code to the compiler\n\n@param className\n@param sourceCode\n@return\n@throws Exception\n@see {@link #compileAll()}", "docstring_tokens": ["Add", "source", "code", "to", "the", "compiler"], "sha": "d84c404975dc308ee5a418c5af8a6629c5e6c995", "url": "https://github.com/trung/InMemoryJavaCompiler/blob/d84c404975dc308ee5a418c5af8a6629c5e6c995/src/main/java/org/mdkt/compiler/InMemoryJavaCompiler.java#L138-L141", "partition": "test"} +{"repo": "felipecsl/GifImageView", "path": "library/src/main/java/com/felipecsl/gifimageview/library/GifHeaderParser.java", "func_name": "GifHeaderParser.readGraphicControlExt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads Graphics Control Extension values.", "docstring_tokens": ["Reads", "Graphics", "Control", "Extension", "values", "."], "sha": "d2af6a5210c1872f4c627b63b93f3aba7f0a3bb9", "url": "https://github.com/felipecsl/GifImageView/blob/d2af6a5210c1872f4c627b63b93f3aba7f0a3bb9/library/src/main/java/com/felipecsl/gifimageview/library/GifHeaderParser.java#L190-L213", "partition": "test"} +{"repo": "felipecsl/GifImageView", "path": "library/src/main/java/com/felipecsl/gifimageview/library/GifDecoder.java", "func_name": "GifDecoder.getNextFrame", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the next frame in the animation sequence.\n\n@return Bitmap representation of frame.", "docstring_tokens": ["Get", "the", "next", "frame", "in", "the", "animation", "sequence", "."], "sha": "d2af6a5210c1872f4c627b63b93f3aba7f0a3bb9", "url": "https://github.com/felipecsl/GifImageView/blob/d2af6a5210c1872f4c627b63b93f3aba7f0a3bb9/library/src/main/java/com/felipecsl/gifimageview/library/GifDecoder.java#L350-L396", "partition": "test"} +{"repo": "sialcasa/mvvmFX", "path": "examples/mini-examples/welcome-example/src/main/java/de/saxsys/mvvmfx/examples/welcome/viewmodel/personlogin/PersonLoginViewModel.java", "func_name": "PersonLoginViewModel.selectablePersonsProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Persons in string representation.\n\n@return persons", "docstring_tokens": ["Persons", "in", "string", "representation", "."], "sha": "240566a358a8e01c94c0bbb99228140a69690d02", "url": "https://github.com/sialcasa/mvvmFX/blob/240566a358a8e01c94c0bbb99228140a69690d02/examples/mini-examples/welcome-example/src/main/java/de/saxsys/mvvmfx/examples/welcome/viewmodel/personlogin/PersonLoginViewModel.java#L53-L60", "partition": "test"} +{"repo": "sialcasa/mvvmFX", "path": "mvvmfx/src/main/java/de/saxsys/mvvmfx/utils/itemlist/ListTransformation.java", "func_name": "ListTransformation.initListEvents", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If the list changed we want the recreate the targetType representation", "docstring_tokens": ["If", "the", "list", "changed", "we", "want", "the", "recreate", "the", "targetType", "representation"], "sha": "240566a358a8e01c94c0bbb99228140a69690d02", "url": "https://github.com/sialcasa/mvvmFX/blob/240566a358a8e01c94c0bbb99228140a69690d02/mvvmfx/src/main/java/de/saxsys/mvvmfx/utils/itemlist/ListTransformation.java#L81-L112", "partition": "test"} +{"repo": "sialcasa/mvvmFX", "path": "examples/mini-examples/welcome-example/src/main/java/de/saxsys/mvvmfx/examples/welcome/model/Repository.java", "func_name": "Repository.getPersonById", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets a Person.s\n\n@param id of the person\n@return person", "docstring_tokens": ["Gets", "a", "Person", ".", "s"], "sha": "240566a358a8e01c94c0bbb99228140a69690d02", "url": "https://github.com/sialcasa/mvvmFX/blob/240566a358a8e01c94c0bbb99228140a69690d02/examples/mini-examples/welcome-example/src/main/java/de/saxsys/mvvmfx/examples/welcome/model/Repository.java#L41-L48", "partition": "test"} +{"repo": "sialcasa/mvvmFX", "path": "mvvmfx-validation/src/main/java/de/saxsys/mvvmfx/utils/validation/CompositeValidationStatus.java", "func_name": "CompositeValidationStatus.addMessage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a list of validation messages for the specified validator.", "docstring_tokens": ["Add", "a", "list", "of", "validation", "messages", "for", "the", "specified", "validator", "."], "sha": "240566a358a8e01c94c0bbb99228140a69690d02", "url": "https://github.com/sialcasa/mvvmFX/blob/240566a358a8e01c94c0bbb99228140a69690d02/mvvmfx-validation/src/main/java/de/saxsys/mvvmfx/utils/validation/CompositeValidationStatus.java#L88-L110", "partition": "test"} +{"repo": "sialcasa/mvvmFX", "path": "examples/mini-examples/welcome-example/src/main/java/de/saxsys/mvvmfx/examples/welcome/viewmodel/personwelcome/PersonWelcomeViewModel.java", "func_name": "PersonWelcomeViewModel.setPersonId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set Person id for the screen\n\n@param personId for the screen", "docstring_tokens": ["Set", "Person", "id", "for", "the", "screen"], "sha": "240566a358a8e01c94c0bbb99228140a69690d02", "url": "https://github.com/sialcasa/mvvmFX/blob/240566a358a8e01c94c0bbb99228140a69690d02/examples/mini-examples/welcome-example/src/main/java/de/saxsys/mvvmfx/examples/welcome/viewmodel/personwelcome/PersonWelcomeViewModel.java#L56-L70", "partition": "test"} +{"repo": "sialcasa/mvvmFX", "path": "mvvmfx/src/main/java/de/saxsys/mvvmfx/internal/viewloader/ViewLoaderReflectionUtils.java", "func_name": "ViewLoaderReflectionUtils.createAndInjectViewModel", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method is used to create and inject the ViewModel for a given View\ninstance.\n\nThe following checks are done:\n

    \n
  • Check whether the View class specifies a ViewModel type as generic\ntype.
  • \n
  • Check whether the View has a field with a matching ViewModel type and\nthe annotation {@link InjectViewModel}.
  • \n\n
  • Check whether field in the view instance already contains a ViewModel\ninstance. In this case nothing will happen to the existing ViewModel\ninstance.
  • \n\n
\n\nIf a suitable field was found a new ViewModel instance will be created\nand injected into the field. After that the given Consumer function will\nbe applied with the injected ViewModel instance as argument.\n\n@param view\nthe view instance.\n@param \nthe generic type of the View.\n@param \nthe generic type of the ViewModel.\n@param newVmConsumer\na Consumer function that is applied when a new ViewModel\ninstance is created.\n\n@throws RuntimeException\nif there is a ViewModel field in the View with the\n{@link InjectViewModel} annotation whose type doesn't match\nthe generic ViewModel type from the View class.", "docstring_tokens": ["This", "method", "is", "used", "to", "create", "and", "inject", "the", "ViewModel", "for", "a", "given", "View", "instance", "."], "sha": "240566a358a8e01c94c0bbb99228140a69690d02", "url": "https://github.com/sialcasa/mvvmFX/blob/240566a358a8e01c94c0bbb99228140a69690d02/mvvmfx/src/main/java/de/saxsys/mvvmfx/internal/viewloader/ViewLoaderReflectionUtils.java#L237-L274", "partition": "test"} +{"repo": "sialcasa/mvvmFX", "path": "mvvmfx/src/main/java/de/saxsys/mvvmfx/internal/viewloader/ViewLoaderReflectionUtils.java", "func_name": "ViewLoaderReflectionUtils.createViewModel", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a viewModel instance for a View type. The type of the view is\ndetermined by the given view instance.\n\nFor the creation of the viewModel the {@link DependencyInjector} is used.\n\n@param view\nthe view instance that is used to find out the type of the\nViewModel\n@param \nthe generic view type\n@param \nthe generic viewModel type\n@return the viewModel instance or null if the viewModel type\ncan't be found or the viewModel can't be created.", "docstring_tokens": ["Creates", "a", "viewModel", "instance", "for", "a", "View", "type", ".", "The", "type", "of", "the", "view", "is", "determined", "by", "the", "given", "view", "instance", "."], "sha": "240566a358a8e01c94c0bbb99228140a69690d02", "url": "https://github.com/sialcasa/mvvmFX/blob/240566a358a8e01c94c0bbb99228140a69690d02/mvvmfx/src/main/java/de/saxsys/mvvmfx/internal/viewloader/ViewLoaderReflectionUtils.java#L376-L387", "partition": "test"} +{"repo": "sialcasa/mvvmFX", "path": "examples/contacts-example/src/main/java/de/saxsys/mvvmfx/examples/contacts/model/countries/DataFxCountrySelector.java", "func_name": "DataFxCountrySelector.loadCountries", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Load all countries from the XML file source with DataFX.", "docstring_tokens": ["Load", "all", "countries", "from", "the", "XML", "file", "source", "with", "DataFX", "."], "sha": "240566a358a8e01c94c0bbb99228140a69690d02", "url": "https://github.com/sialcasa/mvvmFX/blob/240566a358a8e01c94c0bbb99228140a69690d02/examples/contacts-example/src/main/java/de/saxsys/mvvmfx/examples/contacts/model/countries/DataFxCountrySelector.java#L106-L132", "partition": "test"} +{"repo": "sialcasa/mvvmFX", "path": "examples/contacts-example/src/main/java/de/saxsys/mvvmfx/examples/contacts/model/countries/DataFxCountrySelector.java", "func_name": "DataFxCountrySelector.loadSubdivisions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Load all subdivisions from the XML file source with DataFX.", "docstring_tokens": ["Load", "all", "subdivisions", "from", "the", "XML", "file", "source", "with", "DataFX", "."], "sha": "240566a358a8e01c94c0bbb99228140a69690d02", "url": "https://github.com/sialcasa/mvvmFX/blob/240566a358a8e01c94c0bbb99228140a69690d02/examples/contacts-example/src/main/java/de/saxsys/mvvmfx/examples/contacts/model/countries/DataFxCountrySelector.java#L144-L203", "partition": "test"} +{"repo": "sialcasa/mvvmFX", "path": "mvvmfx/src/main/java/de/saxsys/mvvmfx/utils/mapping/ModelWrapper.java", "func_name": "ModelWrapper.field", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a new field of type String to this instance of the wrapper. This method is used for model elements that are\nfollowing the normal Java-Beans-standard i.e. the model fields are only available via getter and setter methods\nand not as JavaFX Properties.\n\n

\n\nExample:\n

\n\n

\nModelWrapper{@code} personWrapper = new ModelWrapper{@code<>}();\n\nStringProperty wrappedNameProperty = personWrapper.field(person -> person.getName(), (person, value)\n-> person.setName(value));\n\n// or with a method reference\nStringProperty wrappedNameProperty = personWrapper.field(Person::getName, Person::setName);\n\n
\n\n\n@param getter\na function that returns the current value of the field for a given model element. Typically you will\nuse a method reference to the getter method of the model element.\n@param setter\na function that sets the given value to the given model element. Typically you will use a method\nreference to the setter method of the model element.\n\n@return The wrapped property instance.", "docstring_tokens": ["Add", "a", "new", "field", "of", "type", "String", "to", "this", "instance", "of", "the", "wrapper", ".", "This", "method", "is", "used", "for", "model", "elements", "that", "are", "following", "the", "normal", "Java", "-", "Beans", "-", "standard", "i", ".", "e", ".", "the", "model", "fields", "are", "only", "available", "via", "getter", "and", "setter", "methods", "and", "not", "as", "JavaFX", "Properties", "."], "sha": "240566a358a8e01c94c0bbb99228140a69690d02", "url": "https://github.com/sialcasa/mvvmFX/blob/240566a358a8e01c94c0bbb99228140a69690d02/mvvmfx/src/main/java/de/saxsys/mvvmfx/utils/mapping/ModelWrapper.java#L664-L666", "partition": "test"} +{"repo": "sialcasa/mvvmFX", "path": "mvvmfx/src/main/java/de/saxsys/mvvmfx/utils/mapping/ModelWrapper.java", "func_name": "ModelWrapper.immutableField", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a new immutable field of type String to this instance of the wrapper. This method is used for immutable\nmodel elements that have getters to get values for it's fields but not setters.\nInstead, immutables have methods that take a new value for a field and return a new cloned instance of the\nmodel element with only this field updated to the new value. The old model instance isn't changed.\n\n

\n\nExample:\n

\n\n

\nModelWrapper{@code} personWrapper = new ModelWrapper{@code<>}();\n\nStringProperty wrappedNameProperty = personWrapper.field(person -> person.getName(), (person, value)\n-> {\nPerson clone = person.withName(value);\nreturn clone;\n});\n\n// or with a method reference\nStringProperty wrappedNameProperty = personWrapper.field(Person::getName, Person::withName);\n\n
\n\n\n@param getter\na function that returns the current value of the field for a given model element. Typically you will\nuse a method reference to the getter method of the model element.\n@param immutableSetter\na function that returns a clone of this the given model element that has the given value set. Typically you will use a method\nreference to the immutable setter method of the model element.\n\n@return The wrapped property instance.", "docstring_tokens": ["Add", "a", "new", "immutable", "field", "of", "type", "String", "to", "this", "instance", "of", "the", "wrapper", ".", "This", "method", "is", "used", "for", "immutable", "model", "elements", "that", "have", "getters", "to", "get", "values", "for", "it", "s", "fields", "but", "not", "setters", ".", "Instead", "immutables", "have", "methods", "that", "take", "a", "new", "value", "for", "a", "field", "and", "return", "a", "new", "cloned", "instance", "of", "the", "model", "element", "with", "only", "this", "field", "updated", "to", "the", "new", "value", ".", "The", "old", "model", "instance", "isn", "t", "changed", "."], "sha": "240566a358a8e01c94c0bbb99228140a69690d02", "url": "https://github.com/sialcasa/mvvmFX/blob/240566a358a8e01c94c0bbb99228140a69690d02/mvvmfx/src/main/java/de/saxsys/mvvmfx/utils/mapping/ModelWrapper.java#L703-L705", "partition": "test"} +{"repo": "sialcasa/mvvmFX", "path": "mvvmfx/src/main/java/de/saxsys/mvvmfx/FluentViewLoader.java", "func_name": "FluentViewLoader.javaView", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method is the entry point of the Fluent API to load a java based\nview.\n\n@param viewType\nthe type of the view that should be loaded.\n@param \nthe type of the View that should be loaded. This type has to\nimplement {@link de.saxsys.mvvmfx.JavaView}.\n@param \nthe type of the ViewModel. This type has to implement\n{@link de.saxsys.mvvmfx.ViewModel}.\n\n@return a builder step that can be further configured and then load the\nactual view.", "docstring_tokens": ["This", "method", "is", "the", "entry", "point", "of", "the", "Fluent", "API", "to", "load", "a", "java", "based", "view", "."], "sha": "240566a358a8e01c94c0bbb99228140a69690d02", "url": "https://github.com/sialcasa/mvvmFX/blob/240566a358a8e01c94c0bbb99228140a69690d02/mvvmfx/src/main/java/de/saxsys/mvvmfx/FluentViewLoader.java#L354-L357", "partition": "test"} +{"repo": "sialcasa/mvvmFX", "path": "mvvmfx/src/main/java/de/saxsys/mvvmfx/FluentViewLoader.java", "func_name": "FluentViewLoader.fxmlView", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method is the entry point of the Fluent API to load a fxml based\nView.\n\n@param viewType\nthe type of the view that should be loaded.\n@param \nthe generic type of the View that should be loaded. This type\nhas to implement {@link de.saxsys.mvvmfx.FxmlView}.\n@param \nthe generic type of the ViewModel. This type has to implement\n{@link de.saxsys.mvvmfx.ViewModel}.\n\n@return a builder step that can be further configured and then load the\nactual view.", "docstring_tokens": ["This", "method", "is", "the", "entry", "point", "of", "the", "Fluent", "API", "to", "load", "a", "fxml", "based", "View", "."], "sha": "240566a358a8e01c94c0bbb99228140a69690d02", "url": "https://github.com/sialcasa/mvvmFX/blob/240566a358a8e01c94c0bbb99228140a69690d02/mvvmfx/src/main/java/de/saxsys/mvvmfx/FluentViewLoader.java#L375-L378", "partition": "test"} +{"repo": "sialcasa/mvvmFX", "path": "mvvmfx-utils/src/main/java/de/saxsys/mvvmfx/utils/listener/ListenerManager.java", "func_name": "ListenerManager.clearMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method is used to clear the given map. To do this you need to implement a BiConsumer that calls the specific\nmethod to remove a listener from an observable.\n\nThis needs to be done as there is no common interface with a remove method that all types of observables are\nimplementing. Therefore the method call to the specific removeListener method needs to be done in an extra\nfunction.\n\n@param map\nthe multimap that contains the observables and listeners.\n@param consumer\na function that calls the specific remove method for the given types.", "docstring_tokens": ["This", "method", "is", "used", "to", "clear", "the", "given", "map", ".", "To", "do", "this", "you", "need", "to", "implement", "a", "BiConsumer", "that", "calls", "the", "specific", "method", "to", "remove", "a", "listener", "from", "an", "observable", "."], "sha": "240566a358a8e01c94c0bbb99228140a69690d02", "url": "https://github.com/sialcasa/mvvmFX/blob/240566a358a8e01c94c0bbb99228140a69690d02/mvvmfx-utils/src/main/java/de/saxsys/mvvmfx/utils/listener/ListenerManager.java#L133-L140", "partition": "test"} +{"repo": "sialcasa/mvvmFX", "path": "mvvmfx/src/main/java/de/saxsys/mvvmfx/utils/itemlist/SelectableItemList.java", "func_name": "SelectableItemList.createIndexEvents", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "When the selected item changed we want to set the index property too", "docstring_tokens": ["When", "the", "selected", "item", "changed", "we", "want", "to", "set", "the", "index", "property", "too"], "sha": "240566a358a8e01c94c0bbb99228140a69690d02", "url": "https://github.com/sialcasa/mvvmFX/blob/240566a358a8e01c94c0bbb99228140a69690d02/mvvmfx/src/main/java/de/saxsys/mvvmfx/utils/itemlist/SelectableItemList.java#L88-L117", "partition": "test"} +{"repo": "sialcasa/mvvmFX", "path": "mvvmfx/src/main/java/de/saxsys/mvvmfx/internal/viewloader/ReflectionUtils.java", "func_name": "ReflectionUtils.accessMember", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Helper method to execute a callback on a given member. This method encapsulates the error handling logic and the\nhandling of accessibility of the member.\n\nAfter the callback is executed the accessibility of the member will be reset to the originally state.\n\n@param member\nthe member that is made accessible to run the callback\n@param callable\nthe callback that will be executed.\n@param errorMessage\nthe error message that is used in the exception when something went wrong.\n\n@return the return value of the given callback.\n\n@throws IllegalStateException\nwhen something went wrong.", "docstring_tokens": ["Helper", "method", "to", "execute", "a", "callback", "on", "a", "given", "member", ".", "This", "method", "encapsulates", "the", "error", "handling", "logic", "and", "the", "handling", "of", "accessibility", "of", "the", "member", "."], "sha": "240566a358a8e01c94c0bbb99228140a69690d02", "url": "https://github.com/sialcasa/mvvmFX/blob/240566a358a8e01c94c0bbb99228140a69690d02/mvvmfx/src/main/java/de/saxsys/mvvmfx/internal/viewloader/ReflectionUtils.java#L104-L119", "partition": "test"} +{"repo": "sialcasa/mvvmFX", "path": "mvvmfx/src/main/java/de/saxsys/mvvmfx/internal/viewloader/FxmlViewLoader.java", "func_name": "FxmlViewLoader.loadFxmlViewTuple", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Load the viewTuple by it`s ViewType.\n\n@param viewType\nthe type of the view to be loaded.\n@param resourceBundle\nthe resourceBundle that is passed to the\n{@link javafx.fxml.FXMLLoader}.\n@param codeBehind\nthe controller instance that is passed to the\n{@link javafx.fxml.FXMLLoader}\n@param root\nthe root object that is passed to the\n{@link javafx.fxml.FXMLLoader}\n@param viewModel\nthe viewModel instance that is used when loading the\nviewTuple.\n@param \nthe generic type of the view.\n@param \nthe generic type of the viewModel.\n@param builderFactories a list of custom builder factories. may be null\n@return the loaded ViewTuple.", "docstring_tokens": ["Load", "the", "viewTuple", "by", "it", "s", "ViewType", "."], "sha": "240566a358a8e01c94c0bbb99228140a69690d02", "url": "https://github.com/sialcasa/mvvmFX/blob/240566a358a8e01c94c0bbb99228140a69690d02/mvvmfx/src/main/java/de/saxsys/mvvmfx/internal/viewloader/FxmlViewLoader.java#L76-L83", "partition": "test"} +{"repo": "sialcasa/mvvmFX", "path": "mvvmfx/src/main/java/de/saxsys/mvvmfx/internal/viewloader/FxmlViewLoader.java", "func_name": "FxmlViewLoader.createFxmlPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method is used to create a String with the path to the FXML file for\na given View class.\n\nThis is done by taking the package of the view class (if any) and replace\n\".\" with \"/\". After that the Name of the class and the file ending\n\".fxml\" is appended.\n\nIf the View class is annotated with @FxmlPath then the String path supplied\nin the annotation value will be used.\n\nExample: de.saxsys.myapp.ui.MainView as view class will be transformed to\n\"/de/saxsys/myapp/ui/MainView.fxml\"\n\nExample 2: MainView (located in the default package) will be transformed\nto \"/MainView.fxml\"\n\n@param viewType\nthe view class type.\n@return the path to the fxml file as string.", "docstring_tokens": ["This", "method", "is", "used", "to", "create", "a", "String", "with", "the", "path", "to", "the", "FXML", "file", "for", "a", "given", "View", "class", "."], "sha": "240566a358a8e01c94c0bbb99228140a69690d02", "url": "https://github.com/sialcasa/mvvmFX/blob/240566a358a8e01c94c0bbb99228140a69690d02/mvvmfx/src/main/java/de/saxsys/mvvmfx/internal/viewloader/FxmlViewLoader.java#L106-L130", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/StyleDao.java", "func_name": "StyleDao.queryForRow", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Query for the style row from a style mapping row\n\n@param styleMappingRow style mapping row\n@return style row", "docstring_tokens": ["Query", "for", "the", "style", "row", "from", "a", "style", "mapping", "row"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/StyleDao.java#L67-L77", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/coverage/CoverageDataPng.java", "func_name": "CoverageDataPng.getPixelValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the pixel value as a 16 bit unsigned integer value\n\n@param imageBytes image bytes\n@param x x coordinate\n@param y y coordinate\n@return pixel value", "docstring_tokens": ["Get", "the", "pixel", "value", "as", "a", "16", "bit", "unsigned", "integer", "value"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/coverage/CoverageDataPng.java#L107-L116", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/coverage/CoverageDataPng.java", "func_name": "CoverageDataPng.getPixelValues", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the pixel values of the image as 16 bit unsigned integer values\n\n@param imageBytes image bytes\n@return 16 bit unsigned integer pixel values", "docstring_tokens": ["Get", "the", "pixel", "values", "of", "the", "image", "as", "16", "bit", "unsigned", "integer", "values"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/coverage/CoverageDataPng.java#L124-L139", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/coverage/CoverageDataPng.java", "func_name": "CoverageDataPng.validateImageType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Validate that the image type is single channel 16 bit\n\n@param reader png reader", "docstring_tokens": ["Validate", "that", "the", "image", "type", "is", "single", "channel", "16", "bit"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/coverage/CoverageDataPng.java#L146-L155", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/coverage/CoverageDataPng.java", "func_name": "CoverageDataPng.createImage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a new 16 bit single channel image\n\n@param tileWidth tile width\n@param tileHeight tile height\n@return image", "docstring_tokens": ["Create", "a", "new", "16", "bit", "single", "channel", "image"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/coverage/CoverageDataPng.java#L453-L457", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/user/TileRow.java", "func_name": "TileRow.setTileData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the tile data from a bitmap\n\n@param bitmap tile bitmap\n@param format compress format\n@param quality quality\n@throws IOException upon failure", "docstring_tokens": ["Set", "the", "tile", "data", "from", "a", "bitmap"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/user/TileRow.java#L232-L236", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/GeoPackageConnection.java", "func_name": "GeoPackageConnection.rawQuery", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Perform a raw database query\n\n@param sql sql command\n@param args arguments\n@return cursor\n@since 1.2.1", "docstring_tokens": ["Perform", "a", "raw", "database", "query"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/GeoPackageConnection.java#L235-L237", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/GeoPackageConnection.java", "func_name": "GeoPackageConnection.wrapQuery", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Perform the query and wrap as a result\n\n@param sql sql statement\n@param selectionArgs selection arguments\n@return result\n@since 3.1.0", "docstring_tokens": ["Perform", "the", "query", "and", "wrap", "as", "a", "result"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/GeoPackageConnection.java#L247-L250", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/user/UserConnection.java", "func_name": "UserConnection.query", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Query using the query from a previous query result\n\n@param previousResult previous result\n@return result\n@since 2.0.0", "docstring_tokens": ["Query", "using", "the", "query", "from", "a", "previous", "query", "result"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/user/UserConnection.java#L125-L129", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/user/UserConnection.java", "func_name": "UserConnection.query", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Query using the user query arguments\n\n@param query user query\n@return result\n@since 2.0.0", "docstring_tokens": ["Query", "using", "the", "user", "query", "arguments"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/user/UserConnection.java#L138-L173", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/user/UserConnection.java", "func_name": "UserConnection.handleCursor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert the cursor to the result type cursor\n\n@param cursor cursor\n@param query user query\n@return result cursor", "docstring_tokens": ["Convert", "the", "cursor", "to", "the", "result", "type", "cursor"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/user/UserConnection.java#L182-L189", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/index/FeatureTableIndex.java", "func_name": "FeatureTableIndex.getFeatureRow", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the feature row for the Geometry Index\n\n@param geometryIndex geometry index\n@return feature row", "docstring_tokens": ["Get", "the", "feature", "row", "for", "the", "Geometry", "Index"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/index/FeatureTableIndex.java#L197-L213", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/factory/GeoPackageCursorFactory.java", "func_name": "GeoPackageCursorFactory.registerTable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Register a cursor wrapper for the provided table name. Database queries\nwill wrap the returned cursor\n\n@param tableName\n@param cursorWrapper", "docstring_tokens": ["Register", "a", "cursor", "wrapper", "for", "the", "provided", "table", "name", ".", "Database", "queries", "will", "wrap", "the", "returned", "cursor"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/factory/GeoPackageCursorFactory.java#L44-L64", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/retriever/GoogleAPIGeoPackageTileRetriever.java", "func_name": "GoogleAPIGeoPackageTileRetriever.retrieveTileRow", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retrieve the tile row\n\n@param x\n@param y\n@param zoom\n@return", "docstring_tokens": ["Retrieve", "the", "tile", "row"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/retriever/GoogleAPIGeoPackageTileRetriever.java#L65-L67", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/coverage/CoverageData.java", "func_name": "CoverageData.getCoverageData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a Tiled Gridded Coverage Data\n\n@param geoPackage GeoPackage\n@param tileDao tile dao\n@param width coverage data response width\n@param height coverage data response height\n@param requestProjection request projection\n@return coverage data", "docstring_tokens": ["Get", "a", "Tiled", "Gridded", "Coverage", "Data"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/coverage/CoverageData.java#L44-L81", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/coverage/CoverageData.java", "func_name": "CoverageData.getCoverageData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a Tiled Gridded Coverage Data, use the coverage data pixel tile size\nas the request size width and height\n\n@param geoPackage GeoPackage\n@param tileDao tile dao\n@return coverage data", "docstring_tokens": ["Get", "a", "Tiled", "Gridded", "Coverage", "Data", "use", "the", "coverage", "data", "pixel", "tile", "size", "as", "the", "request", "size", "width", "and", "height"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/coverage/CoverageData.java#L91-L95", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/coverage/CoverageData.java", "func_name": "CoverageData.getCoverageData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a Tiled Gridded Coverage Data, use the coverage data pixel tile size\nas the request size width and height, request as the specified projection\n\n@param geoPackage GeoPackage\n@param tileDao tile dao\n@param requestProjection request projection\n@return coverage data", "docstring_tokens": ["Get", "a", "Tiled", "Gridded", "Coverage", "Data", "use", "the", "coverage", "data", "pixel", "tile", "size", "as", "the", "request", "size", "width", "and", "height", "request", "as", "the", "specified", "projection"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/coverage/CoverageData.java#L106-L110", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/coverage/CoverageData.java", "func_name": "CoverageData.getResults", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the coverage data tile results by finding the tile matrix with values\n\n@param request coverage data request\n@param requestProjectedBoundingBox request projected bounding box\n@param overlappingPixels overlapping request pixels\n@return tile matrix results", "docstring_tokens": ["Get", "the", "coverage", "data", "tile", "results", "by", "finding", "the", "tile", "matrix", "with", "values"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/coverage/CoverageData.java#L425-L441", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/coverage/CoverageData.java", "func_name": "CoverageData.getResultsZoom", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the coverage data tile results by zooming in or out as needed from the\nprovided tile matrix to find values\n\n@param requestProjectedBoundingBox request projected bounding box\n@param tileMatrix tile matrix\n@param overlappingPixels overlapping request pixels\n@return tile matrix results", "docstring_tokens": ["Get", "the", "coverage", "data", "tile", "results", "by", "zooming", "in", "or", "out", "as", "needed", "from", "the", "provided", "tile", "matrix", "to", "find", "values"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/coverage/CoverageData.java#L479-L499", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/coverage/CoverageData.java", "func_name": "CoverageData.getResultsZoomIn", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the coverage data tile results by zooming in from the provided tile\nmatrix\n\n@param requestProjectedBoundingBox request projected bounding box\n@param tileMatrix tile matrix\n@param overlappingPixels overlapping request pixels\n@return tile matrix results", "docstring_tokens": ["Get", "the", "coverage", "data", "tile", "results", "by", "zooming", "in", "from", "the", "provided", "tile", "matrix"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/coverage/CoverageData.java#L510-L527", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/coverage/CoverageData.java", "func_name": "CoverageData.getResultsZoomOut", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the coverage data tile results by zooming out from the provided tile\nmatrix\n\n@param requestProjectedBoundingBox request projected bounding box\n@param tileMatrix tile matrix\n@param overlappingPixels overlapping request pixels\n@return tile matrix results", "docstring_tokens": ["Get", "the", "coverage", "data", "tile", "results", "by", "zooming", "out", "from", "the", "provided", "tile", "matrix"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/coverage/CoverageData.java#L538-L555", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/coverage/CoverageData.java", "func_name": "CoverageData.getTileMatrix", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the tile matrix for the zoom level as defined by the area of the\nrequest\n\n@param request coverage data request\n@return tile matrix or null", "docstring_tokens": ["Get", "the", "tile", "matrix", "for", "the", "zoom", "level", "as", "defined", "by", "the", "area", "of", "the", "request"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/coverage/CoverageData.java#L924-L950", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/coverage/CoverageData.java", "func_name": "CoverageData.getValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the coverage data value of the pixel in the tile row image\n\n@param tileRow tile row\n@param x x coordinate\n@param y y coordinate\n@return coverage data value", "docstring_tokens": ["Get", "the", "coverage", "data", "value", "of", "the", "pixel", "in", "the", "tile", "row", "image"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/coverage/CoverageData.java#L990-L994", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/Icons.java", "func_name": "Icons.setIcon", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the icon for the geometry type\n\n@param iconRow icon row\n@param geometryType geometry type", "docstring_tokens": ["Set", "the", "icon", "for", "the", "geometry", "type"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/Icons.java#L44-L54", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/Icons.java", "func_name": "Icons.getIcon", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the icon for the geometry type\n\n@param geometryType geometry type\n@return icon", "docstring_tokens": ["Get", "the", "icon", "for", "the", "geometry", "type"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/Icons.java#L89-L114", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/GeoPackageDatabase.java", "func_name": "GeoPackageDatabase.openOrGetBindingsDb", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Open or get a connection using the SQLite Android Bindings connection\n\n@return bindings connection", "docstring_tokens": ["Open", "or", "get", "a", "connection", "using", "the", "SQLite", "Android", "Bindings", "connection"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/GeoPackageDatabase.java#L49-L59", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/io/BitmapConverter.java", "func_name": "BitmapConverter.toBitmap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Decode the bytes to a bitmap, with options\n\n@param bytes image bytes\n@param options decode options\n@return image bitmap", "docstring_tokens": ["Decode", "the", "bytes", "to", "a", "bitmap", "with", "options"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/io/BitmapConverter.java#L35-L39", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/io/BitmapConverter.java", "func_name": "BitmapConverter.toBytes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compress the bitmap to a byte array\n\n@param bitmap bitmap image\n@param format compress format\n@param quality quality\n@return image bytes\n@throws IOException upon failure", "docstring_tokens": ["Compress", "the", "bitmap", "to", "a", "byte", "array"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/io/BitmapConverter.java#L63-L74", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/TableMetadataDataSource.java", "func_name": "TableMetadataDataSource.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a new table metadata\n\n@param metadata table metadata", "docstring_tokens": ["Create", "a", "new", "table", "metadata"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/TableMetadataDataSource.java#L44-L59", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/TableMetadataDataSource.java", "func_name": "TableMetadataDataSource.delete", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Delete the database table name\n\n@param geoPackageId GeoPackage id\n@param tableName table name\n@return deleted flag", "docstring_tokens": ["Delete", "the", "database", "table", "name"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/TableMetadataDataSource.java#L118-L130", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/TableMetadataDataSource.java", "func_name": "TableMetadataDataSource.getOrCreate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a table metadata or create if it does not exist\n\n@param geoPackage GeoPackage name\n@param tableName table name\n@return table metadata", "docstring_tokens": ["Get", "a", "table", "metadata", "or", "create", "if", "it", "does", "not", "exist"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/TableMetadataDataSource.java#L223-L237", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/TableMetadataDataSource.java", "func_name": "TableMetadataDataSource.getGeoPackageId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a GeoPackage id from the name\n\n@param geoPackage GeoPackage name\n@return id", "docstring_tokens": ["Get", "a", "GeoPackage", "id", "from", "the", "name"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/TableMetadataDataSource.java#L245-L253", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/TableMetadataDataSource.java", "func_name": "TableMetadataDataSource.createTableMetadata", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a table metadata from the current cursor location\n\n@param cursor cursor\n@return table metadata", "docstring_tokens": ["Create", "a", "table", "metadata", "from", "the", "current", "cursor", "location"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/TableMetadataDataSource.java#L261-L269", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/RTreeIndexTableDao.java", "func_name": "RTreeIndexTableDao.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create the RTree extension for the feature table\n\n@return extension", "docstring_tokens": ["Create", "the", "RTree", "extension", "for", "the", "feature", "table"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/RTreeIndexTableDao.java#L117-L126", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/RTreeIndexTableDao.java", "func_name": "RTreeIndexTableDao.getFeatureRow", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the feature row from the RTree Index Table row\n\n@param cursor result cursor\n@return feature row", "docstring_tokens": ["Get", "the", "feature", "row", "from", "the", "RTree", "Index", "Table", "row"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/RTreeIndexTableDao.java#L189-L192", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/RTreeIndexTableDao.java", "func_name": "RTreeIndexTableDao.rawQuery", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Perform a raw query\n\n@param sql sql statement\n@param selectionArgs selection arguments\n@return result cursor", "docstring_tokens": ["Perform", "a", "raw", "query"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/RTreeIndexTableDao.java#L211-L217", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/RTreeIndexTableDao.java", "func_name": "RTreeIndexTableDao.query", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Query for rows within the bounding box in the provided projection\n\n@param boundingBox bounding box\n@param projection projection\n@return cursor results", "docstring_tokens": ["Query", "for", "rows", "within", "the", "bounding", "box", "in", "the", "provided", "projection"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/RTreeIndexTableDao.java#L338-L343", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/RTreeIndexTableDao.java", "func_name": "RTreeIndexTableDao.query", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Query for rows within the geometry envelope\n\n@param envelope geometry envelope\n@return cursor results", "docstring_tokens": ["Query", "for", "rows", "within", "the", "geometry", "envelope"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/RTreeIndexTableDao.java#L374-L377", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/RTreeIndexTableDao.java", "func_name": "RTreeIndexTableDao.count", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Count the rows within the geometry envelope\n\n@param envelope geometry envelope\n@return count", "docstring_tokens": ["Count", "the", "rows", "within", "the", "geometry", "envelope"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/RTreeIndexTableDao.java#L385-L388", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/RTreeIndexTableDao.java", "func_name": "RTreeIndexTableDao.query", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Query for rows within the bounds\n\n@param minX min x\n@param minY min y\n@param maxX max x\n@param maxY max y\n@return cursor results", "docstring_tokens": ["Query", "for", "rows", "within", "the", "bounds"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/RTreeIndexTableDao.java#L399-L404", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/RTreeIndexTableDao.java", "func_name": "RTreeIndexTableDao.buildWhere", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Build a where clause from the bounds for overlapping ranges\n\n@param minX min x\n@param minY min y\n@param maxX max x\n@param maxY max y\n@return where clause", "docstring_tokens": ["Build", "a", "where", "clause", "from", "the", "bounds", "for", "overlapping", "ranges"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/RTreeIndexTableDao.java#L441-L453", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/features/user/ManualFeatureQuery.java", "func_name": "ManualFeatureQuery.query", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Manually query for rows within the bounding box in the provided\nprojection\n\n@param boundingBox bounding box\n@param projection projection\n@return results", "docstring_tokens": ["Manually", "query", "for", "rows", "within", "the", "bounding", "box", "in", "the", "provided", "projection"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/features/user/ManualFeatureQuery.java#L192-L197", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/features/user/ManualFeatureQuery.java", "func_name": "ManualFeatureQuery.count", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Manually count the rows within the bounding box in the provided\nprojection\n\n@param boundingBox bounding box\n@param projection projection\n@return count", "docstring_tokens": ["Manually", "count", "the", "rows", "within", "the", "bounding", "box", "in", "the", "provided", "projection"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/features/user/ManualFeatureQuery.java#L217-L221", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/features/user/ManualFeatureQuery.java", "func_name": "ManualFeatureQuery.query", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Manually query for rows within the geometry envelope\n\n@param envelope geometry envelope\n@return results", "docstring_tokens": ["Manually", "query", "for", "rows", "within", "the", "geometry", "envelope"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/features/user/ManualFeatureQuery.java#L229-L232", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/features/user/ManualFeatureQuery.java", "func_name": "ManualFeatureQuery.query", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Manually query for rows within the bounds\n\n@param minX min x\n@param minY min y\n@param maxX max x\n@param maxY max y\n@return results", "docstring_tokens": ["Manually", "query", "for", "rows", "within", "the", "bounds"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/features/user/ManualFeatureQuery.java#L254-L304", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/features/user/ManualFeatureQuery.java", "func_name": "ManualFeatureQuery.count", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Manually count the rows within the bounds\n\n@param minX min x\n@param minY min y\n@param maxX max x\n@param maxY max y\n@return count", "docstring_tokens": ["Manually", "count", "the", "rows", "within", "the", "bounds"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/features/user/ManualFeatureQuery.java#L315-L317", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/related/media/MediaRow.java", "func_name": "MediaRow.setData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the data from a full quality bitmap\n\n@param bitmap bitmap\n@param format compress format\n@throws IOException upon failure\n@since 3.2.0", "docstring_tokens": ["Set", "the", "data", "from", "a", "full", "quality", "bitmap"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/related/media/MediaRow.java#L168-L171", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/related/media/MediaRow.java", "func_name": "MediaRow.setData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the data from a bitmap\n\n@param bitmap bitmap\n@param format compress format\n@param quality quality\n@throws IOException upon failure\n@since 3.2.0", "docstring_tokens": ["Set", "the", "data", "from", "a", "bitmap"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/related/media/MediaRow.java#L182-L185", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/TileGenerator.java", "func_name": "TileGenerator.setBitmapCompressionConfig", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the Bitmap Compress Config\n\n@param config bitmap config", "docstring_tokens": ["Set", "the", "Bitmap", "Compress", "Config"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/TileGenerator.java#L296-L301", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/TileGenerator.java", "func_name": "TileGenerator.getTileCount", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the tile count of tiles to be generated\n\n@return tile count", "docstring_tokens": ["Get", "the", "tile", "count", "of", "tiles", "to", "be", "generated"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/TileGenerator.java#L348-L378", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/TileGenerator.java", "func_name": "TileGenerator.adjustBounds", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adjust the tile matrix set and bounds\n\n@param boundingBox bounding box\n@param zoom zoom", "docstring_tokens": ["Adjust", "the", "tile", "matrix", "set", "and", "bounds"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/TileGenerator.java#L506-L516", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/TileGenerator.java", "func_name": "TileGenerator.adjustGoogleBounds", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adjust the tile matrix set and web mercator bounds for Google tile format", "docstring_tokens": ["Adjust", "the", "tile", "matrix", "set", "and", "web", "mercator", "bounds", "for", "Google", "tile", "format"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/TileGenerator.java#L521-L530", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/TileGenerator.java", "func_name": "TileGenerator.adjustGeoPackageBoundsWGS84", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adjust the tile matrix set and WGS84 bounds for GeoPackage format.\nDetermine the tile grid width and height\n\n@param boundingBox\n@param zoom", "docstring_tokens": ["Adjust", "the", "tile", "matrix", "set", "and", "WGS84", "bounds", "for", "GeoPackage", "format", ".", "Determine", "the", "tile", "grid", "width", "and", "height"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/TileGenerator.java#L539-L545", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/TileGenerator.java", "func_name": "TileGenerator.adjustGeoPackageBounds", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adjust the tile matrix set and web mercator bounds for GeoPackage format.\nDetermine the tile grid width and height\n\n@param requestWebMercatorBoundingBox\n@param zoom", "docstring_tokens": ["Adjust", "the", "tile", "matrix", "set", "and", "web", "mercator", "bounds", "for", "GeoPackage", "format", ".", "Determine", "the", "tile", "grid", "width", "and", "height"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/TileGenerator.java#L554-L563", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/user/TileDao.java", "func_name": "TileDao.getBoundingBox", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the bounding box of tiles\n\n@param zoomLevel zoom level\n@return bounding box of zoom level, or null if no tiles\n@since 1.1.1", "docstring_tokens": ["Get", "the", "bounding", "box", "of", "tiles"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/user/TileDao.java#L147-L160", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/user/TileDao.java", "func_name": "TileDao.getTileGrid", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the tile grid of the zoom level\n\n@param zoomLevel zoom level\n@return tile grid at zoom level, null if not tile matrix at zoom level\n@since 1.1.1", "docstring_tokens": ["Get", "the", "tile", "grid", "of", "the", "zoom", "level"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/user/TileDao.java#L169-L177", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/user/TileDao.java", "func_name": "TileDao.queryForTile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Query for a Tile\n\n@param column column\n@param row row\n@param zoomLevel zoom level\n@return tile row", "docstring_tokens": ["Query", "for", "a", "Tile"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/user/TileDao.java#L259-L277", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/user/TileDao.java", "func_name": "TileDao.queryForTileDescending", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Query for Tiles at a zoom level in descending row and column order\n\n@param zoomLevel zoom level\n@return tile cursor, should be closed", "docstring_tokens": ["Query", "for", "Tiles", "at", "a", "zoom", "level", "in", "descending", "row", "and", "column", "order"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/user/TileDao.java#L295-L299", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/user/TileDao.java", "func_name": "TileDao.getClosestZoomLevel", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the closest zoom level for the provided width and height in the\ndefault units\n\n@param length in default units\n@return zoom level\n@since 1.3.1", "docstring_tokens": ["Get", "the", "closest", "zoom", "level", "for", "the", "provided", "width", "and", "height", "in", "the", "default", "units"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/user/TileDao.java#L368-L373", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/user/TileDao.java", "func_name": "TileDao.getApproximateZoomLevel", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the approximate zoom level for the provided length in the default\nunits. Tiles may or may not exist for the returned zoom level. The\napproximate zoom level is determined using a factor of 2 from the zoom\nlevels with tiles.\n\n@param length length in default units\n@return approximate zoom level\n@since 2.0.2", "docstring_tokens": ["Get", "the", "approximate", "zoom", "level", "for", "the", "provided", "length", "in", "the", "default", "units", ".", "Tiles", "may", "or", "may", "not", "exist", "for", "the", "returned", "zoom", "level", ".", "The", "approximate", "zoom", "level", "is", "determined", "using", "a", "factor", "of", "2", "from", "the", "zoom", "levels", "with", "tiles", "."], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/user/TileDao.java#L401-L406", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/user/TileDao.java", "func_name": "TileDao.queryForTileGrid", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Query for the bounding\n\n@param zoomLevel zoom level\n@return tile grid of tiles at the zoom level\n@since 1.1.1", "docstring_tokens": ["Query", "for", "the", "bounding"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/user/TileDao.java#L492-L508", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/user/TileDao.java", "func_name": "TileDao.deleteTile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Delete a Tile\n\n@param column column\n@param row row\n@param zoomLevel zoom level\n@return number deleted, should be 0 or 1", "docstring_tokens": ["Delete", "a", "Tile"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/user/TileDao.java#L518-L536", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/user/TileDao.java", "func_name": "TileDao.count", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Count of Tiles at a zoom level\n\n@param zoomLevel zoom level\n@return count", "docstring_tokens": ["Count", "of", "Tiles", "at", "a", "zoom", "level"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/user/TileDao.java#L544-L548", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/user/TileDao.java", "func_name": "TileDao.isGoogleTiles", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determine if the tiles are in the Google tile coordinate format\n\n@return google tiles flag", "docstring_tokens": ["Determine", "if", "the", "tiles", "are", "in", "the", "Google", "tile", "coordinate", "format"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/user/TileDao.java#L575-L607", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/coverage/CoverageDataTiff.java", "func_name": "CoverageDataTiff.getPixelValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the pixel value as a float from the image and the coordinate\n\n@param imageBytes image bytes\n@param x x coordinate\n@param y y coordinate\n@return float pixel value", "docstring_tokens": ["Get", "the", "pixel", "value", "as", "a", "float", "from", "the", "image", "and", "the", "coordinate"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/coverage/CoverageDataTiff.java#L115-L124", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/coverage/CoverageDataTiff.java", "func_name": "CoverageDataTiff.getPixelValues", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the pixel values of the image as floats\n\n@param imageBytes image bytes\n@return float pixel values", "docstring_tokens": ["Get", "the", "pixel", "values", "of", "the", "image", "as", "floats"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/coverage/CoverageDataTiff.java#L132-L145", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/coverage/CoverageDataTiff.java", "func_name": "CoverageDataTiff.validateImageType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Validate that the image type\n\n@param directory file directory", "docstring_tokens": ["Validate", "that", "the", "image", "type"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/coverage/CoverageDataTiff.java#L152-L177", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/coverage/CoverageDataTiff.java", "func_name": "CoverageDataTiff.createImage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a new image\n\n@param tileWidth tile width\n@param tileHeight tile height\n@return image", "docstring_tokens": ["Create", "a", "new", "image"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/coverage/CoverageDataTiff.java#L361-L383", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/coverage/CoverageDataTiff.java", "func_name": "CoverageDataTiff.setPixelValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the pixel value into the image\n\n@param image image\n@param x x coordinate\n@param y y coordinate\n@param pixelValue pixel value", "docstring_tokens": ["Set", "the", "pixel", "value", "into", "the", "image"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/coverage/CoverageDataTiff.java#L393-L396", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/GeoPackageCache.java", "func_name": "GeoPackageCache.getOrOpen", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the cached GeoPackage or open and cache the GeoPackage\n\n@param name GeoPackage name\n@param writable writable true to open as writable, false as read only\n@param cache true to cache opened GeoPackages\n@return GeoPackage", "docstring_tokens": ["Get", "the", "cached", "GeoPackage", "or", "open", "and", "cache", "the", "GeoPackage"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/GeoPackageCache.java#L77-L86", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/user/UserCursor.java", "func_name": "UserCursor.getCurrentRow", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the current row\n\n@return row", "docstring_tokens": ["Get", "the", "current", "row"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/user/UserCursor.java#L140-L174", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/user/UserCursor.java", "func_name": "UserCursor.moveToNextInvalid", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Move to the next position of invalid rows to requery. Perform the requery the first time.\n\n@return true if invalid rows are left", "docstring_tokens": ["Move", "to", "the", "next", "position", "of", "invalid", "rows", "to", "requery", ".", "Perform", "the", "requery", "the", "first", "time", "."], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/user/UserCursor.java#L231-L256", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/StyleMappingDao.java", "func_name": "StyleMappingDao.queryByBaseFeatureId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Query for style mappings by base id\n\n@param id base id, feature contents id or feature geometry id\n@return style mappings rows", "docstring_tokens": ["Query", "for", "style", "mappings", "by", "base", "id"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/StyleMappingDao.java#L71-L82", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/StyleMappingDao.java", "func_name": "StyleMappingDao.deleteByBaseId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Delete by base is and geometry type\n\n@param id base id\n@param geometryType geometry type\n@return rows deleted", "docstring_tokens": ["Delete", "by", "base", "is", "and", "geometry", "type"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/StyleMappingDao.java#L91-L115", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/TileBoundingBoxAndroidUtils.java", "func_name": "TileBoundingBoxAndroidUtils.getRectangle", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a rectangle using the tile width, height, bounding box, and the\nbounding box section within the outer box to build the rectangle from\n\n@param width width\n@param height height\n@param boundingBox full bounding box\n@param boundingBoxSection rectangle bounding box section\n@return rectangle", "docstring_tokens": ["Get", "a", "rectangle", "using", "the", "tile", "width", "height", "bounding", "box", "and", "the", "bounding", "box", "section", "within", "the", "outer", "box", "to", "build", "the", "rectangle", "from"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/TileBoundingBoxAndroidUtils.java#L25-L35", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/TileBoundingBoxAndroidUtils.java", "func_name": "TileBoundingBoxAndroidUtils.getRoundedFloatRectangle", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a rectangle with rounded floating point boundaries using the tile width,\nheight, bounding box, and the bounding box section within the outer box\nto build the rectangle from\n\n@param width width\n@param height height\n@param boundingBox full bounding box\n@param boundingBoxSection rectangle bounding box section\n@return floating point rectangle\n@since 1.3.0", "docstring_tokens": ["Get", "a", "rectangle", "with", "rounded", "floating", "point", "boundaries", "using", "the", "tile", "width", "height", "bounding", "box", "and", "the", "bounding", "box", "section", "within", "the", "outer", "box", "to", "build", "the", "rectangle", "from"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/TileBoundingBoxAndroidUtils.java#L49-L58", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/factory/GeoPackageManagerImpl.java", "func_name": "GeoPackageManagerImpl.deleteMissingDatabases", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Delete all databases that do not exist or the database file does not exist\n\n@param databases list of databases\n@return databases that exist", "docstring_tokens": ["Delete", "all", "databases", "that", "do", "not", "exist", "or", "the", "database", "file", "does", "not", "exist"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/factory/GeoPackageManagerImpl.java#L156-L164", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/factory/GeoPackageManagerImpl.java", "func_name": "GeoPackageManagerImpl.createAndCloseGeoPackage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create the required GeoPackage application id and tables in the newly created and open database connection. Then close the connection.\n\n@param db", "docstring_tokens": ["Create", "the", "required", "GeoPackage", "application", "id", "and", "tables", "in", "the", "newly", "created", "and", "open", "database", "connection", ".", "Then", "close", "the", "connection", "."], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/factory/GeoPackageManagerImpl.java#L486-L499", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/factory/GeoPackageManagerImpl.java", "func_name": "GeoPackageManagerImpl.isValid", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Validate the GeoPackage database\n\n@param database\n@param validateHeader true to validate the header of the database\n@param validateIntegrity true to validate the integrity of the database\n@return true if valid", "docstring_tokens": ["Validate", "the", "GeoPackage", "database"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/factory/GeoPackageManagerImpl.java#L967-L1004", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/factory/GeoPackageManagerImpl.java", "func_name": "GeoPackageManagerImpl.validateDatabaseAndCloseOnError", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Validate the database and close when validation fails. Throw an error when not valid.\n\n@param sqliteDatabase database\n@param validateHeader validate the header\n@param validateIntegrity validate the integrity", "docstring_tokens": ["Validate", "the", "database", "and", "close", "when", "validation", "fails", ".", "Throw", "an", "error", "when", "not", "valid", "."], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/factory/GeoPackageManagerImpl.java#L1145-L1147", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/factory/GeoPackageManagerImpl.java", "func_name": "GeoPackageManagerImpl.validateDatabaseAndClose", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Validate the database and close it. Throw an error when not valid.\n\n@param sqliteDatabase database\n@param validateHeader validate the header\n@param validateIntegrity validate the integrity", "docstring_tokens": ["Validate", "the", "database", "and", "close", "it", ".", "Throw", "an", "error", "when", "not", "valid", "."], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/factory/GeoPackageManagerImpl.java#L1156-L1158", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/factory/GeoPackageManagerImpl.java", "func_name": "GeoPackageManagerImpl.validateDatabase", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Validate the database header and integrity. Throw an error when not valid.\n\n@param sqliteDatabase database\n@param validateHeader validate the header\n@param validateIntegrity validate the integrity\n@param close close the database after validation\n@param closeOnError close the database if validation fails", "docstring_tokens": ["Validate", "the", "database", "header", "and", "integrity", ".", "Throw", "an", "error", "when", "not", "valid", "."], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/factory/GeoPackageManagerImpl.java#L1169-L1187", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/factory/GeoPackageManagerImpl.java", "func_name": "GeoPackageManagerImpl.validateDatabaseHeader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Validate the header of the database file to verify it is a sqlite database\n\n@param sqliteDatabase database", "docstring_tokens": ["Validate", "the", "header", "of", "the", "database", "file", "to", "verify", "it", "is", "a", "sqlite", "database"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/factory/GeoPackageManagerImpl.java#L1194-L1201", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/factory/GeoPackageManagerImpl.java", "func_name": "GeoPackageManagerImpl.isDatabaseHeaderValid", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determine if the header of the database file is valid\n\n@param sqliteDatabase database\n@return true if valid", "docstring_tokens": ["Determine", "if", "the", "header", "of", "the", "database", "file", "is", "valid"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/factory/GeoPackageManagerImpl.java#L1209-L1235", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/factory/GeoPackageManagerImpl.java", "func_name": "GeoPackageManagerImpl.addInternalDatabases", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add all internal databases to the collection\n\n@param databases", "docstring_tokens": ["Add", "all", "internal", "databases", "to", "the", "collection"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/factory/GeoPackageManagerImpl.java#L1269-L1278", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/factory/GeoPackageManagerImpl.java", "func_name": "GeoPackageManagerImpl.addExternalDatabases", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add all external databases to the collection\n\n@param databases", "docstring_tokens": ["Add", "all", "external", "databases", "to", "the", "collection"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/factory/GeoPackageManagerImpl.java#L1285-L1296", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/factory/GeoPackageManagerImpl.java", "func_name": "GeoPackageManagerImpl.importGeoPackage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Import the GeoPackage stream\n\n@param database\n@param override\n@param geoPackageStream\n@param progress\n@return true if imported successfully", "docstring_tokens": ["Import", "the", "GeoPackage", "stream"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/factory/GeoPackageManagerImpl.java#L1307-L1404", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/factory/GeoPackageManagerImpl.java", "func_name": "GeoPackageManagerImpl.getGeoPackageMetadata", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the GeoPackage metadata\n\n@param database\n@return", "docstring_tokens": ["Get", "the", "GeoPackage", "metadata"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/factory/GeoPackageManagerImpl.java#L1433-L1447", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/factory/GeoPackageManagerImpl.java", "func_name": "GeoPackageManagerImpl.getGeoPackageMetadataAtExternalPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the GeoPackage metadata of the database at the external path\n\n@param path external database path\n@return metadata or null", "docstring_tokens": ["Get", "the", "GeoPackage", "metadata", "of", "the", "database", "at", "the", "external", "path"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/factory/GeoPackageManagerImpl.java#L1455-L1469", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/GeometryMetadataDataSource.java", "func_name": "GeometryMetadataDataSource.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a new geometry metadata\n\n@param metadata geometry metadata\n@return id", "docstring_tokens": ["Create", "a", "new", "geometry", "metadata"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/GeometryMetadataDataSource.java#L70-L95", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/GeometryMetadataDataSource.java", "func_name": "GeometryMetadataDataSource.populate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Populate a new geometry metadata from an envelope\n\n@param geoPackageId GeoPackage id\n@param tableName table name\n@param geomId geometry id\n@param envelope geometry envelope\n@return geometry metadata", "docstring_tokens": ["Populate", "a", "new", "geometry", "metadata", "from", "an", "envelope"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/GeometryMetadataDataSource.java#L135-L154", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/GeometryMetadataDataSource.java", "func_name": "GeometryMetadataDataSource.delete", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Delete geometry metadata by database\n\n@param geoPackageId GeoPackage id\n@return deleted count", "docstring_tokens": ["Delete", "geometry", "metadata", "by", "database"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/GeometryMetadataDataSource.java#L182-L189", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/GeometryMetadataDataSource.java", "func_name": "GeometryMetadataDataSource.createOrUpdate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create the geometry metadata or update if it already exists\n\n@param metadata geometry metadata\n@return created flag", "docstring_tokens": ["Create", "the", "geometry", "metadata", "or", "update", "if", "it", "already", "exists"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/GeometryMetadataDataSource.java#L256-L268", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/GeometryMetadataDataSource.java", "func_name": "GeometryMetadataDataSource.update", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Update the geometry metadata\n\n@param metadata geometry metadata\n@return updated flag", "docstring_tokens": ["Update", "the", "geometry", "metadata"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/GeometryMetadataDataSource.java#L276-L294", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/GeometryMetadataDataSource.java", "func_name": "GeometryMetadataDataSource.count", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Query for all table geometry metadata count matching the bounding box in the same projection\n\n@param geoPackage GeoPackage name\n@param tableName table name\n@param boundingBox bounding box\n@return count\n@since 1.1.0", "docstring_tokens": ["Query", "for", "all", "table", "geometry", "metadata", "count", "matching", "the", "bounding", "box", "in", "the", "same", "projection"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/GeometryMetadataDataSource.java#L477-L479", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/GeometryMetadataDataSource.java", "func_name": "GeometryMetadataDataSource.createGeometryMetadata", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a geometry metadata from the current cursor location\n\n@param cursor cursor\n@return geometry metadata", "docstring_tokens": ["Create", "a", "geometry", "metadata", "from", "the", "current", "cursor", "location"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/GeometryMetadataDataSource.java#L636-L658", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/user/UserDao.java", "func_name": "UserDao.update", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Update all rows matching the where clause with the provided values\n\n@param values content values\n@param whereClause where clause\n@param whereArgs where arguments\n@return updated rows", "docstring_tokens": ["Update", "all", "rows", "matching", "the", "where", "clause", "with", "the", "provided", "values"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/user/UserDao.java#L165-L168", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/custom/NumberFeaturesTile.java", "func_name": "NumberFeaturesTile.drawTile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Draw a tile with the provided text label in the middle\n\n@param tileWidth tile width\n@param tileHeight tile height\n@param text text\n@return tile bitmap", "docstring_tokens": ["Draw", "a", "tile", "with", "the", "provided", "text", "label", "in", "the", "middle"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/custom/NumberFeaturesTile.java#L294-L341", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/related/simple/SimpleAttributesDao.java", "func_name": "SimpleAttributesDao.getRows", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the simple attributes rows that exist with the provided ids\n\n@param ids list of ids\n@return simple attributes rows", "docstring_tokens": ["Get", "the", "simple", "attributes", "rows", "that", "exist", "with", "the", "provided", "ids"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/related/simple/SimpleAttributesDao.java#L80-L89", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/factory/GeoPackageImpl.java", "func_name": "GeoPackageImpl.integrityCheck", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check the cursor returned from the integrity check to see if things are \"ok\"\n\n@param cursor\n@return null if ok, else the open cursor", "docstring_tokens": ["Check", "the", "cursor", "returned", "from", "the", "integrity", "check", "to", "see", "if", "things", "are", "ok"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/factory/GeoPackageImpl.java#L452-L461", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/related/RelatedTablesExtension.java", "func_name": "RelatedTablesExtension.getMappingDao", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a User Mapping DAO from a table name\n\n@param tableName mapping table name\n@return user mapping dao", "docstring_tokens": ["Get", "a", "User", "Mapping", "DAO", "from", "a", "table", "name"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/related/RelatedTablesExtension.java#L92-L96", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/related/RelatedTablesExtension.java", "func_name": "RelatedTablesExtension.getSimpleAttributesDao", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a related simple attributes table DAO\n\n@param tableName simple attributes table name\n@return simple attributes DAO", "docstring_tokens": ["Get", "a", "related", "simple", "attributes", "table", "DAO"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/related/RelatedTablesExtension.java#L159-L165", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/related/RelatedTablesExtension.java", "func_name": "RelatedTablesExtension.getMappingsForBase", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the related id mappings for the base id\n\n@param extendedRelation extended relation\n@param baseId base id\n@return IDs representing the matching related IDs", "docstring_tokens": ["Get", "the", "related", "id", "mappings", "for", "the", "base", "id"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/related/RelatedTablesExtension.java#L174-L178", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/related/RelatedTablesExtension.java", "func_name": "RelatedTablesExtension.getMappingsForRelated", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the base id mappings for the related id\n\n@param extendedRelation extended relation\n@param relatedId related id\n@return IDs representing the matching base IDs", "docstring_tokens": ["Get", "the", "base", "id", "mappings", "for", "the", "related", "id"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/related/RelatedTablesExtension.java#L212-L216", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/related/RelatedTablesExtension.java", "func_name": "RelatedTablesExtension.hasMapping", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determine if the base id and related id mapping exists\n\n@param tableName mapping table name\n@param baseId base id\n@param relatedId related id\n@return true if mapping exists\n@since 3.2.0", "docstring_tokens": ["Determine", "if", "the", "base", "id", "and", "related", "id", "mapping", "exists"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/related/RelatedTablesExtension.java#L253-L264", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/user/custom/UserCustomDao.java", "func_name": "UserCustomDao.count", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the count of the cursor and close it\n\n@param cursor cursor\n@return count", "docstring_tokens": ["Get", "the", "count", "of", "the", "cursor", "and", "close", "it"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/user/custom/UserCustomDao.java#L103-L111", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/user/custom/UserCustomDao.java", "func_name": "UserCustomDao.registerCursorWrapper", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Register the cursor wrapper into the GeoPackage\n\n@param geoPackage GeoPackage", "docstring_tokens": ["Register", "the", "cursor", "wrapper", "into", "the", "GeoPackage"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/user/custom/UserCustomDao.java#L118-L125", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/user/custom/UserCustomDao.java", "func_name": "UserCustomDao.readTable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read the database table and create a DAO\n\n@param geoPackage GeoPackage\n@param tableName table name\n@return user custom DAO", "docstring_tokens": ["Read", "the", "database", "table", "and", "create", "a", "DAO"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/user/custom/UserCustomDao.java#L134-L145", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/retriever/TileCreator.java", "func_name": "TileCreator.getTile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the tile from the request bounding box in the request projection\n\n@param requestBoundingBox request bounding box in the request projection\n@return tile", "docstring_tokens": ["Get", "the", "tile", "from", "the", "request", "bounding", "box", "in", "the", "request", "projection"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/retriever/TileCreator.java#L274-L350", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/retriever/TileCreator.java", "func_name": "TileCreator.drawTile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Draw the tile from the tile results\n\n@param tileMatrix\n@param tileResults\n@param requestProjectedBoundingBox\n@param tileWidth\n@param tileHeight\n@return tile bitmap", "docstring_tokens": ["Draw", "the", "tile", "from", "the", "tile", "results"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/retriever/TileCreator.java#L362-L414", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/retriever/TileCreator.java", "func_name": "TileCreator.reprojectTile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reproject the tile to the requested projection\n\n@param tile tile in the tile matrix projection\n@param requestedTileWidth requested tile width\n@param requestedTileHeight requested tile height\n@param requestBoundingBox request bounding box in the request projection\n@param transformRequestToTiles transformation from request to tiles\n@param tilesBoundingBox request bounding box in the tile matrix projection\n@return projected tile", "docstring_tokens": ["Reproject", "the", "tile", "to", "the", "requested", "projection"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/retriever/TileCreator.java#L427-L476", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/retriever/TileCreator.java", "func_name": "TileCreator.retrieveTileResults", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the tile row results of tiles needed to draw the requested bounding box tile\n\n@param projectedRequestBoundingBox bounding box projected to the tiles\n@param tileMatrix\n@return tile cursor results or null", "docstring_tokens": ["Get", "the", "tile", "row", "results", "of", "tiles", "needed", "to", "draw", "the", "requested", "bounding", "box", "tile"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/retriever/TileCreator.java#L620-L638", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTiles.java", "func_name": "FeatureTiles.calculateDrawOverlap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Call after making changes to the point icon, point radius, or paint stroke widths.\nDetermines the pixel overlap between tiles", "docstring_tokens": ["Call", "after", "making", "changes", "to", "the", "point", "icon", "point", "radius", "or", "paint", "stroke", "widths", ".", "Determines", "the", "pixel", "overlap", "between", "tiles"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTiles.java#L357-L419", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTiles.java", "func_name": "FeatureTiles.setDensity", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the density\n\n@param density density\n@since 3.2.0", "docstring_tokens": ["Set", "the", "density"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTiles.java#L427-L432", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTiles.java", "func_name": "FeatureTiles.setLinePaint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the line paint\n\n@param linePaint line paint", "docstring_tokens": ["Set", "the", "line", "paint"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTiles.java#L726-L732", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTiles.java", "func_name": "FeatureTiles.setPolygonPaint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the polygon paint\n\n@param polygonPaint polygon paint", "docstring_tokens": ["Set", "the", "polygon", "paint"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTiles.java#L810-L816", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTiles.java", "func_name": "FeatureTiles.drawTileBytes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Draw the tile and get the bytes from the x, y, and zoom level\n\n@param x x coordinate\n@param y y coordinate\n@param zoom zoom level\n@return tile bytes, or null", "docstring_tokens": ["Draw", "the", "tile", "and", "get", "the", "bytes", "from", "the", "x", "y", "and", "zoom", "level"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTiles.java#L1034-L1054", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTiles.java", "func_name": "FeatureTiles.drawTile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Draw a tile bitmap from the x, y, and zoom level\n\n@param x x coordinate\n@param y y coordinate\n@param zoom zoom level\n@return tile bitmap, or null", "docstring_tokens": ["Draw", "a", "tile", "bitmap", "from", "the", "x", "y", "and", "zoom", "level"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTiles.java#L1064-L1072", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTiles.java", "func_name": "FeatureTiles.drawTileQueryIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Draw a tile bitmap from the x, y, and zoom level by querying features in the tile location\n\n@param x x coordinate\n@param y y coordinate\n@param zoom zoom level\n@return drawn bitmap, or null", "docstring_tokens": ["Draw", "a", "tile", "bitmap", "from", "the", "x", "y", "and", "zoom", "level", "by", "querying", "features", "in", "the", "tile", "location"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTiles.java#L1082-L1117", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTiles.java", "func_name": "FeatureTiles.queryIndexedFeaturesCount", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Query for feature result count in the x, y, and zoom\n\n@param x x coordinate\n@param y y coordinate\n@param zoom zoom level\n@return feature count\n@since 1.1.0", "docstring_tokens": ["Query", "for", "feature", "result", "count", "in", "the", "x", "y", "and", "zoom"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTiles.java#L1128-L1138", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTiles.java", "func_name": "FeatureTiles.queryIndexedFeaturesCount", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Query for feature result count in the bounding box\n\n@param webMercatorBoundingBox web mercator bounding box\n@return feature count\n@since 3.2.0", "docstring_tokens": ["Query", "for", "feature", "result", "count", "in", "the", "bounding", "box"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTiles.java#L1147-L1161", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTiles.java", "func_name": "FeatureTiles.queryIndexedFeatures", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Query for feature results in the x, y, and zoom level by querying features in the tile location\n\n@param x x coordinate\n@param y y coordinate\n@param zoom zoom level\n@return feature index results\n@since 3.2.0", "docstring_tokens": ["Query", "for", "feature", "results", "in", "the", "x", "y", "and", "zoom", "level", "by", "querying", "features", "in", "the", "tile", "location"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTiles.java#L1172-L1180", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTiles.java", "func_name": "FeatureTiles.queryIndexedFeatures", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Query for feature results in the bounding box\n\n@param webMercatorBoundingBox web mercator bounding box\n@return feature index results\n@since 1.1.0", "docstring_tokens": ["Query", "for", "feature", "results", "in", "the", "bounding", "box"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTiles.java#L1189-L1199", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTiles.java", "func_name": "FeatureTiles.drawTileQueryAll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Draw a tile bitmap from the x, y, and zoom level by querying all features. This could\nbe very slow if there are a lot of features\n\n@param x x coordinate\n@param y y coordinate\n@param zoom zoom level\n@return drawn bitmap, or null", "docstring_tokens": ["Draw", "a", "tile", "bitmap", "from", "the", "x", "y", "and", "zoom", "level", "by", "querying", "all", "features", ".", "This", "could", "be", "very", "slow", "if", "there", "are", "a", "lot", "of", "features"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTiles.java#L1294-L1328", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTiles.java", "func_name": "FeatureTiles.simplifyPoints", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "When the simplify tolerance is set, simplify the points to a similar\ncurve with fewer points.\n\n@param simplifyTolerance simplify tolerance in meters\n@param points ordered points\n@return simplified points\n@since 2.0.0", "docstring_tokens": ["When", "the", "simplify", "tolerance", "is", "set", "simplify", "the", "points", "to", "a", "similar", "curve", "with", "fewer", "points", "."], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTiles.java#L1368-L1396", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTiles.java", "func_name": "FeatureTiles.getPointPaint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the point paint for the feature style, or return the default paint\n\n@param featureStyle feature style\n@return paint", "docstring_tokens": ["Get", "the", "point", "paint", "for", "the", "feature", "style", "or", "return", "the", "default", "paint"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTiles.java#L1443-L1452", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTiles.java", "func_name": "FeatureTiles.getLinePaint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the line paint for the feature style, or return the default paint\n\n@param featureStyle feature style\n@return paint", "docstring_tokens": ["Get", "the", "line", "paint", "for", "the", "feature", "style", "or", "return", "the", "default", "paint"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTiles.java#L1460-L1469", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTiles.java", "func_name": "FeatureTiles.getPolygonPaint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the polygon paint for the feature style, or return the default paint\n\n@param featureStyle feature style\n@return paint", "docstring_tokens": ["Get", "the", "polygon", "paint", "for", "the", "feature", "style", "or", "return", "the", "default", "paint"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTiles.java#L1477-L1486", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTiles.java", "func_name": "FeatureTiles.getPolygonFillPaint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the polygon fill paint for the feature style, or return the default paint\n\n@param featureStyle feature style\n@return paint", "docstring_tokens": ["Get", "the", "polygon", "fill", "paint", "for", "the", "feature", "style", "or", "return", "the", "default", "paint"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTiles.java#L1494-L1521", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTiles.java", "func_name": "FeatureTiles.getFeatureStylePaint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the feature style paint from cache, or create and cache it\n\n@param featureStyle feature style\n@param drawType draw type\n@return feature style paint", "docstring_tokens": ["Get", "the", "feature", "style", "paint", "from", "cache", "or", "create", "and", "cache", "it"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTiles.java#L1530-L1546", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTiles.java", "func_name": "FeatureTiles.getStylePaint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the style paint from cache, or create and cache it\n\n@param style style row\n@param drawType draw type\n@return paint", "docstring_tokens": ["Get", "the", "style", "paint", "from", "cache", "or", "create", "and", "cache", "it"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTiles.java#L1555-L1605", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeaturePaintCache.java", "func_name": "FeaturePaintCache.getPaint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the paint for the style row and draw type\n\n@param styleRow style row\n@param type feature draw type\n@return paint", "docstring_tokens": ["Get", "the", "paint", "for", "the", "style", "row", "and", "draw", "type"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeaturePaintCache.java#L87-L89", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeaturePaintCache.java", "func_name": "FeaturePaintCache.getPaint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the paint for the style row id and draw type\n\n@param styleId style row id\n@param type feature draw type\n@return paint", "docstring_tokens": ["Get", "the", "paint", "for", "the", "style", "row", "id", "and", "draw", "type"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeaturePaintCache.java#L98-L105", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/IconCache.java", "func_name": "IconCache.put", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Cache the icon bitmap for the icon row\n\n@param iconRow icon row\n@param bitmap icon bitmap\n@return previous cached icon bitmap or null", "docstring_tokens": ["Cache", "the", "icon", "bitmap", "for", "the", "icon", "row"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/IconCache.java#L70-L72", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/IconCache.java", "func_name": "IconCache.createIcon", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create or retrieve from cache an icon bitmap for the icon row\n\n@param icon icon row\n@param density display density: {@link android.util.DisplayMetrics#density}\n@param iconCache icon cache\n@return icon bitmap", "docstring_tokens": ["Create", "or", "retrieve", "from", "cache", "an", "icon", "bitmap", "for", "the", "icon", "row"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/IconCache.java#L183-L250", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/SQLUtils.java", "func_name": "SQLUtils.quoteWrap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Wrap the content values names in quotes\n\n@param values content values\n@return quoted content values", "docstring_tokens": ["Wrap", "the", "content", "values", "names", "in", "quotes"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/SQLUtils.java#L23-L40", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTileCanvas.java", "func_name": "FeatureTileCanvas.createBitmap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create the final bitmap from the layers, resets the layers\n\n@return bitmap", "docstring_tokens": ["Create", "the", "final", "bitmap", "from", "the", "layers", "resets", "the", "layers"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTileCanvas.java#L144-L169", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTileCanvas.java", "func_name": "FeatureTileCanvas.recycle", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Recycle the layered bitmaps", "docstring_tokens": ["Recycle", "the", "layered", "bitmaps"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTileCanvas.java#L174-L183", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTileCanvas.java", "func_name": "FeatureTileCanvas.getBitmap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the bitmap for the layer index\n\n@param layer layer index\n@return bitmap", "docstring_tokens": ["Get", "the", "bitmap", "for", "the", "layer", "index"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTileCanvas.java#L191-L198", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTileCanvas.java", "func_name": "FeatureTileCanvas.getCanvas", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the canvas for the layer index\n\n@param layer layer index\n@return canvas", "docstring_tokens": ["Get", "the", "canvas", "for", "the", "layer", "index"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTileCanvas.java#L206-L213", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTileCanvas.java", "func_name": "FeatureTileCanvas.createBitmapAndCanvas", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a new empty Bitmap and Canvas\n\n@param layer layer index", "docstring_tokens": ["Create", "a", "new", "empty", "Bitmap", "and", "Canvas"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTileCanvas.java#L220-L224", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java", "func_name": "FeatureStyleExtension.getMappingDao", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a Style Mapping DAO from a table name\n\n@param tablePrefix table name prefix\n@param featureTable feature table\n@return style mapping dao", "docstring_tokens": ["Get", "a", "Style", "Mapping", "DAO", "from", "a", "table", "name"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java#L99-L107", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java", "func_name": "FeatureStyleExtension.getStyleDao", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a style DAO\n\n@return style DAO", "docstring_tokens": ["Get", "a", "style", "DAO"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java#L114-L123", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java", "func_name": "FeatureStyleExtension.getIconDao", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a icon DAO\n\n@return icon DAO", "docstring_tokens": ["Get", "a", "icon", "DAO"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java#L130-L138", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java", "func_name": "FeatureStyleExtension.getTableFeatureStyles", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the feature table default feature styles\n\n@param featureTable feature table\n@return table feature styles or null", "docstring_tokens": ["Get", "the", "feature", "table", "default", "feature", "styles"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java#L156-L173", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java", "func_name": "FeatureStyleExtension.getTableStyles", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the feature table default styles\n\n@param featureTable feature table\n@return table styles or null", "docstring_tokens": ["Get", "the", "feature", "table", "default", "styles"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java#L191-L198", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java", "func_name": "FeatureStyleExtension.getTableStyle", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the style of the feature table and geometry type\n\n@param featureTable feature table\n@param geometryType geometry type\n@return style row", "docstring_tokens": ["Get", "the", "style", "of", "the", "feature", "table", "and", "geometry", "type"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java#L218-L225", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java", "func_name": "FeatureStyleExtension.getTableIcons", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the feature table default icons\n\n@param featureTable feature table\n@return table icons or null", "docstring_tokens": ["Get", "the", "feature", "table", "default", "icons"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java#L253-L260", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java", "func_name": "FeatureStyleExtension.getTableIcon", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the icon of the feature table and geometry type\n\n@param featureTable feature table\n@param geometryType geometry type\n@return icon row", "docstring_tokens": ["Get", "the", "icon", "of", "the", "feature", "table", "and", "geometry", "type"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java#L290-L297", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java", "func_name": "FeatureStyleExtension.getFeatureStyles", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the feature styles for the feature row\n\n@param featureRow feature row\n@return feature styles or null", "docstring_tokens": ["Get", "the", "feature", "styles", "for", "the", "feature", "row"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java#L305-L308", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java", "func_name": "FeatureStyleExtension.getFeatureStyles", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the feature styles for the feature table and feature id\n\n@param featureTable feature table\n@param featureId feature id\n@return feature styles or null", "docstring_tokens": ["Get", "the", "feature", "styles", "for", "the", "feature", "table", "and", "feature", "id"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java#L317-L328", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java", "func_name": "FeatureStyleExtension.getStyles", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the styles for the feature row\n\n@param featureRow feature row\n@return styles or null", "docstring_tokens": ["Get", "the", "styles", "for", "the", "feature", "row"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java#L416-L419", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java", "func_name": "FeatureStyleExtension.getIcons", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the icons for the feature row\n\n@param featureRow feature row\n@return icons or null", "docstring_tokens": ["Get", "the", "icons", "for", "the", "feature", "row"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java#L551-L554", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java", "func_name": "FeatureStyleExtension.getStyles", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the styles for feature id from the style mapping dao\n\n@param featureId geometry feature id or feature table id\n@param mappingDao style mapping dao\n@return styles", "docstring_tokens": ["Get", "the", "styles", "for", "feature", "id", "from", "the", "style", "mapping", "dao"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java#L686-L717", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java", "func_name": "FeatureStyleExtension.getIcons", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the icons for feature id from the icon mapping dao\n\n@param featureId geometry feature id or feature table id\n@param mappingDao icon mapping dao\n@return icons", "docstring_tokens": ["Get", "the", "icons", "for", "feature", "id", "from", "the", "icon", "mapping", "dao"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java#L726-L755", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java", "func_name": "FeatureStyleExtension.setTableFeatureStyles", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the feature table default feature styles\n\n@param featureTable feature table\n@param featureStyles default feature styles", "docstring_tokens": ["Set", "the", "feature", "table", "default", "feature", "styles"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java#L774-L782", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java", "func_name": "FeatureStyleExtension.setTableStyles", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the feature table default styles\n\n@param featureTable feature table\n@param styles default styles", "docstring_tokens": ["Set", "the", "feature", "table", "default", "styles"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java#L800-L816", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java", "func_name": "FeatureStyleExtension.setTableIcons", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the feature table default icons\n\n@param featureTable feature table\n@param icons default icons", "docstring_tokens": ["Set", "the", "feature", "table", "default", "icons"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java#L894-L911", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java", "func_name": "FeatureStyleExtension.setFeatureStyles", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the feature styles for the feature row\n\n@param featureRow feature row\n@param featureStyles feature styles", "docstring_tokens": ["Set", "the", "feature", "styles", "for", "the", "feature", "row"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java#L978-L982", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java", "func_name": "FeatureStyleExtension.setFeatureStyles", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the feature styles for the feature table and feature id\n\n@param featureTable feature table\n@param featureId feature id\n@param featureStyles feature styles", "docstring_tokens": ["Set", "the", "feature", "styles", "for", "the", "feature", "table", "and", "feature", "id"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java#L991-L1000", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java", "func_name": "FeatureStyleExtension.setStyles", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the styles for the feature row\n\n@param featureRow feature row\n@param styles styles", "docstring_tokens": ["Set", "the", "styles", "for", "the", "feature", "row"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java#L1077-L1080", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java", "func_name": "FeatureStyleExtension.setStyles", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the styles for the feature table and feature id\n\n@param featureTable feature table\n@param featureId feature id\n@param styles styles", "docstring_tokens": ["Set", "the", "styles", "for", "the", "feature", "table", "and", "feature", "id"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java#L1089-L1105", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java", "func_name": "FeatureStyleExtension.setStyle", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the style of the feature row\n\n@param featureRow feature row\n@param style style row", "docstring_tokens": ["Set", "the", "style", "of", "the", "feature", "row"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java#L1113-L1115", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java", "func_name": "FeatureStyleExtension.setStyleDefault", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the default style of the feature row\n\n@param featureRow feature row\n@param style style row", "docstring_tokens": ["Set", "the", "default", "style", "of", "the", "feature", "row"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java#L1136-L1139", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java", "func_name": "FeatureStyleExtension.setStyleDefault", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the default style of the feature\n\n@param featureTable feature table\n@param featureId feature id\n@param style style row", "docstring_tokens": ["Set", "the", "default", "style", "of", "the", "feature"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java#L1171-L1174", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java", "func_name": "FeatureStyleExtension.setIcons", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the icons for the feature row\n\n@param featureRow feature row\n@param icons icons", "docstring_tokens": ["Set", "the", "icons", "for", "the", "feature", "row"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java#L1182-L1185", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java", "func_name": "FeatureStyleExtension.setIcons", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the icons for the feature table and feature id\n\n@param featureTable feature table\n@param featureId feature id\n@param icons icons", "docstring_tokens": ["Set", "the", "icons", "for", "the", "feature", "table", "and", "feature", "id"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java#L1194-L1209", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java", "func_name": "FeatureStyleExtension.setIcon", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the icon of the feature row\n\n@param featureRow feature row\n@param icon icon row", "docstring_tokens": ["Set", "the", "icon", "of", "the", "feature", "row"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java#L1217-L1219", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java", "func_name": "FeatureStyleExtension.setIconDefault", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the default icon of the feature row\n\n@param featureRow feature row\n@param icon icon row", "docstring_tokens": ["Set", "the", "default", "icon", "of", "the", "feature", "row"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java#L1240-L1243", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java", "func_name": "FeatureStyleExtension.setIconDefault", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the default icon of the feature\n\n@param featureTable feature table\n@param featureId feature id\n@param icon icon row", "docstring_tokens": ["Set", "the", "default", "icon", "of", "the", "feature"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java#L1276-L1278", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java", "func_name": "FeatureStyleExtension.getOrInsertStyle", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the style id, either from the existing style or by inserting a new\none\n\n@param style style row\n@return style id", "docstring_tokens": ["Get", "the", "style", "id", "either", "from", "the", "existing", "style", "or", "by", "inserting", "a", "new", "one"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java#L1287-L1296", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java", "func_name": "FeatureStyleExtension.getOrInsertIcon", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the icon id, either from the existing icon or by inserting a new one\n\n@param icon icon row\n@return icon id", "docstring_tokens": ["Get", "the", "icon", "id", "either", "from", "the", "existing", "icon", "or", "by", "inserting", "a", "new", "one"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java#L1304-L1313", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java", "func_name": "FeatureStyleExtension.insertStyleMapping", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Insert a style mapping row\n\n@param mappingDao mapping dao\n@param baseId base id, either contents id or feature id\n@param relatedId related id, either style or icon id\n@param geometryType geometry type or null", "docstring_tokens": ["Insert", "a", "style", "mapping", "row"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java#L1323-L1333", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java", "func_name": "FeatureStyleExtension.deleteTableStyle", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Delete the feature table style for the geometry type\n\n@param featureTable feature table\n@param geometryType geometry type", "docstring_tokens": ["Delete", "the", "feature", "table", "style", "for", "the", "geometry", "type"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java#L1466-L1469", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java", "func_name": "FeatureStyleExtension.deleteTableIcon", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Delete the feature table icon for the geometry type\n\n@param featureTable feature table\n@param geometryType geometry type", "docstring_tokens": ["Delete", "the", "feature", "table", "icon", "for", "the", "geometry", "type"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java#L1524-L1527", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java", "func_name": "FeatureStyleExtension.deleteTableMappings", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Delete the table style mappings\n\n@param mappingDao mapping dao\n@param featureTable feature table", "docstring_tokens": ["Delete", "the", "table", "style", "mappings"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java#L1535-L1543", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java", "func_name": "FeatureStyleExtension.deleteTableMapping", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Delete the table style mapping with the geometry type value\n\n@param mappingDao mapping dao\n@param featureTable feature table\n@param geometryType geometry type", "docstring_tokens": ["Delete", "the", "table", "style", "mapping", "with", "the", "geometry", "type", "value"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java#L1552-L1560", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java", "func_name": "FeatureStyleExtension.deleteMapping", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Delete the style mapping with the geometry type value\n\n@param mappingDao mapping dao\n@param featureId feature id\n@param geometryType geometry type", "docstring_tokens": ["Delete", "the", "style", "mapping", "with", "the", "geometry", "type", "value"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java#L1789-L1794", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java", "func_name": "FeatureStyleExtension.getAllTableStyleIds", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get all the unique style row ids the table maps to\n\n@param featureTable feature table\n@return style row ids", "docstring_tokens": ["Get", "all", "the", "unique", "style", "row", "ids", "the", "table", "maps", "to"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java#L1812-L1819", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java", "func_name": "FeatureStyleExtension.getAllTableIconIds", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get all the unique icon row ids the table maps to\n\n@param featureTable feature table\n@return icon row ids", "docstring_tokens": ["Get", "all", "the", "unique", "icon", "row", "ids", "the", "table", "maps", "to"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java#L1837-L1844", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java", "func_name": "FeatureStyleExtension.getAllStyleIds", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get all the unique style row ids the features map to\n\n@param featureTable feature table\n@return style row ids", "docstring_tokens": ["Get", "all", "the", "unique", "style", "row", "ids", "the", "features", "map", "to"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java#L1862-L1869", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java", "func_name": "FeatureStyleExtension.getAllIconIds", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get all the unique icon row ids the features map to\n\n@param featureTable feature table\n@return icon row ids", "docstring_tokens": ["Get", "all", "the", "unique", "icon", "row", "ids", "the", "features", "map", "to"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java#L1887-L1894", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/coverage/CoverageDataPngImage.java", "func_name": "CoverageDataPngImage.getImageBytes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the image bytes\n\n@return image bytes", "docstring_tokens": ["Get", "the", "image", "bytes"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/coverage/CoverageDataPngImage.java#L89-L97", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/coverage/CoverageDataPngImage.java", "func_name": "CoverageDataPngImage.flushStream", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Flush the output stream and set the image bytes, close the stream", "docstring_tokens": ["Flush", "the", "output", "stream", "and", "set", "the", "image", "bytes", "close", "the", "stream"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/coverage/CoverageDataPngImage.java#L136-L147", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/coverage/CoverageDataPngImage.java", "func_name": "CoverageDataPngImage.getPixel", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the pixel at the coordinate\n\n@param x x coordinate\n@param y y coordinate\n@return pixel value", "docstring_tokens": ["Get", "the", "pixel", "at", "the", "coordinate"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/coverage/CoverageDataPngImage.java#L156-L167", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/coverage/CoverageDataPngImage.java", "func_name": "CoverageDataPngImage.readPixels", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read all the pixels from the image", "docstring_tokens": ["Read", "all", "the", "pixels", "from", "the", "image"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/coverage/CoverageDataPngImage.java#L172-L184", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/DefaultFeatureTiles.java", "func_name": "DefaultFeatureTiles.drawFeature", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Draw the feature on the canvas\n\n@param zoom zoom level\n@param boundingBox bounding box\n@param expandedBoundingBox expanded bounding box\n@param transform projection transform\n@param canvas feature tile canvas\n@param row feature row\n@return true if at least one feature was drawn", "docstring_tokens": ["Draw", "the", "feature", "on", "the", "canvas"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/DefaultFeatureTiles.java#L247-L275", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/DefaultFeatureTiles.java", "func_name": "DefaultFeatureTiles.drawLinePath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Draw the line path on the canvas\n\n@param canvas canvas\n@param path path\n@param featureStyle feature style\n@return true if drawn", "docstring_tokens": ["Draw", "the", "line", "path", "on", "the", "canvas"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/DefaultFeatureTiles.java#L378-L386", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/DefaultFeatureTiles.java", "func_name": "DefaultFeatureTiles.drawPolygonPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Draw the path on the canvas\n\n@param canvas canvas\n@param path path\n@param featureStyle feature style", "docstring_tokens": ["Draw", "the", "path", "on", "the", "canvas"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/DefaultFeatureTiles.java#L395-L409", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/DefaultFeatureTiles.java", "func_name": "DefaultFeatureTiles.addLineString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add the linestring to the path\n\n@param simplifyTolerance simplify tolerance in meters\n@param boundingBox bounding box\n@param transform projection transform\n@param path path\n@param lineString line string", "docstring_tokens": ["Add", "the", "linestring", "to", "the", "path"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/DefaultFeatureTiles.java#L420-L443", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/DefaultFeatureTiles.java", "func_name": "DefaultFeatureTiles.addPolygon", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add the polygon on the canvas\n\n@param simplifyTolerance simplify tolerance in meters\n@param boundingBox bounding box\n@param transform projection transform\n@param path path\n@param polygon polygon", "docstring_tokens": ["Add", "the", "polygon", "on", "the", "canvas"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/DefaultFeatureTiles.java#L454-L474", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/features/user/FeatureCacheTables.java", "func_name": "FeatureCacheTables.getCache", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get or create a feature row cache for the table name\n\n@param tableName feature table name\n@return feature row cache", "docstring_tokens": ["Get", "or", "create", "a", "feature", "row", "cache", "for", "the", "table", "name"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/features/user/FeatureCacheTables.java#L76-L83", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/features/user/FeatureCacheTables.java", "func_name": "FeatureCacheTables.remove", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove the cached feature row\n\n@param featureRow feature row\n@return removed feature row or null", "docstring_tokens": ["Remove", "the", "cached", "feature", "row"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/features/user/FeatureCacheTables.java#L142-L144", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/features/user/FeatureCacheTables.java", "func_name": "FeatureCacheTables.clearAndResize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Clear and resize all caches and update the max cache size\n\n@param maxCacheSize max cache size", "docstring_tokens": ["Clear", "and", "resize", "all", "caches", "and", "update", "the", "max", "cache", "size"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/features/user/FeatureCacheTables.java#L212-L217", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureTableStyles.java", "func_name": "FeatureTableStyles.getCachedTableStyles", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the cached table styles, querying and caching if needed\n\n@return cached table styles", "docstring_tokens": ["Get", "the", "cached", "table", "styles", "querying", "and", "caching", "if", "needed"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureTableStyles.java#L306-L328", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureTableStyles.java", "func_name": "FeatureTableStyles.getCachedTableIcons", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the cached table icons, querying and caching if needed\n\n@return cached table icons", "docstring_tokens": ["Get", "the", "cached", "table", "icons", "querying", "and", "caching", "if", "needed"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureTableStyles.java#L363-L385", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/RTreeIndexExtension.java", "func_name": "RTreeIndexExtension.getTableDao", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a RTree Index Table DAO for the feature dao\n\n@param featureDao feature DAO\n@return RTree Index Table DAO\n@since 3.1.0", "docstring_tokens": ["Get", "a", "RTree", "Index", "Table", "DAO", "for", "the", "feature", "dao"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/RTreeIndexExtension.java#L68-L77", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/IconRow.java", "func_name": "IconRow.setWidth", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the width\n\n@param width Icon display width, when null use actual icon width", "docstring_tokens": ["Set", "the", "width"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/IconRow.java#L164-L171", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/IconRow.java", "func_name": "IconRow.setHeight", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the height\n\n@param height Icon display height, when null use actual icon height", "docstring_tokens": ["Set", "the", "height"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/IconRow.java#L221-L228", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/IconRow.java", "func_name": "IconRow.getDerivedDimensions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the derived width and height from the values and icon data, scaled as\nneeded\n\n@return derived dimensions array with two values, width at index 0, height at index 1", "docstring_tokens": ["Get", "the", "derived", "width", "and", "height", "from", "the", "values", "and", "icon", "data", "scaled", "as", "needed"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/IconRow.java#L252-L282", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/TileUtils.java", "func_name": "TileUtils.tileDensity", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the tile density based upon the display density scale and tile dimensions\n\n@param density display density: {@link android.util.DisplayMetrics#density}\n@param tileWidth tile width\n@param tileHeight tile height\n@return tile density", "docstring_tokens": ["Get", "the", "tile", "density", "based", "upon", "the", "display", "density", "scale", "and", "tile", "dimensions"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/TileUtils.java#L57-L59", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/user/UserInvalidCursor.java", "func_name": "UserInvalidCursor.readBlobValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read the blob column value in chunks\n\n@param row user row\n@param column user blob column", "docstring_tokens": ["Read", "the", "blob", "column", "value", "in", "chunks"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/user/UserInvalidCursor.java#L107-L140", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/user/custom/UserCustomTableReader.java", "func_name": "UserCustomTableReader.readTable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read the table\n\n@param connection GeoPackage connection\n@param tableName table name\n@return table", "docstring_tokens": ["Read", "the", "table"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/user/custom/UserCustomTableReader.java#L62-L67", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/StyleRow.java", "func_name": "StyleRow.getColorOrDefault", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the color or default value\n\n@return color", "docstring_tokens": ["Get", "the", "color", "or", "default", "value"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/StyleRow.java#L213-L219", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/StyleRow.java", "func_name": "StyleRow.validateColor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Validate and adjust the color value\n\n@param color color", "docstring_tokens": ["Validate", "and", "adjust", "the", "color", "value"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/StyleRow.java#L466-L480", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/StyleRow.java", "func_name": "StyleRow.createColor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a color from the hex color and opacity\n\n@param hexColor hex color\n@param opacity opacity\n@return color or null", "docstring_tokens": ["Create", "a", "color", "from", "the", "hex", "color", "and", "opacity"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/StyleRow.java#L502-L514", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/factory/GeoPackageFactory.java", "func_name": "GeoPackageFactory.getManager", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a GeoPackage Manager\n\n@param context context\n@return GeoPackage manager", "docstring_tokens": ["Get", "a", "GeoPackage", "Manager"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/factory/GeoPackageFactory.java#L27-L30", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/features/index/FeatureIndexManager.java", "func_name": "FeatureIndexManager.setProgress", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the GeoPackage Progress\n\n@param progress GeoPackage progress", "docstring_tokens": ["Set", "the", "GeoPackage", "Progress"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/features/index/FeatureIndexManager.java#L254-L258", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/features/index/FeatureIndexManager.java", "func_name": "FeatureIndexManager.index", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Index the feature tables for the index types\n\n@param force true to force re-indexing\n@param types feature index types\n@return largest count of indexed features\n@since 2.0.0", "docstring_tokens": ["Index", "the", "feature", "tables", "for", "the", "index", "types"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/features/index/FeatureIndexManager.java#L313-L320", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/features/index/FeatureIndexManager.java", "func_name": "FeatureIndexManager.index", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Index the feature row for the index types.\nThis method assumes that indexing has been completed and\nmaintained as the last indexed time is updated.\n\n@param row feature row to index\n@param types feature index types\n@return true if indexed from any type\n@since 2.0.0", "docstring_tokens": ["Index", "the", "feature", "row", "for", "the", "index", "types", ".", "This", "method", "assumes", "that", "indexing", "has", "been", "completed", "and", "maintained", "as", "the", "last", "indexed", "time", "is", "updated", "."], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/features/index/FeatureIndexManager.java#L380-L388", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/features/index/FeatureIndexManager.java", "func_name": "FeatureIndexManager.deleteIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Delete the feature index from the index types\n\n@param types feature index types\n@return true if deleted from any type\n@since 2.0.0", "docstring_tokens": ["Delete", "the", "feature", "index", "from", "the", "index", "types"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/features/index/FeatureIndexManager.java#L446-L454", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/features/index/FeatureIndexManager.java", "func_name": "FeatureIndexManager.deleteIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Delete the feature index for the feature row from the index types\n\n@param row feature row\n@param types feature index types\n@return true if deleted from any type\n@since 2.0.0", "docstring_tokens": ["Delete", "the", "feature", "index", "for", "the", "feature", "row", "from", "the", "index", "types"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/features/index/FeatureIndexManager.java#L502-L510", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/features/index/FeatureIndexManager.java", "func_name": "FeatureIndexManager.deleteIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Delete the feature index for the geometry id from the index types\n\n@param geomId geometry id\n@param types feature index types\n@return true if deleted from any type\n@since 2.0.0", "docstring_tokens": ["Delete", "the", "feature", "index", "for", "the", "geometry", "id", "from", "the", "index", "types"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/features/index/FeatureIndexManager.java#L541-L549", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/features/index/FeatureIndexManager.java", "func_name": "FeatureIndexManager.deleteIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Delete the feature index for the geometry id\n\n@param type feature index type\n@param geomId geometry id\n@return true if deleted", "docstring_tokens": ["Delete", "the", "feature", "index", "for", "the", "geometry", "id"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/features/index/FeatureIndexManager.java#L558-L578", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/features/index/FeatureIndexManager.java", "func_name": "FeatureIndexManager.isIndexed", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determine if the feature table is indexed\n\n@return true if indexed", "docstring_tokens": ["Determine", "if", "the", "feature", "table", "is", "indexed"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/features/index/FeatureIndexManager.java#L611-L620", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/features/index/FeatureIndexManager.java", "func_name": "FeatureIndexManager.getIndexedTypes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the indexed types that are currently indexed\n\n@return indexed types\n@since 2.0.0", "docstring_tokens": ["Get", "the", "indexed", "types", "that", "are", "currently", "indexed"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/features/index/FeatureIndexManager.java#L656-L664", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/features/index/FeatureIndexManager.java", "func_name": "FeatureIndexManager.query", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Query for all feature index results\n\n@return feature index results, close when done", "docstring_tokens": ["Query", "for", "all", "feature", "index", "results"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/features/index/FeatureIndexManager.java#L718-L740", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/features/index/FeatureIndexManager.java", "func_name": "FeatureIndexManager.count", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Query for all feature index count\n\n@return count", "docstring_tokens": ["Query", "for", "all", "feature", "index", "count"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/features/index/FeatureIndexManager.java#L747-L763", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/features/index/FeatureIndexManager.java", "func_name": "FeatureIndexManager.getBoundingBox", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Query for the feature index bounds\n\n@return bounding box", "docstring_tokens": ["Query", "for", "the", "feature", "index", "bounds"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/features/index/FeatureIndexManager.java#L770-L786", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/features/index/FeatureIndexManager.java", "func_name": "FeatureIndexManager.query", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Query for feature index results within the bounding box in\nthe provided projection\n\n@param boundingBox bounding box\n@param projection projection\n@return feature index results, close when done", "docstring_tokens": ["Query", "for", "feature", "index", "results", "within", "the", "bounding", "box", "in", "the", "provided", "projection"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/features/index/FeatureIndexManager.java#L929-L951", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/features/index/FeatureIndexManager.java", "func_name": "FeatureIndexManager.getIndexedType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the indexed type or throw an error if not indexed", "docstring_tokens": ["Get", "the", "indexed", "type", "or", "throw", "an", "error", "if", "not", "indexed"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/features/index/FeatureIndexManager.java#L994-L1007", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/io/ContextIOUtils.java", "func_name": "ContextIOUtils.getInternalFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the internal storage file for the file path\n\n@param context context\n@param filePath file path\n@return file", "docstring_tokens": ["Get", "the", "internal", "storage", "file", "for", "the", "file", "path"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/io/ContextIOUtils.java#L21-L29", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/io/ContextIOUtils.java", "func_name": "ContextIOUtils.getInternalFilePath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the internal storage patch for the file path\n\n@param context context\n@param filePath file path\n@return file path", "docstring_tokens": ["Get", "the", "internal", "storage", "patch", "for", "the", "file", "path"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/io/ContextIOUtils.java#L38-L40", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/StyleMappingRow.java", "func_name": "StyleMappingRow.getGeometryType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the geometry type\n\n@return geometry type", "docstring_tokens": ["Get", "the", "geometry", "type"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/StyleMappingRow.java#L83-L90", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/StyleMappingRow.java", "func_name": "StyleMappingRow.setGeometryType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the geometry type\n\n@param geometryType geometry type", "docstring_tokens": ["Set", "the", "geometry", "type"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/StyleMappingRow.java#L97-L103", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/UrlTileGenerator.java", "func_name": "UrlTileGenerator.hasBoundingBox", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determine if the url has bounding box variables\n\n@param url\n@return", "docstring_tokens": ["Determine", "if", "the", "url", "has", "bounding", "box", "variables"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/UrlTileGenerator.java#L108-L114", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/UrlTileGenerator.java", "func_name": "UrlTileGenerator.replaceXYZ", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Replace x, y, and z in the url\n\n@param url\n@param z\n@param x\n@param y\n@return", "docstring_tokens": ["Replace", "x", "y", "and", "z", "in", "the", "url"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/UrlTileGenerator.java#L125-L137", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/UrlTileGenerator.java", "func_name": "UrlTileGenerator.hasXYZ", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determine if the url has x, y, or z variables\n\n@param url\n@return", "docstring_tokens": ["Determine", "if", "the", "url", "has", "x", "y", "or", "z", "variables"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/UrlTileGenerator.java#L145-L151", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/UrlTileGenerator.java", "func_name": "UrlTileGenerator.replaceBoundingBox", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Replace the bounding box coordinates in the url\n\n@param url\n@param z\n@param x\n@param y\n@return", "docstring_tokens": ["Replace", "the", "bounding", "box", "coordinates", "in", "the", "url"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/UrlTileGenerator.java#L162-L170", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/UrlTileGenerator.java", "func_name": "UrlTileGenerator.replaceBoundingBox", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Replace the url parts with the bounding box\n\n@param url\n@param boundingBox\n@return", "docstring_tokens": ["Replace", "the", "url", "parts", "with", "the", "bounding", "box"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/UrlTileGenerator.java#L179-L195", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/features/user/FeatureCursor.java", "func_name": "FeatureCursor.getGeometry", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the geometry\n\n@return geometry data", "docstring_tokens": ["Get", "the", "geometry"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/features/user/FeatureCursor.java#L58-L74", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/FeatureIndexer.java", "func_name": "FeatureIndexer.index", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Index the feature row\n\n@param geoPackageId GeoPackage id\n@param row feature row\n@param possibleUpdate possible update flag\n@return true if indexed", "docstring_tokens": ["Index", "the", "feature", "row"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/FeatureIndexer.java#L250-L281", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/FeatureIndexer.java", "func_name": "FeatureIndexer.updateLastIndexed", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Update the least indexed time\n\n@param db metadata db\n@param geoPackageId GeoPackage id", "docstring_tokens": ["Update", "the", "least", "indexed", "time"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/FeatureIndexer.java#L289-L299", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/FeatureIndexer.java", "func_name": "FeatureIndexer.deleteIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Delete the feature table index\n\n@return true if index deleted\n@since 1.1.0", "docstring_tokens": ["Delete", "the", "feature", "table", "index"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/FeatureIndexer.java#L307-L311", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/FeatureIndexer.java", "func_name": "FeatureIndexer.deleteIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Delete the index for the geometry id\n\n@param geomId geometry id\n@return true if deleted", "docstring_tokens": ["Delete", "the", "index", "for", "the", "geometry", "id"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/FeatureIndexer.java#L330-L334", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/FeatureIndexer.java", "func_name": "FeatureIndexer.isIndexed", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determine if the database table is indexed after database modifications\n\n@return true if indexed", "docstring_tokens": ["Determine", "if", "the", "database", "table", "is", "indexed", "after", "database", "modifications"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/FeatureIndexer.java#L341-L353", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/FeatureIndexer.java", "func_name": "FeatureIndexer.query", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Query for all Geometry Metadata\n\n@return geometry metadata cursor\n@since 1.1.0", "docstring_tokens": ["Query", "for", "all", "Geometry", "Metadata"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/FeatureIndexer.java#L380-L383", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/FeatureIndexer.java", "func_name": "FeatureIndexer.query", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Query for Geometry Metadata within the bounding box, projected\ncorrectly\n\n@param boundingBox bounding box\n@return geometry metadata cursor\n@since 1.1.0", "docstring_tokens": ["Query", "for", "Geometry", "Metadata", "within", "the", "bounding", "box", "projected", "correctly"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/FeatureIndexer.java#L431-L434", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/FeatureIndexer.java", "func_name": "FeatureIndexer.count", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Query for Geometry Metadata count within the bounding box, projected\ncorrectly\n\n@param boundingBox bounding box\n@return count\n@since 1.1.0", "docstring_tokens": ["Query", "for", "Geometry", "Metadata", "count", "within", "the", "bounding", "box", "projected", "correctly"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/FeatureIndexer.java#L444-L447", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/FeatureIndexer.java", "func_name": "FeatureIndexer.query", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Query for Geometry Metadata within the Geometry Envelope\n\n@param envelope geometry envelope\n@return geometry metadata cursor\n@since 1.1.0", "docstring_tokens": ["Query", "for", "Geometry", "Metadata", "within", "the", "Geometry", "Envelope"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/FeatureIndexer.java#L456-L459", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/FeatureIndexer.java", "func_name": "FeatureIndexer.count", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Query for Geometry Metadata count within the Geometry Envelope\n\n@param envelope geometry envelope\n@return count\n@since 1.1.0", "docstring_tokens": ["Query", "for", "Geometry", "Metadata", "count", "within", "the", "Geometry", "Envelope"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/FeatureIndexer.java#L468-L471", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/FeatureIndexer.java", "func_name": "FeatureIndexer.query", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Query for Geometry Metadata within the bounding box in\nthe provided projection\n\n@param boundingBox bounding box\n@param projection projection of the provided bounding box\n@return geometry metadata cursor\n@since 1.1.0", "docstring_tokens": ["Query", "for", "Geometry", "Metadata", "within", "the", "bounding", "box", "in", "the", "provided", "projection"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/FeatureIndexer.java#L482-L491", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/FeatureIndexer.java", "func_name": "FeatureIndexer.count", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Query for Geometry Metadata count within the bounding box in\nthe provided projection\n\n@param boundingBox bounding box\n@param projection projection of the provided bounding box\n@return count\n@since 1.1.0", "docstring_tokens": ["Query", "for", "Geometry", "Metadata", "count", "within", "the", "bounding", "box", "in", "the", "provided", "projection"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/FeatureIndexer.java#L502-L510", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/FeatureIndexer.java", "func_name": "FeatureIndexer.getFeatureBoundingBox", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the bounding box in the feature projection from the bounding box in\nthe provided projection\n\n@param boundingBox bounding box\n@param projection projection\n@return feature projected bounding box", "docstring_tokens": ["Get", "the", "bounding", "box", "in", "the", "feature", "projection", "from", "the", "bounding", "box", "in", "the", "provided", "projection"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/FeatureIndexer.java#L520-L527", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/FeatureIndexer.java", "func_name": "FeatureIndexer.getGeometryMetadata", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the Geometry Metadata for the current place in the cursor\n\n@param cursor cursor\n@return geometry metadata\n@since 1.1.0", "docstring_tokens": ["Get", "the", "Geometry", "Metadata", "for", "the", "current", "place", "in", "the", "cursor"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/FeatureIndexer.java#L536-L539", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/FeatureIndexer.java", "func_name": "FeatureIndexer.getFeatureRow", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the feature row for the current place in the cursor\n\n@param cursor cursor\n@return feature row\n@since 1.1.0", "docstring_tokens": ["Get", "the", "feature", "row", "for", "the", "current", "place", "in", "the", "cursor"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/FeatureIndexer.java#L548-L552", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/FeatureIndexer.java", "func_name": "FeatureIndexer.getFeatureRow", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the feature row for the Geometry Metadata\n\n@param geometryMetadata geometry metadata\n@return feature row\n@since 1.1.0", "docstring_tokens": ["Get", "the", "feature", "row", "for", "the", "Geometry", "Metadata"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/FeatureIndexer.java#L561-L577", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/link/FeatureTileTableLinker.java", "func_name": "FeatureTileTableLinker.getTileDaosForFeatureTable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Query for the tile tables linked to a feature table and return tile DAOs\nto those tables\n\n@param featureTable feature table\n@return tiles DAOs", "docstring_tokens": ["Query", "for", "the", "tile", "tables", "linked", "to", "a", "feature", "table", "and", "return", "tile", "DAOs", "to", "those", "tables"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/link/FeatureTileTableLinker.java#L41-L54", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/link/FeatureTileTableLinker.java", "func_name": "FeatureTileTableLinker.getFeatureDaosForTileTable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Query for the feature tables linked to a tile table and return feature\nDAOs to those tables\n\n@param tileTable tile table\n@return feature DAOs", "docstring_tokens": ["Query", "for", "the", "feature", "tables", "linked", "to", "a", "tile", "table", "and", "return", "feature", "DAOs", "to", "those", "tables"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/link/FeatureTileTableLinker.java#L63-L76", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTileGenerator.java", "func_name": "FeatureTileGenerator.getBoundingBox", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the bounding box for the feature tile generator, from the provided\nand from the feature table\n\n@param geoPackage GeoPackage\n@param featureTiles feature tiles\n@param boundingBox bounding box\n@param projection projection\n@return bounding box", "docstring_tokens": ["Get", "the", "bounding", "box", "for", "the", "feature", "tile", "generator", "from", "the", "provided", "and", "from", "the", "feature", "table"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTileGenerator.java#L124-L146", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/related/UserMappingDao.java", "func_name": "UserMappingDao.queryByIds", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Query by both base id and related id\n\n@param baseId base id\n@param relatedId related id\n@return cursor", "docstring_tokens": ["Query", "by", "both", "base", "id", "and", "related", "id"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/related/UserMappingDao.java#L172-L175", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/related/UserMappingDao.java", "func_name": "UserMappingDao.uniqueBaseIds", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the unique base ids\n\n@return list of unique base ids\n@since 3.2.0", "docstring_tokens": ["Get", "the", "unique", "base", "ids"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/related/UserMappingDao.java#L183-L187", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/related/UserMappingDao.java", "func_name": "UserMappingDao.uniqueRelatedIds", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the unique related ids\n\n@return list of unique related ids\n@since 3.2.0", "docstring_tokens": ["Get", "the", "unique", "related", "ids"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/related/UserMappingDao.java#L195-L199", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/related/UserMappingDao.java", "func_name": "UserMappingDao.deleteByBaseId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Delete user mappings by base id\n\n@param baseId base id\n@return rows deleted", "docstring_tokens": ["Delete", "user", "mappings", "by", "base", "id"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/related/UserMappingDao.java#L239-L249", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/related/UserMappingDao.java", "func_name": "UserMappingDao.deleteByRelatedId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Delete user mappings by related id\n\n@param relatedId related id\n@return rows deleted", "docstring_tokens": ["Delete", "user", "mappings", "by", "related", "id"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/related/UserMappingDao.java#L267-L277", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/related/UserMappingDao.java", "func_name": "UserMappingDao.deleteByIds", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Delete user mappings by both base id and related id\n\n@param baseId base id\n@param relatedId related id\n@return rows deleted", "docstring_tokens": ["Delete", "user", "mappings", "by", "both", "base", "id", "and", "related", "id"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/related/UserMappingDao.java#L297-L300", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/extension/related/UserMappingDao.java", "func_name": "UserMappingDao.buildWhereIds", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Build the where ids clause\n\n@param baseId base id\n@param relatedId related id\n@return where clause", "docstring_tokens": ["Build", "the", "where", "ids", "clause"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/extension/related/UserMappingDao.java#L309-L317", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/GeoPackageMetadataDataSource.java", "func_name": "GeoPackageMetadataDataSource.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a new GeoPackage metadata\n\n@param metadata GeoPackage metadata", "docstring_tokens": ["Create", "a", "new", "GeoPackage", "metadata"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/GeoPackageMetadataDataSource.java#L47-L61", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/GeoPackageMetadataDataSource.java", "func_name": "GeoPackageMetadataDataSource.delete", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Delete the database\n\n@param database database name\n@return deleted flag", "docstring_tokens": ["Delete", "the", "database"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/GeoPackageMetadataDataSource.java#L79-L93", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/GeoPackageMetadataDataSource.java", "func_name": "GeoPackageMetadataDataSource.rename", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Rename the GeoPackage metadata to the new name\n\n@param metadata GeoPackage metadata\n@param newName new name\n@return renamed flag", "docstring_tokens": ["Rename", "the", "GeoPackage", "metadata", "to", "the", "new", "name"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/GeoPackageMetadataDataSource.java#L102-L108", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/GeoPackageMetadataDataSource.java", "func_name": "GeoPackageMetadataDataSource.rename", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Rename the GeoPackage name to the new name\n\n@param name GeoPackage name\n@param newName new name\n@return renamed flag", "docstring_tokens": ["Rename", "the", "GeoPackage", "name", "to", "the", "new", "name"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/GeoPackageMetadataDataSource.java#L117-L126", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/GeoPackageMetadataDataSource.java", "func_name": "GeoPackageMetadataDataSource.getAll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get all GeoPackage metadata\n\n@return all GeoPackage metadata", "docstring_tokens": ["Get", "all", "GeoPackage", "metadata"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/GeoPackageMetadataDataSource.java#L133-L148", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/GeoPackageMetadataDataSource.java", "func_name": "GeoPackageMetadataDataSource.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get GeoPackage metadata by name\n\n@param database database name\n@return GeoPackage metadata", "docstring_tokens": ["Get", "GeoPackage", "metadata", "by", "name"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/GeoPackageMetadataDataSource.java#L180-L195", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/GeoPackageMetadataDataSource.java", "func_name": "GeoPackageMetadataDataSource.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get GeoPackage metadata by id\n\n@param id id\n@return GeoPackage metadata", "docstring_tokens": ["Get", "GeoPackage", "metadata", "by", "id"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/GeoPackageMetadataDataSource.java#L203-L218", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/GeoPackageMetadataDataSource.java", "func_name": "GeoPackageMetadataDataSource.getOrCreate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get GeoPackage metadata or create it if it does not exist\n\n@param geoPackage GeoPackage name\n@return GeoPackage metadata", "docstring_tokens": ["Get", "GeoPackage", "metadata", "or", "create", "it", "if", "it", "does", "not", "exist"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/GeoPackageMetadataDataSource.java#L226-L236", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/GeoPackageMetadataDataSource.java", "func_name": "GeoPackageMetadataDataSource.isExternal", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determine if the GeoPackage is external\n\n@param database database name\n@return external flag", "docstring_tokens": ["Determine", "if", "the", "GeoPackage", "is", "external"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/GeoPackageMetadataDataSource.java#L254-L257", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/GeoPackageMetadataDataSource.java", "func_name": "GeoPackageMetadataDataSource.getExternalAtPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get external GeoPackage metadata by external path\n\n@param path path\n@return GeoPackage metadata", "docstring_tokens": ["Get", "external", "GeoPackage", "metadata", "by", "external", "path"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/GeoPackageMetadataDataSource.java#L265-L280", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/GeoPackageMetadataDataSource.java", "func_name": "GeoPackageMetadataDataSource.getMetadataWhereNameLike", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get metadata where the name is like\n\n@param like like argument\n@param sortColumn sort by column\n@return metadata names\n@since 1.2.7", "docstring_tokens": ["Get", "metadata", "where", "the", "name", "is", "like"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/GeoPackageMetadataDataSource.java#L290-L292", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/GeoPackageMetadataDataSource.java", "func_name": "GeoPackageMetadataDataSource.getMetadataWhereNameNotLike", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get metadata where the name is not like\n\n@param notLike not like argument\n@param sortColumn sort by column\n@return metadata names\n@since 1.2.7", "docstring_tokens": ["Get", "metadata", "where", "the", "name", "is", "not", "like"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/GeoPackageMetadataDataSource.java#L302-L304", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/GeoPackageMetadataDataSource.java", "func_name": "GeoPackageMetadataDataSource.getMetadataWhereNameLike", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get metadata where the name is like or not like\n\n@param like like or not like argument\n@param sortColumn sort by column\n@param notLike true if a not like query\n@return metadata names", "docstring_tokens": ["Get", "metadata", "where", "the", "name", "is", "like", "or", "not", "like"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/GeoPackageMetadataDataSource.java#L314-L331", "partition": "test"} +{"repo": "ngageoint/geopackage-android", "path": "geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/GeoPackageMetadataDataSource.java", "func_name": "GeoPackageMetadataDataSource.createGeoPackageMetadata", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a GeoPackage metadata from the current cursor location\n\n@param cursor cursor\n@return GeoPackage metadata", "docstring_tokens": ["Create", "a", "GeoPackage", "metadata", "from", "the", "current", "cursor", "location"], "sha": "d19e9fcc636462c0f0ae1b7eca4acafae48de21b", "url": "https://github.com/ngageoint/geopackage-android/blob/d19e9fcc636462c0f0ae1b7eca4acafae48de21b/geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/GeoPackageMetadataDataSource.java#L339-L345", "partition": "test"} +{"repo": "prolificinteractive/ParallaxPager", "path": "parallaxpager/src/main/java/com/prolificinteractive/parallaxpager/ParallaxFactory.java", "func_name": "ParallaxFactory.onViewCreated", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Handle the created view\n\n@param view nullable.\n@param context shouldn't be null.\n@param attrs shouldn't be null.\n@return null if null is passed in.", "docstring_tokens": ["Handle", "the", "created", "view"], "sha": "1e76f85cf20e7cf9fa36247a3ebedd60495f057e", "url": "https://github.com/prolificinteractive/ParallaxPager/blob/1e76f85cf20e7cf9fa36247a3ebedd60495f057e/parallaxpager/src/main/java/com/prolificinteractive/parallaxpager/ParallaxFactory.java#L27-L39", "partition": "test"} +{"repo": "prolificinteractive/ParallaxPager", "path": "parallaxpager/src/main/java/com/prolificinteractive/parallaxpager/ParallaxContainer.java", "func_name": "ParallaxContainer.addParallaxView", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "attach attributes in tag", "docstring_tokens": ["attach", "attributes", "in", "tag"], "sha": "1e76f85cf20e7cf9fa36247a3ebedd60495f057e", "url": "https://github.com/prolificinteractive/ParallaxPager/blob/1e76f85cf20e7cf9fa36247a3ebedd60495f057e/parallaxpager/src/main/java/com/prolificinteractive/parallaxpager/ParallaxContainer.java#L109-L124", "partition": "test"} +{"repo": "prolificinteractive/ParallaxPager", "path": "parallaxpager/src/main/java/com/prolificinteractive/parallaxpager/ParallaxLayoutInflater.java", "func_name": "ParallaxLayoutInflater.onCreateView", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The LayoutInflater onCreateView is the fourth port of call for LayoutInflation.\nBUT only for none CustomViews.\nBasically if this method doesn't inflate the View nothing probably will.", "docstring_tokens": ["The", "LayoutInflater", "onCreateView", "is", "the", "fourth", "port", "of", "call", "for", "LayoutInflation", ".", "BUT", "only", "for", "none", "CustomViews", ".", "Basically", "if", "this", "method", "doesn", "t", "inflate", "the", "View", "nothing", "probably", "will", "."], "sha": "1e76f85cf20e7cf9fa36247a3ebedd60495f057e", "url": "https://github.com/prolificinteractive/ParallaxPager/blob/1e76f85cf20e7cf9fa36247a3ebedd60495f057e/parallaxpager/src/main/java/com/prolificinteractive/parallaxpager/ParallaxLayoutInflater.java#L135-L151", "partition": "test"} +{"repo": "prolificinteractive/ParallaxPager", "path": "parallaxpager/src/main/java/com/prolificinteractive/parallaxpager/ParallaxLayoutInflater.java", "func_name": "ParallaxLayoutInflater.createCustomViewInternal", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Nasty method to inflate custom layouts that haven't been handled else where. If this fails it\nwill fall back through to the PhoneLayoutInflater method of inflating custom views where\nCalligraphy will NOT have a hook into.\n\n@param parent parent view\n@param view view if it has been inflated by this point, if this is not null this method\njust returns this value.\n@param name name of the thing to inflate.\n@param context Context to inflate by if parent is null\n@param attrs Attr for this view which we can steal fontPath from too.\n@return view or the View we inflate in here.", "docstring_tokens": ["Nasty", "method", "to", "inflate", "custom", "layouts", "that", "haven", "t", "been", "handled", "else", "where", ".", "If", "this", "fails", "it", "will", "fall", "back", "through", "to", "the", "PhoneLayoutInflater", "method", "of", "inflating", "custom", "views", "where", "Calligraphy", "will", "NOT", "have", "a", "hook", "into", "."], "sha": "1e76f85cf20e7cf9fa36247a3ebedd60495f057e", "url": "https://github.com/prolificinteractive/ParallaxPager/blob/1e76f85cf20e7cf9fa36247a3ebedd60495f057e/parallaxpager/src/main/java/com/prolificinteractive/parallaxpager/ParallaxLayoutInflater.java#L166-L196", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/net/SMTPAppender.java", "func_name": "SMTPAppender.subAppend", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Perform SMTPAppender specific appending actions, mainly adding the event to\na cyclic buffer.", "docstring_tokens": ["Perform", "SMTPAppender", "specific", "appending", "actions", "mainly", "adding", "the", "event", "to", "a", "cyclic", "buffer", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/net/SMTPAppender.java#L78-L84", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/util/ContextInitializer.java", "func_name": "ContextInitializer.findConfigFileFromSystemProperties", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds a configuration file by system property\n@return the file; or {@code null} if not found", "docstring_tokens": ["Finds", "a", "configuration", "file", "by", "system", "property"], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/util/ContextInitializer.java#L58-L87", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/util/ContextInitializer.java", "func_name": "ContextInitializer.getResource", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Uses the given classloader to search for a resource\n@return the URL to the resource; or {@code null} if not found", "docstring_tokens": ["Uses", "the", "given", "classloader", "to", "search", "for", "a", "resource"], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/util/ContextInitializer.java#L101-L111", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/util/ContextInitializer.java", "func_name": "ContextInitializer.autoConfig", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Configures logback with the first configuration found in the following search path.\nIf no configuration found, nothing is done and logging is disabled.\n\n
    \n
  1. ${logback.configurationFile} (a system property)
  2. \n
  3. jar:file://assets/logback.xml
  4. \n
", "docstring_tokens": ["Configures", "logback", "with", "the", "first", "configuration", "found", "in", "the", "following", "search", "path", ".", "If", "no", "configuration", "found", "nothing", "is", "done", "and", "logging", "is", "disabled", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/util/ContextInitializer.java#L122-L150", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/util/ContextInitializer.java", "func_name": "ContextInitializer.statusOnResourceSearch", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a status message for the result of the resource search", "docstring_tokens": ["Adds", "a", "status", "message", "for", "the", "result", "of", "the", "resource", "search"], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/util/ContextInitializer.java#L155-L164", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/net/server/ServerSocketListener.java", "func_name": "ServerSocketListener.socketAddressToString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts a socket address to a reasonable display string.\n@param address the subject socket address\n@return display string", "docstring_tokens": ["Converts", "a", "socket", "address", "to", "a", "reasonable", "display", "string", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/net/server/ServerSocketListener.java#L82-L89", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/util/ExecutorServiceUtil.java", "func_name": "ExecutorServiceUtil.newExecutorService", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an executor service suitable for use by logback components.\n@return executor service", "docstring_tokens": ["Creates", "an", "executor", "service", "suitable", "for", "use", "by", "logback", "components", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/util/ExecutorServiceUtil.java#L61-L67", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/pattern/ConverterUtil.java", "func_name": "ConverterUtil.startConverters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Start converters in the chain of converters.\n\n@param head head node of converter chain\n@param type of log event object", "docstring_tokens": ["Start", "converters", "in", "the", "chain", "of", "converters", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/pattern/ConverterUtil.java#L29-L44", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/rolling/RollingFileAppender.java", "func_name": "RollingFileAppender.subAppend", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method differentiates RollingFileAppender from its super class.", "docstring_tokens": ["This", "method", "differentiates", "RollingFileAppender", "from", "its", "super", "class", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/rolling/RollingFileAppender.java#L223-L237", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/joran/spi/InterpretationContext.java", "func_name": "InterpretationContext.addSubstitutionProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a property to the properties of this execution context. If the property\nexists already, it is overwritten.\n@param key the property's key\n@param value the value associated with the key", "docstring_tokens": ["Add", "a", "property", "to", "the", "properties", "of", "this", "execution", "context", ".", "If", "the", "property", "exists", "already", "it", "is", "overwritten", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/joran/spi/InterpretationContext.java#L126-L133", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/joran/spi/InterpretationContext.java", "func_name": "InterpretationContext.getProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If a key is found in propertiesMap then return it. Otherwise, delegate to\nthe context.", "docstring_tokens": ["If", "a", "key", "is", "found", "in", "propertiesMap", "then", "return", "it", ".", "Otherwise", "delegate", "to", "the", "context", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/joran/spi/InterpretationContext.java#L151-L158", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/pattern/parser/Parser.java", "func_name": "Parser.compile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "When the parsing step is done, the Node list can be transformed into a\nconverter chain.\n\n@param top the top node\n@param converterMap converter map\n@return the converter chain", "docstring_tokens": ["When", "the", "parsing", "step", "is", "done", "the", "Node", "list", "can", "be", "transformed", "into", "a", "converter", "chain", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/pattern/parser/Parser.java#L88-L93", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/pattern/parser/Parser.java", "func_name": "Parser.E", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "E = TEopt", "docstring_tokens": ["E", "=", "TEopt"], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/pattern/parser/Parser.java#L100-L110", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/pattern/parser/Parser.java", "func_name": "Parser.T", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "T = LITERAL | '%' C | '%' FORMAT_MODIFIER C", "docstring_tokens": ["T", "=", "LITERAL", "|", "%", "C", "|", "%", "FORMAT_MODIFIER", "C"], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/pattern/parser/Parser.java#L125-L155", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/pattern/util/AlmostAsIsEscapeUtil.java", "func_name": "AlmostAsIsEscapeUtil.escape", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Do not perform any character escaping, except for '%', and ')'.\n\n

\nHere is the rationale. First, filename patterns do not include escape\ncombinations such as \\r or \\n. Moreover, characters which have special\nmeaning in logback parsers, such as '{', or '}' cannot be part of file\nnames (so me thinks). The left parenthesis character has special meaning\nonly if it is preceded by %. Thus, the only characters that needs escaping\nare '%' and ')'.\n\n

\nNote that this method assumes that it is called after the escape character\nhas been consumed.", "docstring_tokens": ["Do", "not", "perform", "any", "character", "escaping", "except", "for", "%", "and", ")", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/pattern/util/AlmostAsIsEscapeUtil.java#L43-L46", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/rolling/helper/FileNamePattern.java", "func_name": "FileNamePattern.toRegexForFixedDate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Given date, convert this instance to a regular expression.\n\nUsed to compute sub-regex when the pattern has both %d and %i, and the\ndate is known.\n\n@param date - date to be converted", "docstring_tokens": ["Given", "date", "convert", "this", "instance", "to", "a", "regular", "expression", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/rolling/helper/FileNamePattern.java#L198-L217", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/joran/action/AbstractEventEvaluatorAction.java", "func_name": "AbstractEventEvaluatorAction.begin", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Instantiates an evaluator of the given class and sets its name.", "docstring_tokens": ["Instantiates", "an", "evaluator", "of", "the", "given", "class", "and", "sets", "its", "name", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/joran/action/AbstractEventEvaluatorAction.java#L36-L77", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/joran/action/AbstractEventEvaluatorAction.java", "func_name": "AbstractEventEvaluatorAction.end", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Once the children elements are also parsed, now is the time to activate the\nevaluator options.", "docstring_tokens": ["Once", "the", "children", "elements", "are", "also", "parsed", "now", "is", "the", "time", "to", "activate", "the", "evaluator", "options", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/joran/action/AbstractEventEvaluatorAction.java#L90-L120", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/util/ContextSelectorStaticBinder.java", "func_name": "ContextSelectorStaticBinder.init", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "FOR INTERNAL USE. This method is intended for use by StaticLoggerBinder.\n\n@param defaultLoggerContext\n@throws ClassNotFoundException\n@throws NoSuchMethodException\n@throws InstantiationException\n@throws IllegalAccessException\n@throws InvocationTargetException", "docstring_tokens": ["FOR", "INTERNAL", "USE", ".", "This", "method", "is", "intended", "for", "use", "by", "StaticLoggerBinder", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/util/ContextSelectorStaticBinder.java#L55-L75", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/util/ContextSelectorStaticBinder.java", "func_name": "ContextSelectorStaticBinder.dynamicalContextSelector", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Instantiate the context selector class designated by the user. The selector\nmust have a constructor taking a LoggerContext instance as an argument.\n\n@param defaultLoggerContext\n@param contextSelectorStr\n@return an instance of the designated context selector class\n@throws ClassNotFoundException\n@throws SecurityException\n@throws NoSuchMethodException\n@throws IllegalArgumentException\n@throws InstantiationException\n@throws IllegalAccessException\n@throws InvocationTargetException", "docstring_tokens": ["Instantiate", "the", "context", "selector", "class", "designated", "by", "the", "user", ".", "The", "selector", "must", "have", "a", "constructor", "taking", "a", "LoggerContext", "instance", "as", "an", "argument", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/util/ContextSelectorStaticBinder.java#L92-L101", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/android/AndroidContextUtil.java", "func_name": "AndroidContextUtil.setupProperties", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets properties for use in configs\n@param context logger context whose property map is updated", "docstring_tokens": ["Sets", "properties", "for", "use", "in", "configs"], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/android/AndroidContextUtil.java#L55-L68", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/android/AndroidContextUtil.java", "func_name": "AndroidContextUtil.getMountedExternalStorageDirectoryPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the path to the external storage directory only if\nmounted.\n\n@return the absolute path to the external storage directory;\nor {@code null} if not mounted.", "docstring_tokens": ["Gets", "the", "path", "to", "the", "external", "storage", "directory", "only", "if", "mounted", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/android/AndroidContextUtil.java#L94-L102", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/android/AndroidContextUtil.java", "func_name": "AndroidContextUtil.getDatabaseDirectoryPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the absolute path to the directory on the Android\nfilesystem where databases are stored for the current application.\n\n@return the absolute path to the databases directory\n(example: \"/data/data/com.example/databases\")", "docstring_tokens": ["Returns", "the", "absolute", "path", "to", "the", "directory", "on", "the", "Android", "filesystem", "where", "databases", "are", "stored", "for", "the", "current", "application", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/android/AndroidContextUtil.java#L178-L183", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/FileAppender.java", "func_name": "FileAppender.getAbsoluteFilePath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the absolute path to the filename, starting from the app's\n\"files\" directory, if it is not already an absolute path\n\n@param filename filename to evaluate\n@return absolute path to the filename", "docstring_tokens": ["Gets", "the", "absolute", "path", "to", "the", "filename", "starting", "from", "the", "app", "s", "files", "directory", "if", "it", "is", "not", "already", "an", "absolute", "path"], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/FileAppender.java#L354-L367", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/boolex/OnErrorEvaluator.java", "func_name": "OnErrorEvaluator.evaluate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return true if event passed as parameter has level ERROR or higher, returns\nfalse otherwise.", "docstring_tokens": ["Return", "true", "if", "event", "passed", "as", "parameter", "has", "level", "ERROR", "or", "higher", "returns", "false", "otherwise", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/boolex/OnErrorEvaluator.java#L36-L39", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/sift/MDCBasedDiscriminator.java", "func_name": "MDCBasedDiscriminator.getDiscriminatingValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the value associated with an MDC entry designated by the Key\nproperty. If that value is null, then return the value assigned to the\nDefaultValue property.", "docstring_tokens": ["Return", "the", "value", "associated", "with", "an", "MDC", "entry", "designated", "by", "the", "Key", "property", ".", "If", "that", "value", "is", "null", "then", "return", "the", "value", "assigned", "to", "the", "DefaultValue", "property", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/sift/MDCBasedDiscriminator.java#L42-L54", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/turbo/ReconfigureOnChangeFilter.java", "func_name": "ReconfigureOnChangeFilter.updateMaskIfNecessary", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "update the mask so as to execute change detection code about once every 100 to 8000 milliseconds.", "docstring_tokens": ["update", "the", "mask", "so", "as", "to", "execute", "change", "detection", "code", "about", "once", "every", "100", "to", "8000", "milliseconds", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/turbo/ReconfigureOnChangeFilter.java#L144-L152", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/spi/FilterAttachableImpl.java", "func_name": "FilterAttachableImpl.getFilterChainDecision", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Loop through the filters in the list. As soon as a filter decides on\nACCEPT or DENY, then that value is returned. If all of the filters return\nNEUTRAL, then NEUTRAL is returned.", "docstring_tokens": ["Loop", "through", "the", "filters", "in", "the", "list", ".", "As", "soon", "as", "a", "filter", "decides", "on", "ACCEPT", "or", "DENY", "then", "that", "value", "is", "returned", ".", "If", "all", "of", "the", "filters", "return", "NEUTRAL", "then", "NEUTRAL", "is", "returned", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/spi/FilterAttachableImpl.java#L53-L66", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/net/ssl/SSLContextFactoryBean.java", "func_name": "SSLContextFactoryBean.createKeyManagers", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates key managers using the receiver's key store configuration.\n@param context context for status messages\n@return an array of key managers or {@code null} if no key store\nconfiguration was provided\n@throws NoSuchProviderException if a provider specified for one\nof the key manager components is not known to the platform\n@throws NoSuchAlgorithmException if an algorithm specified for\none of the key manager components is not known to the relevant\nprovider\n@throws KeyStoreException if an error occurs in reading a key store", "docstring_tokens": ["Creates", "key", "managers", "using", "the", "receiver", "s", "key", "store", "configuration", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/net/ssl/SSLContextFactoryBean.java#L106-L125", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/net/ssl/SSLContextFactoryBean.java", "func_name": "SSLContextFactoryBean.createTrustManagers", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates trust managers using the receiver's trust store configuration.\n@param context context for status messages\n@return an array of trust managers or {@code null} if no trust store\nconfiguration was provided\n@throws NoSuchProviderException if a provider specified for one\nof the trust manager components is not known to the platform\n@throws NoSuchAlgorithmException if an algorithm specified for\none of the trust manager components is not known to the relevant\nprovider\n@throws KeyStoreException if an error occurs in reading a key\nstore containing trust anchors", "docstring_tokens": ["Creates", "trust", "managers", "using", "the", "receiver", "s", "trust", "store", "configuration", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/net/ssl/SSLContextFactoryBean.java#L140-L159", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/net/ssl/SSLContextFactoryBean.java", "func_name": "SSLContextFactoryBean.keyStoreFromSystemProperties", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a key store factory bean using JSSE system properties.\n@param property base property name (e.g. {@code javax.net.ssl.keyStore})\n@return key store or {@code null} if no value is defined for the\nbase system property name", "docstring_tokens": ["Constructs", "a", "key", "store", "factory", "bean", "using", "JSSE", "system", "properties", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/net/ssl/SSLContextFactoryBean.java#L217-L225", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/net/ssl/SSLContextFactoryBean.java", "func_name": "SSLContextFactoryBean.locationFromSystemProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a resource location from a JSSE system property.\n@param name property name (e.g. {@code javax.net.ssl.keyStore})\n@return URL for the location specified in the property or {@code null}\nif no value is defined for the property", "docstring_tokens": ["Constructs", "a", "resource", "location", "from", "a", "JSSE", "system", "property", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/net/ssl/SSLContextFactoryBean.java#L233-L239", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/util/LocationUtil.java", "func_name": "LocationUtil.urlForResource", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts a string describing the location of a resource into a URL object.\n@param location String describing the location\n@return URL object that refers to {@code location}\n@throws MalformedURLException if {@code location} is not a syntatically\nvalid URL\n@throws FileNotFoundException if {@code location} specifies a non-existent\nclasspath resource\n@throws NullPointerException if {@code location} is {@code null}", "docstring_tokens": ["Converts", "a", "string", "describing", "the", "location", "of", "a", "resource", "into", "a", "URL", "object", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/util/LocationUtil.java#L48-L74", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/pattern/EnsureExceptionHandling.java", "func_name": "EnsureExceptionHandling.chainHandlesThrowable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method computes whether a chain of converters handles exceptions or\nnot.\n\n@param head\nThe first element of the chain\n@return true if can handle throwables contained in logging events", "docstring_tokens": ["This", "method", "computes", "whether", "a", "chain", "of", "converters", "handles", "exceptions", "or", "not", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/pattern/EnsureExceptionHandling.java#L69-L78", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/hook/ShutdownHookBase.java", "func_name": "ShutdownHookBase.stop", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Default method for stopping the Logback context", "docstring_tokens": ["Default", "method", "for", "stopping", "the", "Logback", "context"], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/hook/ShutdownHookBase.java#L35-L43", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/util/StatusPrinter.java", "func_name": "StatusPrinter.printInCaseOfErrorsOrWarnings", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Print the contents of the context status, but only if they contain\nwarnings or errors occurring later then the threshold.\n\n@param context", "docstring_tokens": ["Print", "the", "contents", "of", "the", "context", "status", "but", "only", "if", "they", "contain", "warnings", "or", "errors", "occurring", "later", "then", "the", "threshold", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/util/StatusPrinter.java#L56-L71", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/util/StatusPrinter.java", "func_name": "StatusPrinter.printIfErrorsOccured", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Print the contents of the context statuses, but only if they contain\nerrors.\n\n@param context", "docstring_tokens": ["Print", "the", "contents", "of", "the", "context", "statuses", "but", "only", "if", "they", "contain", "errors", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/util/StatusPrinter.java#L79-L94", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/util/StatusPrinter.java", "func_name": "StatusPrinter.print", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Print context's status data with a timestamp higher than the threshold.\n@param context", "docstring_tokens": ["Print", "context", "s", "status", "data", "with", "a", "timestamp", "higher", "than", "the", "threshold", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/util/StatusPrinter.java#L109-L121", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/net/SyslogAppender.java", "func_name": "SyslogAppender.handleThrowableFirstLine", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "LOGBACK-411 and LOGBACK-750", "docstring_tokens": ["LOGBACK", "-", "411", "and", "LOGBACK", "-", "750"], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/net/SyslogAppender.java#L110-L119", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/spi/AbstractComponentTracker.java", "func_name": "AbstractComponentTracker.getFromEitherMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get an entry from the liveMap, if not found search the lingerersMap.\n\n@param key\n@return", "docstring_tokens": ["Get", "an", "entry", "from", "the", "liveMap", "if", "not", "found", "search", "the", "lingerersMap", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/spi/AbstractComponentTracker.java#L90-L97", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/spi/AbstractComponentTracker.java", "func_name": "AbstractComponentTracker.endOfLife", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Mark component identified by 'key' as having reached its end-of-life.\n\n@param key", "docstring_tokens": ["Mark", "component", "identified", "by", "key", "as", "having", "reached", "its", "end", "-", "of", "-", "life", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/spi/AbstractComponentTracker.java#L141-L146", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/pattern/FormatInfo.java", "func_name": "FormatInfo.valueOf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method is used to parse a string such as \"5\", \".7\", \"5.7\" or \"-5.7\" into\na FormatInfo.\n\n@param str A String to convert into a FormatInfo object\n@return A newly created and appropriately initialized FormatInfo object.\n@throws IllegalArgumentException string is null or ends with '.'", "docstring_tokens": ["This", "method", "is", "used", "to", "parse", "a", "string", "such", "as", "5", ".", "7", "5", ".", "7", "or", "-", "5", ".", "7", "into", "a", "FormatInfo", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/pattern/FormatInfo.java#L53-L97", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/rolling/helper/RenameUtil.java", "func_name": "RenameUtil.rename", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "A relatively robust file renaming method which in case of failure due to\nsrc and target being on different volumes, falls back onto\nrenaming by copying.\n\n@param src\n@param target\n@throws RolloverFailure", "docstring_tokens": ["A", "relatively", "robust", "file", "renaming", "method", "which", "in", "case", "of", "failure", "due", "to", "src", "and", "target", "being", "on", "different", "volumes", "falls", "back", "onto", "renaming", "by", "copying", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/rolling/helper/RenameUtil.java#L46-L77", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/rolling/helper/RenameUtil.java", "func_name": "RenameUtil.areOnDifferentVolumes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Attempts tp determine whether both files are on different volumes. Returns true if we could determine that\nthe files are on different volumes. Returns false otherwise or if an error occurred while doing the check.\n\n@param srcFile\n@param targetFile\n@return true if on different volumes, false otherwise or if an error occurred", "docstring_tokens": ["Attempts", "tp", "determine", "whether", "both", "files", "are", "on", "different", "volumes", ".", "Returns", "true", "if", "we", "could", "determine", "that", "the", "files", "are", "on", "different", "volumes", ".", "Returns", "false", "otherwise", "or", "if", "an", "error", "occurred", "while", "doing", "the", "check", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/rolling/helper/RenameUtil.java#L88-L112", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/util/OptionHelper.java", "func_name": "OptionHelper.getEnv", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Lookup a key from the environment.\n\n@param key the environment variable's key\n@return value corresponding to key from the OS environment", "docstring_tokens": ["Lookup", "a", "key", "from", "the", "environment", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/util/OptionHelper.java#L176-L182", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/util/OptionHelper.java", "func_name": "OptionHelper.getAndroidSystemProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets an Android system property\n\n@param key The key to search for\n@return the string value of the system property", "docstring_tokens": ["Gets", "an", "Android", "system", "property"], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/util/OptionHelper.java#L190-L196", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/spi/LoggingEvent.java", "func_name": "LoggingEvent.setMDCPropertyMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the MDC map for this event.\n\n@param map map of MDC properties to values\n@since 1.0.8", "docstring_tokens": ["Set", "the", "MDC", "map", "for", "this", "event", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/spi/LoggingEvent.java#L327-L334", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/pattern/MDCConverter.java", "func_name": "MDCConverter.outputMDCForAllKeys", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "if no key is specified, return all the values present in the MDC, in the format \"k1=v1, k2=v2, ...\"", "docstring_tokens": ["if", "no", "key", "is", "specified", "return", "all", "the", "values", "present", "in", "the", "MDC", "in", "the", "format", "k1", "=", "v1", "k2", "=", "v2", "..."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/pattern/MDCConverter.java#L69-L82", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/spi/CallerData.java", "func_name": "CallerData.extract", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extract caller data information as an array based on a Throwable passed as\nparameter\n\n@param t Throwable to extract data from\n@param fqnOfInvokingClass Fully qualified name of invoking class\n@param maxDepth maximum stack depth\n@param frameworkPackageList list of framework package names to search\n@return caller stack trace array", "docstring_tokens": ["Extract", "caller", "data", "information", "as", "an", "array", "based", "on", "a", "Throwable", "passed", "as", "parameter"], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/spi/CallerData.java#L65-L101", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/spi/CallerData.java", "func_name": "CallerData.isInFrameworkSpaceList", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Is currentClass present in the list of packages considered part of the logging framework?", "docstring_tokens": ["Is", "currentClass", "present", "in", "the", "list", "of", "packages", "considered", "part", "of", "the", "logging", "framework?"], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/spi/CallerData.java#L118-L127", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/BasicStatusManager.java", "func_name": "BasicStatusManager.add", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a new status object.\n\n@param newStatus\nthe status message to add", "docstring_tokens": ["Add", "a", "new", "status", "object", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/BasicStatusManager.java#L61-L78", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/BasicStatusManager.java", "func_name": "BasicStatusManager.add", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This implementation does not allow duplicate installations of OnConsoleStatusListener\n@param listener", "docstring_tokens": ["This", "implementation", "does", "not", "allow", "duplicate", "installations", "of", "OnConsoleStatusListener"], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/BasicStatusManager.java#L116-L127", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/joran/spi/Interpreter.java", "func_name": "Interpreter.lookupImplicitAction", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if any implicit actions are applicable. As soon as an applicable\naction is found, it is returned. Thus, the returned list will have at most\none element.", "docstring_tokens": ["Check", "if", "any", "implicit", "actions", "are", "applicable", ".", "As", "soon", "as", "an", "applicable", "action", "is", "found", "it", "is", "returned", ".", "Thus", "the", "returned", "list", "will", "have", "at", "most", "one", "element", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/joran/spi/Interpreter.java#L233-L249", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/joran/spi/Interpreter.java", "func_name": "Interpreter.getApplicableActionList", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the list of applicable patterns for this", "docstring_tokens": ["Return", "the", "list", "of", "applicable", "patterns", "for", "this"], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/joran/spi/Interpreter.java#L254-L264", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/android/SystemPropertiesProxy.java", "func_name": "SystemPropertiesProxy.setClassLoader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the classloader to lookup the class for android.os.SystemProperties\n\n@param cl desired classloader\n@throws ClassNotFoundException android.os.SystemProperties class not found\n@throws SecurityException security manager does not allow class loading\n@throws NoSuchMethodException get/getBoolean method does not exist", "docstring_tokens": ["Sets", "the", "classloader", "to", "lookup", "the", "class", "for", "android", ".", "os", ".", "SystemProperties"], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/android/SystemPropertiesProxy.java#L55-L61", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/android/SystemPropertiesProxy.java", "func_name": "SystemPropertiesProxy.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the value for the given key in the Android system properties\n\n@param key\nthe key to lookup\n@param def\na default value to return\n@return an empty string if the key isn't found\n@throws IllegalArgumentException\nif the key exceeds 32 characters", "docstring_tokens": ["Get", "the", "value", "for", "the", "given", "key", "in", "the", "Android", "system", "properties"], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/android/SystemPropertiesProxy.java#L74-L92", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/android/SystemPropertiesProxy.java", "func_name": "SystemPropertiesProxy.getBoolean", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the value for the given key in the Android system properties, returned\nas a boolean.\n\nValues 'n', 'no', '0', 'false' or 'off' are considered false. Values 'y',\n'yes', '1', 'true' or 'on' are considered true. (case insensitive). If the\nkey does not exist, or has any other value, then the default result is\nreturned.\n\n@param key\nthe key to lookup\n@param def\na default value to return\n@return the key parsed as a boolean, or def if the key isn't found or is\nnot able to be parsed as a boolean.\n@throws IllegalArgumentException\nif the key exceeds 32 characters", "docstring_tokens": ["Get", "the", "value", "for", "the", "given", "key", "in", "the", "Android", "system", "properties", "returned", "as", "a", "boolean", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/android/SystemPropertiesProxy.java#L112-L125", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/joran/util/Introspector.java", "func_name": "Introspector.decapitalize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts a name string's first letter to lowercase\n\n@param name\nname string to evaluate\n@return the name with its first letter in lowercase", "docstring_tokens": ["Converts", "a", "name", "string", "s", "first", "letter", "to", "lowercase"], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/joran/util/Introspector.java#L39-L49", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/joran/util/Introspector.java", "func_name": "Introspector.getMethodDescriptors", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets a class's method descriptors\n\n@param clazz\nclass to be evaluated\n@return method descriptors", "docstring_tokens": ["Gets", "a", "class", "s", "method", "descriptors"], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/joran/util/Introspector.java#L58-L64", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/joran/util/Introspector.java", "func_name": "Introspector.getPropertyDescriptors", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets a class's property descriptors. All properties have methods whose name\nbegins with \"set\" or \"get\". The setters must have a single parameter and\ngetters must have none.\n\n@param clazz\nclass to be evaluated\n@return property descriptors", "docstring_tokens": ["Gets", "a", "class", "s", "property", "descriptors", ".", "All", "properties", "have", "methods", "whose", "name", "begins", "with", "set", "or", "get", ".", "The", "setters", "must", "have", "a", "single", "parameter", "and", "getters", "must", "have", "none", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/joran/util/Introspector.java#L75-L117", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/OutputStreamAppender.java", "func_name": "OutputStreamAppender.start", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks that requires parameters are set and if everything is in order,\nactivates this appender.", "docstring_tokens": ["Checks", "that", "requires", "parameters", "are", "set", "and", "if", "everything", "is", "in", "order", "activates", "this", "appender", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/OutputStreamAppender.java#L72-L89", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/util/StatusListenerConfigHelper.java", "func_name": "StatusListenerConfigHelper.addOnConsoleListenerInstance", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This utility method adds a new OnConsoleStatusListener to the context\npassed as parameter.\n\n@param context\n@since 1.0.1", "docstring_tokens": ["This", "utility", "method", "adds", "a", "new", "OnConsoleStatusListener", "to", "the", "context", "passed", "as", "parameter", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/util/StatusListenerConfigHelper.java#L68-L74", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/joran/action/DefinePropertyAction.java", "func_name": "DefinePropertyAction.end", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Now property definer is initialized by all properties and we can put\nproperty value to context", "docstring_tokens": ["Now", "property", "definer", "is", "initialized", "by", "all", "properties", "and", "we", "can", "put", "property", "value", "to", "context"], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/joran/action/DefinePropertyAction.java#L94-L115", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/sift/ContextBasedDiscriminator.java", "func_name": "ContextBasedDiscriminator.getDiscriminatingValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the name of the current context name as found in the logging event.", "docstring_tokens": ["Return", "the", "name", "of", "the", "current", "context", "name", "as", "found", "in", "the", "logging", "event", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/sift/ContextBasedDiscriminator.java#L39-L47", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/AsyncAppender.java", "func_name": "AsyncAppender.isDiscardable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Events of level TRACE, DEBUG and INFO are deemed to be discardable.\n@param event\n@return true if the event is of level TRACE, DEBUG or INFO false otherwise.", "docstring_tokens": ["Events", "of", "level", "TRACE", "DEBUG", "and", "INFO", "are", "deemed", "to", "be", "discardable", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/AsyncAppender.java#L40-L43", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/joran/action/ShutdownHookAction.java", "func_name": "ShutdownHookAction.begin", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Instantiates a shutdown hook of the given class and sets its name.\n\nThe hook thus generated is placed in the {@link InterpretationContext}'s\nshutdown hook bag.", "docstring_tokens": ["Instantiates", "a", "shutdown", "hook", "of", "the", "given", "class", "and", "sets", "its", "name", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/joran/action/ShutdownHookAction.java#L43-L67", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/joran/action/ShutdownHookAction.java", "func_name": "ShutdownHookAction.end", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Once the children elements are also parsed, now is the time to activate the\nshutdown hook options.", "docstring_tokens": ["Once", "the", "children", "elements", "are", "also", "parsed", "now", "is", "the", "time", "to", "activate", "the", "shutdown", "hook", "options", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/joran/action/ShutdownHookAction.java#L73-L91", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/net/ssl/SSLParametersConfiguration.java", "func_name": "SSLParametersConfiguration.enabledProtocols", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the set of enabled protocols based on the configuration.\n@param supportedProtocols protocols supported by the SSL engine\n@param defaultProtocols default protocols enabled by the SSL engine\n@return enabled protocols", "docstring_tokens": ["Gets", "the", "set", "of", "enabled", "protocols", "based", "on", "the", "configuration", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/net/ssl/SSLParametersConfiguration.java#L68-L87", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/net/ssl/SSLParametersConfiguration.java", "func_name": "SSLParametersConfiguration.enabledCipherSuites", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the set of enabled cipher suites based on the configuration.\n@param supportedCipherSuites cipher suites supported by the SSL engine\n@param defaultCipherSuites default cipher suites enabled by the SSL engine\n@return enabled cipher suites", "docstring_tokens": ["Gets", "the", "set", "of", "enabled", "cipher", "suites", "based", "on", "the", "configuration", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/net/ssl/SSLParametersConfiguration.java#L95-L114", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/net/ssl/SSLParametersConfiguration.java", "func_name": "SSLParametersConfiguration.includedStrings", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Applies include and exclude patterns to an array of default string values\nto produce an array of strings included by the patterns.\n@param defaults default list of string values\n@param included comma-separated patterns that identity values to include\n@param excluded comma-separated patterns that identity string to exclude\n@return an array of strings containing those strings from {@code defaults}\nthat match at least one pattern in {@code included} that are not\nmatched by any pattern in {@code excluded}", "docstring_tokens": ["Applies", "include", "and", "exclude", "patterns", "to", "an", "array", "of", "default", "string", "values", "to", "produce", "an", "array", "of", "strings", "included", "by", "the", "patterns", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/net/ssl/SSLParametersConfiguration.java#L126-L137", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/joran/action/ActionUtil.java", "func_name": "ActionUtil.stringToScope", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert a string into a scope. Scope.LOCAL is returned by default.\n@param scopeStr the string to be converted\n@return a scope corresponding to the input string; Scope.LOCAL by default.", "docstring_tokens": ["Convert", "a", "string", "into", "a", "scope", ".", "Scope", ".", "LOCAL", "is", "returned", "by", "default", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/joran/action/ActionUtil.java#L35-L42", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/joran/action/ActionUtil.java", "func_name": "ActionUtil.setProperties", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add all the properties found in the argument named 'props' to an\nInterpretationContext.\n\n@param ic interpretation context\n@param props the properties to set in the context\n@param scope scope of properties", "docstring_tokens": ["Add", "all", "the", "properties", "found", "in", "the", "argument", "named", "props", "to", "an", "InterpretationContext", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/joran/action/ActionUtil.java#L65-L78", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/spi/AppenderAttachableImpl.java", "func_name": "AppenderAttachableImpl.addAppender", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Attach an appender. If the appender is already in the list in won't be\nadded again.", "docstring_tokens": ["Attach", "an", "appender", ".", "If", "the", "appender", "is", "already", "in", "the", "list", "in", "won", "t", "be", "added", "again", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/spi/AppenderAttachableImpl.java#L38-L43", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/spi/AppenderAttachableImpl.java", "func_name": "AppenderAttachableImpl.detachAppender", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove the appender passed as parameter form the list of attached\nappenders.", "docstring_tokens": ["Remove", "the", "appender", "passed", "as", "parameter", "form", "the", "list", "of", "attached", "appenders", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/spi/AppenderAttachableImpl.java#L119-L126", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/spi/AppenderAttachableImpl.java", "func_name": "AppenderAttachableImpl.detachAppender", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove the appender with the name passed as parameter form the list of\nappenders.", "docstring_tokens": ["Remove", "the", "appender", "with", "the", "name", "passed", "as", "parameter", "form", "the", "list", "of", "appenders", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/spi/AppenderAttachableImpl.java#L132-L144", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/Logger.java", "func_name": "Logger.handleParentLevelChange", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method is invoked by parent logger to let this logger know that the\nprent's levelInt changed.\n\n@param newParentLevelInt", "docstring_tokens": ["This", "method", "is", "invoked", "by", "parent", "logger", "to", "let", "this", "logger", "know", "that", "the", "prent", "s", "levelInt", "changed", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/Logger.java#L187-L202", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/Logger.java", "func_name": "Logger.callAppenders", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Invoke all the appenders of this logger.\n\n@param event\nThe event to log", "docstring_tokens": ["Invoke", "all", "the", "appenders", "of", "this", "logger", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/Logger.java#L259-L271", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/Logger.java", "func_name": "Logger.detachAppender", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove the appender passed as parameter form the list of appenders.", "docstring_tokens": ["Remove", "the", "appender", "passed", "as", "parameter", "form", "the", "list", "of", "appenders", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/Logger.java#L284-L289", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/Logger.java", "func_name": "Logger.createChildByLastNamePart", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a child of this logger by suffix, that is, the part of the name\nextending this logger. For example, if this logger is named \"x.y\" and the\nlastPart is \"z\", then the created child logger will be named \"x.y.z\".\n\n

\nIMPORTANT: Calls to this method must be within a synchronized block on this\nlogger.\n\n@param lastPart\nthe suffix (i.e. last part) of the child logger name. This\nparameter may not include dots, i.e. the logger separator\ncharacter.\n@return", "docstring_tokens": ["Create", "a", "child", "of", "this", "logger", "by", "suffix", "that", "is", "the", "part", "of", "the", "name", "extending", "this", "logger", ".", "For", "example", "if", "this", "logger", "is", "named", "x", ".", "y", "and", "the", "lastPart", "is", "z", "then", "the", "created", "child", "logger", "will", "be", "named", "x", ".", "y", ".", "z", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/Logger.java#L308-L328", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/Logger.java", "func_name": "Logger.callTurboFilters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Method that calls the attached TurboFilter objects based on the logger and\nthe level.\n\nIt is used by isYYYEnabled() methods.\n\nIt returns the typical FilterReply values: ACCEPT, NEUTRAL or DENY.\n\n@param level\n@return the reply given by the TurboFilters", "docstring_tokens": ["Method", "that", "calls", "the", "attached", "TurboFilter", "objects", "based", "on", "the", "logger", "and", "the", "level", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/Logger.java#L767-L770", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/Logger.java", "func_name": "Logger.log", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Support SLF4J interception during initialization as introduced in SLF4J version 1.7.15\n@since 1.1.4\n@param slf4jEvent", "docstring_tokens": ["Support", "SLF4J", "interception", "during", "initialization", "as", "introduced", "in", "SLF4J", "version", "1", ".", "7", ".", "15"], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/Logger.java#L792-L795", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/net/DefaultSocketConnector.java", "func_name": "DefaultSocketConnector.call", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Loops until the desired connection is established and returns the resulting connector.", "docstring_tokens": ["Loops", "until", "the", "desired", "connection", "is", "established", "and", "returns", "the", "resulting", "connector", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/net/DefaultSocketConnector.java#L73-L81", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/util/FileUtil.java", "func_name": "FileUtil.createMissingParentDirectories", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates the parent directories of a file. If parent directories not\nspecified in file's path, then nothing is done and this returns\ngracefully.\n\n@param file file whose parent directories (if any) should be created\n@return {@code true} if either no parents were specified, or if all\nparent directories were created successfully; {@code false} otherwise", "docstring_tokens": ["Creates", "the", "parent", "directories", "of", "a", "file", ".", "If", "parent", "directories", "not", "specified", "in", "file", "s", "path", "then", "nothing", "is", "done", "and", "this", "returns", "gracefully", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/util/FileUtil.java#L51-L62", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/Level.java", "func_name": "Level.toInteger", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert a Level to an Integer object.\n\n@return This level's Integer mapping.", "docstring_tokens": ["Convert", "a", "Level", "to", "an", "Integer", "object", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/Level.java#L116-L136", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/Level.java", "func_name": "Level.toLevel", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert an integer passed as argument to a Level. If the conversion fails,\nthen this method returns the specified default.\n@param val integer to be evaluated\n@param defaultLevel default level if val could not be converted\n@return the corresponding level", "docstring_tokens": ["Convert", "an", "integer", "passed", "as", "argument", "to", "a", "Level", ".", "If", "the", "conversion", "fails", "then", "this", "method", "returns", "the", "specified", "default", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/Level.java#L185-L204", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/util/Loader.java", "func_name": "Loader.getResourceOccurrenceCount", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compute the number of occurrences a resource can be found by a class\nloader.\n\n@param resource the resource name to look for\n@param classLoader the classloader used for the search\n@return matching resource URLs\n@throws IOException", "docstring_tokens": ["Compute", "the", "number", "of", "occurrences", "a", "resource", "can", "be", "found", "by", "a", "class", "loader", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/util/Loader.java#L74-L84", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/util/Loader.java", "func_name": "Loader.getResource", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Search for a resource using the classloader passed as parameter.\n\n@param resource the resource name to look for\n@param classLoader the classloader used for the search", "docstring_tokens": ["Search", "for", "a", "resource", "using", "the", "classloader", "passed", "as", "parameter", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/util/Loader.java#L92-L98", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/util/Loader.java", "func_name": "Loader.getClassLoaderOfObject", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the class loader of the object passed as argument. Return the system\nclass loader if appropriate.\n\n@param o object to evaluate\n@return the classloader of the object", "docstring_tokens": ["Get", "the", "class", "loader", "of", "the", "object", "passed", "as", "argument", ".", "Return", "the", "system", "class", "loader", "if", "appropriate", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/util/Loader.java#L145-L150", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/util/Loader.java", "func_name": "Loader.getClassLoaderAsPrivileged", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the class loader of clazz in an access privileged section.\n\n@param clazz the class to evaluate\n@return the classloader of the object", "docstring_tokens": ["Returns", "the", "class", "loader", "of", "clazz", "in", "an", "access", "privileged", "section", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/util/Loader.java#L158-L168", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/util/Loader.java", "func_name": "Loader.getClassLoaderOfClass", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the class loader which loaded the class passed as argument. Return\nthe system class loader if appropriate.\n\n@param clazz the class to evaluate\n@return the classloader of the object", "docstring_tokens": ["Return", "the", "class", "loader", "which", "loaded", "the", "class", "passed", "as", "argument", ".", "Return", "the", "system", "class", "loader", "if", "appropriate", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/util/Loader.java#L177-L184", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/android/LogcatAppender.java", "func_name": "LogcatAppender.start", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks that required parameters are set, and if everything is in order,\nactivates this appender.", "docstring_tokens": ["Checks", "that", "required", "parameters", "are", "set", "and", "if", "everything", "is", "in", "order", "activates", "this", "appender", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/android/LogcatAppender.java#L61-L93", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/android/LogcatAppender.java", "func_name": "LogcatAppender.getTag", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the logcat tag string of a logging event\n@param event logging event to evaluate\n@return the tag string, truncated if max length exceeded", "docstring_tokens": ["Gets", "the", "logcat", "tag", "string", "of", "a", "logging", "event"], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/android/LogcatAppender.java#L227-L236", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/joran/action/PropertyAction.java", "func_name": "PropertyAction.begin", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set a new property for the execution context by name, value pair, or adds\nall the properties found in the given file.", "docstring_tokens": ["Set", "a", "new", "property", "for", "the", "execution", "context", "by", "name", "value", "pair", "or", "adds", "all", "the", "properties", "found", "in", "the", "given", "file", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/joran/action/PropertyAction.java#L57-L105", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/util/LoggerNameUtil.java", "func_name": "LoggerNameUtil.getSeparatorIndexOf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the position of the separator character, if any, starting at position\n'fromIndex'.\n\n@param name string to search\n@param fromIndex starting search index\n@return position of separator", "docstring_tokens": ["Get", "the", "position", "of", "the", "separator", "character", "if", "any", "starting", "at", "position", "fromIndex", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/util/LoggerNameUtil.java#L38-L47", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/boolex/OnMarkerEvaluator.java", "func_name": "OnMarkerEvaluator.evaluate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return true if event passed as parameter contains one of the specified\nuser-markers.", "docstring_tokens": ["Return", "true", "if", "event", "passed", "as", "parameter", "contains", "one", "of", "the", "specified", "user", "-", "markers", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/boolex/OnMarkerEvaluator.java#L45-L59", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/net/SimpleSocketServer.java", "func_name": "SimpleSocketServer.getClientThreadName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a name to identify each client thread.", "docstring_tokens": ["Returns", "a", "name", "to", "identify", "each", "client", "thread", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/net/SimpleSocketServer.java#L138-L140", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/rolling/helper/FileStoreUtil.java", "func_name": "FileStoreUtil.areOnSameFileStore", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method assumes that both files a and b exists.\n\n@param a first file\n@param b second file\n@return whether files are on same store\n@throws IllegalArgumentException", "docstring_tokens": ["This", "method", "assumes", "that", "both", "files", "a", "and", "b", "exists", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/rolling/helper/FileStoreUtil.java#L42-L76", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/net/SMTPAppenderBase.java", "func_name": "SMTPAppenderBase.start", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Start the appender", "docstring_tokens": ["Start", "the", "appender"], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/net/SMTPAppenderBase.java#L110-L126", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/net/SMTPAppenderBase.java", "func_name": "SMTPAppenderBase.append", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Perform SMTPAppender specific appending actions, delegating some of them to\na subclass and checking if the event triggers an e-mail to be sent.", "docstring_tokens": ["Perform", "SMTPAppender", "specific", "appending", "actions", "delegating", "some", "of", "them", "to", "a", "subclass", "and", "checking", "if", "the", "event", "triggers", "an", "e", "-", "mail", "to", "be", "sent", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/net/SMTPAppenderBase.java#L168-L217", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/net/SMTPAppenderBase.java", "func_name": "SMTPAppenderBase.sendBuffer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Send the contents of the cyclic buffer as an e-mail message.\n@param cb the cyclic buffer\n@param lastEventObject the log event", "docstring_tokens": ["Send", "the", "contents", "of", "the", "cyclic", "buffer", "as", "an", "e", "-", "mail", "message", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/net/SMTPAppenderBase.java#L306-L386", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/turbo/DynamicThresholdFilter.java", "func_name": "DynamicThresholdFilter.addMDCValueLevelPair", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a new MDCValuePair", "docstring_tokens": ["Add", "a", "new", "MDCValuePair"], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/turbo/DynamicThresholdFilter.java#L199-L206", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/pattern/parser/Compiler.java", "func_name": "Compiler.createConverter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Attempt to create a converter using the information found in\n'converterMap'.\n\n@param kn\n@return", "docstring_tokens": ["Attempt", "to", "create", "a", "converter", "using", "the", "information", "found", "in", "converterMap", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/pattern/parser/Compiler.java#L102-L121", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/pattern/parser/Compiler.java", "func_name": "Compiler.createCompositeConverter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Attempt to create a converter using the information found in\n'compositeConverterMap'.\n\n@param cn\n@return", "docstring_tokens": ["Attempt", "to", "create", "a", "converter", "using", "the", "information", "found", "in", "compositeConverterMap", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/pattern/parser/Compiler.java#L130-L149", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/rolling/RollingPolicyBase.java", "func_name": "RollingPolicyBase.determineCompressionMode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Given the FileNamePattern string, this method determines the compression\nmode depending on last letters of the fileNamePatternStr. Patterns ending\nwith .gz imply GZIP compression, endings with '.zip' imply ZIP compression.\nOtherwise and by default, there is no compression.", "docstring_tokens": ["Given", "the", "FileNamePattern", "string", "this", "method", "determines", "the", "compression", "mode", "depending", "on", "last", "letters", "of", "the", "fileNamePatternStr", ".", "Patterns", "ending", "with", ".", "gz", "imply", "GZIP", "compression", "endings", "with", ".", "zip", "imply", "ZIP", "compression", ".", "Otherwise", "and", "by", "default", "there", "is", "no", "compression", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/rolling/RollingPolicyBase.java#L50-L61", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/joran/GenericConfigurator.java", "func_name": "GenericConfigurator.doConfigure", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Configures logback with the configuration XML read from a file,\nlocated at the given URL\n\n@param url URL to the file, containing the configuration XML\n@throws JoranException configuration error occurred", "docstring_tokens": ["Configures", "logback", "with", "the", "configuration", "XML", "read", "from", "a", "file", "located", "at", "the", "given", "URL"], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/joran/GenericConfigurator.java#L50-L69", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/joran/GenericConfigurator.java", "func_name": "GenericConfigurator.doConfigure", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Configures logback with the configuration XML read from a given file\n\n@param file the file, containing the configuration XML\n@throws JoranException configuration error occurred", "docstring_tokens": ["Configures", "logback", "with", "the", "configuration", "XML", "read", "from", "a", "given", "file"], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/joran/GenericConfigurator.java#L88-L104", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/joran/GenericConfigurator.java", "func_name": "GenericConfigurator.doConfigure", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Configures logback with the configuraiton XML read from an input stream,\nand then closes the stream\n\n@param inputStream stream to contents of configuration XML\n@throws JoranException configuration error occurred", "docstring_tokens": ["Configures", "logback", "with", "the", "configuraiton", "XML", "read", "from", "an", "input", "stream", "and", "then", "closes", "the", "stream"], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/joran/GenericConfigurator.java#L131-L143", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/joran/GenericConfigurator.java", "func_name": "GenericConfigurator.buildInterpreter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds a generic configuration-XML interpreter", "docstring_tokens": ["Builds", "a", "generic", "configuration", "-", "XML", "interpreter"], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/joran/GenericConfigurator.java#L160-L168", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/joran/GenericConfigurator.java", "func_name": "GenericConfigurator.doConfigure", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Configures logback with the configuration XML read from an input source.\n\n@param inputSource the input source, containing the configuration XML\n@throws JoranException", "docstring_tokens": ["Configures", "logback", "with", "the", "configuration", "XML", "read", "from", "an", "input", "source", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/joran/GenericConfigurator.java#L176-L192", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/joran/GenericConfigurator.java", "func_name": "GenericConfigurator.doConfigure", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Configures logback with SAX events of configuration XML\n\n@param eventList list of SAX events\n@throws JoranException configuration error occurred", "docstring_tokens": ["Configures", "logback", "with", "SAX", "events", "of", "configuration", "XML"], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/joran/GenericConfigurator.java#L200-L207", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/ContextBase.java", "func_name": "ContextBase.getProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Given a key, return the corresponding property value. If invoked with\nthe special key \"CONTEXT_NAME\", the name of the context is returned.\n\n@param key the property's key\n@return the string value associated with the key", "docstring_tokens": ["Given", "a", "key", "return", "the", "corresponding", "property", "value", ".", "If", "invoked", "with", "the", "special", "key", "CONTEXT_NAME", "the", "name", "of", "the", "context", "is", "returned", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/ContextBase.java#L101-L106", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/ContextBase.java", "func_name": "ContextBase.setName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The context name can be set only if it is not already set, or if the\ncurrent name is the default context name, namely \"default\", or if the\ncurrent name and the old name are the same.\n\n@throws IllegalStateException if the context already has a name, other than \"default\".", "docstring_tokens": ["The", "context", "name", "can", "be", "set", "only", "if", "it", "is", "not", "already", "set", "or", "if", "the", "current", "name", "is", "the", "default", "context", "name", "namely", "default", "or", "if", "the", "current", "name", "and", "the", "old", "name", "are", "the", "same", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/ContextBase.java#L159-L169", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/status/StatusUtil.java", "func_name": "StatusUtil.contextHasStatusListener", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if the StatusManager associated with the context passed\nas parameter has one or more StatusListener instances registered. Returns\nfalse otherwise.\n\n@param context\n@return true if one or more StatusListeners registered, false otherwise\n@since 1.0.8", "docstring_tokens": ["Returns", "true", "if", "the", "StatusManager", "associated", "with", "the", "context", "passed", "as", "parameter", "has", "one", "or", "more", "StatusListener", "instances", "registered", ".", "Returns", "false", "otherwise", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/status/StatusUtil.java#L48-L57", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/status/StatusUtil.java", "func_name": "StatusUtil.timeOfLastReset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the time of last reset. -1 if last reset time could not be found\n\n@return time of last reset or -1", "docstring_tokens": ["Return", "the", "time", "of", "last", "reset", ".", "-", "1", "if", "last", "reset", "time", "could", "not", "be", "found"], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/status/StatusUtil.java#L179-L192", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/html/HTMLLayoutBase.java", "func_name": "HTMLLayoutBase.start", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses the pattern and creates the Converter linked list.", "docstring_tokens": ["Parses", "the", "pattern", "and", "creates", "the", "Converter", "linked", "list", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/html/HTMLLayoutBase.java#L82-L100", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/html/HTMLLayoutBase.java", "func_name": "HTMLLayoutBase.getEffectiveConverterMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a map where the default converter map is merged with the map\ncontained in the context.\n@return the converter map", "docstring_tokens": ["Returns", "a", "map", "where", "the", "default", "converter", "map", "is", "merged", "with", "the", "map", "contained", "in", "the", "context", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/html/HTMLLayoutBase.java#L110-L130", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/html/HTMLLayoutBase.java", "func_name": "HTMLLayoutBase.getFileHeader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns appropriate HTML headers.\n@return the headers", "docstring_tokens": ["Returns", "appropriate", "HTML", "headers", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/html/HTMLLayoutBase.java#L165-L189", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/html/HTMLLayoutBase.java", "func_name": "HTMLLayoutBase.getFileFooter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the appropriate HTML footers.", "docstring_tokens": ["Returns", "the", "appropriate", "HTML", "footers", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/html/HTMLLayoutBase.java#L241-L247", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/joran/action/AppenderAction.java", "func_name": "AppenderAction.begin", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Instantiates an appender of the given class and sets its name.\n\nThe appender thus generated is placed in the {@link InterpretationContext}'s\nappender bag.", "docstring_tokens": ["Instantiates", "an", "appender", "of", "the", "given", "class", "and", "sets", "its", "name", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/joran/action/AppenderAction.java#L38-L87", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/joran/action/AppenderAction.java", "func_name": "AppenderAction.end", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Once the children elements are also parsed, now is the time to activate the\nappender options.", "docstring_tokens": ["Once", "the", "children", "elements", "are", "also", "parsed", "now", "is", "the", "time", "to", "activate", "the", "appender", "options", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/joran/action/AppenderAction.java#L99-L116", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/net/server/ConcurrentServerRunner.java", "func_name": "ConcurrentServerRunner.copyClients", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a copy of the collection of all clients that are presently\nbeing tracked by the server.\n@return collection of client objects", "docstring_tokens": ["Creates", "a", "copy", "of", "the", "collection", "of", "all", "clients", "that", "are", "presently", "being", "tracked", "by", "the", "server", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/net/server/ConcurrentServerRunner.java#L117-L126", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/net/server/ConcurrentServerRunner.java", "func_name": "ConcurrentServerRunner.addClient", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a client to the collection of those being tracked by the server.\n@param client the client to add", "docstring_tokens": ["Adds", "a", "client", "to", "the", "collection", "of", "those", "being", "tracked", "by", "the", "server", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/net/server/ConcurrentServerRunner.java#L179-L187", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/net/server/ConcurrentServerRunner.java", "func_name": "ConcurrentServerRunner.removeClient", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes a client from the collection of those being tracked by the server.\n@param client the client to remote", "docstring_tokens": ["Removes", "a", "client", "from", "the", "collection", "of", "those", "being", "tracked", "by", "the", "server", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/net/server/ConcurrentServerRunner.java#L193-L201", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/util/LogbackMDCAdapter.java", "func_name": "LogbackMDCAdapter.getCopyOfContextMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return a copy of the current thread's context map. Returned value may be\nnull.", "docstring_tokens": ["Return", "a", "copy", "of", "the", "current", "thread", "s", "context", "map", ".", "Returned", "value", "may", "be", "null", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/util/LogbackMDCAdapter.java#L180-L187", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/joran/util/StringToObjectConverter.java", "func_name": "StringToObjectConverter.getValueOfMethod", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "returned value may be null and in most cases it is null.", "docstring_tokens": ["returned", "value", "may", "be", "null", "and", "in", "most", "cases", "it", "is", "null", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/joran/util/StringToObjectConverter.java#L105-L113", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/spi/TurboFilterList.java", "func_name": "TurboFilterList.getTurboFilterChainDecision", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Loop through the filters in the chain. As soon as a filter decides on\nACCEPT or DENY, then that value is returned. If all of the filters return\nNEUTRAL, then NEUTRAL is returned.", "docstring_tokens": ["Loop", "through", "the", "filters", "in", "the", "chain", ".", "As", "soon", "as", "a", "filter", "decides", "on", "ACCEPT", "or", "DENY", "then", "that", "value", "is", "returned", ".", "If", "all", "of", "the", "filters", "return", "NEUTRAL", "then", "NEUTRAL", "is", "returned", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/spi/TurboFilterList.java#L41-L70", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/util/EnvUtil.java", "func_name": "EnvUtil.isAndroidOS", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Heuristically determines whether the current OS is Android", "docstring_tokens": ["Heuristically", "determines", "whether", "the", "current", "OS", "is", "Android"], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/util/EnvUtil.java#L33-L41", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/org/slf4j/impl/StaticLoggerBinder.java", "func_name": "StaticLoggerBinder.init", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Package access for testing purposes.", "docstring_tokens": ["Package", "access", "for", "testing", "purposes", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/org/slf4j/impl/StaticLoggerBinder.java#L84-L101", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/rolling/helper/FileFilterUtil.java", "func_name": "FileFilterUtil.filesInFolderMatchingStemRegex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the set of files matching the stemRegex as found in 'directory'. A\nstemRegex does not contain any slash characters or any folder separators.\n\n@param file folder's file object\n@param stemRegex regex file pattern to match\n@return matching files", "docstring_tokens": ["Return", "the", "set", "of", "files", "matching", "the", "stemRegex", "as", "found", "in", "directory", ".", "A", "stemRegex", "does", "not", "contain", "any", "slash", "characters", "or", "any", "folder", "separators", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/rolling/helper/FileFilterUtil.java#L44-L58", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/status/OnPrintStreamStatusListenerBase.java", "func_name": "OnPrintStreamStatusListenerBase.retrospectivePrint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Print status messages retrospectively", "docstring_tokens": ["Print", "status", "messages", "retrospectively"], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/status/OnPrintStreamStatusListenerBase.java#L67-L79", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/net/SyslogAppenderBase.java", "func_name": "SyslogAppenderBase.facilityStringToint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the integer value corresponding to the named syslog facility.\n\n@param facilityStr the syslog facility name\n@return the syslog facility code\n@throws IllegalArgumentException\nif the facility string is not recognized", "docstring_tokens": ["Returns", "the", "integer", "value", "corresponding", "to", "the", "named", "syslog", "facility", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/net/SyslogAppenderBase.java#L154-L207", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/android/SQLiteAppender.java", "func_name": "SQLiteAppender.getDatabaseFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets a file object from a file path to a SQLite database\n@param filename absolute path to database file\n@return the file object if a valid file found; otherwise, null", "docstring_tokens": ["Gets", "a", "file", "object", "from", "a", "file", "path", "to", "a", "SQLite", "database"], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/android/SQLiteAppender.java#L120-L129", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/android/SQLiteAppender.java", "func_name": "SQLiteAppender.clearExpiredLogs", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes expired logs from the database\n@param db", "docstring_tokens": ["Removes", "expired", "logs", "from", "the", "database"], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/android/SQLiteAppender.java#L184-L189", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/android/SQLiteAppender.java", "func_name": "SQLiteAppender.lastCheckExpired", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determines whether it's time to clear expired logs\n@param expiry max time duration between checks\n@param lastCleanupTime timestamp (ms) of last cleanup\n@return true if last check has expired", "docstring_tokens": ["Determines", "whether", "it", "s", "time", "to", "clear", "expired", "logs"], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/android/SQLiteAppender.java#L197-L205", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/android/SQLiteAppender.java", "func_name": "SQLiteAppender.subAppend", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Inserts the main details of a log event into the database\n\n@param event the event to insert\n@param insertStatement the SQLite statement used to insert the event\n@return the row ID of the newly inserted event; -1 if the insertion failed\n@throws SQLException", "docstring_tokens": ["Inserts", "the", "main", "details", "of", "a", "log", "event", "into", "the", "database"], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/android/SQLiteAppender.java#L289-L304", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/android/SQLiteAppender.java", "func_name": "SQLiteAppender.secondarySubAppend", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Updates an existing row of an event with the secondary details of the event.\nThis includes MDC properties and any exception information.\n\n@param event the event containing the details to insert\n@param eventId the row ID of the event to modify\n@throws SQLException", "docstring_tokens": ["Updates", "an", "existing", "row", "of", "an", "event", "with", "the", "secondary", "details", "of", "the", "event", ".", "This", "includes", "MDC", "properties", "and", "any", "exception", "information", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/android/SQLiteAppender.java#L314-L321", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/android/SQLiteAppender.java", "func_name": "SQLiteAppender.bindLoggingEvent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Binds the main details of a log event to a SQLite statement's parameters\n\n@param stmt the SQLite statement to modify\n@param event the event containing the details to bind\n@throws SQLException", "docstring_tokens": ["Binds", "the", "main", "details", "of", "a", "log", "event", "to", "a", "SQLite", "statement", "s", "parameters"], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/android/SQLiteAppender.java#L346-L353", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/android/SQLiteAppender.java", "func_name": "SQLiteAppender.asStringTruncatedTo254", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the first 254 characters of an object's string representation. This is\nused to truncate a logging event's argument binding if necessary.\n\n@param o the object\n@return up to 254 characters of the object's string representation; or empty\nstring if the object string is itself null", "docstring_tokens": ["Gets", "the", "first", "254", "characters", "of", "an", "object", "s", "string", "representation", ".", "This", "is", "used", "to", "truncate", "a", "logging", "event", "s", "argument", "binding", "if", "necessary", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/android/SQLiteAppender.java#L383-L392", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/android/SQLiteAppender.java", "func_name": "SQLiteAppender.computeReferenceMask", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Computes the reference mask for a logging event, including\nflags to indicate whether MDC properties or exception info\nis available for the event.\n\n@param event the logging event to evaluate\n@return the 16-bit reference mask", "docstring_tokens": ["Computes", "the", "reference", "mask", "for", "a", "logging", "event", "including", "flags", "to", "indicate", "whether", "MDC", "properties", "or", "exception", "info", "is", "available", "for", "the", "event", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/android/SQLiteAppender.java#L405-L424", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/android/SQLiteAppender.java", "func_name": "SQLiteAppender.mergePropertyMaps", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Merges a log event's properties with the properties of the logger context.\nThe context properties are first in the map, and then the event's properties\nare appended.\n\n@param event the logging event to evaluate\n@return the merged properties map", "docstring_tokens": ["Merges", "a", "log", "event", "s", "properties", "with", "the", "properties", "of", "the", "logger", "context", ".", "The", "context", "properties", "are", "first", "in", "the", "map", "and", "then", "the", "event", "s", "properties", "are", "appended", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/android/SQLiteAppender.java#L434-L450", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/android/SQLiteAppender.java", "func_name": "SQLiteAppender.insertException", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Inserts an exception into the logging_exceptions table\n\n@param stmt\n@param txt\n@param i\n@param eventId", "docstring_tokens": ["Inserts", "an", "exception", "into", "the", "logging_exceptions", "table"], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/android/SQLiteAppender.java#L508-L513", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/joran/spi/ElementSelector.java", "func_name": "ElementSelector.getPrefixMatchLength", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the number of \"prefix\" components that this pattern has in common\nwith the pattern p passed as parameter. By \"prefix\" components we mean the\ncomponents at the beginning of the pattern.\n@param p element path\n@return the number of \"prefix\" components in common with p", "docstring_tokens": ["Returns", "the", "number", "of", "prefix", "components", "that", "this", "pattern", "has", "in", "common", "with", "the", "pattern", "p", "passed", "as", "parameter", ".", "By", "prefix", "components", "we", "mean", "the", "components", "at", "the", "beginning", "of", "the", "pattern", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/joran/spi/ElementSelector.java#L117-L145", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/status/StatusBase.java", "func_name": "StatusBase.getEffectiveLevel", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "different status objects lying on the same cycle", "docstring_tokens": ["different", "status", "objects", "lying", "on", "the", "same", "cycle"], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/status/StatusBase.java#L83-L97", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/joran/util/PropertySetter.java", "func_name": "PropertySetter.setProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set a property on this PropertySetter's Object. If successful, this method\nwill invoke a setter method on the underlying Object. The setter is the one\nfor the specified property name and the value is determined partly from the\nsetter argument type and partly from the value specified in the call to\nthis method.\n\n

\nIf the setter expects a String no conversion is necessary. If it expects an\nint, then an attempt is made to convert 'value' to an int using new\nInteger(value). If the setter expects a boolean, the conversion is by new\nBoolean(value).\n\n@param name\nname of the property\n@param value\nString value of the property", "docstring_tokens": ["Set", "a", "property", "on", "this", "PropertySetter", "s", "Object", ".", "If", "successful", "this", "method", "will", "invoke", "a", "setter", "method", "on", "the", "underlying", "Object", ".", "The", "setter", "is", "the", "one", "for", "the", "specified", "property", "name", "and", "the", "value", "is", "determined", "partly", "from", "the", "setter", "argument", "type", "and", "partly", "from", "the", "value", "specified", "in", "the", "call", "to", "this", "method", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/joran/util/PropertySetter.java#L104-L123", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/joran/util/PropertySetter.java", "func_name": "PropertySetter.isUnequivocallyInstantiable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Can the given clazz instantiable with certainty?\n\n@param clazz\nThe class to test for instantiability\n@return true if clazz can be instantiated, and false otherwise.", "docstring_tokens": ["Can", "the", "given", "clazz", "instantiable", "with", "certainty?"], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/joran/util/PropertySetter.java#L249-L273", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/util/CopyOnInheritThreadLocal.java", "func_name": "CopyOnInheritThreadLocal.childValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Child threads should get a copy of the parent's hashmap.", "docstring_tokens": ["Child", "threads", "should", "get", "a", "copy", "of", "the", "parent", "s", "hashmap", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/util/CopyOnInheritThreadLocal.java#L32-L40", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/joran/action/IncludeAction.java", "func_name": "IncludeAction.processInclude", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Processes an include\n@param ic context\n@param url URL to file/resource being included", "docstring_tokens": ["Processes", "an", "include"], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/joran/action/IncludeAction.java#L60-L86", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/joran/action/IncludeAction.java", "func_name": "IncludeAction.openURL", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Opens the given URL, logging any exceptions\n@param url URL of file/resource to open\n@return an input stream to the URL; or {@code null} if the URL could not be opened", "docstring_tokens": ["Opens", "the", "given", "URL", "logging", "any", "exceptions"], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/joran/action/IncludeAction.java#L93-L100", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/core/joran/action/IncludeAction.java", "func_name": "IncludeAction.trimHeadAndTail", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes the head tag and tail tag if they are named either\n\"included\" or \"configuration\"\n@param recorder the SAX Event recorder containing the tags", "docstring_tokens": ["Removes", "the", "head", "tag", "and", "tail", "tag", "if", "they", "are", "named", "either", "included", "or", "configuration"], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/core/joran/action/IncludeAction.java#L107-L145", "partition": "test"} +{"repo": "tony19/logback-android", "path": "logback-android/src/main/java/ch/qos/logback/classic/net/server/ServerSocketReceiver.java", "func_name": "ServerSocketReceiver.shouldStart", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Starts the server.", "docstring_tokens": ["Starts", "the", "server", "."], "sha": "028489c11ccfc1237a53923db06f22a90b41809c", "url": "https://github.com/tony19/logback-android/blob/028489c11ccfc1237a53923db06f22a90b41809c/logback-android/src/main/java/ch/qos/logback/classic/net/server/ServerSocketReceiver.java#L53-L71", "partition": "test"} +{"repo": "algolia/algoliasearch-client-android", "path": "algoliasearch/src/main/java/com/algolia/search/saas/AlgoliaException.java", "func_name": "AlgoliaException.isTransient", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Test whether this error is transient.\n\n@return true if transient, false if fatal.", "docstring_tokens": ["Test", "whether", "this", "error", "is", "transient", "."], "sha": "3293ba6e6116a4f6c1face2cc606bc047d6d4a3c", "url": "https://github.com/algolia/algoliasearch-client-android/blob/3293ba6e6116a4f6c1face2cc606bc047d6d4a3c/algoliasearch/src/main/java/com/algolia/search/saas/AlgoliaException.java#L70-L81", "partition": "test"} +{"repo": "algolia/algoliasearch-client-android", "path": "algoliasearch/src/main/java/com/algolia/search/saas/places/PlacesClient.java", "func_name": "PlacesClient.setDefaultHosts", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the default hosts for Algolia Places.", "docstring_tokens": ["Set", "the", "default", "hosts", "for", "Algolia", "Places", "."], "sha": "3293ba6e6116a4f6c1face2cc606bc047d6d4a3c", "url": "https://github.com/algolia/algoliasearch-client-android/blob/3293ba6e6116a4f6c1face2cc606bc047d6d4a3c/algoliasearch/src/main/java/com/algolia/search/saas/places/PlacesClient.java#L73-L88", "partition": "test"} +{"repo": "algolia/algoliasearch-client-android", "path": "algoliasearch/src/offline/java/com/algolia/search/saas/MirroredIndex.java", "func_name": "MirroredIndex.ensureLocalIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Lazy instantiate the local index.", "docstring_tokens": ["Lazy", "instantiate", "the", "local", "index", "."], "sha": "3293ba6e6116a4f6c1face2cc606bc047d6d4a3c", "url": "https://github.com/algolia/algoliasearch-client-android/blob/3293ba6e6116a4f6c1face2cc606bc047d6d4a3c/algoliasearch/src/offline/java/com/algolia/search/saas/MirroredIndex.java#L307-L312", "partition": "test"} +{"repo": "algolia/algoliasearch-client-android", "path": "algoliasearch/src/offline/java/com/algolia/search/saas/MirroredIndex.java", "func_name": "MirroredIndex.sync", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Launch a sync.\nIf a sync is already running, this call is ignored. Otherwise, the sync is enqueued and runs in the background.\n\nNOTE: All index syncs are sequential: no two syncs can run at the same time.\n\n@throws IllegalStateException If no data selection queries were set.", "docstring_tokens": ["Launch", "a", "sync", ".", "If", "a", "sync", "is", "already", "running", "this", "call", "is", "ignored", ".", "Otherwise", "the", "sync", "is", "enqueued", "and", "runs", "in", "the", "background", "."], "sha": "3293ba6e6116a4f6c1face2cc606bc047d6d4a3c", "url": "https://github.com/algolia/algoliasearch-client-android/blob/3293ba6e6116a4f6c1face2cc606bc047d6d4a3c/algoliasearch/src/offline/java/com/algolia/search/saas/MirroredIndex.java#L460-L478", "partition": "test"} +{"repo": "algolia/algoliasearch-client-android", "path": "algoliasearch/src/offline/java/com/algolia/search/saas/MirroredIndex.java", "func_name": "MirroredIndex.syncIfNeeded", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Launch a sync only if the data is obsolete.\nThe data is obsolete if the last successful sync is older than the delay between syncs, or if the data selection\nqueries have been changed in the meantime.\n\n@throws IllegalStateException If no data selection queries were set.", "docstring_tokens": ["Launch", "a", "sync", "only", "if", "the", "data", "is", "obsolete", ".", "The", "data", "is", "obsolete", "if", "the", "last", "successful", "sync", "is", "older", "than", "the", "delay", "between", "syncs", "or", "if", "the", "data", "selection", "queries", "have", "been", "changed", "in", "the", "meantime", "."], "sha": "3293ba6e6116a4f6c1face2cc606bc047d6d4a3c", "url": "https://github.com/algolia/algoliasearch-client-android/blob/3293ba6e6116a4f6c1face2cc606bc047d6d4a3c/algoliasearch/src/offline/java/com/algolia/search/saas/MirroredIndex.java#L487-L493", "partition": "test"} +{"repo": "algolia/algoliasearch-client-android", "path": "algoliasearch/src/main/java/com/algolia/search/saas/Index.java", "func_name": "Index.waitTask", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Wait the publication of a task on the server.\nAll server task are asynchronous and you can check with this method that the task is published.\n\n@param taskID the id of the task returned by server\n@param timeToWait time to sleep seed\n@throws AlgoliaException", "docstring_tokens": ["Wait", "the", "publication", "of", "a", "task", "on", "the", "server", ".", "All", "server", "task", "are", "asynchronous", "and", "you", "can", "check", "with", "this", "method", "that", "the", "task", "is", "published", "."], "sha": "3293ba6e6116a4f6c1face2cc606bc047d6d4a3c", "url": "https://github.com/algolia/algoliasearch-client-android/blob/3293ba6e6116a4f6c1face2cc606bc047d6d4a3c/algoliasearch/src/main/java/com/algolia/search/saas/Index.java#L1400-L1421", "partition": "test"} +{"repo": "algolia/algoliasearch-client-android", "path": "algoliasearch/src/offline/java/com/algolia/search/saas/OfflineClient.java", "func_name": "OfflineClient.listIndexesOfflineSync", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "List existing offline indices.\n\n**Note:** This applies both to {@link MirroredIndex} and {@link OfflineIndex} instances. Only indices that\n*actually exist* on disk are listed. If an instance was created but never synced or written to, it will not\nappear in the list.\n\n@return A JSON object with an `items` attribute containing the indices details as JSON objects.", "docstring_tokens": ["List", "existing", "offline", "indices", "."], "sha": "3293ba6e6116a4f6c1face2cc606bc047d6d4a3c", "url": "https://github.com/algolia/algoliasearch-client-android/blob/3293ba6e6116a4f6c1face2cc606bc047d6d4a3c/algoliasearch/src/offline/java/com/algolia/search/saas/OfflineClient.java#L302-L330", "partition": "test"} +{"repo": "algolia/algoliasearch-client-android", "path": "algoliasearch/src/main/java/com/algolia/search/saas/AbstractClient.java", "func_name": "AbstractClient._toCharArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads the InputStream as UTF-8\n\n@param stream the InputStream to read\n@return the stream's content as a String\n@throws IOException if the stream can't be read, decoded as UTF-8 or closed", "docstring_tokens": ["Reads", "the", "InputStream", "as", "UTF", "-", "8"], "sha": "3293ba6e6116a4f6c1face2cc606bc047d6d4a3c", "url": "https://github.com/algolia/algoliasearch-client-android/blob/3293ba6e6116a4f6c1face2cc606bc047d6d4a3c/algoliasearch/src/main/java/com/algolia/search/saas/AbstractClient.java#L439-L450", "partition": "test"} +{"repo": "algolia/algoliasearch-client-android", "path": "algoliasearch/src/main/java/com/algolia/search/saas/AbstractClient.java", "func_name": "AbstractClient._toByteArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads the InputStream into a byte array\n\n@param stream the InputStream to read\n@return the stream's content as a byte[]\n@throws AlgoliaException if the stream can't be read or flushed", "docstring_tokens": ["Reads", "the", "InputStream", "into", "a", "byte", "array"], "sha": "3293ba6e6116a4f6c1face2cc606bc047d6d4a3c", "url": "https://github.com/algolia/algoliasearch-client-android/blob/3293ba6e6116a4f6c1face2cc606bc047d6d4a3c/algoliasearch/src/main/java/com/algolia/search/saas/AbstractClient.java#L459-L474", "partition": "test"} +{"repo": "algolia/algoliasearch-client-android", "path": "algoliasearch/src/main/java/com/algolia/search/saas/AbstractClient.java", "func_name": "AbstractClient.consumeQuietly", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Ensures that the entity content is fully consumed and the content stream, if exists,\nis closed.", "docstring_tokens": ["Ensures", "that", "the", "entity", "content", "is", "fully", "consumed", "and", "the", "content", "stream", "if", "exists", "is", "closed", "."], "sha": "3293ba6e6116a4f6c1face2cc606bc047d6d4a3c", "url": "https://github.com/algolia/algoliasearch-client-android/blob/3293ba6e6116a4f6c1face2cc606bc047d6d4a3c/algoliasearch/src/main/java/com/algolia/search/saas/AbstractClient.java#L681-L697", "partition": "test"} +{"repo": "algolia/algoliasearch-client-android", "path": "algoliasearch/src/main/java/com/algolia/search/saas/AbstractClient.java", "func_name": "AbstractClient.hostsThatAreUp", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the hosts that are not considered down in a given list.\n\n@param hosts a list of hosts whose {@link HostStatus} will be checked.\n@return the hosts considered up, or all hosts if none is known to be reachable.", "docstring_tokens": ["Get", "the", "hosts", "that", "are", "not", "considered", "down", "in", "a", "given", "list", "."], "sha": "3293ba6e6116a4f6c1face2cc606bc047d6d4a3c", "url": "https://github.com/algolia/algoliasearch-client-android/blob/3293ba6e6116a4f6c1face2cc606bc047d6d4a3c/algoliasearch/src/main/java/com/algolia/search/saas/AbstractClient.java#L711-L719", "partition": "test"} +{"repo": "algolia/algoliasearch-client-android", "path": "algoliasearch/src/main/java/com/algolia/search/saas/places/PlacesQuery.java", "func_name": "PlacesQuery.setType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the type of place to search for.\n\n@param type Type of place to search for.", "docstring_tokens": ["Set", "the", "type", "of", "place", "to", "search", "for", "."], "sha": "3293ba6e6116a4f6c1face2cc606bc047d6d4a3c", "url": "https://github.com/algolia/algoliasearch-client-android/blob/3293ba6e6116a4f6c1face2cc606bc047d6d4a3c/algoliasearch/src/main/java/com/algolia/search/saas/places/PlacesQuery.java#L215-L244", "partition": "test"} +{"repo": "algolia/algoliasearch-client-android", "path": "algoliasearch/src/main/java/com/algolia/search/saas/helpers/BrowseIterator.java", "func_name": "BrowseIterator.start", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Start the iteration.", "docstring_tokens": ["Start", "the", "iteration", "."], "sha": "3293ba6e6116a4f6c1face2cc606bc047d6d4a3c", "url": "https://github.com/algolia/algoliasearch-client-android/blob/3293ba6e6116a4f6c1face2cc606bc047d6d4a3c/algoliasearch/src/main/java/com/algolia/search/saas/helpers/BrowseIterator.java#L117-L123", "partition": "test"} +{"repo": "algolia/algoliasearch-client-android", "path": "algoliasearch/src/main/java/com/algolia/search/saas/ExpiringCache.java", "func_name": "ExpiringCache.put", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Puts a value in the cache, computing an expiration time\n\n@return the previous value for this key, if any", "docstring_tokens": ["Puts", "a", "value", "in", "the", "cache", "computing", "an", "expiration", "time"], "sha": "3293ba6e6116a4f6c1face2cc606bc047d6d4a3c", "url": "https://github.com/algolia/algoliasearch-client-android/blob/3293ba6e6116a4f6c1face2cc606bc047d6d4a3c/algoliasearch/src/main/java/com/algolia/search/saas/ExpiringCache.java#L34-L45", "partition": "test"} +{"repo": "algolia/algoliasearch-client-android", "path": "algoliasearch/src/main/java/com/algolia/search/saas/ExpiringCache.java", "func_name": "ExpiringCache.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a value from the cache\n\n@return the cached value if it is still valid, else null.", "docstring_tokens": ["Get", "a", "value", "from", "the", "cache"], "sha": "3293ba6e6116a4f6c1face2cc606bc047d6d4a3c", "url": "https://github.com/algolia/algoliasearch-client-android/blob/3293ba6e6116a4f6c1face2cc606bc047d6d4a3c/algoliasearch/src/main/java/com/algolia/search/saas/ExpiringCache.java#L52-L62", "partition": "test"} +{"repo": "hazelcast/hazelcast-simulator", "path": "simulator/src/main/java/com/hazelcast/simulator/utils/ThreadSpawner.java", "func_name": "ThreadSpawner.awaitCompletion", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Waits for all threads to finish.\n\nIf {@link #throwException} is true this method will throw the first occurred exception of a thread.", "docstring_tokens": ["Waits", "for", "all", "threads", "to", "finish", "."], "sha": "231ecd05c2f33a5406d2104f74dd8a8065402034", "url": "https://github.com/hazelcast/hazelcast-simulator/blob/231ecd05c2f33a5406d2104f74dd8a8065402034/simulator/src/main/java/com/hazelcast/simulator/utils/ThreadSpawner.java#L126-L137", "partition": "test"} +{"repo": "hazelcast/hazelcast-simulator", "path": "simulator/src/main/java/com/hazelcast/simulator/utils/VersionUtils.java", "func_name": "VersionUtils.versionCompare", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compares two version strings.\n\nUse this instead of String.compareTo() for a non-lexicographical comparison that works for version strings,\ne.g. versionCompare(\"1.10\", \"1.6\").\n\nWarning:\n- It does not work if \"1.10\" is supposed to be equal to \"1.10.0\".\n- Everything after a \"-\" is ignored.\n\n@param firstVersionString a string of ordinal numbers separated by decimal points.\n@param secondVersionString a string of ordinal numbers separated by decimal points.\n@return The result is a negative integer if firstVersionString is _numerically_ less than secondVersionString.\nThe result is a positive integer if firstVersionString is _numerically_ greater than secondVersionString.\nThe result is zero if the strings are _numerically_ equal.", "docstring_tokens": ["Compares", "two", "version", "strings", "."], "sha": "231ecd05c2f33a5406d2104f74dd8a8065402034", "url": "https://github.com/hazelcast/hazelcast-simulator/blob/231ecd05c2f33a5406d2104f74dd8a8065402034/simulator/src/main/java/com/hazelcast/simulator/utils/VersionUtils.java#L43-L61", "partition": "test"} +{"repo": "hazelcast/hazelcast-simulator", "path": "simulator/src/main/java/com/hazelcast/simulator/utils/ExceptionReporter.java", "func_name": "ExceptionReporter.report", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes the cause to file.\n\n@param testId the id of the test that caused the exception. Is allowed to be null if it is not known which test\ncaused the problem.\n@param cause the Throwable that should be reported.", "docstring_tokens": ["Writes", "the", "cause", "to", "file", "."], "sha": "231ecd05c2f33a5406d2104f74dd8a8065402034", "url": "https://github.com/hazelcast/hazelcast-simulator/blob/231ecd05c2f33a5406d2104f74dd8a8065402034/simulator/src/main/java/com/hazelcast/simulator/utils/ExceptionReporter.java#L51-L85", "partition": "test"} +{"repo": "hazelcast/hazelcast-simulator", "path": "simulator/src/main/java/com/hazelcast/simulator/utils/FileUtils.java", "func_name": "FileUtils.copyDirectory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copies a directory recursively.\n\n@param src the src directory\n@param target the target directory", "docstring_tokens": ["Copies", "a", "directory", "recursively", "."], "sha": "231ecd05c2f33a5406d2104f74dd8a8065402034", "url": "https://github.com/hazelcast/hazelcast-simulator/blob/231ecd05c2f33a5406d2104f74dd8a8065402034/simulator/src/main/java/com/hazelcast/simulator/utils/FileUtils.java#L410-L428", "partition": "test"} +{"repo": "hazelcast/hazelcast-simulator", "path": "simulator/src/main/java/com/hazelcast/simulator/common/SimulatorProperties.java", "func_name": "SimulatorProperties.init", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Initializes the SimulatorProperties with additional properties.\n\n@param file the file to load the properties from. If {@code null}, the {@value #PROPERTIES_FILE_NAME} file in the working\ndirectory is tried.\n@return this\n@throws CommandLineExitException if the given file does not exist. If file is {@code null} no exception will be thrown,\neven if the {@value #PROPERTIES_FILE_NAME} file in the working directory cannot be found.", "docstring_tokens": ["Initializes", "the", "SimulatorProperties", "with", "additional", "properties", "."], "sha": "231ecd05c2f33a5406d2104f74dd8a8065402034", "url": "https://github.com/hazelcast/hazelcast-simulator/blob/231ecd05c2f33a5406d2104f74dd8a8065402034/simulator/src/main/java/com/hazelcast/simulator/common/SimulatorProperties.java#L103-L117", "partition": "test"} +{"repo": "hazelcast/hazelcast-simulator", "path": "simulator/src/main/java/com/hazelcast/simulator/utils/ReflectionUtils.java", "func_name": "ReflectionUtils.getStaticFieldValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the value for a static field.\n\n@param clazz class which contains the field\n@param fieldName name of the field\n@param fieldType type of the field\n@param type of the field\n@return the value of the static field", "docstring_tokens": ["Gets", "the", "value", "for", "a", "static", "field", "."], "sha": "231ecd05c2f33a5406d2104f74dd8a8065402034", "url": "https://github.com/hazelcast/hazelcast-simulator/blob/231ecd05c2f33a5406d2104f74dd8a8065402034/simulator/src/main/java/com/hazelcast/simulator/utils/ReflectionUtils.java#L88-L96", "partition": "test"} +{"repo": "hazelcast/hazelcast-simulator", "path": "simulator/src/main/java/com/hazelcast/simulator/utils/ReflectionUtils.java", "func_name": "ReflectionUtils.getMethodByName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Searches a method by name.\n\n@param clazz Class to scan\n@param methodName Name of the method\n@return the found method or null if no method was found", "docstring_tokens": ["Searches", "a", "method", "by", "name", "."], "sha": "231ecd05c2f33a5406d2104f74dd8a8065402034", "url": "https://github.com/hazelcast/hazelcast-simulator/blob/231ecd05c2f33a5406d2104f74dd8a8065402034/simulator/src/main/java/com/hazelcast/simulator/utils/ReflectionUtils.java#L105-L112", "partition": "test"} +{"repo": "hazelcast/hazelcast-simulator", "path": "simulator/src/main/java/com/hazelcast/simulator/utils/FormatUtils.java", "func_name": "FormatUtils.formatPercentage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Formats a percentage of two numbers and adds padding to the left.\n\n@param value the value of the percentage\n@param baseValue the base value of the percentage\n@return the formatted percentage", "docstring_tokens": ["Formats", "a", "percentage", "of", "two", "numbers", "and", "adds", "padding", "to", "the", "left", "."], "sha": "231ecd05c2f33a5406d2104f74dd8a8065402034", "url": "https://github.com/hazelcast/hazelcast-simulator/blob/231ecd05c2f33a5406d2104f74dd8a8065402034/simulator/src/main/java/com/hazelcast/simulator/utils/FormatUtils.java#L61-L64", "partition": "test"} +{"repo": "hazelcast/hazelcast-simulator", "path": "simulator/src/main/java/com/hazelcast/simulator/utils/FormatUtils.java", "func_name": "FormatUtils.formatDouble", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Formats a double number and adds padding to the left.\n\nVery inefficient implementation, but a lot easier than to deal with the formatting API.\n\n@param number number to format\n@param length width of padding\n@return formatted number", "docstring_tokens": ["Formats", "a", "double", "number", "and", "adds", "padding", "to", "the", "left", "."], "sha": "231ecd05c2f33a5406d2104f74dd8a8065402034", "url": "https://github.com/hazelcast/hazelcast-simulator/blob/231ecd05c2f33a5406d2104f74dd8a8065402034/simulator/src/main/java/com/hazelcast/simulator/utils/FormatUtils.java#L75-L77", "partition": "test"} +{"repo": "hazelcast/hazelcast-simulator", "path": "simulator/src/main/java/com/hazelcast/simulator/utils/FormatUtils.java", "func_name": "FormatUtils.formatLong", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Formats a long number and adds padding to the left.\n\nVery inefficient implementation, but a lot easier than to deal with the formatting API.\n\n@param number number to format\n@param length width of padding\n@return formatted number", "docstring_tokens": ["Formats", "a", "long", "number", "and", "adds", "padding", "to", "the", "left", "."], "sha": "231ecd05c2f33a5406d2104f74dd8a8065402034", "url": "https://github.com/hazelcast/hazelcast-simulator/blob/231ecd05c2f33a5406d2104f74dd8a8065402034/simulator/src/main/java/com/hazelcast/simulator/utils/FormatUtils.java#L88-L90", "partition": "test"} +{"repo": "Microsoft/thrifty", "path": "thrifty-runtime/src/main/java/com/microsoft/thrifty/protocol/JsonProtocol.java", "func_name": "JsonProtocol.readJsonSyntaxChar", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "and JsonPairContext.read", "docstring_tokens": ["and", "JsonPairContext", ".", "read"], "sha": "d0d906d91636bde074d5facb331b4e9164b77af9", "url": "https://github.com/Microsoft/thrifty/blob/d0d906d91636bde074d5facb331b4e9164b77af9/thrifty-runtime/src/main/java/com/microsoft/thrifty/protocol/JsonProtocol.java#L145-L150", "partition": "test"} +{"repo": "Microsoft/thrifty", "path": "thrifty-runtime/src/main/java/com/microsoft/thrifty/protocol/JsonProtocol.java", "func_name": "JsonProtocol.hexVal", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "corresponding hex value", "docstring_tokens": ["corresponding", "hex", "value"], "sha": "d0d906d91636bde074d5facb331b4e9164b77af9", "url": "https://github.com/Microsoft/thrifty/blob/d0d906d91636bde074d5facb331b4e9164b77af9/thrifty-runtime/src/main/java/com/microsoft/thrifty/protocol/JsonProtocol.java#L154-L162", "partition": "test"} +{"repo": "Microsoft/thrifty", "path": "thrifty-runtime/src/main/java/com/microsoft/thrifty/protocol/JsonProtocol.java", "func_name": "JsonProtocol.writeJsonString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write the bytes in array buf as a Json characters, escaping as needed", "docstring_tokens": ["Write", "the", "bytes", "in", "array", "buf", "as", "a", "Json", "characters", "escaping", "as", "needed"], "sha": "d0d906d91636bde074d5facb331b4e9164b77af9", "url": "https://github.com/Microsoft/thrifty/blob/d0d906d91636bde074d5facb331b4e9164b77af9/thrifty-runtime/src/main/java/com/microsoft/thrifty/protocol/JsonProtocol.java#L175-L203", "partition": "test"} +{"repo": "Microsoft/thrifty", "path": "thrifty-runtime/src/main/java/com/microsoft/thrifty/protocol/JsonProtocol.java", "func_name": "JsonProtocol.writeJsonInteger", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "wrapped in quotes to output as a Json string.", "docstring_tokens": ["wrapped", "in", "quotes", "to", "output", "as", "a", "Json", "string", "."], "sha": "d0d906d91636bde074d5facb331b4e9164b77af9", "url": "https://github.com/Microsoft/thrifty/blob/d0d906d91636bde074d5facb331b4e9164b77af9/thrifty-runtime/src/main/java/com/microsoft/thrifty/protocol/JsonProtocol.java#L207-L223", "partition": "test"} +{"repo": "Microsoft/thrifty", "path": "thrifty-runtime/src/main/java/com/microsoft/thrifty/protocol/JsonProtocol.java", "func_name": "JsonProtocol.writeJsonDouble", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "context dictates escaping, write out as Json string.", "docstring_tokens": ["context", "dictates", "escaping", "write", "out", "as", "Json", "string", "."], "sha": "d0d906d91636bde074d5facb331b4e9164b77af9", "url": "https://github.com/Microsoft/thrifty/blob/d0d906d91636bde074d5facb331b4e9164b77af9/thrifty-runtime/src/main/java/com/microsoft/thrifty/protocol/JsonProtocol.java#L227-L258", "partition": "test"} +{"repo": "Microsoft/thrifty", "path": "thrifty-runtime/src/main/java/com/microsoft/thrifty/protocol/JsonProtocol.java", "func_name": "JsonProtocol.readJsonString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "context if skipContext is true.", "docstring_tokens": ["context", "if", "skipContext", "is", "true", "."], "sha": "d0d906d91636bde074d5facb331b4e9164b77af9", "url": "https://github.com/Microsoft/thrifty/blob/d0d906d91636bde074d5facb331b4e9164b77af9/thrifty-runtime/src/main/java/com/microsoft/thrifty/protocol/JsonProtocol.java#L422-L479", "partition": "test"} +{"repo": "Microsoft/thrifty", "path": "thrifty-runtime/src/main/java/com/microsoft/thrifty/protocol/JsonProtocol.java", "func_name": "JsonProtocol.readJsonNumericChars", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "not do a complete regex check to validate that this is actually a number.", "docstring_tokens": ["not", "do", "a", "complete", "regex", "check", "to", "validate", "that", "this", "is", "actually", "a", "number", "."], "sha": "d0d906d91636bde074d5facb331b4e9164b77af9", "url": "https://github.com/Microsoft/thrifty/blob/d0d906d91636bde074d5facb331b4e9164b77af9/thrifty-runtime/src/main/java/com/microsoft/thrifty/protocol/JsonProtocol.java#L506-L516", "partition": "test"} +{"repo": "Microsoft/thrifty", "path": "thrifty-runtime/src/main/java/com/microsoft/thrifty/protocol/JsonProtocol.java", "func_name": "JsonProtocol.readJsonInteger", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read in a Json number. If the context dictates, read in enclosing quotes.", "docstring_tokens": ["Read", "in", "a", "Json", "number", ".", "If", "the", "context", "dictates", "read", "in", "enclosing", "quotes", "."], "sha": "d0d906d91636bde074d5facb331b4e9164b77af9", "url": "https://github.com/Microsoft/thrifty/blob/d0d906d91636bde074d5facb331b4e9164b77af9/thrifty-runtime/src/main/java/com/microsoft/thrifty/protocol/JsonProtocol.java#L519-L533", "partition": "test"} +{"repo": "Microsoft/thrifty", "path": "thrifty-runtime/src/main/java/com/microsoft/thrifty/protocol/JsonProtocol.java", "func_name": "JsonProtocol.readJsonDouble", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "when expected or if wrapped in quotes when not expected.", "docstring_tokens": ["when", "expected", "or", "if", "wrapped", "in", "quotes", "when", "not", "expected", "."], "sha": "d0d906d91636bde074d5facb331b4e9164b77af9", "url": "https://github.com/Microsoft/thrifty/blob/d0d906d91636bde074d5facb331b4e9164b77af9/thrifty-runtime/src/main/java/com/microsoft/thrifty/protocol/JsonProtocol.java#L537-L559", "partition": "test"} +{"repo": "Microsoft/thrifty", "path": "thrifty-runtime/src/main/java/com/microsoft/thrifty/protocol/JsonProtocol.java", "func_name": "JsonProtocol.readJsonBase64", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read in a Json string containing base-64 encoded data and decode it.", "docstring_tokens": ["Read", "in", "a", "Json", "string", "containing", "base", "-", "64", "encoded", "data", "and", "decode", "it", "."], "sha": "d0d906d91636bde074d5facb331b4e9164b77af9", "url": "https://github.com/Microsoft/thrifty/blob/d0d906d91636bde074d5facb331b4e9164b77af9/thrifty-runtime/src/main/java/com/microsoft/thrifty/protocol/JsonProtocol.java#L562-L565", "partition": "test"} +{"repo": "Microsoft/thrifty", "path": "thrifty-runtime/src/main/java/com/microsoft/thrifty/service/ClientBase.java", "func_name": "ClientBase.execute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "When invoked by a derived instance, sends the given call to the server.\n\n@param methodCall the remote method call to be invoked\n@return the result of the method call", "docstring_tokens": ["When", "invoked", "by", "a", "derived", "instance", "sends", "the", "given", "call", "to", "the", "server", "."], "sha": "d0d906d91636bde074d5facb331b4e9164b77af9", "url": "https://github.com/Microsoft/thrifty/blob/d0d906d91636bde074d5facb331b4e9164b77af9/thrifty-runtime/src/main/java/com/microsoft/thrifty/service/ClientBase.java#L66-L76", "partition": "test"} +{"repo": "Microsoft/thrifty", "path": "thrifty-runtime/src/main/java/com/microsoft/thrifty/service/ClientBase.java", "func_name": "ClientBase.invokeRequest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Send the given call to the server.\n\n@param call the remote method call to be invoked\n@return the result of the method call\n@throws ServerException wrapper around {@link ThriftException}. Callers should catch and unwrap this.\n@throws IOException from the protocol\n@throws Exception exception received from server implements {@link com.microsoft.thrifty.Struct}", "docstring_tokens": ["Send", "the", "given", "call", "to", "the", "server", "."], "sha": "d0d906d91636bde074d5facb331b4e9164b77af9", "url": "https://github.com/Microsoft/thrifty/blob/d0d906d91636bde074d5facb331b4e9164b77af9/thrifty-runtime/src/main/java/com/microsoft/thrifty/service/ClientBase.java#L108-L164", "partition": "test"} +{"repo": "Microsoft/thrifty", "path": "thrifty-runtime/src/main/java/com/microsoft/thrifty/service/AsyncClientBase.java", "func_name": "AsyncClientBase.enqueue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "When invoked by a derived instance, places the given call in a queue to\nbe sent to the server.\n\n@param methodCall the remote method call to be invoked", "docstring_tokens": ["When", "invoked", "by", "a", "derived", "instance", "places", "the", "given", "call", "in", "a", "queue", "to", "be", "sent", "to", "the", "server", "."], "sha": "d0d906d91636bde074d5facb331b4e9164b77af9", "url": "https://github.com/Microsoft/thrifty/blob/d0d906d91636bde074d5facb331b4e9164b77af9/thrifty-runtime/src/main/java/com/microsoft/thrifty/service/AsyncClientBase.java#L109-L118", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.tools/src/org/guvnor/tools/utils/PlatformUtils.java", "func_name": "PlatformUtils.getResourceFromFSPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves a file system location to an Eclipse workspace resource.\n@param location The file system location\n@return The Eclipse IFile, null if not found", "docstring_tokens": ["Resolves", "a", "file", "system", "location", "to", "an", "Eclipse", "workspace", "resource", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.tools/src/org/guvnor/tools/utils/PlatformUtils.java#L79-L82", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.tools/src/org/guvnor/tools/utils/PlatformUtils.java", "func_name": "PlatformUtils.updateDecoration", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Causes the platform to update Guvnor decoration notions.", "docstring_tokens": ["Causes", "the", "platform", "to", "update", "Guvnor", "decoration", "notions", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.tools/src/org/guvnor/tools/utils/PlatformUtils.java#L97-L105", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.tools/src/org/guvnor/tools/utils/PlatformUtils.java", "func_name": "PlatformUtils.refreshRepositoryView", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Causes the Repository view to refresh, if it is open.", "docstring_tokens": ["Causes", "the", "Repository", "view", "to", "refresh", "if", "it", "is", "open", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.tools/src/org/guvnor/tools/utils/PlatformUtils.java#L110-L126", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.tools/src/org/guvnor/tools/utils/PlatformUtils.java", "func_name": "PlatformUtils.getResourceHistoryView", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Tries to find the Resource History view, attempting to open it if necessary.", "docstring_tokens": ["Tries", "to", "find", "the", "Resource", "History", "view", "attempting", "to", "open", "it", "if", "necessary", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.tools/src/org/guvnor/tools/utils/PlatformUtils.java#L131-L144", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.tools/src/org/guvnor/tools/utils/PlatformUtils.java", "func_name": "PlatformUtils.openEditor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Opens a read-only, in-memory editor.\n@param contents The contents for the editor\n@param name The name of the file. Will be used to determine\neclipse editor association, defaulting to text editor\nif no association is found", "docstring_tokens": ["Opens", "a", "read", "-", "only", "in", "-", "memory", "editor", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.tools/src/org/guvnor/tools/utils/PlatformUtils.java#L153-L170", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.tools/src/org/guvnor/tools/utils/PlatformUtils.java", "func_name": "PlatformUtils.reportAuthenticationFailure", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convenience method for reporting log in failure", "docstring_tokens": ["Convenience", "method", "for", "reporting", "log", "in", "failure"], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.tools/src/org/guvnor/tools/utils/PlatformUtils.java#L249-L259", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.tools/src/org/guvnor/tools/utils/PlatformUtils.java", "func_name": "PlatformUtils.promptForAuthentication", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Prompts for user name and password for a given Guvnor repository.\n@param server The repository for log in\n@return The dialog results. Includes whether the user decided to save\nthe user name and password in the platform's key ring.\nNull if the user cancels the dialog.", "docstring_tokens": ["Prompts", "for", "user", "name", "and", "password", "for", "a", "given", "Guvnor", "repository", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.tools/src/org/guvnor/tools/utils/PlatformUtils.java#L268-L274", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.kie.eclipse.navigator/src/main/java/org/kie/eclipse/navigator/view/KieNavigatorView.java", "func_name": "KieNavigatorView.createDefaultPage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a page displayed when there are no servers defined.\n\n@param kit\n@return Control", "docstring_tokens": ["Creates", "a", "page", "displayed", "when", "there", "are", "no", "servers", "defined", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.kie.eclipse.navigator/src/main/java/org/kie/eclipse/navigator/view/KieNavigatorView.java#L157-L217", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.kie.eclipse.navigator/src/main/java/org/kie/eclipse/navigator/view/KieNavigatorView.java", "func_name": "KieNavigatorView.startThread", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Start the animation thread", "docstring_tokens": ["Start", "the", "animation", "thread"], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.kie.eclipse.navigator/src/main/java/org/kie/eclipse/navigator/view/KieNavigatorView.java#L494-L538", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/PropertyBehavior.java", "func_name": "PropertyBehavior.setIsKeepAllAlive", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets whether this propertybehavior is in the \"keep all alive\" form or\nnot.\n\n@param isKeepAllAlive a boolean indicating whether this\npropertybehavior will be in the \"keep all\nalive\" form", "docstring_tokens": ["Sets", "whether", "this", "propertybehavior", "is", "in", "the", "keep", "all", "alive", "form", "or", "not", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/PropertyBehavior.java#L200-L213", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/PropertyBehavior.java", "func_name": "PropertyBehavior.setIsOmit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets whether this propertybehavior is in the \"omit\" form or not.\n\n@param isOmit a boolean indicating whether this propertybehavior will\nbe in the \"omit\" form", "docstring_tokens": ["Sets", "whether", "this", "propertybehavior", "is", "in", "the", "omit", "form", "or", "not", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/PropertyBehavior.java#L221-L232", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/ActiveLock.java", "func_name": "ActiveLock.setOwner", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates and sets an owner element on this activelock and returns an\neditor on it.\n\n@return an editor on an owner element", "docstring_tokens": ["Creates", "and", "sets", "an", "owner", "element", "on", "this", "activelock", "and", "returns", "an", "editor", "on", "it", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/ActiveLock.java#L219-L228", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/kernel/org/eclipse/webdav/internal/kernel/ConditionTerm.java", "func_name": "ConditionTerm.addConditionFactor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a ConditionFactor to a ConditionTerm.\n\n@param factor the factor to add\n@exception WebDAVException thrown if the term already contains the factor", "docstring_tokens": ["Add", "a", "ConditionFactor", "to", "a", "ConditionTerm", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/kernel/org/eclipse/webdav/internal/kernel/ConditionTerm.java#L48-L52", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/kernel/org/eclipse/webdav/internal/kernel/ConditionTerm.java", "func_name": "ConditionTerm.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a ConditionTerm by parsing the given If header as defined by\nsection 9.4 in the WebDAV spec.\n\n@param tokenizer a StreamTokenizer on the contents of a WebDAV If header\n@return the parsed ConditionTerm\n@exception WebDAVException thrown if there is a syntax error in the If header", "docstring_tokens": ["Create", "a", "ConditionTerm", "by", "parsing", "the", "given", "If", "header", "as", "defined", "by", "section", "9", ".", "4", "in", "the", "WebDAV", "spec", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/kernel/org/eclipse/webdav/internal/kernel/ConditionTerm.java#L72-L95", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/kernel/org/eclipse/webdav/internal/kernel/ConditionTerm.java", "func_name": "ConditionTerm.matches", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "See if this ConditionTerm matches the given ConditionTerm. This is an\nAND operation. All the factors in the ConditionTerm must match.\n\n@param conditionTerm the term to match\n@return true if all the factors in the term match those in this term", "docstring_tokens": ["See", "if", "this", "ConditionTerm", "matches", "the", "given", "ConditionTerm", ".", "This", "is", "an", "AND", "operation", ".", "All", "the", "factors", "in", "the", "ConditionTerm", "must", "match", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/kernel/org/eclipse/webdav/internal/kernel/ConditionTerm.java#L116-L131", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/dsl/editor/DSLAdapter.java", "func_name": "DSLAdapter.getDSLContent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a reader to the DSL contents", "docstring_tokens": ["Get", "a", "reader", "to", "the", "DSL", "contents"], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/dsl/editor/DSLAdapter.java#L76-L89", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/dsl/editor/DSLAdapter.java", "func_name": "DSLAdapter.loadConfig", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This does the hunting around the projec to find the .dsl file.", "docstring_tokens": ["This", "does", "the", "hunting", "around", "the", "projec", "to", "find", "the", ".", "dsl", "file", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/dsl/editor/DSLAdapter.java#L94-L112", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/dsl/editor/DSLAdapter.java", "func_name": "DSLAdapter.readConfig", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This will load in the DSL config file, using the DSLMapping from drools-compiler", "docstring_tokens": ["This", "will", "load", "in", "the", "DSL", "config", "file", "using", "the", "DSLMapping", "from", "drools", "-", "compiler"], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/dsl/editor/DSLAdapter.java#L123-L135", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/menu/RuleHelperActionDelegate.java", "func_name": "RuleHelperActionDelegate.getMenu", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return a menu which launches the various wizards", "docstring_tokens": ["Return", "a", "menu", "which", "launches", "the", "various", "wizards"], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/menu/RuleHelperActionDelegate.java#L57-L75", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/MultiStatus.java", "func_name": "MultiStatus.addResponse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates and adds a response element to this multistatus and returns\nan editor on it.\n\n@return an editor on a response element", "docstring_tokens": ["Creates", "and", "adds", "a", "response", "element", "to", "this", "multistatus", "and", "returns", "an", "editor", "on", "it", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/MultiStatus.java#L62-L70", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/HrefSet.java", "func_name": "HrefSet.addHref", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds the given href to the end of the set of hrefs. If the href\nalready exists it is not added.\n\n@param href the href to add to the end of the set of hrefs", "docstring_tokens": ["Adds", "the", "given", "href", "to", "the", "end", "of", "the", "set", "of", "hrefs", ".", "If", "the", "href", "already", "exists", "it", "is", "not", "added", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/HrefSet.java#L57-L62", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/HrefSet.java", "func_name": "HrefSet.insertHrefBefore", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Inserts the given newHref before the given refHref in the set of\nhrefs. If newHref already exists it is not inserted.\n\n@param refHref the existing href\n@param newHref the new href to be inserted before the existing href", "docstring_tokens": ["Inserts", "the", "given", "newHref", "before", "the", "given", "refHref", "in", "the", "set", "of", "hrefs", ".", "If", "newHref", "already", "exists", "it", "is", "not", "inserted", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/HrefSet.java#L147-L161", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/HrefSet.java", "func_name": "HrefSet.removeHref", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove the given href from the set of hrefs.\n\n@param href the href to remove from the set of hrefs", "docstring_tokens": ["Remove", "the", "given", "href", "from", "the", "set", "of", "hrefs", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/HrefSet.java#L178-L188", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/ResponseBody.java", "func_name": "ResponseBody.addPropStat", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates and adds a propstat element on this response and returns an\neditor on it.\n\n@return an editor on a propstat element", "docstring_tokens": ["Creates", "and", "adds", "a", "propstat", "element", "on", "this", "response", "and", "returns", "an", "editor", "on", "it", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/ResponseBody.java#L210-L220", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/ResponseBody.java", "func_name": "ResponseBody.getHref", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns this response's first href.\n\n@return this response's first href.\n@throws MalformedElementException if there is reason to believe that\nthis editor's underlying element is not well formed", "docstring_tokens": ["Returns", "this", "response", "s", "first", "href", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/ResponseBody.java#L290-L294", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/ResponseBody.java", "func_name": "ResponseBody.getStatus", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns this response's status.\n\n@return this response's status\n@throws MalformedElementException if there is reason to believe that\nthis editor's underlying element is not well formed, or if\nthis response is not in \"status\" form", "docstring_tokens": ["Returns", "this", "response", "s", "status", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/ResponseBody.java#L385-L389", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/debug/DebugUtil.java", "func_name": "DebugUtil.getStackFrame", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the current stack frame context, or a valid stack frame for the\ngiven value.", "docstring_tokens": ["Return", "the", "current", "stack", "frame", "context", "or", "a", "valid", "stack", "frame", "for", "the", "given", "value", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/debug/DebugUtil.java#L127-L150", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/completion/RuleCompletionProcessor.java", "func_name": "RuleCompletionProcessor.isSubtypeOf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if the first class is the same or a subtype of the second\nclass.\n\n@param class1\n@param class2\n@return", "docstring_tokens": ["Returns", "true", "if", "the", "first", "class", "is", "the", "same", "or", "a", "subtype", "of", "the", "second", "class", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/completion/RuleCompletionProcessor.java#L776-L796", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/completion/RuleCompletionProcessor.java", "func_name": "RuleCompletionProcessor.containsProposal", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Attempt to compare proposals of different types based on the tokenized display string\n\n@param proposals\n@param newProposal\n@return true if the collection contains a proposal which matches the new Proposal.\nThe match is based on the first token based on a space split", "docstring_tokens": ["Attempt", "to", "compare", "proposals", "of", "different", "types", "based", "on", "the", "tokenized", "display", "string"], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/completion/RuleCompletionProcessor.java#L1278-L1296", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/ElementEditor.java", "func_name": "ElementEditor.cloneNode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a clone of the given node. The given document becomes the\nowner document of the clone.\n\n@param document the owner document of the clone\n@param node the node to clone\n@return a clone of the given node", "docstring_tokens": ["Returns", "a", "clone", "of", "the", "given", "node", ".", "The", "given", "document", "becomes", "the", "owner", "document", "of", "the", "clone", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/ElementEditor.java#L301-L348", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/http/client/RequestInputStream.java", "func_name": "RequestInputStream.reset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resets the stream to its beginning so it can be read again.\n\n@exception IOException if there is an I/O error", "docstring_tokens": ["Resets", "the", "stream", "to", "its", "beginning", "so", "it", "can", "be", "read", "again", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/http/client/RequestInputStream.java#L165-L182", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/AbstractRuleEditor.java", "func_name": "AbstractRuleEditor.createActions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "For user triggered content assistance", "docstring_tokens": ["For", "user", "triggered", "content", "assistance"], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/AbstractRuleEditor.java#L123-L143", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/rete/model/GraphicalVertex.java", "func_name": "GraphicalVertex.addConnection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add an incoming or outgoing connection to this vertex.\n@param conn a non-null connection instance\n@throws IllegalArgumentException if the connection is null or has not distinct endpoints", "docstring_tokens": ["Add", "an", "incoming", "or", "outgoing", "connection", "to", "this", "vertex", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/rete/model/GraphicalVertex.java#L116-L131", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/rete/model/GraphicalVertex.java", "func_name": "GraphicalVertex.getPropertyValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the property value for the given propertyId, or null.", "docstring_tokens": ["Return", "the", "property", "value", "for", "the", "given", "propertyId", "or", "null", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/rete/model/GraphicalVertex.java#L152-L166", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/rete/model/GraphicalVertex.java", "func_name": "GraphicalVertex.removeConnection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove an incoming or outgoing connection from this vertex.\n\n@param conn a non-null connection instance\n@throws IllegalArgumentException if the parameter is null", "docstring_tokens": ["Remove", "an", "incoming", "or", "outgoing", "connection", "from", "this", "vertex", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/rete/model/GraphicalVertex.java#L196-L211", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/rete/model/GraphicalVertex.java", "func_name": "GraphicalVertex.setLocation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the Location of this vertex.\n@param newLocation a non-null Point instance\n@throws IllegalArgumentException if the parameter is null", "docstring_tokens": ["Set", "the", "Location", "of", "this", "vertex", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/rete/model/GraphicalVertex.java#L218-L226", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/rete/model/GraphicalVertex.java", "func_name": "GraphicalVertex.setPropertyValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the property value for the given property id.", "docstring_tokens": ["Set", "the", "property", "value", "for", "the", "given", "property", "id", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/rete/model/GraphicalVertex.java#L231-L250", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/rete/model/GraphicalVertex.java", "func_name": "GraphicalVertex.setSize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the Size of this vertex.\nWill not update the size if newSize is null.\n@param newSize a non-null Dimension instance or null", "docstring_tokens": ["Set", "the", "Size", "of", "this", "vertex", ".", "Will", "not", "update", "the", "size", "if", "newSize", "is", "null", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/rete/model/GraphicalVertex.java#L257-L264", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/rete/model/GraphicalVertex.java", "func_name": "GraphicalVertex.dumpConstraints", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs constraints string\n\n@param constraints array of constraints\n@return html-formatted constraints representation", "docstring_tokens": ["Constructs", "constraints", "string"], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/rete/model/GraphicalVertex.java#L288-L297", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/SupportedLock.java", "func_name": "SupportedLock.addLockEntry", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new lockentry and adds it to this supported lock. Returns\nan editor on the new lockentry.\n\n@return an editor on a new lockentry for this supportedlock", "docstring_tokens": ["Creates", "a", "new", "lockentry", "and", "adds", "it", "to", "this", "supported", "lock", ".", "Returns", "an", "editor", "on", "the", "new", "lockentry", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/SupportedLock.java#L62-L76", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/rete/model/ReteGraph.java", "func_name": "ReteGraph.addChild", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add new BaseVertex to the graph\n\n@param vertex\n\n@return true, if vertex was added, false otherwise", "docstring_tokens": ["Add", "new", "BaseVertex", "to", "the", "graph"], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/rete/model/ReteGraph.java#L44-L52", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/rete/model/ReteGraph.java", "func_name": "ReteGraph.removeChild", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove a vertex from this graph\n\n@param vertex vertex to be removed\n@return true, if the vertex removal succeeded, false otherwise", "docstring_tokens": ["Remove", "a", "vertex", "from", "this", "graph"], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/rete/model/ReteGraph.java#L67-L75", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/DroolsEclipsePlugin.java", "func_name": "DroolsEclipsePlugin.start", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method is called upon plug-in activation", "docstring_tokens": ["This", "method", "is", "called", "upon", "plug", "-", "in", "activation"], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/DroolsEclipsePlugin.java#L137-L151", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/DroolsEclipsePlugin.java", "func_name": "DroolsEclipsePlugin.stop", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method is called when the plug-in is stopped", "docstring_tokens": ["This", "method", "is", "called", "when", "the", "plug", "-", "in", "is", "stopped"], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/DroolsEclipsePlugin.java#L169-L180", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/DroolsEclipsePlugin.java", "func_name": "DroolsEclipsePlugin.getResourceString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the string from the plugin's resource bundle,\nor 'key' if not found.", "docstring_tokens": ["Returns", "the", "string", "from", "the", "plugin", "s", "resource", "bundle", "or", "key", "if", "not", "found", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/DroolsEclipsePlugin.java#L193-L200", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/DroolsEclipsePlugin.java", "func_name": "DroolsEclipsePlugin.getResourceBundle", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the plugin's resource bundle,", "docstring_tokens": ["Returns", "the", "plugin", "s", "resource", "bundle"], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/DroolsEclipsePlugin.java#L205-L212", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/DroolsEclipsePlugin.java", "func_name": "DroolsEclipsePlugin.getRuleBuilderFormColors", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Form Colors, default colors for now.\n\n@param display\n@return", "docstring_tokens": ["Form", "Colors", "default", "colors", "for", "now", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/DroolsEclipsePlugin.java#L833-L839", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/kernel/org/eclipse/webdav/internal/kernel/utils/DateTime.java", "func_name": "DateTime.setDateTime", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Do nothing if date format is not supported", "docstring_tokens": ["Do", "nothing", "if", "date", "format", "is", "not", "supported"], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/kernel/org/eclipse/webdav/internal/kernel/utils/DateTime.java#L84-L90", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/kernel/org/eclipse/webdav/internal/kernel/utils/DateTime.java", "func_name": "DateTime.setDateTime", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Do nothing if date format is not supported.", "docstring_tokens": ["Do", "nothing", "if", "date", "format", "is", "not", "supported", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/kernel/org/eclipse/webdav/internal/kernel/utils/DateTime.java#L95-L104", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.kie.eclipse/src/main/java/org/kie/eclipse/Activator.java", "func_name": "Activator.error", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Utility to create an error status for this plug-in.\n\n@param message User comprehensible message\n@param thr cause\n@return an initialized error status", "docstring_tokens": ["Utility", "to", "create", "an", "error", "status", "for", "this", "plug", "-", "in", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.kie.eclipse/src/main/java/org/kie/eclipse/Activator.java#L95-L97", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.kie.eclipse/src/main/java/org/kie/eclipse/Activator.java", "func_name": "Activator.logError", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Utility method to log errors in the Egit plugin.\n@param message User comprehensible message\n@param thr The exception through which we noticed the error", "docstring_tokens": ["Utility", "method", "to", "log", "errors", "in", "the", "Egit", "plugin", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.kie.eclipse/src/main/java/org/kie/eclipse/Activator.java#L104-L106", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.kie.eclipse.navigator/src/main/java/org/kie/eclipse/navigator/preferences/FieldEditorPropertyPage.java", "func_name": "FieldEditorPropertyPage.addField", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds the given field editor to this page.\n\n@param editor the field editor", "docstring_tokens": ["Adds", "the", "given", "field", "editor", "to", "this", "page", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.kie.eclipse.navigator/src/main/java/org/kie/eclipse/navigator/preferences/FieldEditorPropertyPage.java#L84-L94", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.kie.eclipse.navigator/src/main/java/org/kie/eclipse/navigator/preferences/FieldEditorPropertyPage.java", "func_name": "FieldEditorPropertyPage.adjustGridLayout", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adjust the layout of the field editors so that they are properly aligned.", "docstring_tokens": ["Adjust", "the", "layout", "of", "the", "field", "editors", "so", "that", "they", "are", "properly", "aligned", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.kie.eclipse.navigator/src/main/java/org/kie/eclipse/navigator/preferences/FieldEditorPropertyPage.java#L101-L110", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.kie.eclipse.navigator/src/main/java/org/kie/eclipse/navigator/preferences/FieldEditorPropertyPage.java", "func_name": "FieldEditorPropertyPage.applyFont", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Applys the font to the field editors managed by this page.", "docstring_tokens": ["Applys", "the", "font", "to", "the", "field", "editors", "managed", "by", "this", "page", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.kie.eclipse.navigator/src/main/java/org/kie/eclipse/navigator/preferences/FieldEditorPropertyPage.java#L115-L123", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.kie.eclipse.navigator/src/main/java/org/kie/eclipse/navigator/preferences/FieldEditorPropertyPage.java", "func_name": "FieldEditorPropertyPage.calcNumberOfColumns", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculates the number of columns needed to host all field editors.\n\n@return the number of columns", "docstring_tokens": ["Calculates", "the", "number", "of", "columns", "needed", "to", "host", "all", "field", "editors", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.kie.eclipse.navigator/src/main/java/org/kie/eclipse/navigator/preferences/FieldEditorPropertyPage.java#L130-L140", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.kie.eclipse.navigator/src/main/java/org/kie/eclipse/navigator/preferences/FieldEditorPropertyPage.java", "func_name": "FieldEditorPropertyPage.initialize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Initializes all field editors.", "docstring_tokens": ["Initializes", "all", "field", "editors", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.kie.eclipse.navigator/src/main/java/org/kie/eclipse/navigator/preferences/FieldEditorPropertyPage.java#L260-L271", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.kie.eclipse.navigator/src/main/java/org/kie/eclipse/navigator/preferences/JsonPreferenceStore.java", "func_name": "JsonPreferenceStore.firePropertyChangeEvent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Fires a property change event with the given source, property name, old and new value. Used\nwhen the event source should be different from this mockup preference store.\n@param source The event source\n@param name The property name\n@param oldValue The property's old value\n@param newValue The property's new value", "docstring_tokens": ["Fires", "a", "property", "change", "event", "with", "the", "given", "source", "property", "name", "old", "and", "new", "value", ".", "Used", "when", "the", "event", "source", "should", "be", "different", "from", "this", "mockup", "preference", "store", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.kie.eclipse.navigator/src/main/java/org/kie/eclipse/navigator/preferences/JsonPreferenceStore.java#L60-L65", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/DRLRuleEditorActionContributor.java", "func_name": "DRLRuleEditorActionContributor.setActiveEditor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "In addition to @link org.eclipse.ui.part.MultiPageEditorActionBarContributor#setActiveEditor(org.eclipse.ui.IEditorPart)\nit sets contribution items to DRLRuleEditor2 for later use when\nmultipageditor tabs are switched.", "docstring_tokens": ["In", "addition", "to"], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/DRLRuleEditorActionContributor.java#L70-L78", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/DRLRuleEditorActionContributor.java", "func_name": "DRLRuleEditorActionContributor.contributeToToolBar", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds Zoom-related contributions.\n\n@see org.eclipse.ui.part.EditorActionBarContributor#contributeToToolBar(org.eclipse.jface.action.IToolBarManager)", "docstring_tokens": ["Adds", "Zoom", "-", "related", "contributions", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/DRLRuleEditorActionContributor.java#L85-L105", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/completion/CompletionContext.java", "func_name": "CompletionContext.determineDialect", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "especially when parsing incomplete rules", "docstring_tokens": ["especially", "when", "parsing", "incomplete", "rules"], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/completion/CompletionContext.java#L80-L89", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/DAVClient.java", "func_name": "DAVClient.newContext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a new context that is based on the given context.\n\n@param userContext\n@param locator\n\n@return a new context that is based on the given context", "docstring_tokens": ["Returns", "a", "new", "context", "that", "is", "based", "on", "the", "given", "context", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/DAVClient.java#L73-L80", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/dsl/editor/DSLEditor.java", "func_name": "DSLEditor.doSave", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "for the sort field", "docstring_tokens": ["for", "the", "sort", "field"], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/dsl/editor/DSLEditor.java#L81-L89", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/dsl/editor/DSLEditor.java", "func_name": "DSLEditor.createTableListeners", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Setup table listeners for GUI events.", "docstring_tokens": ["Setup", "table", "listeners", "for", "GUI", "events", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/dsl/editor/DSLEditor.java#L283-L320", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/dsl/editor/DSLEditor.java", "func_name": "DSLEditor.createTable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create the Table", "docstring_tokens": ["Create", "the", "Table"], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/dsl/editor/DSLEditor.java#L618-L684", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/URLTable.java", "func_name": "URLTable.put", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Maps the given URL to the given value in this table.\n\n@param url a URL as a String\n@param value an object\n@throws MalformedURLException if the given URL is malformed", "docstring_tokens": ["Maps", "the", "given", "URL", "to", "the", "given", "value", "in", "this", "table", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/URLTable.java#L216-L220", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/URLTable.java", "func_name": "URLTable.put", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Maps the specified URL to the given value in this table.\n\n@param url a URLKey\n@param value an object", "docstring_tokens": ["Maps", "the", "specified", "URL", "to", "the", "given", "value", "in", "this", "table", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/URLTable.java#L240-L247", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/completion/Node.java", "func_name": "Node.addToken", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The method will create a new Node instance and try to add it as\na child node. If an Node with the same string token exists, the\nmethod will return the existing node instead.\n@param token\n@return", "docstring_tokens": ["The", "method", "will", "create", "a", "new", "Node", "instance", "and", "try", "to", "add", "it", "as", "a", "child", "node", ".", "If", "an", "Node", "with", "the", "same", "string", "token", "exists", "the", "method", "will", "return", "the", "existing", "node", "instead", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/completion/Node.java#L39-L46", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/completion/Node.java", "func_name": "Node.addChild", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The method will check to see if a Node with the same string token\nalready exists. If it doesn't, it will add the token as a child and\nreturn the same node.\n\nOn the otherhand, if there is an existing Node for the same string\ntoken, the method returns the existing Node instance.\n@param n\n@return", "docstring_tokens": ["The", "method", "will", "check", "to", "see", "if", "a", "Node", "with", "the", "same", "string", "token", "already", "exists", ".", "If", "it", "doesn", "t", "it", "will", "add", "the", "token", "as", "a", "child", "and", "return", "the", "same", "node", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/completion/Node.java#L72-L80", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/core/DroolsElement.java", "func_name": "DroolsElement.setFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "be used directly. Use DroolsModelBuilder instead.", "docstring_tokens": ["be", "used", "directly", ".", "Use", "DroolsModelBuilder", "instead", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/core/DroolsElement.java#L80-L84", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/kernel/org/eclipse/webdav/internal/kernel/Precondition.java", "func_name": "Precondition.addCondition", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a Condition to this Precondition. Conditions are OR'd together to\ncheck for a matching resource.\n\n@param condition the Condition to add\n@exception WebDAVException thrown if the precondition already contains this condition", "docstring_tokens": ["Add", "a", "Condition", "to", "this", "Precondition", ".", "Conditions", "are", "OR", "d", "together", "to", "check", "for", "a", "matching", "resource", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/kernel/org/eclipse/webdav/internal/kernel/Precondition.java#L94-L105", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/kernel/org/eclipse/webdav/internal/kernel/Precondition.java", "func_name": "Precondition.addStateTokenCondition", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a condition created from the given URI and state token. This is a\nconvenience method used primarily to create preconditions for lock tokens\nthat must be provided in the resource context for methods that update\nthe resource.\n\n@param resourceURI the URI of the resource the state token applies to. Null\nimplicitly specifies the resource processing the request\n@param stateToken the state token to match", "docstring_tokens": ["Add", "a", "condition", "created", "from", "the", "given", "URI", "and", "state", "token", ".", "This", "is", "a", "convenience", "method", "used", "primarily", "to", "create", "preconditions", "for", "lock", "tokens", "that", "must", "be", "provided", "in", "the", "resource", "context", "for", "methods", "that", "update", "the", "resource", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/kernel/org/eclipse/webdav/internal/kernel/Precondition.java#L117-L123", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/kernel/org/eclipse/webdav/internal/kernel/Precondition.java", "func_name": "Precondition.matches", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "See if this Precondition contains a matching Condition.\n\n@param condition the condition to match\n@return true if this precondition contains atleast one condition matching the given condition", "docstring_tokens": ["See", "if", "this", "Precondition", "contains", "a", "matching", "Condition", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/kernel/org/eclipse/webdav/internal/kernel/Precondition.java#L153-L161", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/PropStat.java", "func_name": "PropStat.getProp", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns this propstat's prop.\n\n@return this propstat's prop\n@throws MalformedElementException if there is reason to believe that\nthis editor's underlying element is not well formed", "docstring_tokens": ["Returns", "this", "propstat", "s", "prop", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/PropStat.java#L61-L65", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/PropStat.java", "func_name": "PropStat.getStatus", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns this propstat's status.\n\n@return this propstat's status\n@throws MalformedElementException if there is reason to believe that\nthis editor's underlying element is not well formed", "docstring_tokens": ["Returns", "this", "propstat", "s", "status", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/PropStat.java#L85-L89", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/PropStat.java", "func_name": "PropStat.setProp", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates and sets a new prop on this propstat and returns an editor on\nit.\n\n@return an editor on a new prop element", "docstring_tokens": ["Creates", "and", "sets", "a", "new", "prop", "on", "this", "propstat", "and", "returns", "an", "editor", "on", "it", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/PropStat.java#L108-L116", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/dsl/editor/completion/DSLRuleCompletionProcessor.java", "func_name": "DSLRuleCompletionProcessor.getLastLine", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "because of how the backText works, we need to get the last line, so that\nwe can pass it to the DSLUtility\n\n@param backText\n@return", "docstring_tokens": ["because", "of", "how", "the", "backText", "works", "we", "need", "to", "get", "the", "last", "line", "so", "that", "we", "can", "pass", "it", "to", "the", "DSLUtility"], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/dsl/editor/completion/DSLRuleCompletionProcessor.java#L104-L134", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/dsl/editor/completion/DSLRuleCompletionProcessor.java", "func_name": "DSLRuleCompletionProcessor.getLastNonDashLine", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the last line that doesn't start with a dash\n\n@param backText\n@return", "docstring_tokens": ["Returns", "the", "last", "line", "that", "doesn", "t", "start", "with", "a", "dash"], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/dsl/editor/completion/DSLRuleCompletionProcessor.java#L142-L164", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/Policy.java", "func_name": "Policy.bind", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Lookup the message with the given ID in this catalog and bind its\nsubstitution locations with the given string.", "docstring_tokens": ["Lookup", "the", "message", "with", "the", "given", "ID", "in", "this", "catalog", "and", "bind", "its", "substitution", "locations", "with", "the", "given", "string", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/Policy.java#L36-L38", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/Policy.java", "func_name": "Policy.bind", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Lookup the message with the given ID in this catalog and bind its\nsubstitution locations with the given strings.", "docstring_tokens": ["Lookup", "the", "message", "with", "the", "given", "ID", "in", "this", "catalog", "and", "bind", "its", "substitution", "locations", "with", "the", "given", "strings", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/Policy.java#L44-L46", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/Policy.java", "func_name": "Policy.bind", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Lookup the message with the given ID in this catalog and bind its\nsubstitution locations with the given string values.", "docstring_tokens": ["Lookup", "the", "message", "with", "the", "given", "ID", "in", "this", "catalog", "and", "bind", "its", "substitution", "locations", "with", "the", "given", "string", "values", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/Policy.java#L52-L66", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.jbpm.eclipse/src/main/java/org/jbpm/eclipse/wizard/project/NewJBPMProjectWizard.java", "func_name": "NewJBPMProjectWizard.createProcess", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create the sample process file.\n@throws IOException", "docstring_tokens": ["Create", "the", "sample", "process", "file", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.jbpm.eclipse/src/main/java/org/jbpm/eclipse/wizard/project/NewJBPMProjectWizard.java#L153-L200", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.jbpm.eclipse/src/main/java/org/jbpm/eclipse/wizard/project/NewJBPMProjectWizard.java", "func_name": "NewJBPMProjectWizard.createProcessSampleJUnit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create the sample process junit test file.", "docstring_tokens": ["Create", "the", "sample", "process", "junit", "test", "file", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.jbpm.eclipse/src/main/java/org/jbpm/eclipse/wizard/project/NewJBPMProjectWizard.java#L205-L223", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.kie.eclipse/src/main/java/org/kie/eclipse/server/KieServerHandler.java", "func_name": "KieServerHandler.getRuntimeId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the version number of the KIE Workbench that is installed on the\ngiven server. If the server is not running or not responsive, use a value\nfrom the Preference Store.\n\n@param server\n@return", "docstring_tokens": ["Return", "the", "version", "number", "of", "the", "KIE", "Workbench", "that", "is", "installed", "on", "the", "given", "server", ".", "If", "the", "server", "is", "not", "running", "or", "not", "responsive", "use", "a", "value", "from", "the", "Preference", "Store", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.kie.eclipse/src/main/java/org/kie/eclipse/server/KieServerHandler.java#L118-L123", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/reteoo/ReteooVisitor.java", "func_name": "ReteooVisitor.visitRete", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Rete visits each of its ObjectTypeNodes.", "docstring_tokens": ["Rete", "visits", "each", "of", "its", "ObjectTypeNodes", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/reteoo/ReteooVisitor.java#L86-L100", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/reteoo/ReteooVisitor.java", "func_name": "ReteooVisitor.visitNode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Helper method to ensure nodes are not visited more than once.", "docstring_tokens": ["Helper", "method", "to", "ensure", "nodes", "are", "not", "visited", "more", "than", "once", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/reteoo/ReteooVisitor.java#L149-L156", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/reteoo/ReteooVisitor.java", "func_name": "ReteooVisitor.dotId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The identity hashCode for the given object is used as its unique DOT\nidentifier.", "docstring_tokens": ["The", "identity", "hashCode", "for", "the", "given", "object", "is", "used", "as", "its", "unique", "DOT", "identifier", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/reteoo/ReteooVisitor.java#L162-L164", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/PropertyUpdate.java", "func_name": "PropertyUpdate.addRemove", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a remove to the given propertyupdate and returns an editor on\nits prop.\n\n@return an editor on a new prop", "docstring_tokens": ["Adds", "a", "remove", "to", "the", "given", "propertyupdate", "and", "returns", "an", "editor", "on", "its", "prop", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/PropertyUpdate.java#L126-L136", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/PropertyUpdate.java", "func_name": "PropertyUpdate.addSet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a set to the given propertyupdate and returns an editor on its\nprop.\n\n@return an editor on a new prop", "docstring_tokens": ["Adds", "a", "set", "to", "the", "given", "propertyupdate", "and", "returns", "an", "editor", "on", "its", "prop", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/PropertyUpdate.java#L144-L153", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/WebDAVFactory.java", "func_name": "WebDAVFactory.newLocator", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Answer a new resource locator that identifies a particular\nserver resource by it's URL and label.\n\n@param resourceURL the URL of the resource.\n@param label the version label of the resource.\n@return the Locator to the resource.", "docstring_tokens": ["Answer", "a", "new", "resource", "locator", "that", "identifies", "a", "particular", "server", "resource", "by", "it", "s", "URL", "and", "label", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/WebDAVFactory.java#L68-L70", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/DRLSourceViewerConfig.java", "func_name": "DRLSourceViewerConfig.getPresentationReconciler", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Define reconciler - this has to be done for each partition.\nCurrently there are 3 partitions, Inside rule, outside rule and inside comment.", "docstring_tokens": ["Define", "reconciler", "-", "this", "has", "to", "be", "done", "for", "each", "partition", ".", "Currently", "there", "are", "3", "partitions", "Inside", "rule", "outside", "rule", "and", "inside", "comment", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/DRLSourceViewerConfig.java#L73-L94", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/kernel/org/eclipse/webdav/internal/kernel/Status.java", "func_name": "Status.sameAs", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Answers whether the receiver and the argument are considered\nidentical. To be identical, the receiver and the argument\nmust have the same status code, message, and extended status\ninformation.\n\n@param obj other object with which to test.\n@return boolean indicating whether they are the same or not.\n@see Status#equals(Object)", "docstring_tokens": ["Answers", "whether", "the", "receiver", "and", "the", "argument", "are", "considered", "identical", ".", "To", "be", "identical", "the", "receiver", "and", "the", "argument", "must", "have", "the", "same", "status", "code", "message", "and", "extended", "status", "information", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/kernel/org/eclipse/webdav/internal/kernel/Status.java#L152-L159", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/kernel/org/eclipse/webdav/internal/kernel/Condition.java", "func_name": "Condition.contains", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Does this Condition contain the given ConditionTerm?\n\n@param term the term to check for\n@return true if the condition contains the given term, false otherwise", "docstring_tokens": ["Does", "this", "Condition", "contain", "the", "given", "ConditionTerm?"], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/kernel/org/eclipse/webdav/internal/kernel/Condition.java#L65-L74", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/kernel/org/eclipse/webdav/internal/kernel/StateToken.java", "func_name": "StateToken.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a StateToken by parsing the given If header as defined by\nsection 9.4 in the WebDAV spec.\n\n@param tokenizer a StreamTokenizer on the contents of a WebDAV If header\n@return the parsed ConditionFactor (StateToken)", "docstring_tokens": ["Create", "a", "StateToken", "by", "parsing", "the", "given", "If", "header", "as", "defined", "by", "section", "9", ".", "4", "in", "the", "WebDAV", "spec", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/kernel/org/eclipse/webdav/internal/kernel/StateToken.java#L55-L78", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/DRLRuleEditor2.java", "func_name": "DRLRuleEditor2.addPages", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds Text Editor for rules and Rete graph viewer\n\n@see org.eclipse.ui.forms.editor.FormEditor#addPages()", "docstring_tokens": ["Adds", "Text", "Editor", "for", "rules", "and", "Rete", "graph", "viewer"], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/DRLRuleEditor2.java#L71-L112", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.kie.eclipse/src/main/java/org/kie/eclipse/server/KieServiceDelegate.java", "func_name": "KieServiceDelegate.httpDelete", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Send an HTTP DELETE request to the KIE console.\n@param request - the request URL fragment; see the Drools REST API\ndocumentation for details\n@return the Job ID. This can be used in calls to getJobStatus() to fetch\nthe completion status of the request.\n@throws IOException", "docstring_tokens": ["Send", "an", "HTTP", "DELETE", "request", "to", "the", "KIE", "console", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.kie.eclipse/src/main/java/org/kie/eclipse/server/KieServiceDelegate.java#L113-L139", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.kie.eclipse/src/main/java/org/kie/eclipse/server/KieServiceDelegate.java", "func_name": "KieServiceDelegate.httpPost", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Send an HTTP POST request to the KIE console.\n\n@param request - the request URL fragment; see the Drools REST API\ndocumentation for details\n@param body - the JSON object required by the request\n@return the Job ID. This can be used in calls to getJobStatus() to fetch\nthe completion status of the request.\n@throws IOException\n@throws RuntimeException", "docstring_tokens": ["Send", "an", "HTTP", "POST", "request", "to", "the", "KIE", "console", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.kie.eclipse/src/main/java/org/kie/eclipse/server/KieServiceDelegate.java#L152-L188", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.kie.eclipse/src/main/java/org/kie/eclipse/server/KieServiceDelegate.java", "func_name": "KieServiceDelegate.getJobStatus", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sends a job status request to the KIE Server.\n\n@param jobId - the job ID from a previous HTTP POST or DELETE request\n@return a string composed of a status word (e.g. \"SUCCESS\" or\n\"BAD_REQUEST\") followed by a colon delimiter and a detailed\nmessage.\n@throws IOException", "docstring_tokens": ["Sends", "a", "job", "status", "request", "to", "the", "KIE", "Server", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.kie.eclipse/src/main/java/org/kie/eclipse/server/KieServiceDelegate.java#L199-L253", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.kie.eclipse.navigator/src/main/java/org/kie/eclipse/navigator/view/actions/repository/PullOperationUI.java", "func_name": "PullOperationUI.execute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Starts this operation synchronously.\n\n@param monitor", "docstring_tokens": ["Starts", "this", "operation", "synchronously", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.kie.eclipse.navigator/src/main/java/org/kie/eclipse/navigator/view/actions/repository/PullOperationUI.java#L136-L148", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.kie.eclipse.navigator/src/main/java/org/kie/eclipse/navigator/view/actions/repository/PullOperationUI.java", "func_name": "PullOperationUI.handlePullResults", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Post-process the pull results, allowing the user to deal with uncommitted\nchanges and re-pull if the initial pull failed because of these changes\n\n@param resultsMap a copy of the initial pull results\n@param shell", "docstring_tokens": ["Post", "-", "process", "the", "pull", "results", "allowing", "the", "user", "to", "deal", "with", "uncommitted", "changes", "and", "re", "-", "pull", "if", "the", "initial", "pull", "failed", "because", "of", "these", "changes"], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.kie.eclipse.navigator/src/main/java/org/kie/eclipse/navigator/view/actions/repository/PullOperationUI.java#L169-L172", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.kie.eclipse/src/main/java/com/eclipsesource/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 JSON representation of\nthe specified string.\n\n@param index\nthe index of the array element to replace\n@param value\nthe string to be stored at the specified array position\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", "JSON", "representation", "of", "the", "specified", "string", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.kie.eclipse/src/main/java/com/eclipsesource/json/JsonArray.java#L334-L337", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/LockDiscovery.java", "func_name": "LockDiscovery.addActiveLock", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates and adds a new activelock on this lockdiscovery and returns\nan editor on it.\n\n@return an editor on an activelock element", "docstring_tokens": ["Creates", "and", "adds", "a", "new", "activelock", "on", "this", "lockdiscovery", "and", "returns", "an", "editor", "on", "it", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/LockDiscovery.java#L62-L73", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/completion/AbstractCompletionProcessor.java", "func_name": "AbstractCompletionProcessor.filterProposalsOnPrefix", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Filter out the proposals whose content does not start with the given prefix.", "docstring_tokens": ["Filter", "out", "the", "proposals", "whose", "content", "does", "not", "start", "with", "the", "given", "prefix", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/completion/AbstractCompletionProcessor.java#L65-L77", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/completion/AbstractCompletionProcessor.java", "func_name": "AbstractCompletionProcessor.readBackwards", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read some text from behind the cursor position.\nThis provides context to both filter what is shown based\non what the user has typed in, and also to provide more information for the\nlist of suggestions based on context.", "docstring_tokens": ["Read", "some", "text", "from", "behind", "the", "cursor", "position", ".", "This", "provides", "context", "to", "both", "filter", "what", "is", "shown", "based", "on", "what", "the", "user", "has", "typed", "in", "and", "also", "to", "provide", "more", "information", "for", "the", "list", "of", "suggestions", "based", "on", "context", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/completion/AbstractCompletionProcessor.java#L85-L89", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/rete/ReteooLayoutFactory.java", "func_name": "ReteooLayoutFactory.calculateReteRows", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculates layouting for provided graph.\n\n@param root graph root vertex\n\n@return Optimally layouted rows from provided graph", "docstring_tokens": ["Calculates", "layouting", "for", "provided", "graph", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/rete/ReteooLayoutFactory.java#L41-L81", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/rete/figure/VertexFigure.java", "func_name": "VertexFigure.paint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Painting antialiased vertex", "docstring_tokens": ["Painting", "antialiased", "vertex"], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/rete/figure/VertexFigure.java#L48-L67", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/rete/part/VertexEditPartFactory.java", "func_name": "VertexEditPartFactory.getPartForElement", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Maps object to EditPart.\n\n@throws RuntimeException if no match was found", "docstring_tokens": ["Maps", "object", "to", "EditPart", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/rete/part/VertexEditPartFactory.java#L51-L64", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.jbpm.eclipse/src/main/java/org/jbpm/eclipse/JBPMEclipsePlugin.java", "func_name": "JBPMEclipsePlugin.getImageDescriptor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an image descriptor for the image file at the given\nplug-in relative path.\nUses the plug ins image registry to \"cache\" it.\n\n@param path the path\n@return the image descriptor", "docstring_tokens": ["Returns", "an", "image", "descriptor", "for", "the", "image", "file", "at", "the", "given", "plug", "-", "in", "relative", "path", ".", "Uses", "the", "plug", "ins", "image", "registry", "to", "cache", "it", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.jbpm.eclipse/src/main/java/org/jbpm/eclipse/JBPMEclipsePlugin.java#L100-L109", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/DroolsPluginImages.java", "func_name": "DroolsPluginImages.declareRegistryImage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Declare an Image in the registry table.\n@param key The key to use when registering the image\n@param path The path where the image can be found. This path is relative to where\nthis plugin class is found (i.e. typically the packages directory)", "docstring_tokens": ["Declare", "an", "Image", "in", "the", "registry", "table", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/DroolsPluginImages.java#L107-L115", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/rete/RowList.java", "func_name": "RowList.add", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds new vertex to specified depth\n\n@param depth depth for vertex\n@param vertex vertex", "docstring_tokens": ["Adds", "new", "vertex", "to", "specified", "depth"], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/rete/RowList.java#L47-L58", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/rete/RowList.java", "func_name": "RowList.getRow", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds specified vertex from the rows.\n\n@param vertex vertex\n\n@return row number where vertex was found (0..n-1). -1 if not found.", "docstring_tokens": ["Finds", "specified", "vertex", "from", "the", "rows", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/rete/RowList.java#L82-L92", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/rete/RowList.java", "func_name": "RowList.getWidth", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds the longest row width.\n\n@return width of the longest row", "docstring_tokens": ["Finds", "the", "longest", "row", "width", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/rete/RowList.java#L99-L112", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/rete/RowList.java", "func_name": "RowList.dump", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Dumps all row vertices to System.err", "docstring_tokens": ["Dumps", "all", "row", "vertices", "to", "System", ".", "err"], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/rete/RowList.java#L151-L157", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/rete/RowList.java", "func_name": "RowList.optimize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Optimizes all rows for optimal presentation", "docstring_tokens": ["Optimizes", "all", "rows", "for", "optimal", "presentation"], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/rete/RowList.java#L162-L168", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/rete/ReteViewer.java", "func_name": "ReteViewer.loadReteModel", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Loads model from rule base,\ncalculates rete view and initializes diagram model.\n@param monitor\n@param contents\n@return", "docstring_tokens": ["Loads", "model", "from", "rule", "base", "calculates", "rete", "view", "and", "initializes", "diagram", "model", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/rete/ReteViewer.java#L119-L197", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/rete/ReteViewer.java", "func_name": "ReteViewer.initializeGraphicalViewer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Loads Rete model and initializes zoom manager.", "docstring_tokens": ["Loads", "Rete", "model", "and", "initializes", "zoom", "manager", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/rete/ReteViewer.java#L206-L222", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/rete/ReteViewer.java", "func_name": "ReteViewer.drawGraph", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Draws graph.\n\n@param newGraph used to replace existing graph. if null then existing graph is simply redrawn.", "docstring_tokens": ["Draws", "graph", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/rete/ReteViewer.java#L286-L315", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/debug/core/DroolsDebugTarget.java", "func_name": "DroolsDebugTarget.getDroolsBreakpoint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Tries to find a match for the provided breakpoint information from the list of registered breakpoints.\nFor stepping and possibly other purposes it returns also a breakpoint for cases where exactly the same line was not found.\n\nIf breakpoint is not found for line at source then it takes the first line that is above the\nspecified line at the same file.\n\n@param source\n@param line\n@return", "docstring_tokens": ["Tries", "to", "find", "a", "match", "for", "the", "provided", "breakpoint", "information", "from", "the", "list", "of", "registered", "breakpoints", ".", "For", "stepping", "and", "possibly", "other", "purposes", "it", "returns", "also", "a", "breakpoint", "for", "cases", "where", "exactly", "the", "same", "line", "was", "not", "found", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/debug/core/DroolsDebugTarget.java#L811-L838", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/BaselineControl.java", "func_name": "BaselineControl.setHref", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets this baseline control elment description to the given href.\n\n@param href the href of the baseline.", "docstring_tokens": ["Sets", "this", "baseline", "control", "elment", "description", "to", "the", "given", "href", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/BaselineControl.java#L65-L68", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java", "func_name": "AbstractResourceHandle.canTalkDAV", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return a boolean value indicating whether or not the server for this resource\nis DAV compliant.\n\n@return boolean true if the server can respond to DAV\nrequests, or false otherwise.\n@exception DAVException if there was a problem checking for DAV compliance", "docstring_tokens": ["Return", "a", "boolean", "value", "indicating", "whether", "or", "not", "the", "server", "for", "this", "resource", "is", "DAV", "compliant", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java#L115-L130", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java", "func_name": "AbstractResourceHandle.copy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make a copy of this resource and place it at the location specified\nby the given destination locator.\n\n@param destination the location to put the copy.\n@param depth how deep to make the copy.\n@param overwrite how to react if a resource already exists at the destination.\n@param propertyNames Collection of QualifiedNames\nof properties that MUST be copied as live properties. Specifying null\nmean that all properties must be kept alive; specifying an empty collection allows for\nno properties to be kept live. (ref http://andrew2.andrew.cmu.edu/rfc/rfc2518.html#sec-12.12.1)\n@exception DAVException if there was a problem copying this resource.\n@see IServer#copy(ILocator, ILocator, IContext, Document)", "docstring_tokens": ["Make", "a", "copy", "of", "this", "resource", "and", "place", "it", "at", "the", "location", "specified", "by", "the", "given", "destination", "locator", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java#L214-L246", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java", "func_name": "AbstractResourceHandle.examineMultiStatusResponse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If the given response contains a multistatus body, the bodies status'\nare checked for errors. If an error is found, an exception is thrown.\n\n@param response the response from the server to examine.\n@throws DAVException if the given response contains a multistatus\nbody that contains a status code signalling an error.", "docstring_tokens": ["If", "the", "given", "response", "contains", "a", "multistatus", "body", "the", "bodies", "status", "are", "checked", "for", "errors", ".", "If", "an", "error", "is", "found", "an", "exception", "is", "thrown", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java#L314-L350", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java", "func_name": "AbstractResourceHandle.extractPropStats", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Helper method to extract the property status response from\na multi status reponse, and populate a URLTable with the\nresults.\n\n@param multiStatus an editor on the response from the server.\n@return all the property status in a URLTable.\n@throws IOException if there is a problem parsing the resource URLs.\n@throws MalformedElementException if the XML is badly formed.", "docstring_tokens": ["Helper", "method", "to", "extract", "the", "property", "status", "response", "from", "a", "multi", "status", "reponse", "and", "populate", "a", "URLTable", "with", "the", "results", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java#L374-L408", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java", "func_name": "AbstractResourceHandle.getContent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the content of this resource as an input stream. The input\nstream should be closed by the user.\n\n@return the input stream\n@exception DAVException if there was a problem getting the contents\n@see IServer#get(Locator, Context)", "docstring_tokens": ["Return", "the", "content", "of", "this", "resource", "as", "an", "input", "stream", ".", "The", "input", "stream", "should", "be", "closed", "by", "the", "user", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java#L418-L428", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java", "func_name": "AbstractResourceHandle.getLocks", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return an Enumeration over ActiveLocks which lists the locks currently\nheld on this resource. Return an empty enumeration if the lock discovery\nproperty is not found on the resource.\n\n@return the enumeration of active locks\n@exception DAVException if there was a problem getting the locks\n@see #getProperty(QualifiedName)", "docstring_tokens": ["Return", "an", "Enumeration", "over", "ActiveLocks", "which", "lists", "the", "locks", "currently", "held", "on", "this", "resource", ".", "Return", "an", "empty", "enumeration", "if", "the", "lock", "discovery", "property", "is", "not", "found", "on", "the", "resource", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java#L458-L471", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java", "func_name": "AbstractResourceHandle.getProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the property status for the property with the given name.\n\n@param propertyName the name of the property\n@return the property status\n@exception DAVException if there was a problem getting the property\n@see #getProperties(Collection, String)", "docstring_tokens": ["Return", "the", "property", "status", "for", "the", "property", "with", "the", "given", "name", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java#L600-L616", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java", "func_name": "AbstractResourceHandle.head", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the header from a message send to the server.\n\n@return a context with the message header contents\n@exception DAVException if there was a problem sending the message\n@see IServer#head(Locator, Context)", "docstring_tokens": ["Return", "the", "header", "from", "a", "message", "send", "to", "the", "server", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java#L807-L818", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java", "func_name": "AbstractResourceHandle.lock", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Lock this resource using the specified parameters.\n\n@param isShared true if the lock is shared, false if the lock is exclusive\n@param depth eg. Context.DEPTH_ZERO\n@param timeout the timeout value for the lock\n@param owner the owner of the lock\n@return the lock token\n@exception DAVException if there was a problem locking this resource\n@see IServer#lock(Locator, Context, Document)", "docstring_tokens": ["Lock", "this", "resource", "using", "the", "specified", "parameters", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java#L871-L904", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java", "func_name": "AbstractResourceHandle.move", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Move this resource to the location specified by the given locator.\nIf a resource already exists at the destination and the overwrite\nboolean is true, then write over top of the existing resource. Otherwise\ndo not. The enumeration is over qualified names which are the names of\nthe properties to move.\n\n@param destination the location to move to\n@param overwrite how to react if a resource already exists at the\ndestination\n@param names Enumeration over QualifiedNames\n@exception DAVException if there was a problem moving this resource\n@see IServer#move(Locator, Locator, Context, Document)", "docstring_tokens": ["Move", "this", "resource", "to", "the", "location", "specified", "by", "the", "given", "locator", ".", "If", "a", "resource", "already", "exists", "at", "the", "destination", "and", "the", "overwrite", "boolean", "is", "true", "then", "write", "over", "top", "of", "the", "existing", "resource", ".", "Otherwise", "do", "not", ".", "The", "enumeration", "is", "over", "qualified", "names", "which", "are", "the", "names", "of", "the", "properties", "to", "move", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java#L932-L960", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java", "func_name": "AbstractResourceHandle.protectedCheckIn", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check in the receiver and answer a new Locator on the\nresulting version resource.\n\n@return the Locator to the receiver's version.\n@throws DAVException if a problem occurs with the check in request.", "docstring_tokens": ["Check", "in", "the", "receiver", "and", "answer", "a", "new", "Locator", "on", "the", "resulting", "version", "resource", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java#L989-L1001", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java", "func_name": "AbstractResourceHandle.refreshLock", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Refresh the lock on this resource with the given lock token. Use\nthe specified timeout value.\n\n@param lockToken the lock token to refresh\n@param timeout the new timeout value to use\n@exception DAVException if there was a problem refreshing the lock", "docstring_tokens": ["Refresh", "the", "lock", "on", "this", "resource", "with", "the", "given", "lock", "token", ".", "Use", "the", "specified", "timeout", "value", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java#L1036-L1052", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java", "func_name": "AbstractResourceHandle.removeProperties", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove the properties with the given names, from this resource.\n\n@param propertyNames Enumeration over\nQualifiedNames\n@exception DAVException if there was a problem removing the\nproperties\n@see IServer#proppatch(Locator, Context, Document)", "docstring_tokens": ["Remove", "the", "properties", "with", "the", "given", "names", "from", "this", "resource", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java#L1063-L1089", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java", "func_name": "AbstractResourceHandle.removeProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove the property with the given name from this resource.\n\n@param propertyName the name of the property to remove\n@exception DAVException if there was a problem removing the property\n@see #removeProperties(Collection)", "docstring_tokens": ["Remove", "the", "property", "with", "the", "given", "name", "from", "this", "resource", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java#L1098-L1102", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java", "func_name": "AbstractResourceHandle.setContent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the content of this resource to be the data stored in the given\ninput stream. The type encoding is given in the content type argument, and\nshould be in the media format described by RFC2616 Sec 3.7.\nThe stream will automatically be closed after the data\nis consumed. If the resource does not exist it is created with the\ngiven content.\n\n@param contentType the media type for the data on the input stream.\n@param input the inputstream containing the resource contents.\n@exception DAVException if there was a problem setting the contents.\n@see IServer#put(Locator, Context, InputStream)", "docstring_tokens": ["Set", "the", "content", "of", "this", "resource", "to", "be", "the", "data", "stored", "in", "the", "given", "input", "stream", ".", "The", "type", "encoding", "is", "given", "in", "the", "content", "type", "argument", "and", "should", "be", "in", "the", "media", "format", "described", "by", "RFC2616", "Sec", "3", ".", "7", ".", "The", "stream", "will", "automatically", "be", "closed", "after", "the", "data", "is", "consumed", ".", "If", "the", "resource", "does", "not", "exist", "it", "is", "created", "with", "the", "given", "content", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java#L1133-L1145", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java", "func_name": "AbstractResourceHandle.setProperties", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the given properties on this resource.\n\n@param properties a Collection of property Elements.\n@exception DAVException if there was a problem setting the properties.\n@see IServer#proppatch(Locator, Context, Document)", "docstring_tokens": ["Set", "the", "given", "properties", "on", "this", "resource", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java#L1154-L1187", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java", "func_name": "AbstractResourceHandle.setProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the given property on this resource.\n\n@param property the property to set\n@exception DAVException if there was a problem setting the property\n@see #setProperties(Collection)", "docstring_tokens": ["Set", "the", "given", "property", "on", "this", "resource", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java#L1196-L1200", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java", "func_name": "AbstractResourceHandle.unlock", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Unlock this resource with the given lock token.\n\n@param token the lock token to remove from this resource\n@exception DAVException if there was a problem unlocking this resource\n@see IServer#unlock(Locator, Context)", "docstring_tokens": ["Unlock", "this", "resource", "with", "the", "given", "lock", "token", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java#L1246-L1260", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java", "func_name": "AbstractResourceHandle.update", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Perform an UPDATE on the receiver to set the version it\nis based upon.\n\n@param version the Locator of the version that\nis the target of the update request.\n@throws DAVException if a problem occurs executing the update\non the WebDAV server.", "docstring_tokens": ["Perform", "an", "UPDATE", "on", "the", "receiver", "to", "set", "the", "version", "it", "is", "based", "upon", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java#L1271-L1284", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java", "func_name": "AbstractResourceHandle.versionControl", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Bring the receiver under version control. This means that\nthe receiver is replaced by a version-controlled resource.\nNote that the client may send version control to a resource\nthat is already under version control with no adverse effects.\n\n@throws DAVException if a problem occurs bringing the\nresource under version control.", "docstring_tokens": ["Bring", "the", "receiver", "under", "version", "control", ".", "This", "means", "that", "the", "receiver", "is", "replaced", "by", "a", "version", "-", "controlled", "resource", ".", "Note", "that", "the", "client", "may", "send", "version", "control", "to", "a", "resource", "that", "is", "already", "under", "version", "control", "with", "no", "adverse", "effects", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java#L1295-L1305", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java", "func_name": "AbstractResourceHandle.delete", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Delete this resource from the repository, optionally succeeding\nin the delete if the resource was not found on the server.\n\n@param mustExist if true then the delete will\nfail if the resource was not on the server at the time of the\ndelete request. If false the delete will succeed if\nthere was no such resource to delete.\n@exception DAVException if there was a problem deleting\nthis resource.\n@see IServer#delete(Locator, Context)", "docstring_tokens": ["Delete", "this", "resource", "from", "the", "repository", "optionally", "succeeding", "in", "the", "delete", "if", "the", "resource", "was", "not", "found", "on", "the", "server", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java#L1319-L1332", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java", "func_name": "AbstractResourceHandle.examineStatusCode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check the given status code and throw a WebDAV\nexception if the code indicates failure. If the code\nis success, this method does nothing.\n\n@param code the status code to check.\n@param message the status message accompanying the code.\n@exception WebDAVException if the server returned an HTTP/WebDAV\nerror code (i.e., anything outside the 200-series codes).", "docstring_tokens": ["Check", "the", "given", "status", "code", "and", "throw", "a", "WebDAV", "exception", "if", "the", "code", "indicates", "failure", ".", "If", "the", "code", "is", "success", "this", "method", "does", "nothing", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java#L1344-L1351", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java", "func_name": "AbstractResourceHandle.propertyHasChild", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This is a helper method to check to see if the resource has a\nproperty with the given name that in turn has a child with a\ngiven name.\n\n@return true if the resource does have such a\nproperty with a named child and false if it does\nnot have such a property or does not have such a child of the\nproperty.\n@throws DAVException if a problem occurs determining result\nfrom the server.", "docstring_tokens": ["This", "is", "a", "helper", "method", "to", "check", "to", "see", "if", "the", "resource", "has", "a", "property", "with", "the", "given", "name", "that", "in", "turn", "has", "a", "child", "with", "a", "given", "name", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java#L1489-L1502", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/http/client/Request.java", "func_name": "Request.write", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes this request's body to the given output stream. This method may\nbe called more than once during the lifetime of this request.\n\n@param os an output stream\n@exception IOException if there is an I/O error", "docstring_tokens": ["Writes", "this", "request", "s", "body", "to", "the", "given", "output", "stream", ".", "This", "method", "may", "be", "called", "more", "than", "once", "during", "the", "lifetime", "of", "this", "request", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/http/client/Request.java#L158-L168", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/internal/authentication/HexConverter.java", "func_name": "HexConverter.toHex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts the given byte array to its equivalent hexadecimal string\nand returns the result.", "docstring_tokens": ["Converts", "the", "given", "byte", "array", "to", "its", "equivalent", "hexadecimal", "string", "and", "returns", "the", "result", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/internal/authentication/HexConverter.java#L27-L34", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/internal/authentication/HexConverter.java", "func_name": "HexConverter.toHex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts the given int array to its equivalent hexadecimal string\nand returns the result.", "docstring_tokens": ["Converts", "the", "given", "int", "array", "to", "its", "equivalent", "hexadecimal", "string", "and", "returns", "the", "result", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/internal/authentication/HexConverter.java#L40-L53", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/PropFind.java", "func_name": "PropFind.setIsAllProp", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets whether this propfind is in the \"all prop\" form.\n\n@param isAllProp boolean indicating whether this propfind will be in the\n\"all prop\" form", "docstring_tokens": ["Sets", "whether", "this", "propfind", "is", "in", "the", "all", "prop", "form", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/PropFind.java#L149-L160", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/PropFind.java", "func_name": "PropFind.setIsPropName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets whether this propfind is in the \"prop name\" form.\n\n@param isPropName boolean indicating whether this propfind will be in the\n\"prop name\" form", "docstring_tokens": ["Sets", "whether", "this", "propfind", "is", "in", "the", "prop", "name", "form", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/PropFind.java#L168-L179", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/PropFind.java", "func_name": "PropFind.setProp", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates and sets a new prop on this propfind and returns an editor on\nit. This propfind must not already be in the \"all prop\" or \"prop\nname\" form.\n\n@return an editor on a new prop element", "docstring_tokens": ["Creates", "and", "sets", "a", "new", "prop", "on", "this", "propfind", "and", "returns", "an", "editor", "on", "it", ".", "This", "propfind", "must", "not", "already", "be", "in", "the", "all", "prop", "or", "prop", "name", "form", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/interface/org/eclipse/webdav/dom/PropFind.java#L188-L197", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/completion/CompletionUtil.java", "func_name": "CompletionUtil.stripLastWord", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Looks behind, gets stuff after the white space. Basically ripping out the\nlast word.", "docstring_tokens": ["Looks", "behind", "gets", "stuff", "after", "the", "white", "space", ".", "Basically", "ripping", "out", "the", "last", "word", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/completion/CompletionUtil.java#L50-L69", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/outline/RuleContentOutlinePage.java", "func_name": "RuleContentOutlinePage.update", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Updates the outline page.", "docstring_tokens": ["Updates", "the", "outline", "page", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/outline/RuleContentOutlinePage.java#L154-L167", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/http/client/Message.java", "func_name": "Message.write", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes this messages body to the given output stream. This method may\nonly be called once during the lifetime of this message.\n\n@param os an output stream\n@exception IOException if there is an I/O error", "docstring_tokens": ["Writes", "this", "messages", "body", "to", "the", "given", "output", "stream", ".", "This", "method", "may", "only", "be", "called", "once", "during", "the", "lifetime", "of", "this", "message", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/http/client/Message.java#L115-L144", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/debug/core/DroolsThread.java", "func_name": "DroolsThread.stepOver", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "I don't see the need for any of this custom stepOver stuff, why is it here?", "docstring_tokens": ["I", "don", "t", "see", "the", "need", "for", "any", "of", "this", "custom", "stepOver", "stuff", "why", "is", "it", "here?"], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/debug/core/DroolsThread.java#L126-L160", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/builder/DroolsBuilder.java", "func_name": "DroolsBuilder.markParseErrors", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This will create markers for parse errors. Parse errors mean that antlr\nhas picked up some major typos in the input source.", "docstring_tokens": ["This", "will", "create", "markers", "for", "parse", "errors", ".", "Parse", "errors", "mean", "that", "antlr", "has", "picked", "up", "some", "major", "typos", "in", "the", "input", "source", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/builder/DroolsBuilder.java#L508-L530", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/internal/authentication/Parser.java", "func_name": "Parser.skipWhiteSpace", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Skips the next sequence of white space in s. An exception is not\nthrown if there is no matching white space.", "docstring_tokens": ["Skips", "the", "next", "sequence", "of", "white", "space", "in", "s", ".", "An", "exception", "is", "not", "thrown", "if", "there", "is", "no", "matching", "white", "space", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/internal/authentication/Parser.java#L138-L141", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.tools/src/org/guvnor/tools/utils/GuvnorMetadataUtils.java", "func_name": "GuvnorMetadataUtils.addResourceToGuvnor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a resource to Guvnor.\n@param repLoc The location of the Guvnor repository\n@param targetLoc The location in Guvnor to add the resource\n@param selectedFile The resource to add\n@return true if the resource is added, false if there is already a resource\nwith the same name in the given location.", "docstring_tokens": ["Adds", "a", "resource", "to", "Guvnor", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.tools/src/org/guvnor/tools/utils/GuvnorMetadataUtils.java#L86-L138", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.tools/src/org/guvnor/tools/utils/GuvnorMetadataUtils.java", "func_name": "GuvnorMetadataUtils.commitFileChanges", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Commits changes to Guvnor.\n@param selectedFile The Guvnor controlled file with pending changes", "docstring_tokens": ["Commits", "changes", "to", "Guvnor", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.tools/src/org/guvnor/tools/utils/GuvnorMetadataUtils.java#L151-L201", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/kernel/org/eclipse/webdav/internal/kernel/Context.java", "func_name": "Context.getAge", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the sender's estimate of the time since the response was generated.\nReturn the int value for the AGE key. Return -1 if the value is not set.\n\n

Implements the corresponding API in the interface\nContext.

\n\n@return the value for AGE\n@see Context#getAge()", "docstring_tokens": ["Get", "the", "sender", "s", "estimate", "of", "the", "time", "since", "the", "response", "was", "generated", ".", "Return", "the", "int", "value", "for", "the", "AGE", "key", ".", "Return", "-", "1", "if", "the", "value", "is", "not", "set", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/kernel/org/eclipse/webdav/internal/kernel/Context.java#L272-L275", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/kernel/org/eclipse/webdav/internal/kernel/Context.java", "func_name": "Context.getContentLength", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the content length in bytes of the entity body.\nReturn the value for the CONTENT_LENGTH key.\nReturns -1 if the Content-Length has not been set.\n\n

Implements the corresponding API in the interface\nContext.

\n\n@return the value for CONTENT_LENGTH\n@see Context#getContentLength()", "docstring_tokens": ["Get", "the", "content", "length", "in", "bytes", "of", "the", "entity", "body", ".", "Return", "the", "value", "for", "the", "CONTENT_LENGTH", "key", ".", "Returns", "-", "1", "if", "the", "Content", "-", "Length", "has", "not", "been", "set", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/kernel/org/eclipse/webdav/internal/kernel/Context.java#L398-L401", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/kernel/org/eclipse/webdav/internal/kernel/Context.java", "func_name": "Context.getMaxForwards", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the integer value for the MAX_FORWARDS key.\n\n

Implements the corresponding API in the interface\nContext.

\n\n@return the value for MAX_FORWARDS\n@see Context#getMaxForwards()", "docstring_tokens": ["Return", "the", "integer", "value", "for", "the", "MAX_FORWARDS", "key", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/kernel/org/eclipse/webdav/internal/kernel/Context.java#L712-L715", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/kernel/org/eclipse/webdav/internal/kernel/Context.java", "func_name": "Context.getOverwrite", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the flag that indicates if copy or move should overwrite\nan existing destination. Return the boolean value for the\nOVERWRITE key.\n\n

Implements the corresponding API in the interface\nContext.

\n\n@return the value for OVERWRITE\n@see Context#OVERWRITE", "docstring_tokens": ["Get", "the", "flag", "that", "indicates", "if", "copy", "or", "move", "should", "overwrite", "an", "existing", "destination", ".", "Return", "the", "boolean", "value", "for", "the", "OVERWRITE", "key", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/kernel/org/eclipse/webdav/internal/kernel/Context.java#L741-L744", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/kernel/org/eclipse/webdav/internal/kernel/Context.java", "func_name": "Context.getPassthrough", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the boolean value for the PASSTHROUGH key.\n\n

Implements the corresponding API in the interface\nContext.

\n\n@return the value for PASSTHROUGH\n@see Context#getPassthrough()", "docstring_tokens": ["Return", "the", "boolean", "value", "for", "the", "PASSTHROUGH", "key", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/kernel/org/eclipse/webdav/internal/kernel/Context.java#L755-L758", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/kernel/org/eclipse/webdav/internal/kernel/Context.java", "func_name": "Context.getTimeout", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the lock timeout value. The value -1 means that the\nvalue was not set, the value -2 means that the value was \"Infinity\".\nReturn the integer value for the TIMEOUT key.\n\n

Implements the corresponding API in the interface\nContext.

\n\n@return the value for TIMEOUT\n@see Context#getTimeout()", "docstring_tokens": ["Get", "the", "lock", "timeout", "value", ".", "The", "value", "-", "1", "means", "that", "the", "value", "was", "not", "set", "the", "value", "-", "2", "means", "that", "the", "value", "was", "Infinity", ".", "Return", "the", "integer", "value", "for", "the", "TIMEOUT", "key", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/kernel/org/eclipse/webdav/internal/kernel/Context.java#L946-L956", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/kernel/org/eclipse/webdav/internal/kernel/Context.java", "func_name": "Context.put", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Put the given key-value pair into the context.\n\n@param key the key\n@param value its associated value", "docstring_tokens": ["Put", "the", "given", "key", "-", "value", "pair", "into", "the", "context", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/kernel/org/eclipse/webdav/internal/kernel/Context.java#L1076-L1082", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/kernel/org/eclipse/webdav/internal/kernel/Context.java", "func_name": "Context.setTimeout", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the lock timeout value in seconds. Pass -1 to clear the\nvalue, pass -2 to set \"Infinity\". Set the integer value for the\nTIMEOUT key.\n\n

Implements the corresponding API in the interface\nContext.

\n\n@param value the value for TIMEOUT\n@see Context#setTimeout(int)", "docstring_tokens": ["Set", "the", "lock", "timeout", "value", "in", "seconds", ".", "Pass", "-", "1", "to", "clear", "the", "value", "pass", "-", "2", "to", "set", "Infinity", ".", "Set", "the", "integer", "value", "for", "the", "TIMEOUT", "key", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.eclipse.webdav/src/kernel/org/eclipse/webdav/internal/kernel/Context.java#L1853-L1858", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/completion/DSLTree.java", "func_name": "DSLTree.openDSLFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "method will create a BufferedReader to read the file.\n@param filename\n@return", "docstring_tokens": ["method", "will", "create", "a", "BufferedReader", "to", "read", "the", "file", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/completion/DSLTree.java#L85-L94", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/completion/DSLTree.java", "func_name": "DSLTree.parseFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "method will use the BufferedReader to read the contents of the file.\nIt calls other methods to parse the line and build the tree.\n@param reader", "docstring_tokens": ["method", "will", "use", "the", "BufferedReader", "to", "read", "the", "contents", "of", "the", "file", ".", "It", "calls", "other", "methods", "to", "parse", "the", "line", "and", "build", "the", "tree", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/completion/DSLTree.java#L120-L133", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/completion/DSLTree.java", "func_name": "DSLTree.getObjMetadata", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Method will return just the object metadata\n@param text\n@return", "docstring_tokens": ["Method", "will", "return", "just", "the", "object", "metadata"], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/completion/DSLTree.java#L207-L213", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/completion/DSLTree.java", "func_name": "DSLTree.stripObjMetadata", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "method will strip the metadata from the text string\n@param text\n@return", "docstring_tokens": ["method", "will", "strip", "the", "metadata", "from", "the", "text", "string"], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/completion/DSLTree.java#L220-L226", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/completion/DSLTree.java", "func_name": "DSLTree.addTokens", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "method adds the token to root\n@param tokens", "docstring_tokens": ["method", "adds", "the", "token", "to", "root"], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/completion/DSLTree.java#L249-L255", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/completion/DSLTree.java", "func_name": "DSLTree.getConditionChildren", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "the method will tokenize the text and try to find\nthe node that matches and return the children. the method\nwill traverse down the network as far as it can and return\nthe children at that level.\n@param text\n@return", "docstring_tokens": ["the", "method", "will", "tokenize", "the", "text", "and", "try", "to", "find", "the", "node", "that", "matches", "and", "return", "the", "children", ".", "the", "method", "will", "traverse", "down", "the", "network", "as", "far", "as", "it", "can", "and", "return", "the", "children", "at", "that", "level", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/completion/DSLTree.java#L265-L287", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/completion/DSLTree.java", "func_name": "DSLTree.getChildren", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "the method expects the caller to pass the object\n@param obj\n@param text\n@return", "docstring_tokens": ["the", "method", "expects", "the", "caller", "to", "pass", "the", "object"], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/completion/DSLTree.java#L327-L367", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/completion/DSLTree.java", "func_name": "DSLTree.addChildToList", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "method will prepend the parent text to the child and generate\nthe possible combinations in text format.\n@param n\n@param prefix\n@param list", "docstring_tokens": ["method", "will", "prepend", "the", "parent", "text", "to", "the", "child", "and", "generate", "the", "possible", "combinations", "in", "text", "format", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/completion/DSLTree.java#L452-L470", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/completion/DSLTree.java", "func_name": "DSLTree.printTree", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The method will print the DSLTree to System.out in text format.", "docstring_tokens": ["The", "method", "will", "print", "the", "DSLTree", "to", "System", ".", "out", "in", "text", "format", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/completion/DSLTree.java#L491-L496", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/completion/DSLTree.java", "func_name": "DSLTree.printNode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "method will print the node and then iterate over the children\n@param n", "docstring_tokens": ["method", "will", "print", "the", "node", "and", "then", "iterate", "over", "the", "children"], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/completion/DSLTree.java#L502-L508", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/completion/DSLTree.java", "func_name": "DSLTree.printTabs", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Method will print n number of tabs\n@param count", "docstring_tokens": ["Method", "will", "print", "n", "number", "of", "tabs"], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/editors/completion/DSLTree.java#L514-L518", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.kie.eclipse/src/main/java/com/eclipsesource/json/JsonValue.java", "func_name": "JsonValue.readFrom", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads a JSON value from the given string.\n\n@param text\nthe string that contains the JSON value\n@return the JSON value that has been read\n@throws ParseException\nif the input is not valid JSON", "docstring_tokens": ["Reads", "a", "JSON", "value", "from", "the", "given", "string", "."], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.kie.eclipse/src/main/java/com/eclipsesource/json/JsonValue.java#L103-L110", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.tools/src/org/guvnor/tools/Activator.java", "func_name": "Activator.getImageDescriptor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an image descriptor for the image file at the given\nplug-in relative path\n\n@param path the path\n@return the image descriptor", "docstring_tokens": ["Returns", "an", "image", "descriptor", "for", "the", "image", "file", "at", "the", "given", "plug", "-", "in", "relative", "path"], "sha": "05e1f73c591178360a198dca29f99d73918991db", "url": "https://github.com/kiegroup/droolsjbpm-tools/blob/05e1f73c591178360a198dca29f99d73918991db/drools-eclipse/org.guvnor.tools/src/org/guvnor/tools/Activator.java#L163-L170", "partition": "test"} +{"repo": "kiegroup/droolsjbpm-tools", "path": "drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/http/client/HttpClient.java", "func_name": "HttpClient.invoke", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sends the given request to the server and returns the server's\nresponse.\n\n@param request the request to send to the server\n@return the server's response\n@throws IOException if an I/O error occurs. Reasons include:\n