Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 4,624 for returns (0.11 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. okhttp/src/main/kotlin/okhttp3/Handshake.kt

      /**
       * Returns the TLS version used for this connection. This value wasn't tracked prior to OkHttp
       * 3.0. For responses cached by preceding versions this returns [TlsVersion.SSL_3_0].
       */
      @get:JvmName("tlsVersion") val tlsVersion: TlsVersion,
      /** Returns the cipher suite used for the connection. */
      @get:JvmName("cipherSuite") val cipherSuite: CipherSuite,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

            this.location = location;
            this.option = option;
        }
    
        /**
         * Returns the unique name of this path type.
         *
         * @return the programmatic name of this enumeration value
         */
        @Override
        public String id() {
            return name();
        }
    
        /**
         * Returns the identification of this path in the {@code javax.tool} API.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top