- Sort Score
- Result 10 results
- Languages All
Results 901 - 910 of 2,450 for erros (0.03 sec)
-
internal/handlers/forwarder.go
} revproxy.ServeHTTP(w, outReq) } // customErrHandler is originally implemented to avoid having the following error // // `http: proxy error: context canceled` printed by Golang func (f *Forwarder) customErrHandler(w http.ResponseWriter, r *http.Request, err error) { if f.Logger != nil && err != context.Canceled { f.Logger(err) } w.WriteHeader(http.StatusBadGateway) }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 5.7K bytes - Viewed (0) -
schema/field_test.go
"age": 20, "birthday": time.Now(), "active": f, } for k, v := range newValues { if err := userSchema.FieldsByDBName[k].Set(context.Background(), reflectValue, v); err != nil { t.Errorf("no error should happen when assign value to field %v, but got %v", k, err) } } newValues["updated_at"] = time.Time{} newValues["active"] = false checkField(t, userSchema, reflectValue, newValues)
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sat Feb 19 09:02:53 UTC 2022 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcErrorTest.java
DcerpcException ex1 = new DcerpcException("Test error", null); assertTrue(ex1 instanceof DcerpcError, "DcerpcException should implement DcerpcError"); // Test that DcerpcException can be created with string messages DcerpcException ex2 = new DcerpcException("Access denied error"); assertTrue(ex2 instanceof DcerpcError, "DcerpcException should implement DcerpcError");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
tests/test_tuples.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 9.8K bytes - Viewed (0) -
tests/test_tutorial/test_body/test_tutorial001.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 10.6K bytes - Viewed (0) -
schema/callbacks_test.go
type UserWithCallback struct{} func (UserWithCallback) BeforeSave(*gorm.DB) error { return nil } func (UserWithCallback) AfterCreate(*gorm.DB) error { return nil } func TestCallback(t *testing.T) { user, err := schema.Parse(&UserWithCallback{}, &sync.Map{}, schema.NamingStrategy{}) if err != nil { t.Fatalf("failed to parse user with callback, got error %v", err) }Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 939 bytes - Viewed (0) -
cmd/site-replication-metrics_gen.go
// Code generated by github.com/tinylib/msgp DO NOT EDIT. package cmd import ( "github.com/tinylib/msgp/msgp" ) // DecodeMsg implements msgp.Decodable func (z *RStat) DecodeMsg(dc *msgp.Reader) (err error) { var field []byte _ = field var zb0001 uint32 zb0001, err = dc.ReadMapHeader() if err != nil { err = msgp.WrapError(err) return } for zb0001 > 0 { zb0001-- field, err = dc.ReadMapKeyPtr()
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 40.3K bytes - Viewed (0) -
tests/test_tutorial/test_generate_clients/test_tutorial004.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java
assertEquals(expectedLength, actualLength); } @Test @DisplayName("Test readDataWireFormat with error code returns 4") void testReadDataWireFormatWithErrorCode() throws Exception { byte[] buffer = new byte[100]; // Set error code to non-zero setErrorCode(response, 1); int result = response.readDataWireFormat(buffer, 0, buffer.length);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (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
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0)