Search Options

Results per page
Sort
Preferred Languages
Advance

Results 791 - 800 of 914 for iterate (0.09 sec)

  1. internal/store/queuestore.go

    package store
    
    import (
    	"bytes"
    	"encoding/json"
    	"errors"
    	"os"
    	"path/filepath"
    	"sort"
    	"sync"
    	"time"
    
    	"github.com/google/uuid"
    	jsoniter "github.com/json-iterator/go"
    	"github.com/klauspost/compress/s2"
    	"github.com/valyala/bytebufferpool"
    )
    
    const (
    	defaultLimit = 100000 // Default store limit.
    	defaultExt   = ".unknown"
    	compressExt  = ".snappy"
    )
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

       * instance.
       */
      private final Map<Type, Integer> emptyInstanceGenerated = new HashMap<>();
    
      final <T> void addSampleInstances(Class<T> type, Iterable<? extends T> instances) {
        sampleInstances.putAll(checkNotNull(type), checkNotNull(instances));
      }
    
      /**
       * Returns a fresh instance for {@code type} if possible. The returned instance could be:
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

        @Override
        protected SortedSet<String> create(String[] elements) {
          return ImmutableSortedSet.<String>reverseOrder().addAll(asList(elements).iterator()).build();
        }
    
        @Override
        public List<String> order(List<String> insertionOrder) {
          sort(insertionOrder, Collections.reverseOrder());
          return insertionOrder;
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  4. architecture/ambient/ztunnel-cni-lifecycle.md

    * TCP is stateful, so we cannot really just pass state over to the other process.
      If we operated at L3 we could just start processing packets in the new Ztunnel.
    * We do not operate at L7, so we cannot signal to the application, in any way, that it should reconnect (to the new Ztunnel).
    
    Realistically, that means the best we can do is:
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jul 17 23:10:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java

        @SuppressWarnings("unchecked")
        @Override
        public Entry<Country, String>[] createArray(int length) {
          return (Entry<Country, String>[]) new Entry<?, ?>[length];
        }
    
        @Override
        public Iterable<Entry<Country, String>> order(List<Entry<Country, String>> insertionOrder) {
          return insertionOrder;
        }
    
        @Override
        public Country[] createKeyArray(int length) {
          return new Country[length];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java

        filtered.put("a", 2);
        filtered.put("b", 4);
        assertEquals(ImmutableMap.of("a", 2, "b", 4), filtered);
    
        Entry<String, Integer> entry = filtered.entrySet().iterator().next();
        assertThrows(IllegalArgumentException.class, () -> entry.setValue(5));
    
        assertEquals(ImmutableMap.of("a", 2, "b", 4), filtered);
      }
    
      public void testFilteredValuesClear() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java

        cutsToTest.add(Cut.<Integer>belowAll());
        CUTS_TO_TEST = ImmutableList.copyOf(cutsToTest);
      }
    
      private void testRangesByLowerBounds(
          TreeRangeSet<Integer> rangeSet, Iterable<Range<Integer>> expectedRanges) {
        NavigableMap<Cut<Integer>, Range<Integer>> expectedRangesByLowerBound = Maps.newTreeMap();
        for (Range<Integer> range : expectedRanges) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/RegularContiguousSet.java

        // requireNonNull is safe because of the contains check.
        C c = (C) requireNonNull(target);
        return (int) domain.distance(first(), c);
      }
    
      @Override
      public UnmodifiableIterator<C> iterator() {
        return new AbstractSequentialIterator<C>(first()) {
          final C last = last();
    
          @Override
          @CheckForNull
          protected C computeNext(C previous) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/networking/v1alpha1/generated.proto

      // This field is immutable.
      // +optional
      optional string ipv6 = 4;
    }
    
    // IPAddress represents a single IP of a single IP Family. The object is designed to be used by APIs
    // that operate on IP addresses. The object is used by the Service core API for allocation of IP addresses.
    // An IP address can be represented in different formats, to guarantee the uniqueness of the IP,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractor.java

                    }
                    throw new ExtractException("PDFBox process cannot finish in " + timeout + " sec.");
                }
                if (!exceptionSet.isEmpty()) {
                    throw exceptionSet.iterator().next();
                }
                writer.flush();
                final ExtractData extractData = new ExtractData(writer.toString());
                extractMetadata(document, extractData);
                return extractData;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top