- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 235 for empty (0.05 seconds)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java
} return Optional.empty(); } @Override public Optional<Boolean> showVersionAndExit() { if (commandLine.hasOption(CLIManager.SHOW_VERSION_AND_EXIT)) { return Optional.of(Boolean.TRUE); } return Optional.empty(); } @Override public Optional<Boolean> showVersion() {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Oct 08 07:36:42 GMT 2025 - 21.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketReaderTest.kt
data.write("8a00".decodeHex()) // Pong data.write("80026c6f".decodeHex()) // lo clientReader.processNextFrame() callback.assertPong(EMPTY) callback.assertPong(EMPTY) callback.assertPong(EMPTY) callback.assertPong(EMPTY) callback.assertTextMessage("Hello") } @Test fun clientTwoFrameCompressedHelloWithPongs() {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 16:11:23 GMT 2025 - 14.4K bytes - Click Count (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()).
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Nov 14 19:01:17 GMT 2025 - 16.5K bytes - Click Count (0) -
internal/config/config.go
if spc { s.WriteString(KvDoubleQuote) } return s.String() } // KVS - is a shorthand for some wrapper functions // to operate on list of key values. type KVS []KV // Empty - return if kv is empty func (kvs KVS) Empty() bool { return len(kvs) == 0 } // Clone - returns a copy of the KVS func (kvs KVS) Clone() KVS { return append(make(KVS, 0, len(kvs)), kvs...) }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 37.7K bytes - Click Count (0) -
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))
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 27.5K bytes - Click Count (0) -
src/bytes/buffer_test.go
} // Empty buf through repeated reads into fub. // The initial contents of buf corresponds to the string s. func empty(t *testing.T, testname string, buf *Buffer, s string, fub []byte) { check(t, testname+" (empty 1)", buf, s) for { n, err := buf.Read(fub) if n == 0 { break } if err != nil { t.Errorf(testname+" (empty 2): err should always be nil, found err == %s", err)
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Nov 14 19:01:17 GMT 2025 - 19.4K bytes - Click Count (0) -
cmd/object-api-listobjects_test.go
// Test listing an empty directory in recursive mode (62) {"test-bucket-empty-dir", "", "", "", 10, resultCases[31], nil, true}, // Test listing an empty directory in a non recursive mode (63) {"test-bucket-empty-dir", "", "", SlashSeparator, 10, resultCases[32], nil, true}, // Test listing a directory which contains an empty directory (64)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 76.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/BooleansTest.java
assertThat(Booleans.concat()).isEqualTo(EMPTY); assertThat(Booleans.concat(EMPTY)).isEqualTo(EMPTY); assertThat(Booleans.concat(EMPTY, EMPTY, EMPTY)).isEqualTo(EMPTY); assertThat(Booleans.concat(ARRAY_FALSE)).isEqualTo(ARRAY_FALSE); assertThat(Booleans.concat(ARRAY_FALSE)).isNotSameInstanceAs(ARRAY_FALSE); assertThat(Booleans.concat(EMPTY, ARRAY_FALSE, EMPTY)).isEqualTo(ARRAY_FALSE);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 22:56:33 GMT 2025 - 25.2K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/GAVUtilsTest.java
Arguments.of("", "test-project", "1.0.0", "Should return null for empty groupId"), Arguments.of("com.example", "", "1.0.0", "Should return null for empty artifactId"), Arguments.of("com.example", "test-project", "", "Should return null for empty version")); } } @Nested @DisplayName("Artifact Computation")
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 17.3K bytes - Click Count (0) -
cmd/net.go
return false, err } var addr1Local, addr2Local bool if host1 == "" { // If empty host means it is localhost addr1Local = true } else if addr1Local, err = isLocalHost(host1, port1, port1); err != nil { // Host not empty, check if it is local return false, err } if host2 == "" { // If empty host means it is localhost addr2Local = trueCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.6K bytes - Click Count (1)