- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 119 for unsuccessful (1.43 sec)
-
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
circuitBreaker.trip(); assertEquals(State.OPEN, circuitBreaker.getState(), "Circuit should be OPEN"); // Wait for reset timeout Thread.sleep(1100); // Execute successful operation - should transition to HALF_OPEN then potentially CLOSED String result = circuitBreaker.executeWithCircuitBreaker(() -> "success"); assertEquals("success", result, "Operation should succeed");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2SetInfoResponse.java
import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.smb2.ServerMessageBlock2Response; import jcifs.internal.util.SMBUtil; /** * SMB2 Set Info response message. This response acknowledges the successful * modification of file or security information. * * @author mbechler * */ public class Smb2SetInfoResponse extends ServerMessageBlock2Response { /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2LockResponse.java
import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.smb2.ServerMessageBlock2Response; import jcifs.internal.util.SMBUtil; /** * SMB2 Lock response message. This response acknowledges the successful * acquisition or release of byte-range locks. * * @author mbechler * */ public class Smb2LockResponse extends ServerMessageBlock2Response { /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionRetargetResponsePacketTest.java
assertEquals(0, packet.writeTrailerWireFormat(new byte[0], 0)); } @Test void readTrailerWireFormatShouldReadSixBytesSuccessfully() throws IOException { // Test successful reading of 6 bytes from the input stream. // The content of these bytes is not critical for this test, only that 6 bytes are read. byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06 }; // Sample 6 bytes
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java
*/ public void recordReadRequest(int bytes) { // Track that a read was requested rdmaReads.incrementAndGet(); } /** * Record successful completion of a read request * * @param bytes number of bytes successfully read * @param durationNanos operation duration in nanoseconds */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/MockWitnessService.java
} } /** * Simulate heartbeat processing * * @param registrationId the registration ID * @param sequenceNumber the sequence number * @return true if heartbeat was successful */ public boolean processHeartbeat(String registrationId, long sequenceNumber) { MockRegistration registration = registrations.get(registrationId); if (registration != null) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 8.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/DataIndexHelper.java
* <li>Concurrent crawling of multiple data configurations</li> * <li>Thread pool management for crawler execution</li> * <li>Session-based crawling with cleanup operations</li> * <li>Old document deletion after successful crawling</li> * <li>Crawling execution monitoring and timing</li> * </ul> */ public class DataIndexHelper { /** Logger instance for this class */
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 19K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmServletTest.java
verify(response).setStatus(HttpServletResponse.SC_UNAUTHORIZED); } /** * Test the service method with a valid NTLM Authorization header. * Simulates a successful NTLM authentication. * @throws ServletException * @throws IOException * @throws CIFSException */ @Test void testService_NtlmAuth_Success() throws Exception {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java
// Test with an unrecognized field in the ticket // Note: In the actual implementation, field 99 would come after mandatory fields, // so decryption happens first. We test with a mocked successful decryption. byte[] token = createTestTicketBytes(new BigInteger(KerberosConstants.KERBEROS_VERSION), SERVER_REALM, SERVER_PRINCIPAL_NAME, ENCRYPTION_TYPE, ENCRYPTED_DATA, 99);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/java/jcifs/netbios/UniAddress.java
i++; } } } return false; } /** * Perform DNS SRV lookup on successively shorter suffixes of name * and return successful suffix or throw an UnknownHostException. * import javax.naming.*; * import javax.naming.directory.*; * public static String getDomainByName(String name) throws UnknownHostException { * DirContext context;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.3K bytes - Viewed (0)