Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 2,251 for erro (0.05 sec)

  1. cmd/data-scanner.go

    			go storeDataUsageInBackend(ctx, objAPI, results)
    			err := objAPI.NSScanner(ctx, results, uint32(cycleInfo.current), scanMode)
    			scannerLogIf(ctx, err)
    			res := map[string]string{"cycle": strconv.FormatUint(cycleInfo.current, 10)}
    			if err != nil {
    				res["error"] = err.Error()
    			}
    			stopFn(res)
    			if err == nil {
    				// Store new cycle...
    				cycleInfo.next++
    				cycleInfo.current = 0
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  2. configure.py

          raising an error and quitting.
    
      Returns:
        [String] The value of var_name after querying for input.
    
      Raises:
        UserInputError: if a query has been attempted n_ask_attempts times without
          success, assume that the user has made a scripting error, and will
          continue to provide invalid input. Raise the error to avoid infinitely
          looping.
      """
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 02 22:16:02 UTC 2024
    - 48.2K bytes
    - Viewed (0)
  3. src/archive/zip/reader_test.go

    		if err == nil {
    			defer rc.Close()
    			z = &rc.Reader
    		}
    		var err2 error
    		raw, err2 = os.ReadFile(path)
    		if err2 != nil {
    			t.Errorf("ReadFile(%s) error=%v", path, err2)
    			return
    		}
    	}
    	if err != zt.Error {
    		t.Errorf("error=%v, want %v", err, zt.Error)
    		return
    	}
    
    	// bail if file is not zip
    	if err == ErrFormat {
    		return
    	}
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 55.6K bytes
    - Viewed (0)
  4. cmd/api-response.go

    	w.Header().Set(xMinIOErrCodeHeader, err.Code)
    	w.Header().Set(xMinIOErrDescHeader, "\""+err.Description+"\"")
    	writeResponse(w, err.HTTPStatusCode, nil, mimeNone)
    }
    
    func writeErrorResponseString(ctx context.Context, w http.ResponseWriter, err APIError, reqURL *url.URL) {
    	// Generate string error response.
    	writeResponse(w, err.HTTPStatusCode, []byte(err.Description), mimeNone)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  5. cmd/iam-store.go

    			return err
    		}
    
    		bootstrapTraceMsgFirstTime("loading group policy mapping")
    		// load policies mapped to groups
    		if err := store.loadMappedPolicies(ctx, regUser, true, newCache.iamGroupPolicyMap); err != nil {
    			return err
    		}
    
    		bootstrapTraceMsgFirstTime("loading service accounts")
    		// load service accounts
    		if err := store.loadUsers(ctx, svcUser, newCache.iamUsersMap); err != nil {
    			return err
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  6. cmd/object-api-utils_test.go

    					t.Errorf("error loading index: %v", err)
    				}
    				t.Log("size:", len(idx))
    				t.Log(string(index.JSON()))
    				if index.TotalUncompressed != int64(len(tt.data)) {
    					t.Errorf("Expected size %d, got %d", len(tt.data), index.TotalUncompressed)
    				}
    			}
    			var stdBuf bytes.Buffer
    			w := s2.NewWriter(&stdBuf)
    			_, err = io.CopyBuffer(w, bytes.NewReader(tt.data), buf)
    			if err != nil {
    				t.Fatal(err)
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  7. src/cmd/cgo/ast.go

    	"strings"
    )
    
    func parse(name string, src []byte, flags parser.Mode) *ast.File {
    	ast1, err := parser.ParseFile(fset, name, src, flags)
    	if err != nil {
    		if list, ok := err.(scanner.ErrorList); ok {
    			// If err is a scanner.ErrorList, its String will print just
    			// the first error and then (+n more errors).
    			// Instead, turn it into a new Error that will return
    			// details for all the errors.
    			for _, e := range list {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 14 15:47:06 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  8. src/cmd/cgo/doc.go

    assignment context to retrieve both the return value (if any) and the
    C errno variable as an error (use _ to skip the result value if the
    function returns void). For example:
    
    	n, err = C.sqrt(-1)
    	_, err := C.voidFunc()
    	var n, err = C.sqrt(1)
    
    Note that the C errno value may be non-zero, and thus the err result may be
    non-nil, even if the function call is successful. Unlike normal Go conventions,
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 01 22:52:54 UTC 2024
    - 44K bytes
    - Viewed (0)
  9. Makefile.core.mk

    HUB ?=istio
    ifeq ($(HUB),)
      $(error "HUB cannot be empty")
    endif
    
    # For dockerx builds, allow HUBS which is a space separated list of hubs. Default to HUB.
    HUBS ?= $(HUB)
    
    # If tag not explicitly set in users' .istiorc.mk or command line, default to the git sha.
    TAG ?= $(shell git rev-parse --verify HEAD)
    ifeq ($(TAG),)
      $(error "TAG cannot be empty")
    endif
    
    PULL_POLICY ?= IfNotPresent
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 03 23:53:59 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  10. cmd/object-handlers_test.go

    		}
    
    		rs := partNumberToRangeSpec(oinfo, partNumber)
    		size, err := oinfo.GetActualSize()
    		if err != nil {
    			t.Fatalf("Object: %s Object Index %d: Unexpected err: %v", object, oindex, err)
    		}
    
    		off, length, err := rs.GetOffsetLength(size)
    		if err != nil {
    			t.Fatalf("Object: %s Object Index %d: Unexpected err: %v", object, oindex, err)
    		}
    
    		readers := []io.Reader{}
    		cumulativeSum := int64(0)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
Back to top