Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 6,241 for IF (0.03 sec)

  1. cmd/peer-rest-server.go

    	if !ok {
    		return np, grid.NewRemoteErr(errors.New("not a pooled setup"))
    	}
    
    	startRebalance, err := strconv.ParseBool(mss.Get(peerRESTStartRebalance))
    	if err != nil {
    		return np, grid.NewRemoteErr(err)
    	}
    
    	if err := pools.loadRebalanceMeta(context.Background()); err != nil {
    		return np, grid.NewRemoteErr(err)
    	}
    
    	if startRebalance {
    		go pools.StartRebalance()
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/CacheBuilder.java

        MoreObjects.ToStringHelper s = MoreObjects.toStringHelper(this);
        if (initialCapacity != UNSET_INT) {
          s.add("initialCapacity", initialCapacity);
        }
        if (concurrencyLevel != UNSET_INT) {
          s.add("concurrencyLevel", concurrencyLevel);
        }
        if (maximumSize != UNSET_INT) {
          s.add("maximumSize", maximumSize);
        }
        if (maximumWeight != UNSET_INT) {
          s.add("maximumWeight", maximumWeight);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 52K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/collection/ArrayUtil.java

         * @return 配列が連結された結果の配列
         */
        public static <T> T[] addAll(final T[] a, final T[] b) {
            if (a == null) {
                return b;
            }
            if (b == null) {
                return a;
            }
            if (a.length == 0) {
                return b;
            }
            if (b.length == 0) {
                return a;
            }
            @SuppressWarnings("unchecked")
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  4. internal/config/storageclass/storage-class.go

    	defer ConfigLock.RUnlock()
    	switch strings.TrimSpace(sc) {
    	case RRS:
    		if !sCfg.initialized {
    			return -1
    		}
    		return sCfg.RRS.Parity
    	default:
    		if !sCfg.initialized {
    			return -1
    		}
    		return sCfg.Standard.Parity
    	}
    }
    
    // ShouldInline returns true if the shardSize is worthy of inline
    // if versioned is true then we chosen 1/8th inline block size
    // to satisfy the same constraints.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbTransport.java

             */
            synchronized (sbuf) {
                if (port == 139) {
                    ssn139();
                } else {
                    if (port == 0)
                        port = DEFAULT_PORT; // 445
    /* These Socket constructors attempt to connect before SO_TIMEOUT can be applied
                    if (localAddr == null) {
                        socket = new Socket( address.getHostAddress(), port );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  6. cmd/erasure-healing-common_test.go

    	// There should be at least half correct entries, if not return failure
    	expectedRQuorum := len(partsMetadata) / 2
    	if defaultParityCount == 0 {
    		// if parity count is '0', we expected all entries to be present.
    		expectedRQuorum = len(partsMetadata)
    	}
    
    	reducedErr := reduceReadQuorumErrs(ctx, errs, objectOpIgnoredErrs, expectedRQuorum)
    	if reducedErr != nil {
    		return FileInfo{}, reducedErr
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 15:19:10 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  7. utils/tests/utils.go

    		}
    
    		if got != nil {
    			got = reflect.Indirect(reflect.ValueOf(got)).Interface()
    		}
    
    		if expect != nil {
    			expect = reflect.Indirect(reflect.ValueOf(expect)).Interface()
    		}
    
    		if reflect.ValueOf(got).IsValid() != reflect.ValueOf(expect).IsValid() {
    			t.Errorf("%v: expect: %+v, got %+v", utils.FileWithLineNum(), expect, got)
    			return
    		}
    
    		if reflect.ValueOf(got).Kind() == reflect.Slice {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Mar 10 09:21:56 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  8. cmd/xl-storage-errors.go

    	}
    	if errors.Is(err, syscall.EEXIST) && runtime.GOOS == "solaris" {
    		return true
    	}
    	var pathErr *os.PathError
    	if errors.As(err, &pathErr) {
    		if runtime.GOOS == globalWindowsOSName {
    			var errno syscall.Errno
    			if errors.As(pathErr.Err, &errno) {
    				// ERROR_DIR_NOT_EMPTY
    				return errno == 0x91
    			}
    		}
    	}
    	return false
    }
    
    // Check if the given error corresponds to the specific ERROR_PATH_NOT_FOUND for windows
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Mar 06 16:56:29 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  9. helm/minio/templates/servicemonitor.yaml

        {{- if .Values.metrics.serviceMonitor.additionalLabels }}
          {{- toYaml .Values.metrics.serviceMonitor.additionalLabels | nindent 4 }}
        {{- end }}
      {{- if .Values.metrics.serviceMonitor.annotations }}
      annotations: {{- toYaml .Values.metrics.serviceMonitor.annotations | nindent 4 }}
      {{- end }}
    spec:
      endpoints:
        {{- if .Values.tls.enabled }}
        - port: https
          scheme: https
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Apr 17 06:04:15 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  10. cmd/bucket-policy.go

    		username = cred.ParentUser
    	}
    
    	principalType := "Anonymous"
    	if username != "" {
    		principalType = "User"
    		if len(claims) > 0 {
    			principalType = "AssumedRole"
    		}
    		if username == globalActiveCred.AccessKey {
    			principalType = "Account"
    		}
    	}
    
    	vid := r.Form.Get(xhttp.VersionID)
    	if vid == "" {
    		if u, err := url.Parse(r.Header.Get(xhttp.AmzCopySource)); err == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top