- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 17 for preallocate (0.3 seconds)
-
benchmarks/src/main/java/org/elasticsearch/benchmark/search/aggregations/AggConstructionContentionBenchmark.java
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Jun 16 08:22:22 GMT 2021 - 12.3K bytes - Click Count (0) -
src/archive/zip/reader.go
// Since the number of directory records is not validated, it is not // safe to preallocate r.File without first checking that the specified // number of files is reasonable, since a malformed archive may // indicate it contains up to 1 << 128 - 1 files. Since each file has a // header which will be _at least_ 30 bytes we can safely preallocate // if (data size / 30) >= end.directoryRecords.
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 15 18:35:56 GMT 2026 - 28.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Maps.java
*/ @CanIgnoreReturnValue public static <K, V> ImmutableMap<K, V> uniqueIndex( Iterable<V> values, Function<? super V, K> keyFunction) { // We can provide a hint to the builder to preallocate the correct size when the iterable is // either a List (which likely has a fast size() implementation), or an ImmutableCollection // (which definitely has a fast size() implementation). While Collection also has a size()
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 157.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/Maps.java
*/ @CanIgnoreReturnValue public static <K, V> ImmutableMap<K, V> uniqueIndex( Iterable<V> values, Function<? super V, K> keyFunction) { // We can provide a hint to the builder to preallocate the correct size when the iterable is // either a List (which likely has a fast size() implementation), or an ImmutableCollection // (which definitely has a fast size() implementation). While Collection also has a size()
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 163.4K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/util/ports/ReservedPortRange.java
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 2.8K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java
for (int i = methods.length; i-- > 0; ) { methodInfos[i] = new MethodInfo(methods[i]); } int upcastCount = getAccessibleMethods(clazz, methodInfos, 0); // Reallocate array in case some method had no accessible counterpart. if (upcastCount < methods.length) { methods = new Method[upcastCount]; } int j = 0;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 13.5K bytes - Click Count (0) -
internal/grid/types.go
buf.WriteByte('&') } buf.WriteString(keyEscaped) buf.WriteByte('=') buf.WriteString(url.QueryEscape(v)) } return buf.String() } // NewBytes returns a new Bytes. // A slice is preallocated. func NewBytes() *Bytes { b := Bytes(GetByteBuffer()[:0]) return &b } // NewBytesCap returns an empty Bytes with the given capacity. func NewBytesCap(size int) *Bytes {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 15.5K bytes - Click Count (0) -
tensorflow/c/c_api.h
int max_values, TF_Status* status); // Gets the TF_Tensor valued attribute of `attr_name` of `oper`. // // Allocates a new TF_Tensor which the caller is expected to take // ownership of (and can deallocate using TF_DeleteTensor). TF_CAPI_EXPORT extern void TF_OperationGetAttrTensor(TF_Operation* oper, const char* attr_name,
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Click Count (0) -
tensorflow/c/c_api.cc
return; } if (num_return_outputs > 0 && return_outputs == nullptr) { status->status = InvalidArgument( "'return_outputs' must be preallocated to length ", num_return_outputs); return; } GraphDef def; if (!tensorflow::ParseProtoUnlimited(&def, graph_def->data, graph_def->length)) {
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 04 05:55:32 GMT 2025 - 102.4K bytes - Click Count (0) -
api/go1.16.txt
pkg syscall (darwin-arm64), const F_PEOFPOSMODE = 3 pkg syscall (darwin-arm64), const F_PEOFPOSMODE ideal-int pkg syscall (darwin-arm64), const F_PREALLOCATE = 42 pkg syscall (darwin-arm64), const F_PREALLOCATE ideal-int pkg syscall (darwin-arm64), const F_RDADVISE = 44 pkg syscall (darwin-arm64), const F_RDADVISE ideal-int pkg syscall (darwin-arm64), const F_RDAHEAD = 45
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Dec 02 16:30:41 GMT 2022 - 479.2K bytes - Click Count (0)