- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,089 for given (0.02 sec)
-
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
request = new Smb2ChangeNotifyRequest(mockConfig, testFileId); } @Test @DisplayName("Should create request with configuration and file ID") void testConstructor() { // Given Configuration config = mock(Configuration.class); when(config.getNotifyBufferSize()).thenReturn(8192); // When Smb2ChangeNotifyRequest req = new Smb2ChangeNotifyRequest(config, testFileId);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/util/EncdecTest.java
*/ @DisplayName("Encdec Utility Tests") class EncdecTest extends BaseTest { @Test @DisplayName("Should encode and decode 16-bit integers") void testInt16Operations() { // Given short value = 0x1234; byte[] buffer = new byte[2]; // When - encode little endian Encdec.enc_uint16le(value, buffer, 0); short decoded = (short) Encdec.dec_uint16le(buffer, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java
/** * Creates a new {@code AtomicDoubleArray} of the given length, with all elements initially zero. * * @param length the length of the array */ public AtomicDoubleArray(int length) { this.longs = new AtomicLongArray(length); } /** * Creates a new {@code AtomicDoubleArray} with the same length as, and all elements copied from, * the given array. * * @param array the array to copy elements from
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
} @Test @DisplayName("Should create response with configuration and output buffer") void testConstructor() { // Given byte[] buffer = new byte[512]; int offset = 10; // When Smb2ReadResponse resp = new Smb2ReadResponse(mockConfig, buffer, offset); // Then assertNotNull(resp);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileOutputStreamTest.java
lenient().when(mockTreeHandle.getConfig()).thenReturn(mockConfig); } @Test void testWriteSingleByte() throws IOException, CIFSException { // Given when(mockTreeHandle.isSMB2()).thenReturn(true); when(mockTreeHandle.getSendBufferSize()).thenReturn(65536);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type1MessageTest.java
assertTrue(type1.getFlags() != 0); // Should have some flags set } @Test @DisplayName("Should create Type 1 message with custom flags") void testType1MessageWithFlags() { // Given int flags = NtlmFlags.NTLMSSP_NEGOTIATE_UNICODE | NtlmFlags.NTLMSSP_NEGOTIATE_NTLM | NtlmFlags.NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED; // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtStatusTest.java
// Given int successStatus = NtStatus.NT_STATUS_SUCCESS; // When/Then assertEquals(0x00000000, successStatus); // Success status should be zero assertTrue(successStatus == 0); } @Test @DisplayName("Should identify error status codes") void testErrorStatusIdentification() { // Given int[] errorStatuses =
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/DfsReferralDataTest.java
mockReferralData.next(); mockReferralData.getLink(); }); } @Test @DisplayName("Should get server") void testGetServer() { // Given String server = "testserver"; when(mockReferralData.getServer()).thenReturn(server); // When String result = mockReferralData.getServer(); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/service/DataService.java
/** * Stores the given access result. * * @param accessResult the access result to store */ void store(RESULT accessResult); /** * Updates the given access result. * * @param accessResult the access result to update */ void update(RESULT accessResult); /** * Updates the given list of access results. *
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 2.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Session.java
* <p> * Shortcut for {@code DependencyScope.forId(...)} with a verification that the given identifier exists. * * @param id the identifier of the scope (case-sensitive) * @return the scope for the given identifier (never null) * @throws IllegalArgumentException if the given identifier is not a known scope * * @see org.apache.maven.api.DependencyScope#forId(String) */
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Jul 03 14:18:26 UTC 2025 - 36.5K bytes - Viewed (0)