- Sort Score
- Result 10 results
- Languages All
Results 611 - 620 of 942 for errC (0.02 sec)
-
tests/connection_test.go
return } err := DB.Connection(func(tx *gorm.DB) error { if err := tx.Exec(setSQL, expectedName).Error; err != nil { return err } if err := tx.Raw(getSQL).Scan(&actualName).Error; err != nil { return err } return nil }) if err != nil { t.Errorf(fmt.Sprintf("WithSingleConnection should work, but got err %v", err)) } if actualName != expectedName {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Fri Jan 28 14:16:42 UTC 2022 - 963 bytes - Viewed (0) -
cmd/tier-sweeper.go
ObjName string VersionID string TierName string } func deleteObjectFromRemoteTier(ctx context.Context, objName, rvID, tierName string) error { w, err := globalTierConfigMgr.getDriver(ctx, tierName) if err != nil { return err } return w.Remove(ctx, objName, remoteVersionID(rvID))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Apr 17 05:09:58 UTC 2024 - 4.7K bytes - Viewed (0) -
internal/grid/debug.go
continue } if err := manager.Connection(remote).WaitForConnect(ctx); err != nil { panic(err) } } } } func getHosts(n int) (hosts []string, listeners []net.Listener, err error) { for i := 0; i < n; i++ { l, err := net.Listen("tcp", "127.0.0.1:0") if err != nil { if l, err = net.Listen("tcp6", "[::1]:0"); err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 4.4K bytes - Viewed (0) -
internal/s3select/select_test.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Dec 23 07:19:11 UTC 2023 - 76.2K bytes - Viewed (0) -
cmd/version_test.go
package cmd import ( "testing" "time" ) func TestVersion(t *testing.T) { Version = "2017-05-07T06:37:49Z" _, err := time.Parse(time.RFC3339, Version) if err != nil { t.Fatal(err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 956 bytes - Viewed (0) -
docs/debugging/inspect/decrypt-v1.go
"io" "github.com/secure-io/sio-go" ) func extractInspectV1(keyHex string, r io.Reader, w io.Writer, okMsg string) error { id, err := hex.DecodeString(keyHex[:8]) if err != nil { return err } key, err := hex.DecodeString(keyHex[8:]) if err != nil { return err } // Verify that CRC is ok. want := binary.LittleEndian.Uint32(id) got := crc32.ChecksumIEEE(key) if want != got {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 11 21:22:47 UTC 2024 - 1.6K bytes - Viewed (0) -
cmd/local-locker.go
} func (l *localLocker) Unlock(_ context.Context, args dsync.LockArgs) (reply bool, err error) { if len(args.Resources) > maxDeleteList { return false, fmt.Errorf("internal error: localLocker.Unlock called with more than %d resources", maxDeleteList) } l.mutex.Lock() defer l.mutex.Unlock() err = nil for _, resource := range args.Resources { lri, ok := l.lockMap[resource]
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 24 10:24:01 UTC 2024 - 10.7K bytes - Viewed (0) -
internal/s3select/csv/reader_contrib_test.go
} z, err := zip.NewReader(bytes.NewReader(f), int64(len(f))) if err != nil { t.Fatal(err) } for _, f := range z.File { if f.Name == file { rc, err := f.Open() if err != nil { t.Fatal(err) } defer rc.Close() b, err := io.ReadAll(rc) if err != nil { t.Fatal(err) } return b } } t.Fatal(file, "not found in testdata/testdata.zip") return nil
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 38.5K bytes - Viewed (0) -
docs/pt/docs/tutorial/request-form-models.md
``` //// Caso um cliente tente enviar informações adicionais, ele receberá um retorno de **erro**. Por exemplo, se o cliente tentar enviar os campos de formulário: * `username`: `Rick` * `password`: `Portal Gun` * `extra`: `Mr. Poopybutthole` Ele receberá um retorno de erro informando-o que o campo `extra` não é permitido: ```json { "detail": [ {
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.1K bytes - Viewed (0) -
internal/disk/disk_test.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 31 22:20:48 UTC 2023 - 1.1K bytes - Viewed (0)