- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 337 for Sizes (0.05 sec)
-
src/runtime/tracetype.go
maxBytes := 1 + 5*traceBytesPerNumber + len(typName) // Estimate the size of this record. This // bound is pretty loose, but avoids counting // lots of varint sizes. // // Add 1 because we might also write a traceAllocFreeTypesBatch byte. var flushed bool w, flushed = w.ensure(1 + maxBytes) if flushed { // Annotate the batch as containing types.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:31:27 UTC 2024 - 2.3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/allocator.go
// memoryAllocator := runtime.AllocatorPool.Get().(*runtime.Allocator) // defer runtime.AllocatorPool.Put(memoryAllocator) // // A note for future: // // consider introducing multiple pools for storing buffers of different sizes // perhaps this could allow us to be more efficient. var AllocatorPool = sync.Pool{ New: func() interface{} { return &Allocator{} }, } // Allocator knows how to allocate memory
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 27 03:17:50 UTC 2022 - 2.2K bytes - Viewed (0) -
platforms/core-runtime/process-services/src/main/java/org/gradle/process/internal/health/memory/MaximumHeapHelper.java
import com.google.common.annotations.VisibleForTesting; import org.gradle.internal.jvm.Jvm; import java.util.Arrays; import java.util.Locale; /** * Helper to compute maximum heap sizes. */ public class MaximumHeapHelper { /** * Get the default maximum heap. * * Different JVMs on different systems may use a different default for maximum heap when unset.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:10:02 UTC 2023 - 3K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/testdata/typeset.go
func _[_ t | []t]() {} func _[_ []t | []t]() {} func _[_ [1]t | [1]t]() {} func _[_ t[t] | t[t]]() {} // Single-expression type parameter lists and those that don't start // with a (type parameter) name are considered array sizes. // The term must be a valid expression (it could be a type incl. a // tilde term) but the type-checker will complain. type ( _[t] t _[t|t] t
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 01 17:49:03 UTC 2023 - 2.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/etcd.go
ret.StorageObjectCountTracker = storageConfig.StorageObjectCountTracker } if f.Options.EnableWatchCache { sizes, err := ParseWatchCacheSizes(f.Options.WatchCacheSizes) if err != nil { return generic.RESTOptions{}, err } size, ok := sizes[resource] if ok && size > 0 { klog.Warningf("Dropping watch-cache-size for %v - watchCache size is now dynamic", resource) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 15:02:16 UTC 2024 - 20K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/analysis/cost_analysis.h
// Analyze costs for tensorflow operations. // // The current heuristic used is quite simple, which is to calculate the total // size of input tensors. The exception is that ops whose cost is irrelevant to // input sizes, such as tf.Shape and tf.Reshape, are whitelisted to have cheap // cost. This cost analysis is expected to be used conservatively (eg. use a low // threshold to decide whether a cost is cheap or expensive), as it might not be
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 06 03:08:33 UTC 2023 - 3.1K bytes - Viewed (0) -
src/sort/search_test.go
} } func BenchmarkSearchWrappers(b *testing.B) { for i := 0; i < b.N; i++ { runSearchWrappers() } } // Abstract exhaustive test: all sizes up to 100, // all possible return values. If there are any small // corner cases, this test exercises them. func TestSearchExhaustive(t *testing.T) { for size := 0; size <= 100; size++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 07 14:42:13 UTC 2022 - 6.8K bytes - Viewed (0) -
src/bytes/bytes_test.go
buf2[n-1] = '\x00' } } func BenchmarkEqualBothUnaligned(b *testing.B) { sizes := []int{64, 4 << 10} if !isRaceBuilder { sizes = append(sizes, []int{4 << 20, 64 << 20}...) } maxSize := 2 * (sizes[len(sizes)-1] + 8) if len(bmbuf) < maxSize { bmbuf = make([]byte, maxSize) } for _, n := range sizes { for _, off := range []int{0, 1, 4, 7} { buf1 := bmbuf[off : off+n]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 12:58:37 UTC 2024 - 56.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/httpstream/wsstream/doc.go
// // "v3.channel.k8s.io" // // The third version of the Websocket RemoteCommand subprotocol adds another channel // for terminal resizing events. This channel is prepended with the byte '3', and it // transmits two window sizes (encoding TerminalSize struct) with integers in the range // (0,65536]. // // "v4.channel.k8s.io" // // The fourth version of the Websocket RemoteCommand subprotocol adds a channel for
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 05 18:37:18 UTC 2023 - 2.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java
* {@link * com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder#withFeatures(Feature...)}), * this annotation specifies each of the different sizes for which a test suite should be built. (In * a typical case, the features should include {@link CollectionSize#ANY}.) These semantics are thus * a little different from those of other Collection-related features such as {@link
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Feb 26 19:46:10 UTC 2024 - 3.4K bytes - Viewed (0)