Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 1,908 for vscode (0.04 sec)

  1. src/test/java/org/codelibs/fess/query/QueryFieldConfigTest.java

            // Test that constants have expected values
            assertEquals("score", QueryFieldConfig.SCORE_FIELD);
            assertEquals("_score", QueryFieldConfig.DOC_SCORE_FIELD);
            assertEquals("site", QueryFieldConfig.SITE_FIELD);
            assertEquals("inurl", QueryFieldConfig.INURL_FIELD);
            assertEquals("score", QueryFieldConfig.SCORE_SORT_VALUE);
        }
    
        public void test_constructor() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/entity/QueryContextTest.java

            });
    
            // Add function score
            queryContext.addFunctionScore(list -> {
                list.add(new FilterFunctionBuilder(QueryBuilders.termQuery("boost", "true"), ScoreFunctionBuilders.weightFactorFunction(3.0f)));
            });
    
            // Add sorts
            queryContext.addSorts(SortBuilders.fieldSort("_score"), SortBuilders.fieldSort("date").unmappedType("date"));
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

            }
    
            @Test
            @DisplayName("Should decode buffer correctly")
            void testDecode() throws SMBProtocolDecodingException {
                byte[] buffer = new byte[100];
                when(mockFileSystemInfo.decode(any(byte[].class), anyInt(), anyInt())).thenReturn(24);
    
                int result = mockFileSystemInfo.decode(buffer, 0, 100);
    
                assertEquals(24, result);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

                assertEquals(FileSystemInformation.FS_SIZE_INFO, fileFsSizeInfo.getFileSystemInformationClass());
            }
        }
    
        @Nested
        @DisplayName("Decode Method Tests")
        class DecodeMethodTests {
    
            @Test
            @DisplayName("Should decode buffer with typical values correctly")
            void shouldDecodeBufferWithTypicalValues() throws SMBProtocolDecodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                assertEquals(FileSystemInformation.FS_FULL_SIZE_INFO, fileFsFullSizeInfo.getFileSystemInformationClass());
            }
        }
    
        @Nested
        @DisplayName("Decode Method Tests")
        class DecodeMethodTests {
    
            @Test
            @DisplayName("Should decode buffer with typical values correctly")
            void shouldDecodeBufferWithTypicalValues() throws SMBProtocolDecodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java

            // Encode multiple times
            byte[] buffer1 = new byte[100];
            byte[] buffer2 = new byte[100];
            byte[] buffer3 = new byte[100];
    
            int encoded1 = request.encode(buffer1, 0);
            int encoded2 = request.encode(buffer2, 0);
            int encoded3 = request.encode(buffer3, 0);
    
            // All should produce same result
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

                byte[] buffer = new byte[EXPECTED_SIZE * 3];
    
                // When
                int offset1 = chunk1.encode(buffer, 0);
                int offset2 = chunk2.encode(buffer, offset1);
                int offset3 = chunk3.encode(buffer, offset1 + offset2);
    
                // Then
                assertEquals(EXPECTED_SIZE, offset1);
                assertEquals(EXPECTED_SIZE, offset2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/crypto/CachedCipher.java

         *
         * @param text
         *            the text to encrypt
         * @return the encrypted text
         */
        public String encryptoText(final String text) {
            try {
                return Base64Util.encode(encrypto(text.getBytes(charsetName)));
            } catch (final UnsupportedEncodingException e) {
                throw new UnsupportedEncodingRuntimeException(e);
            }
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/dfs/ReferralTest.java

            bb.putShort((short) 0);
    
            // Decode with exact length
            int decodedSize = referral.decode(testBuffer, 0, 24);
            assertEquals(24, decodedSize);
    
            // Decode with excess length
            Referral referral2 = new Referral();
            decodedSize = referral2.decode(testBuffer, 0, 512);
            assertEquals(24, decodedSize);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 22K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

                assertEquals(0, buffer.getNumReferrals());
                assertEquals(0, buffer.getTflags());
            }
        }
    
        @Nested
        @DisplayName("Decode Tests")
        class DecodeTests {
    
            @Test
            @DisplayName("Should decode buffer with no referrals")
            void testDecodeNoReferrals() {
                // Prepare test data: pathConsumed=0, numReferrals=0, tflags=0
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
Back to top