Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 82 for MAX_VALUE (1.22 sec)

  1. src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java

        }
    
        @Test
        public void testToSuggestItemWithLargeBoost() {
            // Test toSuggestItem with large boost value
            String word = "large boost";
            float boost = Float.MAX_VALUE;
            List<String> readings = Arrays.asList("reading1");
            List<String> fields = Arrays.asList("field1");
            List<String> tags = Arrays.asList("tag1");
            List<String> roles = Arrays.asList("role1");
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/io/FileUtilTest.java

                out.write(content.getBytes("UTF-8"));
            } finally {
                out.close();
            }
    
            // Set maxSize very large
            final byte[] bytes = FileUtil.readBytes(file, Long.MAX_VALUE);
            assertThat(new String(bytes, "UTF-8"), is(content));
        }
    
        private String getPath(final String fileName) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancer.java

            return list.get(index);
        }
    
        private ChannelInfo selectLeastLoaded(Collection<ChannelInfo> channels) {
            ChannelInfo leastLoadedChannel = null;
            long minPending = Long.MAX_VALUE;
            for (ChannelInfo channel : channels) {
                long pending = channel.getRequestsPending();
                if (pending < minPending) {
                    minPending = pending;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

                        | Smb2Constants.SMB2_GLOBAL_CAP_DIRECTORY_LEASING | Smb2Constants.SMB2_GLOBAL_CAP_ENCRYPTION;
    
                assertTrue(maxCap > 0 && maxCap < Integer.MAX_VALUE, "Combined capabilities should fit in positive 32-bit integer");
            }
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/curl/CurlRequestTest.java

        @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
        public void testBodyWithUnicodeCharacters() {
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

            @Test
            @DisplayName("Should handle maximum buffer index")
            void testMaxBufferIndex() throws SMBProtocolDecodingException {
                // Given
                byte[] buffer = new byte[Integer.MAX_VALUE / 1000]; // Use reasonable size
                int bufferIndex = buffer.length - 4;
                SMBUtil.writeInt2(4, buffer, bufferIndex);
    
                // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java

            assertEquals(nameBytes.length, SMBUtil.readInt4(buffer, 8));
        }
    
        @ParameterizedTest
        @DisplayName("Test with various timeout values")
        @ValueSource(longs = { 0L, 1L, -1L, Long.MAX_VALUE, Long.MIN_VALUE, 1000L, -1000L })
        void testWithVariousTimeoutValues(long timeout) {
            // Setup
            String pipeName = "TestPipe";
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java

        }
    
        @Test
        @DisplayName("Test with maximum values")
        void testWithMaximumValues() {
            trans2FindFirst2 = new Trans2FindFirst2(mockConfig, "\\test", "*.*", 0xFFFF, 65535, Integer.MAX_VALUE);
    
            byte[] buffer = new byte[256];
            int written = trans2FindFirst2.writeParametersWireFormat(buffer, 0);
    
            // Verify search attributes are still masked
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java

            // Use large but valid time values
            long largeTime = System.currentTimeMillis() + 365L * 24 * 60 * 60 * 1000; // 1 year from now
            int maxAttributes = Integer.MAX_VALUE;
    
            FileBasicInfo info = new FileBasicInfo(largeTime, largeTime, largeTime, largeTime, maxAttributes);
    
            // Encode and decode
            byte[] buffer = new byte[50];
            info.encode(buffer, 0);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

            }
        }
    
        @Nested
        @DisplayName("Test Implementation Tests")
        class TestImplementationTests {
    
            @ParameterizedTest
            @ValueSource(bytes = { -1, 0, 1, 3, 7, Byte.MAX_VALUE, Byte.MIN_VALUE })
            @DisplayName("Should handle various information class values")
            void testVariousInformationClassValues(byte classValue) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
Back to top