Search Options

Results per page
Sort
Preferred Languages
Advance

Results 751 - 760 of 836 for isEmpty (0.06 sec)

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

          for (int i = size - 1; i >= 0; i--) {
            if (!seen.add(entries[i].getKey())) {
              dups.set(i);
            }
          }
          if (dups.isEmpty()) {
            return null;
          }
          @SuppressWarnings({"rawtypes", "unchecked"})
          Entry<K, V>[] newEntries = new Entry[size - dups.cardinality()];
          for (int inI = 0, outI = 0; inI < size; inI++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  2. internal/event/target/nats.go

    	} `json:"streaming"`
    
    	RootCAs *x509.CertPool `json:"-"`
    }
    
    // Validate NATSArgs fields
    func (n NATSArgs) Validate() error {
    	if !n.Enable {
    		return nil
    	}
    
    	if n.Address.IsEmpty() {
    		return errors.New("empty address")
    	}
    
    	if n.Subject == "" {
    		return errors.New("empty subject")
    	}
    
    	if n.ClientCert != "" && n.ClientKey == "" || n.ClientCert == "" && n.ClientKey != "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

                list.subList(0, size - 1),
                list.subList(1, size),
                list.subList(0, 0),
                list.subList(size, size))) {
          assertEquals(subList.size() == 0, subList.isEmpty());
        }
      }
    
      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testSubList_get() {
        List<E> list = getList();
        int size = getNumElements();
        List<E> copy = list.subList(0, size);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

                list.subList(0, size - 1),
                list.subList(1, size),
                list.subList(0, 0),
                list.subList(size, size))) {
          assertEquals(subList.size() == 0, subList.isEmpty());
        }
      }
    
      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testSubList_get() {
        List<E> list = getList();
        int size = getNumElements();
        List<E> copy = list.subList(0, size);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

            result.get(10, SECONDS);
          }
          // TODO(cpovirk): Verify that the cancelled futures are exactly ones that we expect.
        }
    
        assertThat(logHandler.getStoredLogRecords()).isEmpty();
      }
    
      public void testAvoidsStackOverflow_manySubmitted() throws Exception {
        final SettableFuture<@Nullable Void> settableFuture = SettableFuture.create();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

            }
            return searchWithMultipleSearchers(availableSearchers, query, params, userBean);
        }
    
        protected RankFusionSearcher[] getAvailableSearchers() {
            if (availableSearcherNameSet.isEmpty()) {
                return searchers;
            }
            final RankFusionSearcher[] availableSearchers = Arrays.stream(searchers)
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/LocalCache.java

      abstract class AbstractCacheSet<T> extends AbstractSet<T> {
        @Override
        public int size() {
          return LocalCache.this.size();
        }
    
        @Override
        public boolean isEmpty() {
          return LocalCache.this.isEmpty();
        }
    
        @Override
        public void clear() {
          LocalCache.this.clear();
        }
      }
    
      boolean removeIf(BiPredicate<? super K, ? super V> filter) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/CharsTest.java

        assertThrows(IllegalArgumentException.class, () -> Chars.ensureCapacity(ARRAY1, 1, -1));
      }
    
      public void testJoin() {
        assertThat(Chars.join(",", EMPTY)).isEmpty();
        assertThat(Chars.join(",", '1')).isEqualTo("1");
        assertThat(Chars.join(",", '1', '2')).isEqualTo("1,2");
        assertThat(Chars.join("", '1', '2', '3')).isEqualTo("123");
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

        }
    
        protected String getResultDataBody(final String name, final List<String> values) {
            final StringBuilder buf = new StringBuilder();
            buf.append("<list>");
            if (values != null && !values.isEmpty()) {
                for (final String value : values) {
                    buf.append("<item>");
                    buf.append(trimSpace(XmlUtil.escapeXml(value)));
                    buf.append("</item>");
                }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Longs.java

       * @throws NullPointerException if {@code string} is {@code null}
       * @since 19.0
       */
      @CheckForNull
      public static Long tryParse(String string, int radix) {
        if (checkNotNull(string).isEmpty()) {
          return null;
        }
        if (radix < Character.MIN_RADIX || radix > Character.MAX_RADIX) {
          throw new IllegalArgumentException(
              "radix must be between MIN_RADIX and MAX_RADIX but was " + radix);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 29.3K bytes
    - Viewed (0)
Back to top