- Sort Score
- Num 10 results
- Language All
Results 1041 - 1050 of 2,757 for erros (0.14 seconds)
-
internal/deadlineconn/deadlineconn.go
func (c *DeadlineConn) Read(b []byte) (n int, err error) { if c.abortReads.Load() { return 0, context.DeadlineExceeded } c.setReadDeadline() n, err = c.Conn.Read(b) return n, err } // Write - writes data to the connection. func (c *DeadlineConn) Write(b []byte) (n int, err error) { if c.abortWrites.Load() { return 0, context.DeadlineExceeded }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Dec 02 13:21:17 GMT 2024 - 5.1K bytes - Click Count (0) -
cmd/xl-storage-format-v1_gen_test.go
t.Log("WARNING: TestEncodeDecodeChecksumInfo Msgsize() is inaccurate") } vn := ChecksumInfo{} err := msgp.Decode(&buf, &vn) if err != nil { t.Error(err) } buf.Reset() msgp.Encode(&buf, &v) err = msgp.NewReader(&buf).Skip() if err != nil { t.Error(err) } } func BenchmarkEncodeChecksumInfo(b *testing.B) { v := ChecksumInfo{} var buf bytes.Buffer msgp.Encode(&buf, &v)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 13.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/SneakyThrows.java
* sneaky checked exception. * * @return never; this method declares a return type of {@link Error} only so that callers can * write {@code throw sneakyThrow(t);} to convince the compiler that the statement will always * throw. */ @CanIgnoreReturnValue static Error sneakyThrow(Throwable t) { throw new SneakyThrows<Error>().throwIt(t); } @SuppressWarnings("unchecked") // not really safe, but that's the pointCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 30 18:44:22 GMT 2024 - 2.4K bytes - Click Count (0) -
internal/config/bool-flag.go
return "on" } return "off" } // MarshalJSON - converts BoolFlag into JSON data. func (bf BoolFlag) MarshalJSON() ([]byte, error) { return json.Marshal(bf.String()) } // UnmarshalJSON - parses given data into BoolFlag. func (bf *BoolFlag) UnmarshalJSON(data []byte) (err error) { var s string if err = json.Unmarshal(data, &s); err == nil { b := BoolFlag(true) if s == "" {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Apr 07 15:10:40 GMT 2022 - 2.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientExceptionTest.java
public class SearchEngineClientExceptionTest extends UnitFessTestCase { @Test public void test_constructor_withMessage() { // Test constructor with message only String message = "Test error message"; SearchEngineClientException exception = new SearchEngineClientException(message); assertNotNull(exception); assertEquals(message, exception.getMessage());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.1K bytes - Click Count (0) -
src/test/java/jcifs/util/transport/TransportExceptionTest.java
RuntimeException rootCause = new RuntimeException("Root cause error"); TransportException exception = new TransportException(rootCause); // Verify the exception has the correct cause assertNotNull(exception); assertEquals(rootCause, exception.getCause()); assertEquals("java.lang.RuntimeException: Root cause error", exception.getMessage()); // Test with null cause
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Route.kt
message = "moved to val", replaceWith = ReplaceWith(expression = "address"), level = DeprecationLevel.ERROR, ) fun address(): Address = address @JvmName("-deprecated_proxy") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "proxy"), level = DeprecationLevel.ERROR, ) fun proxy(): Proxy = proxy @JvmName("-deprecated_socketAddress") @Deprecated(
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/eventbus/SubscriberTest.java
throw new JudgmentError(); } @Subscribe @AllowConcurrentEvents public void threadSafeMethod(Object arg) {} /** Local Error subclass to check variety of error thrown. */ static final class JudgmentError extends Error { private static final long serialVersionUID = 634248373797713373L; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 21:52:12 GMT 2025 - 4.8K bytes - Click Count (0) -
docs/en/docs/tutorial/cookie-param-models.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 10 11:48:27 GMT 2026 - 3.1K bytes - Click Count (0) -
internal/event/arn_test.go
} for i, testCase := range testCases { data, err := xml.Marshal(testCase.arn) expectErr := (err != nil) if expectErr != testCase.expectErr { t.Fatalf("test %v: error: expected: %v, got: %v", i+1, testCase.expectErr, expectErr) } if !testCase.expectErr { if !reflect.DeepEqual(data, testCase.expectedData) {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 3.8K bytes - Click Count (0)