Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 461 for large (0.06 sec)

  1. src/test/java/jcifs/internal/dfs/ReferralTest.java

            // Prepare test data
            ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN);
    
            // Header
            bb.putShort((short) 3); // version
            bb.putShort((short) 100); // size (large enough for all strings)
            bb.putShort((short) 1); // serverType
            bb.putShort((short) 0); // rflags (no name list)
            bb.putShort((short) 5); // proximity
            bb.putShort((short) 300); // ttl
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 22K bytes
    - Viewed (0)
  2. docs/smb3-features/03-multi-channel-design.md

        private ChannelInfo selectAdaptive(SMBMessage message, Collection<ChannelInfo> channels) {
            // Adaptive strategy based on message type and size
            
            if (isLargeTransfer(message)) {
                // For large transfers, prefer high-bandwidth channels
                return channels.stream()
                    .max(Comparator.comparingInt(c -> c.getRemoteInterface().getLinkSpeed()))
                    .orElseThrow();
            }
            
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/curl/CurlRequestTest.java

            assertEquals(-1, request.threshold());
        }
    
        @Test
        public void testThresholdWithLargeValue() {
            CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
    
            // Large threshold value
            int largeThreshold = Integer.MAX_VALUE;
            request.threshold(largeThreshold);
    
            assertEquals(largeThreshold, request.threshold());
        }
    
        @Test
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

            assertNotNull(responseWithNull);
        }
    
        @Test
        @DisplayName("Should handle large data offset value")
        void testReadBytesWireFormatLargeDataOffset() throws Exception {
            // Given
            byte[] buffer = new byte[512];
            int bodyStart = 0;
            int dataLength = 10;
            // Use a large but safe offset value that fits in signed byte range (120)
            int dataOffsetValue = 120;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java

            // Should return uncompressed data for small inputs
            assertArrayEquals(smallData, compressed);
        }
    
        @Test
        @DisplayName("Test large data compression")
        public void testLargeDataCompression() throws CIFSException {
            byte[] compressed = compressionService.compress(largeTestData, CompressionService.COMPRESSION_LZ77);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  6. src/bytes/compare_test.go

    	// This test compares byte slices that are almost identical, except one
    	// difference that for some j, a[j]>b[j] and a[j+1]<b[j+1]. If the implementation
    	// compares large chunks with wrong endianness, it gets wrong result.
    	// no vector register is larger than 512 bytes for now
    	const maxLength = 512
    	a := make([]byte, maxLength)
    	b := make([]byte, maxLength)
    	// randomish but deterministic data. No 0 or 255.
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Jul 13 23:11:42 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                }
            }
            return documentItems;
        }
    
        /**
         * Performs a scroll search for processing large result sets efficiently.
         *
         * This method uses OpenSearch scroll API to iterate through large numbers of
         * documents without loading them all into memory at once.
         *
         * @param params The search request parameters
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 05:56:45 UTC 2025
    - 36.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

       * href="https://github.com/google/guava/issues/5756">Issue #5756</a>.
       *
       * <p>This test covers a scenario where we write a smaller amount of data first, then write a
       * large amount that crosses the threshold (transitioning from "not at threshold" to "over the
       * threshold"). (We then write some more afterward.) This differs from the existing
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 30 16:30:29 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

                assertEquals(16, bytesRead);
                assertEquals(100, response.getCount());
                assertEquals(50, response.getRemaining());
    
                // Large buffer
                byte[] largeBuffer = new byte[8192];
                System.arraycopy(createValidWriteResponse(5000, 2500), 0, largeBuffer, 1000, 20);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

            FileBothDirectoryInfo result = (FileBothDirectoryInfo) createFileInfoMethod.invoke(response);
    
            assertNull(result);
        }
    
        @Test
        @DisplayName("Test readBytesWireFormat handles large buffer offset correctly")
        void testReadBytesWireFormatLargeBufferOffset() throws Exception {
            response = new Smb2QueryDirectoryResponse(mockConfig, Smb2QueryDirectoryRequest.FILE_BOTH_DIRECTORY_INFO);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.5K bytes
    - Viewed (0)
Back to top