Search Options

Results per page
Sort
Preferred Languages
Advance

Results 431 - 440 of 717 for unapply (0.06 sec)

  1. android/guava-tests/test/com/google/common/io/LineBufferTest.java

        List<String> expectRead =
            Lists.transform(
                expectProcess,
                new Function<String, String>() {
                  @Override
                  public String apply(String value) {
                    return value.replaceAll("[\\r\\n]", "");
                  }
                });
    
        for (int chunk : CHUNK_SIZES) {
          chunk = max(1, min(chunk, input.length()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/ReflectionFreeAssertThrows.java

                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
          if (predicate.apply(t)) {
            // We are careful to set up INSTANCE_OF to match each Predicate to its target Class.
            @SuppressWarnings("unchecked")
            T caught = (T) t;
            return caught;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/net/ReflectionFreeAssertThrows.java

                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
          if (predicate.apply(t)) {
            // We are careful to set up INSTANCE_OF to match each Predicate to its target Class.
            @SuppressWarnings("unchecked")
            T caught = (T) t;
            return caught;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/escape/ReflectionFreeAssertThrows.java

                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
          if (predicate.apply(t)) {
            // We are careful to set up INSTANCE_OF to match each Predicate to its target Class.
            @SuppressWarnings("unchecked")
            T caught = (T) t;
            return caught;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/LineBufferTest.java

        List<String> expectRead =
            Lists.transform(
                expectProcess,
                new Function<String, String>() {
                  @Override
                  public String apply(String value) {
                    return value.replaceAll("[\\r\\n]", "");
                  }
                });
    
        for (int chunk : CHUNK_SIZES) {
          chunk = max(1, min(chunk, input.length()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. internal/store/queuestore.go

    	"github.com/klauspost/compress/s2"
    	"github.com/valyala/bytebufferpool"
    )
    
    const (
    	defaultLimit = 100000 // Default store limit.
    	defaultExt   = ".unknown"
    	compressExt  = ".snappy"
    )
    
    // errLimitExceeded error is sent when the maximum limit is reached.
    var errLimitExceeded = errors.New("the maximum store limit reached")
    
    // QueueStore - Filestore for persisting items.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/net/HostAndPortTest.java

        } catch (IllegalArgumentException e) {
          // Make sure we expected this.
          assertNull(expectHost);
          return;
        }
        assertNotNull(expectHost);
    
        // Apply withDefaultPort(), yielding hp2.
        final boolean badDefaultPort = (defaultPort < 0 || defaultPort > 65535);
        HostAndPort hp2 = null;
        try {
          hp2 = hp.withDefaultPort(defaultPort);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ForwardingMultisetTest.java

        new ForwardingWrapperTester()
            .testForwarding(
                Multiset.class,
                new Function<Multiset, Multiset>() {
                  @Override
                  public Multiset apply(Multiset delegate) {
                    return wrap(delegate);
                  }
                });
      }
    
      public void testEquals() {
        Multiset<String> set1 = ImmutableMultiset.of("one");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Iterables.java

        // implementation.
        int from = 0;
        int to = 0;
    
        for (; from < list.size(); from++) {
          T element = list.get(from);
          if (!predicate.apply(element)) {
            if (from > to) {
              try {
                list.set(to, element);
              } catch (UnsupportedOperationException e) {
                slowRemoveIfForRemainingElements(list, predicate, to, from);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Interners.java

        private final Interner<E> interner;
    
        public InternerFunction(Interner<E> interner) {
          this.interner = interner;
        }
    
        @Override
        public E apply(E input) {
          return interner.intern(input);
        }
    
        @Override
        public int hashCode() {
          return interner.hashCode();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 5.9K bytes
    - Viewed (0)
Back to top