Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,917 for fill (0.01 sec)

  1. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            rDataLengthField.setAccessible(true);
            rDataLengthField.set(response, dataLength);
    
            // Number of names
            src[srcIndex] = (byte) numNames;
    
            // Fill in name entries
            for (int i = 0; i < numNames; i++) {
                String name = String.format("NAME%02d          ", i).substring(0, 16);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

        }
    
        /**
         * Test that buffer cache handles allocation when cache is full.
         */
        @Test
        public void testBufferAllocationWhenCacheFull() {
            // Given - Allocate many buffers to potentially fill the cache
            List<byte[]> buffers = new ArrayList<>();
    
            // Allocate more buffers than cache can hold
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

        public void test_fillInStackTrace() {
            CrawlerSystemException exception = new CrawlerSystemException("Fill stack trace test");
    
            StackTraceElement[] originalStackTrace = exception.getStackTrace();
            assertNotNull(originalStackTrace);
            assertTrue(originalStackTrace.length > 0);
    
            // Fill in stack trace again
            Throwable filled = exception.fillInStackTrace();
            assertSame(exception, filled);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTransportImpl.java

                    }
    
                    final int permits = r.getInitialCredits();
                    if (permits > 0) {
                        this.credits.release(permits);
                    }
                    Arrays.fill(this.sbuf, (byte) 0);
                    return new SmbNegotiation(new Smb2NegotiateRequest(getContext().getConfig(),
                            this.signingEnforced ? Smb2Constants.SMB2_NEGOTIATE_SIGNING_REQUIRED
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java

                // Create a buffer with sample data
                byte[] buffer = new byte[100];
                // Fill with some test data
                for (int i = 0; i < buffer.length; i++) {
                    buffer[i] = (byte) (i % 256);
                }
    
                int result = resp.readDataWireFormat(buffer, 0, 40);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java

            if (nonce.length == 12) {
                // For CCM cipher, pad nonce to 16 bytes with zeros
                java.util.Arrays.fill(this.nonce, (byte) 0);
                System.arraycopy(nonce, 0, this.nonce, 0, 12);
            } else if (nonce.length == 16) {
                // For GCM cipher, use full 16-byte nonce
                System.arraycopy(nonce, 0, this.nonce, 0, 16);
            } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java

        void testReadBytesWireFormatPreservesBuffer() throws SMBProtocolDecodingException {
            byte[] buffer = new byte[1024];
            int bufferIndex = 0;
    
            // Fill buffer with test data
            for (int i = 0; i < buffer.length; i++) {
                buffer[i] = (byte) (i % 256);
            }
    
            // Set structure size to 2
            SMBUtil.writeInt2(2, buffer, bufferIndex);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

        private String testFileName;
    
        @BeforeEach
        void setUp() {
    
            // Create a test file ID (16 bytes)
            testFileId = new byte[16];
            for (int i = 0; i < 16; i++) {
                testFileId[i] = (byte) (i + 1);
            }
    
            testFileName = "test-file.txt";
            response = new Smb2CloseResponse(mockConfig, testFileId, testFileName);
        }
    
        @Nested
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java

            assertArrayEquals(zeroGuid, extractedGuid);
        }
    
        @Test
        @DisplayName("Test encode with all 0xFF GUID")
        void testEncodeWithMaxGuid() {
            byte[] maxGuid = new byte[16];
            Arrays.fill(maxGuid, (byte) 0xFF);
    
            ValidateNegotiateInfoRequest request =
                    new ValidateNegotiateInfoRequest(DEFAULT_CAPABILITIES, maxGuid, DEFAULT_SECURITY_MODE, defaultDialects);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  10. .github/DISCUSSION_TEMPLATE/questions.yml

            By asking questions in a structured way (following this) it will be much easier to help you.
    
            And there's a high chance that you will find the solution along the way and you won't even have to submit it and wait for an answer. 😎
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Aug 03 15:59:41 UTC 2023
    - 5.8K bytes
    - Viewed (0)
Back to top