Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 52 for Remaining (0.57 sec)

  1. src/test/java/jcifs/internal/util/SMBUtilTest.java

            assertEquals((byte) 'S', SMBUtil.SMB_HEADER[1]);
            assertEquals((byte) 'M', SMBUtil.SMB_HEADER[2]);
            assertEquals((byte) 'B', SMBUtil.SMB_HEADER[3]);
    
            // Verify remaining bytes are zeros
            for (int i = 4; i < 24; i++) {
                assertEquals((byte) 0x00, SMBUtil.SMB_HEADER[i]);
            }
        }
    
        @Test
        void testSMB2Header() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

                        }
                    });
        }
    
        /**
         * Cleanup method called when the helper is being destroyed.
         * Logs cache statistics and processes any remaining statistics
         * objects in the cache before shutdown.
         */
        @PreDestroy
        public void destroy() {
            if (logger.isDebugEnabled()) {
                logger.debug("cache stats: {}", statsCache.stats());
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            when(dr.getPathConsumed()).thenReturn(2); // consume leading \\ from UNC
    
            String newUnc = l.handleDFSReferral(dr, "\\req\\");
            // dunc is "\\" + path + remaining  - note: path may not have leading backslashes
            assertTrue(newUnc.contains("dfs/path") || newUnc.contains("dfs\\path"));
            assertEquals(dr, l.getDfsReferral());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

                final ByteBuffer buffer = ByteBuffer.wrap(nonce);
                buffer.order(java.nio.ByteOrder.LITTLE_ENDIAN);
                buffer.putLong(counter);
                // Remaining bytes (if any) stay zero-padded
            }
    
            return nonce;
        }
    
        /**
         * Generate a secure random nonce for initial session setup.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

                byte[] testData = "Test RDMA data transfer".getBytes();
                sendBuffer.getBuffer().put(testData);
                sendBuffer.getBuffer().flip();
                assertEquals(testData.length, sendBuffer.getBuffer().remaining(), "Buffer should contain test data");
    
                // Clean up
                bufferManager.releaseSendRegion(sendBuffer);
                bufferManager.releaseReceiveRegion(recvBuffer);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java

                decodeIpChangeMessage(buf, message);
                break;
            default:
                // Skip unknown message types
                buf.advance(messageLength - 8); // Skip remaining data (minus type and length)
                break;
            }
    
            return message;
        }
    
        /**
         * Decodes a resource change notification message.
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

                // The final response in the compounded response chain will have NextCommand equal to 0,
                // and it MUST be processed as an individual message of a size equal to the number of bytes
                // remaining in this receive.
                final int rem = this.readSize - this.length;
                len += rem;
            }
    
            haveResponse(buffer, start, len);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

                testMessage.setBytesRead(10);
                testMessage.setReadSize(200); // Total read size
    
                int len = testMessage.decode(buffer, 0, true);
    
                // Should include remaining bytes for final response
                assertTrue(len > Smb2Constants.SMB2_HEADER_LENGTH);
            }
    
            @Test
            @DisplayName("Should add padding for non-final compound response")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

                    } else if (attempt < 30) {
                        Thread.sleep(1000); // Next 20 attempts: 1 second intervals
                    } else {
                        Thread.sleep(2000); // Remaining attempts: 2 second intervals
                    }
                }
            }
    
            // Provide more detailed error information
            String errorMessage = "SMB server did not become ready within timeout";
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTransportImpl.java

                            log.debug("Breaking on error " + resp);
                        }
                        break;
                    }
    
                    if (nextHead != null) {
                        // prepare remaining
                        // (e.g. set session/tree/fileid returned by the previous requests)
                        resp.prepare(nextHead);
                    }
                    curHead = nextHead;
                } finally {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
Back to top