Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for initResults (0.38 seconds)

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

    @State(Scope.Thread)
    @Fork(value = 1)
    public class BytesArrayReadVLongBenchmark {
    
        @Param(value = { "10000000" })
        int entries;
    
        private StreamInput streamInput;
    
        @Setup
        public void initResults() throws IOException {
            final BytesStreamOutput tmp = new BytesStreamOutput();
            for (int i = 0; i < entries / 2; i++) {
                tmp.writeVLong(i);
            }
            for (int i = 0; i < entries / 2; i++) {
    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/PagedBytesReferenceReadVIntBenchmark.java

    @State(Scope.Thread)
    @Fork(value = 1)
    public class PagedBytesReferenceReadVIntBenchmark {
    
        @Param(value = { "10000000" })
        int entries;
    
        private StreamInput streamInput;
    
        @Setup
        public void initResults() throws IOException {
            final BytesStreamOutput tmp = new BytesStreamOutput();
            for (int i = 0; i < entries / 2; i++) {
                tmp.writeVInt(i);
            }
            for (int i = 0; i < entries / 2; i++) {
    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)
  3. benchmarks/src/main/java/org/elasticsearch/common/bytes/PagedBytesReferenceReadVLongBenchmark.java

    @State(Scope.Thread)
    @Fork(value = 1)
    public class PagedBytesReferenceReadVLongBenchmark {
    
        @Param(value = { "10000000" })
        int entries;
    
        private StreamInput streamInput;
    
        @Setup
        public void initResults() throws IOException {
            final BytesStreamOutput tmp = new BytesStreamOutput();
            for (int i = 0; i < entries / 2; i++) {
                tmp.writeVLong(i);
            }
            for (int i = 0; i < entries / 2; i++) {
    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)
  4. benchmarks/src/main/java/org/elasticsearch/common/bytes/BytesArrayReadLongBenchmark.java

    public class BytesArrayReadLongBenchmark {
    
        @Param(value = { "1" })
        private int dataMb;
    
        private BytesReference bytesArray;
    
        private StreamInput streamInput;
    
        @Setup
        public void initResults() throws IOException {
            final BytesStreamOutput tmp = new BytesStreamOutput();
            final long bytes = new ByteSizeValue(dataMb, ByteSizeUnit.MB).getBytes();
            for (int i = 0; i < bytes / 8; i++) {
    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)
  5. benchmarks/src/main/java/org/elasticsearch/common/bytes/PagedBytesReferenceReadLongBenchmark.java

        @Param(value = { "1" })
        private int dataMb;
    
        private BytesReference pagedBytes;
    
        private StreamInput streamInput;
    
        @Setup
        public void initResults() throws IOException {
            final BytesStreamOutput tmp = new BytesStreamOutput();
            final long bytes = new ByteSizeValue(dataMb, ByteSizeUnit.MB).getBytes();
            for (int i = 0; i < bytes / 8; i++) {
    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)
  6. benchmarks/src/main/java/org/elasticsearch/benchmark/search/aggregations/bucket/terms/StringTermsSerializationBenchmark.java

        );
        @Param(value = { "1000" })
        private int buckets;
    
        private DelayableWriteable<InternalAggregations> results;
    
        @Setup
        public void initResults() {
            results = DelayableWriteable.referencing(InternalAggregations.from(List.of(newTerms(true))));
        }
    
        private StringTerms newTerms(boolean withNested) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Aug 12 21:50:17 GMT 2021
    - 3K bytes
    - Click Count (0)
Back to Top