Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for if (0.2 sec)

  1. cmd/site-replication.go

    	}
    	if selfIdx == -1 {
    		return madmin.ReplicateAddStatus{}, errSRBackendIssue(fmt.Errorf("global deployment ID %s mismatch, expected one of %s", globalDeploymentID(), deploymentIDsSet))
    	}
    	if !currDeploymentIDsSet.IsEmpty() {
    		// If current cluster is already SR enabled and no new site being added ,fail.
    		if currDeploymentIDsSet.Equals(deploymentIDsSet) {
    			return madmin.ReplicateAddStatus{}, errSRCannotJoin
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 184.1K bytes
    - Viewed (1)
  2. cmd/object-handlers_test.go

    		}
    		if testCase.copyUnmodifiedHeader != "" {
    			req.Header.Set("X-Amz-Copy-Source-If-Unmodified-Since", testCase.copyUnmodifiedHeader)
    		}
    		// Add custom metadata.
    		for k, v := range testCase.metadata {
    			req.Header.Set(k, v)
    		}
    		if testCase.metadataReplace {
    			req.Header.Set("X-Amz-Metadata-Directive", "REPLACE")
    		}
    		if testCase.metadataCopy {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  3. cmd/storage-datatypes_gen.go

    	if err != nil {
    		return
    	}
    	err = en.WriteBool(z.Recursive)
    	if err != nil {
    		err = msgp.WrapError(err, "Recursive")
    		return
    	}
    	// write "i"
    	err = en.Append(0xa1, 0x69)
    	if err != nil {
    		return
    	}
    	err = en.WriteBool(z.Immediate)
    	if err != nil {
    		err = msgp.WrapError(err, "Immediate")
    		return
    	}
    	// write "u"
    	err = en.Append(0xa1, 0x75)
    	if err != nil {
    		return
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 127.5K bytes
    - Viewed (0)
  4. cmd/bucket-replication.go

    	rcfg, err := getReplicationConfig(ctx, bucket)
    	if err != nil || rcfg == nil {
    		replLogOnceIf(ctx, err, bucket)
    		return
    	}
    	// If incoming request is a replication request, it does not need to be re-replicated.
    	if delOpts.ReplicationRequest {
    		return
    	}
    	// Skip replication if this object's prefix is excluded from being
    	// versioned.
    	if !delOpts.Versioned {
    		return
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  5. cmd/object-handlers.go

    				}
    			}
    			if reader != nil && proxy.Proxy && perr == nil {
    				gr = reader
    			}
    		}
    		if reader == nil || !proxy.Proxy {
    			// validate if the request indeed was authorized, if it wasn't we need to return "ErrAccessDenied"
    			// instead of any namespace related error.
    			if s3Error := authorizeRequest(ctx, r, policy.GetObjectAction); s3Error != ErrNone {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 125K bytes
    - Viewed (0)
  6. tensorflow/c/c_api.cc

              } else if (typestr == "list(float)") {
                metadata.type = TF_ATTR_FLOAT;
              } else if (typestr == "list(bool)") {
                metadata.type = TF_ATTR_BOOL;
              } else if (typestr == "list(type)") {
                metadata.type = TF_ATTR_TYPE;
              } else if (typestr == "list(shape)") {
                metadata.type = TF_ATTR_SHAPE;
              } else if (typestr == "list(tensor)") {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  7. cmd/metrics-v2.go

    				}
    			}
    			if g.metricsGroupOpts.dependGlobalIAMSys {
    				if globalIAMSys == nil {
    					return []MetricV2{}, nil
    				}
    			}
    			if g.metricsGroupOpts.dependGlobalLockServer {
    				if globalLockServer == nil {
    					return []MetricV2{}, nil
    				}
    			}
    			if g.metricsGroupOpts.dependGlobalIsDistErasure {
    				if !globalIsDistErasure {
    					return []MetricV2{}, nil
    				}
    			}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  8. doc/go1.17_spec.html

    </li>
    </ol>
    
    <h3 id="If_statements">If statements</h3>
    
    <p>
    "If" statements specify the conditional execution of two branches
    according to the value of a boolean expression.  If the expression
    evaluates to true, the "if" branch is executed, otherwise, if
    present, the "else" branch is executed.
    </p>
    
    <pre class="ebnf">
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  9. api/maven-api-model/src/main/mdo/maven.mdo

            <field xdoc.separator="blank">
              <name>parent</name>
              <version>4.0.0+</version>
              <description>The location of the parent project, if one exists. Values from the parent
                project will be the default for this project if they are left unspecified. The location
                is given as a group ID, artifact ID and version.</description>
              <association>
                <type>Parent</type>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Apr 23 13:29:46 GMT 2024
    - 115.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Maps.java

        public String toString() {
          if (areEqual()) {
            return "equal";
          }
    
          StringBuilder result = new StringBuilder("not equal");
          if (!onlyOnLeft.isEmpty()) {
            result.append(": only on left=").append(onlyOnLeft);
          }
          if (!onlyOnRight.isEmpty()) {
            result.append(": only on right=").append(onlyOnRight);
          }
          if (!differences.isEmpty()) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
Back to top