- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 1,617 for empty (0.02 sec)
-
src/main/java/org/codelibs/core/stream/StreamUtil.java
* If the input array is {@code null}, an empty stream is returned. * * @param <T> The type of elements in the stream. * @param values The elements to be included in the stream. Can be {@code null}. * @return A {@link StreamOf} instance containing the provided values, or an empty stream if {@code values} is {@code null}. */ @SafeVarargsRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 4.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java
* * @param u the URL string to extract host from * @return the host name, or empty string if URL is blank, or unknown hostname if parsing fails */ default String getHost(final String u) { if (StringUtil.isBlank(u)) { return StringUtil.EMPTY; // empty } String url = u; final String originalUrl = url; int idx = url.indexOf("://");Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Dec 11 09:47:03 UTC 2025 - 14.1K bytes - Viewed (0) -
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 Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Apr 12 15:07:59 UTC 2025 - 6.4K bytes - Viewed (0) -
src/bufio/scan.go
// [Scanner] to read more data into the slice and try again with a // longer slice starting at the same point in the input. // // The function is never called with an empty data slice unless atEOF // is true. If atEOF is true, however, data may be non-empty and, // as always, holds unprocessed text. type SplitFunc func(data []byte, atEOF bool) (advance int, token []byte, err error) // Errors returned by Scanner. var (
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Wed May 21 18:05:26 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/NtlmMessageTest.java
// Test with empty source array dest = new byte[8]; nextOffset = NtlmMessage.writeSecurityBuffer(dest, 0, new byte[0]); assertEquals(4, nextOffset, "Should return correct next offset for empty source."); assertEquals(0, NtlmMessage.readUShort(dest, 0), "Length should be 0 for empty source.");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/bytes/buffer.go
func (b *Buffer) Peek(n int) ([]byte, error) { if b.Len() < n { return b.buf[b.off:], io.EOF } return b.buf[b.off : b.off+n], nil } // 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 Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Nov 14 19:01:17 UTC 2025 - 16.5K bytes - Viewed (0) -
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 Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 9.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ContiguousSet.java
} } catch (NoSuchElementException e) { throw new IllegalArgumentException(e); } boolean empty; if (effectiveRange.isEmpty()) { empty = true; } else { /* * requireNonNull is safe because the effectiveRange operations above would have thrown or * effectiveRange.isEmpty() would have returned true. */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/ResourceUtil.java
* * @return the application type string, or empty string if not set */ public static String getAppType() { final String appType = System.getenv(FESS_APP_TYPE); if (StringUtil.isNotBlank(appType)) { return appType; } return StringUtil.EMPTY; } /**Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvChannelBindingsTest.java
assertArrayEquals(emptyHash, avChannelBindings.getRaw(), "Value should be an empty array when empty hash is provided"); } /** * Test that the constructor stores the reference to the input byte array. * Note: The implementation does not create a defensive copy. */ @Test void testConstructorStoresReference() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0)