Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 7,081 for returns (0.13 sec)

  1. tensorflow/c/eager/immediate_execution_tensor_handle.h

      // Returns the device which created the handle.
      virtual const char* DeviceName(absl::Status* status) const = 0;
      // Returns the device where the tensor was placed.
      virtual const char* BackingDeviceName(absl::Status* status) const = 0;
      // Returns the device type which created the handle.
      virtual const char* DeviceType(absl::Status* status) const = 0;
      // Returns the device ID which created the handle.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. src/bytes/buffer.go

    // b.Len() == len(b.Bytes()).
    func (b *Buffer) Len() int { return len(b.buf) - b.off }
    
    // Cap returns the capacity of the buffer's underlying byte slice, that is, the
    // total space allocated for the buffer's data.
    func (b *Buffer) Cap() int { return cap(b.buf) }
    
    // Available returns how many bytes are unused in the buffer.
    func (b *Buffer) Available() int { return cap(b.buf) - len(b.buf) }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 29 16:47:05 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  3. internal/hash/checksum.go

    		return ChecksumSHA1
    	case "SHA256":
    		return ChecksumSHA256
    	case "":
    		return ChecksumNone
    	}
    	return ChecksumInvalid
    }
    
    // String returns the type as a string.
    func (c ChecksumType) String() string {
    	switch {
    	case c.Is(ChecksumCRC32):
    		return "CRC32"
    	case c.Is(ChecksumCRC32C):
    		return "CRC32C"
    	case c.Is(ChecksumSHA1):
    		return "SHA1"
    	case c.Is(ChecksumSHA256):
    		return "SHA256"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 19 12:59:07 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

    /**
     * Returns the index of the first character in this string that is [delimiter]. Returns [endIndex]
     * if there is no such character.
     */
    fun String.delimiterOffset(
      delimiter: Char,
      startIndex: Int = 0,
      endIndex: Int = length,
    ): Int {
      for (i in startIndex until endIndex) {
        if (this[i] == delimiter) return i
      }
      return endIndex
    }
    
    /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. internal/auth/credentials.go

    		return []byte(secretKey), nil
    	}
    
    	if err := jwt.ParseWithClaims(token, claims, stsTokenCallback); err != nil {
    		return nil, err
    	}
    
    	return claims, nil
    }
    
    // GetNewCredentials generates and returns new credential.
    func GetNewCredentials() (cred Credentials, err error) {
    	return GetNewCredentialsWithMetadata(map[string]interface{}{}, "")
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 12K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java

        ChecksumAlgorithm select(@Nonnull String algorithmName);
    
        /**
         * Returns a collection of {@link ChecksumAlgorithm} in same order as algorithm names are ordered, or throws if
         * any of the algorithm name is not supported. The returned collection has equal count of elements as passed in
         * collection of names, and if names contains duplicated elements, the returned list of algorithms will have
         * duplicates as well.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Jul 10 20:52:34 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/RequestBody.kt

         * ```
         */
        @JvmStatic
        @ExperimentalOkHttpApi
        fun RequestBody.gzip(): RequestBody {
          return object : RequestBody() {
            override fun contentType(): MediaType? {
              return ******@****.***tType()
            }
    
            override fun contentLength(): Long {
              return -1 // We don't know the compressed length in advance!
            }
    
            @Throws(IOException::class)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jan 25 14:41:37 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. doc/next/6-stdlib/99-minor/bytes/61901.md

    The [bytes] package adds several functions that work with iterators:
    - [Lines] returns an iterator over the
      newline-terminated lines in the byte slice s.
    - [SplitSeq] returns an iterator over
      all substrings of s separated by sep.
    - [SplitAfterSeq] returns an iterator
      over substrings of s split after each instance of sep.
    - [FieldsSeq] returns an iterator over
      substrings of s split around runs of whitespace characters,
      as defined by unicode.IsSpace.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:23:13 UTC 2024
    - 582 bytes
    - Viewed (0)
  9. src/bufio/scan.go

    		switch r {
    		case ' ', '\t', '\n', '\v', '\f', '\r':
    			return true
    		case '\u0085', '\u00A0':
    			return true
    		}
    		return false
    	}
    	// High-valued ones.
    	if '\u2000' <= r && r <= '\u200a' {
    		return true
    	}
    	switch r {
    	case '\u1680', '\u2028', '\u2029', '\u202f', '\u205f', '\u3000':
    		return true
    	}
    	return false
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 23 09:06:30 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Table.java

       *
       * @return set of column keys
       */
      Set<C> columnKeySet();
    
      /**
       * Returns a collection of all values, which may contain duplicates. Changes to the returned
       * collection will update the underlying table, and vice versa.
       *
       * @return collection of values
       */
      Collection<V> values();
    
      /**
       * Returns a view that associates each row key with the corresponding map from column keys to
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 10.7K bytes
    - Viewed (0)
Back to top