- Sort Score
- Result 10 results
- Languages All
Results 541 - 550 of 709 for failed (0.04 sec)
-
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 -
HeadersJvmTest.kt
addUnsafeNonAsciiAcceptsUnicodeValue() { L136: val headers = L137: Headers.Builder() L138: .addUnsafeNonAscii("header1", "valué1") L139: .build() L140: assertThat(headers.toString()).isEqualTo("header1: valué1\n") L141: } L142: L143: // Fails on JS, ClassCastException: Illegal cast L144: @Test fun ofMapThrowsOnNull() { L145: assertFailsWith<NullPointerException> { L146: (mapOf("User-Agent" to null) as Map<String, String>).toHeaders() L147: } L148: } L149: L150: @Test fun ...github.com/square/okhttp/okhttp/src/test/java/o...Mon Jan 08 01:13:22 UTC 2024 5.6K bytes -
MultipartBody.kt
/** L343: * The media-type multipart/form-data follows the rules of all multipart MIME data streams as L344: * outlined in RFC 2046. In forms, there are a series of fields to be supplied by the user who L345: * fills out the form. Each field has a name. Within a given form, the names are unique. L346: */ L347: @JvmField L348: val FORM = "multipart/form-data".toMediaType() L349: L350: private val COLONSPACE = byteArrayOf(':'.code.toByte(), ' '.code.toByte()) L351: private...github.com/square/okhttp/okhttp/src/main/kotlin...Mon Jan 08 01:13:22 UTC 2024 10.9K bytes -
MockWebServerTest.kt
@Test L448: fun statementStartsAndStops() { L449: val called = AtomicBoolean() L450: val statement = L451: server.apply( L452: object : Statement() { L453: override fun evaluate() { L454: called.set(true) L455: server.url("/").toUrl().openConnection().connect() L456: } L457: }, L458: Description.EMPTY, L459: ) L460: statement.evaluate() L461: assertThat(called.get()).isTrue() L462: try { L463: server.url("/...github.com/square/okhttp/mockwebserver-deprecat...Mon Jan 08 01:13:22 UTC 2024 21.9K bytes -
PatternFilenameFilter.java
private final Pattern pattern; L38: L39: /** L40: * Constructs a pattern file name filter object. L41: * L42: * @param patternStr the pattern string on which to filter file names L43: * @throws PatternSyntaxException if pattern compilation fails (runtime) L44: */ L45: public PatternFilenameFilter(String patternStr) { L46: this(Pattern.compile(patternStr)); L47: } L48: L49: /** L50: * Constructs a pattern file name filter object. L51: * L52: * @param pattern the pattern on which...github.com/google/guava/android/guava/src/com/g...Wed May 17 14:35:11 UTC 2023 2.8K bytes -
ImmutableSortedMultiset.java
actually copying the data when it is L226: * safe to do so. The exact circumstances under which a copy will or will not be performed are L227: * undocumented and subject to change. L228: * L229: * <p>This method is not type-safe, as it may be called on elements that are not mutually L230: * comparable. L231: * L232: * @throws ClassCastException if the elements are not mutually comparable L233: * @throws NullPointerException if any of {@code elements} is null L234: */ L235: public static...github.com/google/guava/android/guava/src/com/g...Wed Oct 16 21:21:17 UTC 2024 35.4K bytes -
popper.min.js.map
if (isBrowser && navigator.userAgent.indexOf(longerTimeoutBrowsers[i]) >= 0) {\n return 1;\n }\n }\n return 0;\n}());\n\nexport function microtaskDebounce(fn) {\n let called = false\n return () => {\n if (called) {\n return\n }\n called = true\n window.Promise.resolve().then(() => {\n called = false\n fn()\n })\n }\n}\n\nexport function taskDebounce(fn) {\n let scheduled = false;\n return () => {\n if (!scheduled) {\n scheduled = true;\n setTimeout(()...github.com/codelibs/fess/src/main/webapp/js/adm...Sat Oct 26 01:49:09 UTC 2024 120.9K bytes -
CollectionAddTester.java
until <a L103: * href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6409434">Sun bug 6409434</a> is fixed. L104: * It's unclear whether nulls were to be permitted or forbidden, but presumably the eventual fix L105: * will be to permit them, as it seems more likely that code would depend on that behavior than on L106: * the other. Thus, we say the bug is in add(), which fails to support null. L107: */ L108: @J2ktIncompatible L109: @GwtIncompatible // reflection L110: public static...github.com/google/guava/android/guava-testlib/s...Wed Oct 30 16:15:19 UTC 2024 5.9K bytes -
CollectionAddTester.java
until <a L103: * href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6409434">Sun bug 6409434</a> is fixed. L104: * It's unclear whether nulls were to be permitted or forbidden, but presumably the eventual fix L105: * will be to permit them, as it seems more likely that code would depend on that behavior than on L106: * the other. Thus, we say the bug is in add(), which fails to support null. L107: */ L108: @J2ktIncompatible L109: @GwtIncompatible // reflection L110: public static...github.com/google/guava/guava-testlib/src/com/g...Wed Oct 30 16:15:19 UTC 2024 5.9K bytes