Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 299 for allocated (0.21 sec)

  1. src/arena/arena.go

    	return sl[:len]
    }
    
    // Clone makes a shallow copy of the input value that is no longer bound to any
    // arena it may have been allocated from, returning the copy. If it was not
    // allocated from an arena, it is returned untouched. This function is useful
    // to more easily let an arena-allocated value out-live its arena.
    // T must be a pointer, a slice, or a string, otherwise this function will panic.
    func Clone[T any](s T) T {
    Go
    - Registered: Tue Apr 16 11:13:10 GMT 2024
    - Last Modified: Wed Oct 12 20:23:36 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  2. common-protos/k8s.io/api/resource/v1alpha2/generated.proto

      // allocated for.
      //
      // The size of this field is limited to 128, the same as for
      // PodSchedulingSpec.PotentialNodes. This may get increased in the
      // future, but not reduced.
      //
      // +listType=set
      // +optional
      repeated string unsuitableNodes = 2;
    }
    
    // ResourceClaimSpec defines how a resource is to be allocated.
    message ResourceClaimSpec {
    Plain Text
    - Registered: Wed Apr 17 22:53:10 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  3. src/bytes/buffer.go

    // 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) }
    
    // Truncate discards all but the first n unread bytes from the buffer
    // but continues to use the same allocated storage.
    Go
    - Registered: Tue Apr 16 11:13:10 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  4. cmd/benchmark-utils_test.go

    	// md5sum of the data to written is required as input for PutObject.
    
    	md5hex := getMD5Hash(textData)
    	sha256hex := ""
    
    	// benchmark utility which helps obtain number of allocations and bytes allocated per ops.
    	b.ReportAllocs()
    	// the actual benchmark for PutObject starts here. Reset the benchmark timer.
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		// insert the object.
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Fri Dec 23 15:46:00 GMT 2022
    - 8.2K bytes
    - Viewed (0)
  5. cmd/url_test.go

    	if err != nil {
    		b.Fatal(err)
    	}
    
    	// benchmark utility which helps obtain number of allocations and bytes allocated per ops.
    	b.ReportAllocs()
    	// the actual benchmark for PutObject starts here. Reset the benchmark timer.
    	b.ResetTimer()
    
    	if err := req.ParseForm(); err != nil {
    		b.Fatal(err)
    	}
    
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Tue Nov 16 17:28:29 GMT 2021
    - 2K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/filesystem_interface.h

    ///
    /// Since memory that is allocated by the DSO gets transferred to core
    /// TensorFlow, we need to provide a way for the allocation and deallocation to
    /// match. This is why this structure also defines `plugin_memory_allocate` and
    /// `plugin_memory_free` members.
    ///
    /// All memory allocated by the plugin that will be owned by core TensorFlow
    /// must be allocated using the allocator in this structure. Core TensorFlow
    C
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
  7. src/packaging/common/packaging.properties

    # like in rpm/packaging.properties and deb/packaging.properties.
    
    # Environment file
    packaging.env.file=
    
    # Default configuration directory and file to use in bin/plugin script
    
    # Default values for min/max heap memory allocated to fess java process
    packaging.fess.heap.min=256m
    packaging.fess.heap.max=1g
    
    # Specifies the maximum file descriptor number
    packaging.os.max.open.files=65535
    
    Properties
    - Registered: Mon Apr 15 08:04:17 GMT 2024
    - Last Modified: Thu Dec 10 01:24:02 GMT 2015
    - 797 bytes
    - Viewed (0)
  8. src/builtin/builtin.go

    //	length. For example, make([]int, 0, 10) allocates an underlying array
    //	of size 10 and returns a slice of length 0 and capacity 10 that is
    //	backed by this underlying array.
    //	Map: An empty map is allocated with enough space to hold the
    //	specified number of elements. The size may be omitted, in which case
    //	a small starting size is allocated.
    //	Channel: The channel's buffer is initialized with the specified
    Go
    - Registered: Tue Apr 16 11:13:10 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

        return when {
          logger.isLoggable(Level.FINE) -> Throwable(closer) // These are expensive to allocate.
          else -> null
        }
      }
    
      open fun logCloseableLeak(
        message: String,
        stackTrace: Any?,
      ) {
        var logMessage = message
        if (stackTrace == null) {
          logMessage += " To see where this was allocated, set the OkHttpClient logger level to " +
    Plain Text
    - Registered: Fri Apr 19 11:42:09 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.8K bytes
    - Viewed (1)
  10. android/guava/src/com/google/common/collect/ObjectArrays.java

       * of the returned array is that of the specified array. If the collection fits in the specified
       * array, it is returned therein. Otherwise, a new array is allocated with the runtime type of the
       * specified array and the size of the specified collection.
       *
       * <p>If the collection fits in the specified array with room to spare (i.e., the array has more
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jun 12 15:59:22 GMT 2023
    - 9K bytes
    - Viewed (0)
Back to top