Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 7,056 for Return (0.05 sec)

  1. tensorflow/c/eager/gradients.cc

    }
    TapeTensor::~TapeTensor() { handle_->Unref(); }
    
    int64_t TapeTensor::GetID() const { return ToId(handle_); }
    
    tensorflow::DataType TapeTensor::GetDType() const {
      return handle_->DataType();
    }
    AbstractTensorHandle* TapeTensor::GetHandle() const { return handle_; }
    
    AbstractTensorHandle* TapeTensor::ZerosLike() const { return nullptr; }
    
    class TapeVSpace
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  2. internal/bucket/replication/rule.go

    	}
    	return ""
    }
    
    // Validate - validates the rule element
    func (r Rule) Validate(bucket string, sameTarget bool) error {
    	if err := r.validateID(); err != nil {
    		return err
    	}
    	if err := r.validateStatus(); err != nil {
    		return err
    	}
    	if err := r.validateFilter(); err != nil {
    		return err
    	}
    	if err := r.DeleteMarkerReplication.Validate(); err != nil {
    		return err
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jan 24 23:22:20 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  3. cmd/storage-datatypes_gen.go

    		return
    	}
    	err = en.WriteString(z.FilePath)
    	if err != nil {
    		err = msgp.WrapError(err, "FilePath")
    		return
    	}
    	// write "fi"
    	err = en.Append(0xa2, 0x66, 0x69)
    	if err != nil {
    		return
    	}
    	err = z.FI.EncodeMsg(en)
    	if err != nil {
    		err = msgp.WrapError(err, "FI")
    		return
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 150.2K bytes
    - Viewed (0)
  4. internal/bucket/encryption/bucket-sse-config.go

    	}
    }
    
    // Algo returns the SSE algorithm specified by the SSE configuration.
    func (b *BucketSSEConfig) Algo() Algorithm {
    	for _, rule := range b.Rules {
    		return rule.DefaultEncryptionAction.Algorithm
    	}
    	return ""
    }
    
    // KeyID returns the KMS key ID specified by the SSE configuration.
    // If the SSE configuration does not specify SSE-KMS it returns an
    // empty key ID.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  5. cmd/peer-rest-server.go

    	if objAPI == nil {
    		return np, grid.NewRemoteErr(errServerNotInitialized)
    	}
    
    	policyName := mss.Get(peerRESTPolicy)
    	if policyName == "" {
    		return np, grid.NewRemoteErr(errors.New("policyName is missing"))
    	}
    
    	if err := globalIAMSys.DeletePolicy(context.Background(), policyName, false); err != nil {
    		return np, grid.NewRemoteErr(err)
    	}
    
    	return
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  6. internal/bucket/versioning/versioning.go

    			return false
    		}
    	}
    	return true
    }
    
    // Suspended - returns true if versioning is suspended
    func (v Versioning) Suspended() bool {
    	return v.Status == Suspended
    }
    
    // PrefixSuspended - returns true if versioning is suspended at the bucket level
    // or suspended on the given prefix.
    func (v Versioning) PrefixSuspended(prefix string) bool {
    	if v.Status == Suspended {
    		return true
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. cmd/bucket-replication.go

    	// ignore modtime zero objects
    	if oi.ModTime.IsZero() {
    		return roi
    	}
    
    	if isVeeamSOSAPIObject(oi.Name) {
    		return roi
    	}
    	if rcfg.Config == nil || rcfg.remotes == nil {
    		return roi
    	}
    	roi = getHealReplicateObjectInfo(oi, rcfg)
    	roi.RetryCount = uint32(retryCount)
    	if !roi.Dsc.ReplicateAny() {
    		return
    	}
    	// early return if replication already done, otherwise we need to determine if this
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

            String value = joiner.toString();
            if (value.isEmpty()) {
                return new String[0];
            }
            return new String[] {option, value};
        }
    
        /**
         * {@return a string representation of this path type for debugging purposes}.
         */
        @Override
        public String toString() {
            return "PathType[" + id() + "]";
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 15K bytes
    - Viewed (0)
  9. cmd/tier.go

    func (config *TierConfigMgr) Empty() bool {
    	if config == nil {
    		return true
    	}
    	return len(config.ListTiers()) == 0
    }
    
    // TierType returns the type of tier
    func (config *TierConfigMgr) TierType(name string) string {
    	config.RLock()
    	defer config.RUnlock()
    
    	cfg, ok := config.Tiers[name]
    	if !ok {
    		return "internal"
    	}
    	return cfg.Type.String()
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:44:05 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  10. cmd/signature-v4-utils.go

    	}
    
    	// We found 'X-Amz-Content-Sha256' return the captured value.
    	if ok {
    		return v[0]
    	}
    
    	// We couldn't find 'X-Amz-Content-Sha256'.
    	return defaultSha256Cksum
    }
    
    // isValidRegion - verify if incoming region value is valid with configured Region.
    func isValidRegion(reqRegion string, confRegion string) bool {
    	if confRegion == "" {
    		return true
    	}
    	if confRegion == "US" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top