Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for maxEntries (0.12 sec)

  1. guava/src/com/google/common/collect/ImmutableListMultimap.java

          @CheckForNull Comparator<? super V> valueComparator) {
        if (mapEntries.isEmpty()) {
          return of();
        }
        ImmutableMap.Builder<K, ImmutableList<V>> builder =
            new ImmutableMap.Builder<>(mapEntries.size());
        int size = 0;
    
        for (Entry<? extends K, ? extends Collection<? extends V>> entry : mapEntries) {
          K key = entry.getKey();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 20:20:32 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/TestMapEntrySetGenerator.java

        this.keys = keys;
        this.values = values;
      }
    
      @Override
      public SampleElements<Entry<K, V>> samples() {
        return SampleElements.mapEntries(keys, values);
      }
    
      @Override
      public Set<Entry<K, V>> create(Object... elements) {
        Entry<K, V>[] entries = createArray(elements.length);
        arraycopy(elements, 0, entries, 0, elements.length);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/TestMapEntrySetGenerator.java

        this.keys = keys;
        this.values = values;
      }
    
      @Override
      public SampleElements<Entry<K, V>> samples() {
        return SampleElements.mapEntries(keys, values);
      }
    
      @Override
      public Set<Entry<K, V>> create(Object... elements) {
        Entry<K, V>[] entries = createArray(elements.length);
        arraycopy(elements, 0, entries, 0, elements.length);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

                  countMap.entrySet().iterator();
    
              @Override
              @CheckForNull
              protected Entry<E> computeNext() {
                while (true) {
                  if (!mapEntries.hasNext()) {
                    return endOfData();
                  }
                  Map.Entry<E, AtomicInteger> mapEntry = mapEntries.next();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  5. internal/logger/target/http/http.go

    				context.Background(),
    				fmt.Errorf("unable to send audit/log entry(s) to '%s' err '%w': %d", name, err, count),
    				name,
    			)
    
    			time.Sleep(retryIntvl)
    			if maxRetries == 0 {
    				goto retry
    			}
    			retries++
    			if retries <= maxRetries {
    				goto retry
    			}
    		}
    
    		entries = make([]interface{}, 0)
    		count = 0
    		if !isDirQueue {
    			buf.Reset()
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 11 22:20:42 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/SampleElements.java

          super(1, 0, 2, 3, 4);
        }
      }
    
      public static <K extends @Nullable Object, V extends @Nullable Object>
          SampleElements<Entry<K, V>> mapEntries(SampleElements<K> keys, SampleElements<V> values) {
        return new SampleElements<>(
            mapEntry(keys.e0(), values.e0()),
            mapEntry(keys.e1(), values.e1()),
            mapEntry(keys.e2(), values.e2()),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableMultimap.java

          }
          Collection<Map.Entry<K, ImmutableCollection.Builder<V>>> mapEntries = builderMap.entrySet();
          if (keyComparator != null) {
            mapEntries = Ordering.from(keyComparator).<K>onKeys().immutableSortedCopy(mapEntries);
          }
          return ImmutableListMultimap.fromMapBuilderEntries(mapEntries, valueComparator);
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/SampleElements.java

          super(1, 0, 2, 3, 4);
        }
      }
    
      public static <K extends @Nullable Object, V extends @Nullable Object>
          SampleElements<Entry<K, V>> mapEntries(SampleElements<K> keys, SampleElements<V> values) {
        return new SampleElements<>(
            mapEntry(keys.e0(), values.e0()),
            mapEntry(keys.e1(), values.e1()),
            mapEntry(keys.e2(), values.e2()),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. internal/event/target/elasticsearch.go

    }
    
    func newClientV7(args ElasticsearchArgs) (*esClientV7, error) {
    	// Client options
    	elasticConfig := elasticsearch7.Config{
    		Addresses:  []string{args.URL.String()},
    		Transport:  args.Transport,
    		MaxRetries: 10,
    	}
    	// Set basic auth
    	if args.Username != "" && args.Password != "" {
    		elasticConfig.Username = args.Username
    		elasticConfig.Password = args.Password
    	}
    	// Create a client
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 15K bytes
    - Viewed (0)
  10. cmd/metacache-set.go

    				*mc.meta = meta
    				if meta.status == scanStateError {
    					cancel()
    					exit = true
    				}
    			}
    			metaMu.Unlock()
    		}
    	}()
    
    	const retryDelay = 200 * time.Millisecond
    	const maxTries = 5
    
    	// Keep destination...
    	// Write results to disk.
    	bw := newMetacacheBlockWriter(entries, func(b *metacacheBlock) error {
    		// if the block is 0 bytes and its a first block skip it.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
Back to top