- Sort Score
- Result 10 results
- Languages All
Results 471 - 480 of 964 for setI (0.03 sec)
-
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
@Test @DisplayName("Should set padding correctly") void testSetPadding() { assertDoesNotThrow(() -> request.setPadding((byte) 0)); assertDoesNotThrow(() -> request.setPadding((byte) 1)); assertDoesNotThrow(() -> request.setPadding((byte) 0xFF)); } @Test @DisplayName("Should set read flags correctly") void testSetReadFlags() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java
* Test that connect() method fails when GCS_PROJECT_ID is not set. */ public void test_connect_failsWithoutProjectId() throws Exception { URL url = new URL("gcs://mybucket/object.txt"); Handler handler = new Handler(); Handler.GcsURLConnection conn = (Handler.GcsURLConnection) handler.openConnection(url); // Ensure environment variables are not set (in real scenario)
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
@DisplayName("Test constructor initializes object correctly") void testConstructor() { // Test that the constructor properly initializes the object assertNotNull(response); // The command is not set in the constructor, defaults to 0 assertEquals(0, response.getCommand()); // The subcommand should be TRANS2_SET_FILE_INFORMATION (0x08)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticator.java
} /** * Sets the token acquisition timeout. * @param acquisitionTimeout The timeout in milliseconds. */ public void setAcquisitionTimeout(final long acquisitionTimeout) { this.acquisitionTimeout = acquisitionTimeout; } /** * Sets the group cache expiry time.Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 13 02:21:17 UTC 2025 - 56.7K bytes - Viewed (0) -
src/test/java/jcifs/http/HandlerTest.java
// Reset the static factory field Field factoryField = Handler.class.getDeclaredField("factory"); factoryField.setAccessible(true); factoryField.set(null, null); // Clear the protocol handlers cache Field handlersField = Handler.class.getDeclaredField("PROTOCOL_HANDLERS"); handlersField.setAccessible(true); @SuppressWarnings("unchecked")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
assertEquals(1, cipherId, "Should return the cipher ID set in constructor"); } @Test @DisplayName("Should return correct dialect version") void testGetDialect() { // When DialectVersion dialect = encryptionContext.getDialect(); // Then assertEquals(DialectVersion.SMB311, dialect, "Should return the dialect set in constructor"); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProviderTest.java
import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; import java.net.InetSocketAddress; import java.nio.ByteBuffer; import java.util.EnumSet; import java.util.Set; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import jcifs.internal.smb2.rdma.RdmaAccess; import jcifs.internal.smb2.rdma.RdmaCapability; import jcifs.internal.smb2.rdma.RdmaConnection;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 4.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponse.java
import jcifs.Configuration; import jcifs.internal.smb1.trans.SmbComTransaction; import jcifs.internal.smb1.trans.SmbComTransactionResponse; /** * SMB1 Trans2 Set File Information response implementation. * Handles server responses to Trans2 set file information requests, used for * modifying file attributes, timestamps, and other file metadata in SMB1 protocol. * * @author mbechler */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java
when(mockBuffer.dec_ndr_short()).thenReturn(decodedValue); // When: Decoding the value ndrShort.decode(mockBuffer); // Then: Should call dec_ndr_short and set value correctly verify(mockBuffer).dec_ndr_short(); verifyNoMoreInteractions(mockBuffer); assertEquals(decodedValue, ndrShort.value); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CloseRequest.java
return new Smb2CloseResponse(tc.getConfig(), this.fileId, this.fileName); } /** * Set the close flags * * @param flags * the flags to set */ public void setCloseFlags(final int flags) { this.closeFlags = flags; } /** * {@inheritDoc} *
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.6K bytes - Viewed (0)