- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 817 for Given (0.03 sec)
-
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) -
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) -
cmd/xl-storage-errors.go
return errors.Is(err, syscall.EIO) } // Check if the given error corresponds to EISDIR (is a directory). func isSysErrIsDir(err error) bool { return errors.Is(err, syscall.EISDIR) } // Check if the given error corresponds to ENOTDIR (is not a directory). func isSysErrNotDir(err error) bool { return errors.Is(err, syscall.ENOTDIR) } // Check if the given error corresponds to the ENAMETOOLONG (name too long).
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Mar 06 16:56:29 UTC 2023 - 3.8K 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/main/java/org/codelibs/core/beans/BeanDesc.java
* Returns the {@link ConstructorDesc} for the given parameter types. * * @param paramTypes * The array of parameter types for the constructor * @return The {@link ConstructorDesc} for the given parameter types */ ConstructorDesc getConstructorDesc(Class<?>... paramTypes); /** * Returns the {@link ConstructorDesc} that matches the given arguments. * * @param args
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 24 01:52:43 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/AddressTest.java
@Mock private Address mockAddress; @Test @DisplayName("Address interface should define correct method signatures") void testInterfaceContract() { // Given Address address = mockAddress; // When & Then - verify interface methods exist and can be called assertDoesNotThrow(() -> { address.getHostName(); address.getHostAddress();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K 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) -
src/test/java/jcifs/config/PropertyConfigurationTest.java
new PropertyConfiguration(null); }); } @Test @DisplayName("Should handle empty properties") void testEmptyProperties() throws CIFSException { // Given Properties emptyProps = new Properties(); // When PropertyConfiguration emptyConfig = new PropertyConfiguration(emptyProps); // Then assertNotNull(emptyConfig);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0)