- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 222 for ohne (1.49 sec)
-
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
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/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java
@Test @DisplayName("Test readParametersWireFormat with empty buffer") void testReadParametersWireFormatEmptyBuffer() throws Exception { byte[] buffer = new byte[0]; // Empty buffer adds one empty FileNotifyInformation int result = response.readParametersWireFormat(buffer, 0, 0); assertEquals(0, result); assertEquals(1, response.getNotifyInformation().size());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
// Next release goes below zero and throws RuntimeException ex = assertThrows(RuntimeCIFSException.class, session::release); assertTrue(ex.getMessage().contains("below zero")); // Only one transport release should have occurred verify(transport, times(1)).release(); } @Test @DisplayName("acquire after release reacquires transport") void testAcquireReacquiresTransport() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
assertEquals("success", result, "Operation should succeed"); assertEquals(State.HALF_OPEN, circuitBreaker.getState(), "Circuit should be in HALF_OPEN"); // One more success should close the circuit (threshold is 2) circuitBreaker.executeWithCircuitBreaker(() -> "success2"); assertEquals(State.CLOSED, circuitBreaker.getState(), "Circuit should be CLOSED after success threshold");
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/smb/SmbException.java
public class SmbException extends CIFSException implements NtStatus, DosError, WinError { /** * */ private static final long serialVersionUID = 484863569441792249L; // to replace a bunch of one-off binary searches private static final Map<Integer, String> errorCodeMessages; private static final Map<Integer, String> winErrorCodeMessages; private static final Map<Integer, Integer> dosErrorCodeStatuses;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.7K bytes - Viewed (0) -
src/main/java/jcifs/NetbiosAddress.java
* * </blockquote> * * * The hostname of this machine is <code>JMORRIS2</code>. It is * a member of the group(a.k.a workgroup and domain) <code>BILLING-NY</code>. To * obtain an {@link java.net.InetAddress} for a host one might do: * * <pre> * * InetAddress addr = NbtAddress.getByName("jmorris2").getInetAddress(); * </pre> * * * From a UNIX platform with Samba installed you can perform similar
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java
srvsvc.ShareInfo1 shareInfo = new srvsvc.ShareInfo1(); shareInfo.netname = "SingleShare"; shareInfo.type = 2; shareInfo.remark = "Single share remark"; // Create ShareInfoCtr1 with one share srvsvc.ShareInfoCtr1 shareInfoCtr1 = new srvsvc.ShareInfoCtr1(); shareInfoCtr1.count = 1; shareInfoCtr1.array = new srvsvc.ShareInfo1[] { shareInfo };
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java
@Test @DisplayName("Test decode throws exception when length is too short") void testDecodeThrowsExceptionWhenLengthTooShort() { byte[] buffer = new byte[28]; // Test with len = 23 (one byte too short) SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> response.decode(buffer, 0, 23), "Should throw exception when length < 24");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeHandleImpl.java
this.handle = this.pipe.openUnshared("\\pipe" + getUncPath(), this.openFlags, this.access, this.sharing, SmbConstants.ATTR_NORMAL, 0); } // one extra acquire to keep this open till the stream is released return this.handle.acquire(); } } log.trace("Pipe already open"); return this.handle.acquire();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
sessionsField.setAccessible(true); @SuppressWarnings("unchecked") List<Object> sessions = (List<Object>) sessionsField.get(first); sessions.add(new Object()); // Add one session to reach the limit // When: Request another connection SmbTransportImpl second = pool.getSmbTransport(ctx, address, 445, false); // Then: Should create new connection due to session limit
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0)