- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for BytesArray (0.14 seconds)
-
benchmarks/src/main/java/org/elasticsearch/common/bytes/BytesArrayReadLongBenchmark.java
for (int i = 0; i < bytes / 8; i++) { tmp.writeLong(i); } bytesArray = tmp.copyBytes(); if (bytesArray instanceof BytesArray == false) { throw new AssertionError("expected BytesArray but saw [" + bytesArray.getClass() + "]"); } streamInput = bytesArray.streamInput(); } @Benchmark public long readLong() throws IOException {
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Apr 12 20:25:06 GMT 2021 - 2.3K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/common/bytes/BytesArrayReadVLongBenchmark.java
tmp.writeVLong(Long.MAX_VALUE - i); } BytesReference bytesArray = tmp.copyBytes(); if (bytesArray instanceof BytesArray == false) { throw new AssertionError("expected BytesArray but saw [" + bytesArray.getClass() + "]"); } this.streamInput = bytesArray.streamInput(); } @Benchmark public long readVLong() throws IOException {
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Apr 12 20:25:06 GMT 2021 - 2.2K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/benchmark/search/fetch/subphase/FetchSourcePhaseBenchmark.java
package org.elasticsearch.benchmark.search.fetch.subphase; import org.elasticsearch.common.Strings; import org.elasticsearch.common.bytes.BytesArray; import org.elasticsearch.common.bytes.BytesReference; import org.elasticsearch.common.io.Streams; import org.elasticsearch.common.io.stream.BytesStreamOutput; import org.elasticsearch.common.xcontent.DeprecationHandler; import org.elasticsearch.common.xcontent.NamedXContentRegistry;
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Sep 13 17:34:14 GMT 2021 - 5.4K bytes - Click Count (0)