- Sort Score
- Num 10 results
- Language All
Results 381 - 390 of 2,774 for error_ (0.26 seconds)
-
tests/callbacks_test.go
callMethod(v, "Register", c.name, c.h) } if e, ok := v.(error); !ok || e != nil { err = e } } if len(data.err) > 0 && err == nil { t.Errorf("callbacks tests #%v should got error %v, but not", idx+1, data.err) } else if len(data.err) == 0 && err != nil { t.Errorf("callbacks tests #%v should not got error, but got %v", idx+1, err) }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Tue Mar 26 03:33:36 GMT 2024 - 7.2K bytes - Click Count (0) -
cmd/lock-rest-client.go
switch r.Code { case dsync.RespLockConflict, dsync.RespLockNotFound, dsync.RespOK: // no error case dsync.RespLockNotInitialized: err = errLockNotInitialized default: err = errors.New(r.Err) } return ok, err } // RLock calls read lock REST API. func (c *lockRESTClient) RLock(ctx context.Context, args dsync.LockArgs) (reply bool, err error) { return c.call(ctx, lockRPCRLock, &args) } // Lock calls lock REST API.Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Jul 29 18:10:04 GMT 2024 - 3.3K bytes - Click Count (0) -
cmd/batch-job-common-types.go
// BatchJobYamlErr can be used to return yaml validation errors with line, // column information guiding user to fix syntax errors type BatchJobYamlErr struct { line, col int msg string } // message returns the error message excluding line, col information. // Intended to be used in unit tests. func (b BatchJobYamlErr) message() string { return b.msg } // Error implements Error interface func (b BatchJobYamlErr) Error() string {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 7.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java
} } } /** * Adds a password validation error message to the messages object based on the error key. * * @param messages the FessMessages object to add the error to * @param errorKey the error key identifying the type of password validation error */ protected void addPasswordValidationError(final FessMessages messages, final String errorKey) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 02 06:18:24 GMT 2026 - 21K bytes - Click Count (0) -
tests/table_test.go
if !regexp.MustCompile("SELECT \\* FROM `user`").MatchString(r.Statement.SQL.String()) { t.Errorf("Table with escape character, got %v", r.Statement.SQL.String()) } r = dryDB.Table("user as u").Select("name").Find(&User{}).Statement if !regexp.MustCompile("SELECT .name. FROM user as u WHERE .u.\\..deleted_at. IS NULL").MatchString(r.Statement.SQL.String()) { t.Errorf("Table with escape character, got %v", r.Statement.SQL.String()) }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 12.7K bytes - Click Count (0) -
internal/mountinfo/mountinfo_linux.go
return err } } return nil } // CheckCrossDevice - check if given path has any sub-mounts in the input mounts list. func (mts mountInfos) checkCrossMounts(path string) error { if !filepath.IsAbs(path) { return fmt.Errorf("Invalid argument, path (%s) is expected to be absolute", path) } var crossMounts mountInfos for _, mount := range mts { // Add a separator to indicate that this is a proper mount-point.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 4.7K bytes - Click Count (0) -
internal/s3select/simdj/record.go
return err } if n != len(b) { return io.ErrShortWrite } return nil } // Replace the underlying buffer of json data. func (r *Record) Replace(k any) error { v, ok := k.(simdjson.Object) if !ok { return fmt.Errorf("cannot replace internal data in simd json record with type %T", k) } r.object = v return nil } // NewRecord - creates new empty JSON record.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.4K bytes - Click Count (0) -
src/bufio/scan.go
// Errors returned by Scanner. var ( ErrTooLong = errors.New("bufio.Scanner: token too long") ErrNegativeAdvance = errors.New("bufio.Scanner: SplitFunc returns negative advance count") ErrAdvanceTooFar = errors.New("bufio.Scanner: SplitFunc returns advance count beyond input") ErrBadReadCount = errors.New("bufio.Scanner: Read returned impossible count") )
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed May 21 18:05:26 GMT 2025 - 14.2K bytes - Click Count (0) -
cmd/object-api-deleteobject_test.go
if err != nil { t.Errorf("Test %d: %s: Expected to pass, but failed with: <ERROR> %s", i+1, instanceType, err.Error()) continue } if len(result.Objects) != len(testCase.objectsAfterDelete) { t.Errorf("Test %d: %s: mismatch number of objects after delete, expected = %v, found = %v", i+1, instanceType, testCase.objectsAfterDelete, result.Objects) continue }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Aug 29 01:40:52 GMT 2024 - 4.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exec/CrawlerTest.java
} // Test error handling in doCrawl @Test public void test_doCrawl_withErrors() { // Clear any previous errors try { Field errorsField = Crawler.class.getDeclaredField("errors"); errorsField.setAccessible(true); Queue<String> errors = (Queue<String>) errorsField.get(null); errors.clear(); } catch (Exception e) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 30.8K bytes - Click Count (0)