Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,413 for Empty (0.02 sec)

  1. android/guava-tests/test/com/google/common/collect/SetViewTest.java

                      @Override
                      protected Set<String> create(String[] elements) {
                        return union(emptySet(), emptySet());
                      }
                    })
                .named("empty U empty")
                .withFeatures(CollectionSize.ZERO, CollectionFeature.ALLOWS_NULL_VALUES)
                .createTestSuite());
    
        suite.addTest(
            SetTestSuiteBuilder.using(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/RelatedQueryHelper.java

         * If the virtual host is blank or null, returns an empty string.
         *
         * @param entity the RelatedQuery entity to extract the host key from
         * @return the virtual host key, or empty string if blank or null
         */
        protected String getHostKey(final RelatedQuery entity) {
            final String key = entity.getVirtualHost();
            return StringUtil.isBlank(key) ? StringUtil.EMPTY : key;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. src/bytes/buffer.go

    func (b *Buffer) String() string {
    	if b == nil {
    		// Special case, useful in debugging.
    		return "<nil>"
    	}
    	return string(b.buf[b.off:])
    }
    
    // empty reports whether the unread portion of the buffer is empty.
    func (b *Buffer) empty() bool { return len(b.buf) <= b.off }
    
    // Len returns the number of bytes of the unread portion of the buffer;
    // b.Len() == len(b.Bytes()).
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon May 19 17:38:56 UTC 2025
    - 16K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

        }
    
        default void setDefaultLabelValue(final String value) {
            setSystemProperty(Constants.DEFAULT_LABEL_VALUE_PROPERTY, value);
            propMap.remove(DEFAULT_LABEL_VALUES);
        }
    
        default String getDefaultLabelValue() {
            return getSystemProperty(Constants.DEFAULT_LABEL_VALUE_PROPERTY, StringUtil.EMPTY);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 86.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ComparatorsTest.java

      }
    
      public void testEmptiesFirst() {
        Optional<String> empty = Optional.empty();
        Optional<String> abc = Optional.of("abc");
        Optional<String> z = Optional.of("z");
    
        Comparator<Optional<String>> comparator = emptiesFirst(comparing(String::length));
        testComparator(comparator, empty, z, abc);
    
        // Just demonstrate that no explicit type parameter is required
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/LongsTest.java

      public void testConcat() {
        assertThat(Longs.concat()).isEqualTo(EMPTY);
        assertThat(Longs.concat(EMPTY)).isEqualTo(EMPTY);
        assertThat(Longs.concat(EMPTY, EMPTY, EMPTY)).isEqualTo(EMPTY);
        assertThat(Longs.concat(ARRAY1)).isEqualTo(ARRAY1);
        assertThat(Longs.concat(ARRAY1)).isNotSameInstanceAs(ARRAY1);
        assertThat(Longs.concat(EMPTY, ARRAY1, EMPTY)).isEqualTo(ARRAY1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/ShortsTest.java

      public void testConcat() {
        assertThat(Shorts.concat()).isEqualTo(EMPTY);
        assertThat(Shorts.concat(EMPTY)).isEqualTo(EMPTY);
        assertThat(Shorts.concat(EMPTY, EMPTY, EMPTY)).isEqualTo(EMPTY);
        assertThat(Shorts.concat(ARRAY1)).isEqualTo(ARRAY1);
        assertThat(Shorts.concat(ARRAY1)).isNotSameInstanceAs(ARRAY1);
        assertThat(Shorts.concat(EMPTY, ARRAY1, EMPTY)).isEqualTo(ARRAY1);
        assertThat(Shorts.concat(ARRAY1, ARRAY1, ARRAY1))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketWriterTest.kt

          assertThat(expected.message).isEqualTo("Code 1005 is reserved and may not be used.")
        }
      }
    
      @Test fun serverEmptyPing() {
        serverWriter.writePing(EMPTY)
        assertData("8900")
      }
    
      @Test fun clientEmptyPing() {
        clientWriter.writePing(EMPTY)
        assertData("898060b420bb")
      }
    
      @Test fun serverPingWithPayload() {
        serverWriter.writePing("Hello".encodeUtf8())
        assertData("890548656c6c6f")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  9. tests/lru_test.go

    	lc := lru.NewLRU(10, func(key string, value string) { evicted = append(evicted, key, value) }, 150*time.Millisecond)
    
    	k, v, ok := lc.GetOldest()
    	if k != "" {
    		t.Fatalf("should be empty")
    	}
    	if v != "" {
    		t.Fatalf("should be empty")
    	}
    	if ok {
    		t.Fatalf("should be false")
    	}
    
    	lc.Add("key1", "val1")
    
    	time.Sleep(100 * time.Millisecond) // not enough to expire
    	if lc.Len() != 1 {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/base/super/com/google/common/base/Platform.native.js

    /**
     * @param {?string} str
     * @return {boolean} Whether the given string is null or is the empty string.
     * @public
     */
    Platform.stringIsNullOrEmpty = function(str) {
      return !str;
    };
    
    
    /**
     * @param {?string} str
     * @return {string} Original str, if it is non-null. Otherwise empty string.
     */
    Platform.nullToEmpty = function(str) {
      return str || "";
    };
    
    
    /**
     * @param {?string} str
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Mar 25 14:03:03 UTC 2020
    - 527 bytes
    - Viewed (0)
Back to top