- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 2,008 for new (0.01 sec)
-
docs/smb3-features/06-witness-protocol-design.md
```java public class WitnessStatistics { private final AtomicLong registrationsActive = new AtomicLong(); private final AtomicLong notificationsReceived = new AtomicLong(); private final AtomicLong failoverEvents = new AtomicLong(); private final AtomicLong heartbeatsSent = new AtomicLong(); private final AtomicLong registrationFailures = new AtomicLong();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 42K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacSignatureTest.java
ByteArrayOutputStream baos = new ByteArrayOutputStream(); writeLittleEndianInt(baos, PacSignature.KERB_CHECKSUM_HMAC_MD5); // Write only 10 bytes instead of 16 baos.write(new byte[10]); byte[] data = baos.toByteArray(); // Verify that PACDecodingException is thrown assertThrows(PACDecodingException.class, () -> { new PacSignature(data); }); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationTest.java
assertArrayEquals(new byte[] { 0x05, 0x06, 0x07, 0x08 }, responseBuffer); } @Test @DisplayName("Test with empty buffers") void testWithEmptyBuffers() { // Test with empty byte arrays byte[] emptyRequestBuffer = new byte[0]; byte[] emptyResponseBuffer = new byte[0];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java
final BufferedInputStream bis = new BufferedInputStream(in); bis.mark(preloadSize); String preloadDate = StringUtil.EMPTY; final byte[] bytes = new byte[preloadSize]; try { if (bis.read(bytes) == -1) { throw new CrawlingAccessException("No sitemaps data."); } preloadDate = new String(bytes, Constants.UTF_8);
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 14.7K bytes - Viewed (0) -
src/test/java/jcifs/SidResolverTest.java
doThrow(new CIFSException("Context cannot be null")).when(sidResolver).resolveSids(eq(null), anyString(), any(SID[].class)); assertThrows(CIFSException.class, () -> sidResolver.resolveSids(null, testServerName, testSids)); } @Test void testResolveSids_WithNullServerName() throws CIFSException { doThrow(new CIFSException("Server name cannot be null")).when(sidResolver)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 15.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
// SMB1 negotiation with server data SmbComNegotiateResponse smb1 = new SmbComNegotiateResponse(ctx); ServerData sd = smb1.getServerData(); sd.encryptionKey = new byte[] { 1, 2, 3 }; setField(transport, "negotiated", smb1); assertArrayEquals(new byte[] { 1, 2, 3 }, transport.getServerEncryptionKey()); // SMB2 negotiation never exposes key via this APIRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
final Name calledName = new Name(tc.getConfig(), this.address.firstCalledName(), 0x20, null); do { this.socket = new Socket(); if (this.localAddr != null) { this.socket.bind(new InetSocketAddress(this.localAddr, this.localPort)); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 69.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java
void testConcurrentReceived() throws InterruptedException { int threadCount = 10; CountDownLatch startLatch = new CountDownLatch(1); CountDownLatch endLatch = new CountDownLatch(threadCount); for (int i = 0; i < threadCount; i++) { new Thread(() -> { try { startLatch.await(); response.received();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java
response = new Smb2QueryDirectoryResponse(mockConfig, expectInfoClass); assertNotNull(response); assertNull(response.getResults()); // Should be null before decoding } @Test @DisplayName("Test getResults returns null initially") void testGetResultsInitiallyNull() { response = new Smb2QueryDirectoryResponse(mockConfig, (byte) 0x03);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/HandleInfoTest.java
@BeforeEach public void setUp() { testGuid = new HandleGuid(); testFileId = new byte[16]; for (int i = 0; i < 16; i++) { testFileId[i] = (byte) (i + 1); } testLeaseKey = new Smb2LeaseKey(); } @Test public void testHandleInfoCreation() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 4.6K bytes - Viewed (0)