Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for errstr (0.24 sec)

  1. cmd/admin-handlers.go

    			usage = madmin.Usage{Size: dataUsageInfo.ObjectsTotalSize}
    		} else {
    			buckets = madmin.Buckets{Error: err.Error()}
    			objects = madmin.Objects{Error: err.Error()}
    			deleteMarkers = madmin.DeleteMarkers{Error: err.Error()}
    			usage = madmin.Usage{Error: err.Error()}
    		}
    
    		// Fetching the backend information
    		backendInfo := objectAPI.BackendInfo()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  2. cmd/bucket-replication.go

    		}
    	}
    }
    
    func replicationResyncTrace(resyncID string, startTime time.Time, duration time.Duration, path string, err error, sz int64) madmin.TraceInfo {
    	var errStr string
    	if err != nil {
    		errStr = err.Error()
    	}
    	funcName := fmt.Sprintf("replication.(resyncID=%s)", resyncID)
    	return madmin.TraceInfo{
    		TraceType: madmin.TraceReplicationResync,
    		Time:      startTime,
    		NodeName:  globalLocalNodeName,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
  3. src/database/sql/sql_test.go

    	}
    	for n, et := range execTests {
    		_, err := stmt.Exec(et.args...)
    		errStr := ""
    		if err != nil {
    			errStr = err.Error()
    		}
    		if errStr != et.wantErr {
    			t.Errorf("stmt.Execute #%d: for %v, got error %q, want error %q",
    				n, et.args, errStr, et.wantErr)
    		}
    	}
    }
    
    func TestTxPrepare(t *testing.T) {
    	db := newTestDB(t, "")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  4. src/cmd/go/internal/load/pkg.go

    )
    
    type importError struct {
    	importPath string
    	err        error // created with fmt.Errorf
    }
    
    func ImportErrorf(path, format string, args ...any) ImportPathError {
    	err := &importError{importPath: path, err: fmt.Errorf(format, args...)}
    	if errStr := err.Error(); !strings.Contains(errStr, path) {
    		panic(fmt.Sprintf("path %q not in error %q", path, errStr))
    	}
    	return err
    }
    
    func (e *importError) Error() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  5. src/reflect/all_test.go

    		defer func() {
    			e := recover()
    			if str, ok := e.(string); ok {
    				errorStr = str
    			}
    		}()
    		f()
    		return
    	}
    	e := getError(func() {
    		var ptr *int
    		ValueOf(ptr).Len()
    	})
    	wantStr := "reflect: call of reflect.Value.Len on ptr to non-array Value"
    	if e != wantStr {
    		t.Errorf("error is %q, want %q", e, wantStr)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    	r0, _, e1 := syscall.Syscall15(procCreateServiceW.Addr(), 13, uintptr(mgr), uintptr(unsafe.Pointer(serviceName)), uintptr(unsafe.Pointer(displayName)), uintptr(access), uintptr(srvType), uintptr(startType), uintptr(errCtl), uintptr(unsafe.Pointer(pathName)), uintptr(unsafe....
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
Back to top