- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 1,089 for given (0.02 sec)
-
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
void testOriginalMessageSize() { // Given int messageSize = 1024; // When transformHeader.setOriginalMessageSize(messageSize); // Then assertEquals(messageSize, transformHeader.getOriginalMessageSize()); } @Test @DisplayName("Should set and get flags") void testFlags() { // Given int flags = 0x0001; // Encrypted flag
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/CIFSExceptionTest.java
*/ @DisplayName("CIFSException Tests") class CIFSExceptionTest extends BaseTest { @Test @DisplayName("Should create CIFSException with message") void testCIFSExceptionWithMessage() { // Given String message = "CIFS operation failed"; // When CIFSException exception = new CIFSException(message); // Then assertNotNull(exception);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java
void testFileBasicInfoSize() { // Given FileBasicInfo info = new FileBasicInfo(); // When & Then assertEquals(40, info.size()); } @Test @DisplayName("Test FileBasicInfo toString method") void testFileBasicInfoToString() { // Given FileBasicInfo info =
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/jcifs/config/DelegatingConfigurationTest.java
} @Test @DisplayName("Constructor should store delegate reference") void testConstructorStoresDelegate() { // Given Configuration testDelegate = mock(Configuration.class); // When DelegatingConfiguration config = new DelegatingConfiguration(testDelegate); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Interpolator.java
* * @since 4.0.0 */ @Experimental public interface Interpolator extends Service { /** * Interpolates the values in the given map using the provided callback function. * This method defaults to setting empty strings for unresolved placeholders. * * @param properties The map containing key-value pairs to be interpolated.
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Mon Jan 13 16:14:35 UTC 2025 - 6.9K bytes - Viewed (0) -
guava/src/com/google/common/io/Files.java
* character set. * * @since 14.0 */ public static CharSource asCharSource(File file, Charset charset) { return asByteSource(file).asCharSource(charset); } /** * Returns a new {@link CharSink} for writing character data to the given file using the given
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 32.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComTreeDisconnectTest.java
} /** * Test the writeParameterWordsWireFormat method. */ @Test void testWriteParameterWordsWireFormat() { // Given SmbComTreeDisconnect smbComTreeDisconnect = new SmbComTreeDisconnect(); byte[] dst = new byte[10]; // When int result = smbComTreeDisconnect.writeParameterWordsWireFormat(dst, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Service.java
/** * Waits for the {@link Service} to reach the {@linkplain State#RUNNING running state} for no more * than the given time. * * @param timeout the maximum time to wait * @param unit the time unit of the timeout argument * @throws TimeoutException if the service has not reached the given state within the deadline * @throws IllegalStateException if the service reaches a state from which it is not possible to
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 10.8K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/Escapers.java
} /** * Adds a replacement string for the given input character. The specified character will be * replaced by the given string whenever it occurs in the input, irrespective of whether it lies * inside or outside the 'safe' range. * * @param c the character to be replaced * @param replacement the string to replace the given character * @return the builder instance
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/stream/StreamUtil.java
public static <T> StreamOf<T> stream(final T... values) { return new StreamOf<>(() -> values != null ? Arrays.stream(values) : Collections.<T> emptyList().stream()); } /** * Splits the given string into an array of substrings based on the specified regular expression * and returns a stream of those substrings. * * @param value the string to be split; if {@code null}, the method returns an empty stream
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 4.4K bytes - Viewed (0)