- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 631 for simpler (0.03 sec)
-
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java
public void testReadParameterWordsWireFormat() { // Prepare a buffer with sample data. // 2 bytes for fileAttributes, 4 bytes for lastWriteTime, 4 bytes for fileSize byte[] buffer = new byte[20]; // File Attributes: 0x0010 (Directory) buffer[0] = 0x10; buffer[1] = 0x00; // Last Write Time (UTime): A sample timestamp in milliseconds
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/TestStringListMultimapGenerator.java
*/ @GwtCompatible @NullMarked public abstract class TestStringListMultimapGenerator implements TestListMultimapGenerator<String, String> { @Override public SampleElements<Entry<String, String>> samples() { return new SampleElements<>( mapEntry("one", "January"), mapEntry("two", "February"), mapEntry("three", "March"), mapEntry("four", "April"), mapEntry("five", "May"));Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/TestStringSetMultimapGenerator.java
*/ @GwtCompatible @NullMarked public abstract class TestStringSetMultimapGenerator implements TestSetMultimapGenerator<String, String> { @Override public SampleElements<Entry<String, String>> samples() { return new SampleElements<>( mapEntry("one", "January"), mapEntry("two", "February"), mapEntry("three", "March"), mapEntry("four", "April"), mapEntry("five", "May"));Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 3K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/Fingerprint2011Test.java
* * @author ******@****.*** (Kyle Maddison) */ @NullUnmarked public class Fingerprint2011Test extends TestCase { // Length of the sample string to produce private static final int MAX_BYTES = 1000; // Map from sample string lengths to the fingerprint private static final ImmutableSortedMap<Integer, Long> LENGTH_FINGERPRINTS = new ImmutableSortedMap.Builder<Integer, Long>(Ordering.natural())Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 7.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java
suite.addTest( MapTestSuiteBuilder.using( new TestMapGenerator<String, Integer>() { @Override public SampleElements<Entry<String, Integer>> samples() { return new SampleElements<>( mapEntry("x", 1), mapEntry("xxx", 3), mapEntry("xx", 2),
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 32.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java
Trans2QueryPathInformationResponse resp = new Trans2QueryPathInformationResponse(Trans2QueryPathInformationResponse.SMB_QUERY_FILE_BASIC_INFO); // Create a buffer with sample data byte[] buffer = new byte[100]; // Fill with some test data for (int i = 0; i < buffer.length; i++) { buffer[i] = (byte) (i % 256); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java
} // Edge/null/empty: message-only constructor should propagate message and set unsuccessful status @ParameterizedTest @NullSource @ValueSource(strings = { "", " ", "simple", "with unicode Ω≈ç√", "long-0123456789-abcdefghijklmnopqrstuvwxyz" }) @DisplayName("Message-only ctor: propagates message and unsuccessful status") void messageOnlyConstructor_setsMessage_andUnsuccessfulStatus(String msg) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SimpleMemoryManagementTest.java
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Timeout; import org.mockito.Mockito; import jcifs.CIFSContext; import jcifs.Configuration; import jcifs.Credentials; /** * Simple memory management tests to validate basic resource cleanup functionality */ public class SimpleMemoryManagementTest { private CIFSContext mockContext; private SmbTransportImpl mockTransport;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java
when(mockNegotiate.getNegotiatedMpxCount()).thenReturn(65535); when(mockNegotiate.getNegotiatedSessionKey()).thenReturn(0x12345678); } /** Simple test stub of {@link ServerData} */ private static class ServerDataStub extends ServerData { public ServerDataStub() { this.security = SmbConstants.SECURITY_USER;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/CredentialsInternalTest.java
import jcifs.CIFSContext; import jcifs.CIFSException; import jcifs.Credentials; @ExtendWith(MockitoExtension.class) class CredentialsInternalTest { @Mock CIFSContext mockContext; /** * Simple in-test implementation of CredentialsInternal to exercise the API surface. * It validates inputs, records calls, and delegates some behavior to collaborators * so we can verify interactions. */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0)