Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for streamInput (0.09 seconds)

  1. benchmarks/src/main/java/org/elasticsearch/common/bytes/BytesArrayReadVLongBenchmark.java

            }
            this.streamInput = bytesArray.streamInput();
        }
    
        @Benchmark
        public long readVLong() throws IOException {
            long res = 0;
            streamInput.reset();
            for (int i = 0; i < entries; i++) {
                res = res ^ streamInput.readVLong();
            }
            return res;
        }
    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)
  2. benchmarks/src/main/java/org/elasticsearch/common/bytes/BytesArrayReadLongBenchmark.java

            }
            streamInput = bytesArray.streamInput();
        }
    
        @Benchmark
        public long readLong() throws IOException {
            long res = 0L;
            streamInput.reset();
            final int reads = bytesArray.length() / 8;
            for (int i = 0; i < reads; i++) {
                res = res ^ streamInput.readLong();
            }
            return res;
        }
    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)
  3. benchmarks/src/main/java/org/elasticsearch/common/bytes/PagedBytesReferenceReadLongBenchmark.java

            }
            this.streamInput = pagedBytes.streamInput();
        }
    
        @Benchmark
        public long readLong() throws IOException {
            long res = 0L;
            streamInput.reset();
            final int reads = pagedBytes.length() / 8;
            for (int i = 0; i < reads; i++) {
                res = res ^ streamInput.readLong();
            }
            return res;
        }
    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)
  4. benchmarks/src/main/java/org/elasticsearch/common/bytes/PagedBytesReferenceReadVIntBenchmark.java

            }
            this.streamInput = pagedBytes.streamInput();
        }
    
        @Benchmark
        public int readVInt() throws IOException {
            int res = 0;
            streamInput.reset();
            for (int i = 0; i < entries; i++) {
                res = res ^ streamInput.readVInt();
            }
            return res;
        }
    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)
  5. benchmarks/src/main/java/org/elasticsearch/common/bytes/PagedBytesReferenceReadVLongBenchmark.java

            }
            this.streamInput = pagedBytes.streamInput();
        }
    
        @Benchmark
        public long readVLong() throws IOException {
            long res = 0;
            streamInput.reset();
            for (int i = 0; i < entries; i++) {
                res = res ^ streamInput.readVLong();
            }
            return res;
        }
    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)
  6. benchmarks/src/main/java/org/elasticsearch/benchmark/search/fetch/subphase/FetchSourcePhaseBenchmark.java

                    .createParser(
                        NamedXContentRegistry.EMPTY,
                        DeprecationHandler.THROW_UNSUPPORTED_OPERATION,
                        sourceBytes.streamInput(),
                        includesFilters,
                        excludesFilters
                    )
            ) {
                builder.copyCurrentStructure(parser);
                return BytesReference.bytes(builder);
    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)
Back to Top