Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 303 for allocated (0.21 sec)

  1. android/guava/src/com/google/common/io/ByteStreams.java

        // streams. Buffers are retained in a deque so that there's no copying between buffers while
        // reading and so all of the bytes in each new allocated buffer are available for reading from
        // the stream.
        for (int bufSize = initialBufferSize;
            totalLen < MAX_ARRAY_LEN;
            bufSize = IntMath.saturatedMultiply(bufSize, bufSize < 4096 ? 4 : 2)) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/ResponseBody.kt

     *
     * ### The response body can be consumed only once.
     *
     * This class may be used to stream very large responses. For example, it is possible to use this
     * class to read a response that is larger than the entire memory allocated to the current process.
     * It can even stream a response larger than the total storage on the current device, which is a
     * common requirement for video streaming applications.
     *
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  3. cmd/erasure-decode.go

    				readTriggerCh <- true
    				return
    			}
    			bufIdx := p.readerToBuf[i]
    			if p.buf[bufIdx] == nil {
    				// Reading first time on this disk, hence the buffer needs to be allocated.
    				// Subsequent reads will reuse this buffer.
    				p.buf[bufIdx] = make([]byte, p.shardSize)
    			}
    			// For the last shard, the shardsize might be less than previous shard sizes.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:44:59 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  4. src/cmd/cgo/doc.go

    In this section the term Go pointer means a pointer to memory
    allocated by Go (such as by using the & operator or calling the
    predefined new function) and the term C pointer means a pointer to
    memory allocated by C (such as by a call to C.malloc). Whether a
    pointer is a Go pointer or a C pointer is a dynamic property
    determined by how the memory was allocated; it has nothing to do with
    the type of the pointer.
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/url/-Url.kt

      limit: Int,
      encodeSet: String,
      alreadyEncoded: Boolean,
      strict: Boolean,
      plusIsSpace: Boolean,
      unicodeAllowed: Boolean,
      charset: Charset?,
    ) {
      var encodedCharBuffer: Buffer? = null // Lazily allocated.
      var codePoint: Int
      var i = pos
      while (i < limit) {
        codePoint = input.codePointAt(i)
        if (alreadyEncoded && (
            codePoint == '\t'.code || codePoint == '\n'.code ||
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/core/v1/generated.proto

      // +optional
      optional string hostIP = 5;
    
      // IP address allocated to the pod. Routable at least within the cluster.
      // Empty if not yet allocated.
      // +optional
      optional string podIP = 6;
    
      // podIPs holds the IP addresses allocated to the pod. If this field is specified, the 0th entry must
      // match the podIP field. Pods may be allocated at most 1 value for each of IPv4 and IPv6. This list
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 255.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/CompactHashSet.java

      }
    
      /** Returns whether arrays need to be allocated. */
      @VisibleForTesting
      boolean needsAllocArrays() {
        return table == null;
      }
    
      /** Handle lazy allocation of arrays. */
      @CanIgnoreReturnValue
      int allocArrays() {
        Preconditions.checkState(needsAllocArrays(), "Arrays already allocated");
    
        int expectedSize = metadata;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  8. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

      //   Outputs:
      std::vector<TensorHandlePtr> op_outputs_ TF_GUARDED_BY(execution_mutex_);
      // TF_Status is an incomplete type and so can't be stack allocated. To avoid
      // unnecessary allocations each Execute call, we keep one heap-allocated
      // version for the thread.
      StatusPtr status_ TF_GUARDED_BY(execution_mutex_);
    
      const std::string device_;
      ExecutorPtr executor_ TF_GUARDED_BY(execution_mutex_);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  9. tensorflow/c/experimental/next_pluggable_device/c_api.h

        TF_CoordinationServiceAgent* agent, TF_Status* status);
    
    // Obtains key-value from coordination service agent. The returned `TF_Buffer`
    // is a newly allocated buffer to hold the string key-value, and caller is
    // responsible for managing the lifetime. If error, `status` will be set and a
    // nullptr will be returned.
    TF_CAPI_EXPORT extern TF_Buffer* TF_CoordinationServiceGetKeyValue(
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Dec 20 20:01:06 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/util/MD4.java

         * @param    len        count of bytes in input block to consider
         */
        public void engineUpdate (byte[] input, int offset, int len) {
            // make sure we don't exceed input's allocated size/length
            if (offset < 0 || len < 0 || (long)offset + len > input.length)
                throw new ArrayIndexOutOfBoundsException();
    
            // compute number of bytes still unhashed; ie. present in buffer
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9.3K bytes
    - Viewed (0)
Back to top