- Sort Score
- Result 10 results
- Languages All
Results 1011 - 1020 of 1,122 for fails (0.02 sec)
-
cmd/erasure-decode.go
if errors.Is(err, errFileNotFound) || errors.Is(err, errFileCorrupt) { if derr == nil { derr = err } } } else if err != nil { // For all errors that cannot be reconstructed fail the read operation. return -1, err } if err = e.DecodeDataBlocks(bufs); err != nil { return -1, err } n, err := writeDataBlocks(ctx, writer, bufs, e.dataBlocks, blockOffset, blockLength)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Aug 29 01:40:52 UTC 2024 - 9.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java
dataMap.put("title", "Test Document"); // Execute and verify exception try { indexUpdateCallback.store(paramMap, dataMap); fail("Should throw DataStoreException"); } catch (DataStoreException e) { assertTrue(e.getMessage().contains("url is null")); } } public void test_store_withLabels() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 24.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/BytesTest.java
// it's shared to avoid using too much memory in tests byte[] sharedArray = new byte[arraysDim2]; Arrays.fill(arrays, sharedArray); try { Bytes.concat(arrays); fail(); } catch (IllegalArgumentException expected) { } } public void testEnsureCapacity() { assertThat(Bytes.ensureCapacity(EMPTY, 0, 1)).isSameInstanceAs(EMPTY);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 17.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/StringUtil.java
* Creates a new String from a char array without copying the array. * <p> * This method uses internal JDK APIs and may not be available in all Java versions. * If the internal API is not available, it falls back to the standard String constructor. * </p> * * @param chars * the char array * @return a new String */ public static String newStringUnsafe(final char[] chars) {Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 21.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt
string: String, exceptionMessage: String?, ) { try { val result = string.toHttpUrl() if (exceptionMessage != null) { fail("Expected failure with $exceptionMessage but got $result") } else { fail("Expected failure but got $result") } } catch (iae: IllegalArgumentException) { iae.printStackTrace() if (exceptionMessage != null) {Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Aug 04 07:38:48 UTC 2025 - 69.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/api/WebApiManagerTest.java
TestHttpServletResponse response = new TestHttpServletResponse(); TestFilterChain chain = new TestFilterChain(); try { manager.process(request, response, chain); fail("Expected ServletException"); } catch (ServletException e) { assertEquals("Test error", e.getMessage()); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 26.6K bytes - Viewed (0) -
docs/de/docs/python-types.md
Und jedes Attribut hat einen Typ. Dann erzeugen Sie eine Instanz dieser Klasse mit einigen Werten, und Pydantic validiert die Werte, konvertiert sie in den passenden Typ (falls notwendig) und gibt Ihnen ein Objekt mit allen Daten. Und Sie erhalten volle Editor-Unterstützung für dieses Objekt. Ein Beispiel aus der offiziellen Pydantic Dokumentation: //// tab | Python 3.10+
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 18.9K bytes - Viewed (1) -
android/guava/src/com/google/common/escape/UnicodeEscaper.java
} /** * Returns the Unicode code point of the character at the given index. * * <p>Unlike {@link Character#codePointAt(CharSequence, int)} or {@link String#codePointAt(int)} * this method will never fail silently when encountering an invalid surrogate pair. * * <p>The behaviour of this method is as follows: * * <ol> * <li>If {@code index >= end}, {@link IndexOutOfBoundsException} is thrown.Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 15:45:16 UTC 2025 - 13.2K bytes - Viewed (0) -
guava/src/com/google/common/escape/UnicodeEscaper.java
} /** * Returns the Unicode code point of the character at the given index. * * <p>Unlike {@link Character#codePointAt(CharSequence, int)} or {@link String#codePointAt(int)} * this method will never fail silently when encountering an invalid surrogate pair. * * <p>The behaviour of this method is as follows: * * <ol> * <li>If {@code index >= end}, {@link IndexOutOfBoundsException} is thrown.Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 15:45:16 UTC 2025 - 13.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/LongMathTest.java
} } } private void assertOperationEquals(long a, long b, String op, long expected, long actual) { if (expected != actual) { fail("Expected for " + a + " " + op + " " + b + " = " + expected + ", but got " + actual); } } // Depends on the correctness of BigIntegerMath.factorial. @GwtIncompatible // TODO public void testFactorial() {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 31.4K bytes - Viewed (0)