- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 1,414 for empty (0.01 sec)
-
src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java
@Test @DisplayName("Should handle empty file ID") void testSetEmptyFileId() { // Given RequestWithFileId request = new Smb2CloseRequest(mockConfig, testFileId); // When request.setFileId(emptyFileId); // Then - should accept empty file ID assertDoesNotThrow(() -> request.setFileId(emptyFileId), "Should handle empty file ID without throwing exception"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java
assertEquals((byte) 0x00, dst[secondBufferFormatIndex + 1]); // Extra null byte for Unicode alignment } /** * Test writeBytesWireFormat with empty file names */ @Test @DisplayName("Test writeBytesWireFormat with empty file names") public void testWriteBytesWireFormatEmptyFileNames() { // Given byte[] dst = new byte[100];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionRequestPacketTest.java
} @Test @DisplayName("Constructor with Configuration only should create empty Name instances") void testConstructorWithConfigOnly() { SessionRequestPacket packet = new SessionRequestPacket(mockConfig); assertNotNull(packet); // The packet should have calledName and callingName initialized but empty byte[] dst = new byte[256]; int written = packet.writeTrailerWireFormat(dst, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/UUIDTest.java
rpcUuid.clock_seq_low = CLOCK_SEQ_LOW; rpcUuid.node = new byte[6]; // Empty node array // Act UUID uuid = new UUID(rpcUuid); // Assert assertNotNull(uuid.node); assertEquals(6, uuid.node.length); assertArrayEquals(new byte[6], uuid.node, "Empty node array should be copied"); } } @Nested
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableRangeMap.java
} /** * Returns an empty immutable range map. * * <p><b>Performance note:</b> the instance returned is a singleton. */ @SuppressWarnings("unchecked") public static <K extends Comparable<?>, V> ImmutableRangeMap<K, V> of() { return (ImmutableRangeMap<K, V>) EMPTY; } /** Returns an immutable range map mapping a single range to a single value. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java
// Act: constructing the iterator must not throw and results in empty iterator DirFileEntryEnumIterator2 it = new DirFileEntryEnumIterator2(tree, parent, "*", null, 0); // Assert: enumeration is empty and close produced no extra close call (no fileId opened) assertFalse(it.hasNext(), "Empty listing should produce no elements"); it.close();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/WriterUtil.java
/** * Creates a {@link Writer} to output to a stream with the specified encoding. * * @param os the stream (must not be {@literal null}) * @param encoding the encoding (must not be {@literal null} or empty) * @return a {@link Writer} to output to the stream */ public static Writer create(final OutputStream os, final String encoding) { assertArgumentNotNull("os", os);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderException.java
* exception is thrown so this information is merely meant to assist the user. * * @return The identifier of the POM or an empty string if not known, never {@code null}. */ public String getModelId() { if (result == null) { return ""; } else if (result.getEffectiveModel() != null) {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Dec 19 14:50:21 UTC 2024 - 3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserTimeZoneProcessProviderTest.java
// Execute OptionalThing<TimeZone> result = provider.findBusinessTimeZone(runtimeMeta, requestManager); // Verify that empty optional is returned assertNotNull(result); assertFalse(result.isPresent()); } // Test getRequestedTimeZone() method public void test_getRequestedTimeZone() { // Execute
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Artifact.java
* * @return the classifier or an empty string if none, never {@code null} * @see ArtifactCoordinates#getClassifier() */ @Nonnull String getClassifier(); /** * Returns the file extension of the artifact. * The dot separator is not included in the returned string. * * @return the file extension or an empty string if none, never {@code null}
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Jun 26 07:56:58 UTC 2025 - 4.6K bytes - Viewed (0)