- Sort Score
- Result 10 results
- Languages All
Results 541 - 550 of 717 for failed (0.04 sec)
-
UnicodeEscaper.java
L57: L58: /** Constructor for use by subclasses. */ L59: protected UnicodeEscaper() {} L60: L61: /** L62: * Returns the escaped form of the given Unicode code point, or {@code null} if this code point L63: * does not need to be escaped. When called as part of an escaping operation, the given code point L64: * is guaranteed to be in the range {@code 0 <= cp <= Character#MAX_CODE_POINT}. L65: * L66: * <p>If an empty array is returned, this effectively strips the input character from the...github.com/google/guava/android/guava/src/com/g...Tue Jan 18 20:55:09 UTC 2022 13.2K bytes -
concurrency.md
receive the response. L9: L10:#### Blocking APIs L11: L12:Blocking APIs are convenient because you get top-to-bottom procedural code without indirection. Network calls work like regular method calls: ask for data and it is returned. If the request fails, you get a stacktrace right where the call was made. L13: L14:Blocking APIs may be inefficient because you hold a thread idle while waiting on the network. Threads are expensive because they have both a memory overhead and a context-switching overhead....github.com/square/okhttp/docs/contribute/concur...Sun Feb 06 16:35:36 UTC 2022 7K bytes -
postinst
: indicates an upgrade L12: L13: L14: L15:# Sets the default values for fess variables used in this script L16:FESS_USER="${packaging.fess.user}" L17:FESS_GROUP="${packaging.fess.group}" L18: L19:# Source the default env file L20:FESS_ENV_FILE="${packaging.env.file}" L21:if [ -f "$FESS_ENV_FILE" ]; then L22: . "$FESS_ENV_FILE" L23:fi L24: L25:IS_UPGRADE=false L26: L27:case "$1" in L28: L29: # Debian #################################################### L30: configure) L31: L32: ...github.com/codelibs/fess/src/packaging/common/s...Thu Dec 10 01:24:02 UTC 2015 3.1K bytes -
CharEscaper.java
or {@code null} if no escaping was needed L82: */ L83: @CheckForNull L84: protected abstract char[] escape(char c); L85: L86: /** L87: * Returns the escaped form of a given literal string, starting at the given index. This method is L88: * called by the {@link #escape(String)} method when it discovers that escaping is required. It is L89: * protected to allow subclasses to override the fastpath escaping function to inline their L90: * escaping test. See {@link CharEscaperBuilder} for an...github.com/google/guava/guava/src/com/google/co...Tue Jan 18 20:55:09 UTC 2022 6.7K bytes -
AbstractFutureTest.java
L722: // 1. prior to setFuture L723: // 2. after setFuture before set() on the future assigned L724: // 3. after setFuture and set() are called but before the listener completes. L725: if (!setFutureSetSuccess.get() || !setFutureCompletionSuccess.get()) { L726: // If setFuture fails or set on the future fails then it must be because that future was L727: // cancelled L728: assertTrue(setFuture.isCancelled()); L729: assertTrue(setFuture.wasInterrupted());...github.com/google/guava/android/guava-tests/tes...Fri Oct 18 22:10:29 UTC 2024 47.1K bytes -
ByteSourceAsCharSourceReadBenchmark.java
// we reached EOF L78: return new String(buffer, 0, bufIndex); L79: } L80: // otherwise we got the size wrong. This can happen if the size changes between when L81: // we called sizeIfKnown and when we started reading the file (or I guess if L82: // maxCharsPerByte is wrong) L83: // Fallback to an incremental approach L84: StringBuilder builder = new StringBuilder(bufIndex + 32); L85: builder.append(buffer,...github.com/google/guava/android/guava-tests/ben...Mon Oct 10 19:45:10 UTC 2022 5.2K bytes -
calls.md
ways: L42: L43: * **Synchronous:** your thread blocks until the response is readable. L44: * **Asynchronous:** you enqueue the request on any thread, and get [called back](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-callback/) on another thread when the response is readable. L45: L46:Calls can be canceled from any thread. This will fail the call if it hasn’t yet completed! Code that is writing the request body or reading the response body will suffer an `IOException` when its call is canceled....github.com/square/okhttp/docs/features/calls.mdSun Feb 06 02:19:09 UTC 2022 3.9K bytes -
TestRegistration.kt
ass) L79: registerTest(access, testClass) L80: } L81: } catch (e: Exception) { L82: // If you throw an exception here then native image building fails half way through L83: // silently without rewriting the binary. So we report noisily, but keep going and prefer L84: // running most tests still. L85: e.printStackTrace() L86: } L87: } L88: } L89: L90: private fun registerTest( L91: access: Feature.BeforeAnalysisAccess, L92: java: Class<*>,...github.com/square/okhttp/native-image-tests/src...Mon Jan 08 01:13:22 UTC 2024 3.7K bytes -
ByteArrayDataInput.java
L87: @CanIgnoreReturnValue // to skip some bytes L88: @Override L89: double readDouble(); L90: L91: @CanIgnoreReturnValue // to skip a line L92: @Override L93: @CheckForNull L94: String readLine(); L95: L96: @CanIgnoreReturnValue // to skip a field L97: @Override L98: String readUTF(); L99:}...github.com/google/guava/android/guava/src/com/g...Tue Feb 28 20:13:02 UTC 2023 2.8K bytes -
MinimalIterable.java
return new MinimalIterable<>(asList(elements).iterator()); L57: } L58: L59: /** L60: * Returns an iterable whose iterator returns the given elements in order. The elements are copied L61: * out of the source collection at the time this method is called. L62: */ L63: @SuppressWarnings("unchecked") // Es come in, Es go out L64: public static <E extends @Nullable Object> MinimalIterable<E> from(Collection<E> elements) { L65: return (MinimalIterable) of(elements.toArray()); L66: } L67: L68:...github.com/google/guava/android/guava-testlib/s...Sat Oct 19 00:05:46 UTC 2024 3.2K bytes