Search Options

Results per page
Sort
Preferred Languages
Advance

Results 891 - 900 of 1,983 for Long (0.01 sec)

  1. src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsTest.java

            settings.set(key, value);
            assertEquals(value, settings.getAsInt(key, -1));
        }
    
        @Test
        public void test_setAndGetAsLong() {
            String key = "key";
            long value = Long.MAX_VALUE;
            settings.set(key, value);
            assertEquals(value, settings.getAsLong(key, -1));
        }
    
        @Test
        public void test_setAndGetAsFloat() {
            String key = "key";
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/PacLogonInfoTest.java

            dos.writeInt(Integer.reverseBytes(value));
        }
    
        private void writeLittleEndianLong(DataOutputStream dos, long value) throws IOException {
            dos.writeLong(Long.reverseBytes(value));
        }
    
        @Test
        @DisplayName("Test parsing with invalid data size")
        void testInvalidDataSize() {
            byte[] tooSmall = new byte[10];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

         * the one provided will not be returned if it exceeds the end of the file
         * (if this is a problem let us know).
         */
        @Override
        public long skip(final long n) throws IOException {
            if (n > 0) {
                fp += n;
                return n;
            }
            return 0;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/boostdoc/AdminBoostdocAction.java

        //                                                                        ============
    
        private static OptionalEntity<BoostDocumentRule> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new BoostDocumentRule()).map(entity -> {
                    entity.setCreatedBy(username);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/entity/FacetInfoTest.java

            assertEquals("field2", facetInfo.field[1]);
            assertEquals("field3", facetInfo.field[2]);
            assertEquals(Integer.valueOf(10), facetInfo.size);
            assertEquals(Long.valueOf(5), facetInfo.minDocCount);
            assertEquals("count.desc", facetInfo.sort);
            assertEquals("unknown", facetInfo.missing);
        }
    
        // Test init with empty fields
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java

            assertDoesNotThrow(() -> {
                new SmbComRename(config, null, null);
            });
        }
    
        /**
         * Test with very long file names
         */
        @Test
        @DisplayName("Test writeBytesWireFormat with very long file names")
        public void testWriteBytesWireFormatLongFileNames() {
            // Given
            String longOldFileName = "a".repeat(255); // Max filename length
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/ServerResponseValidatorTest.java

            });
        }
    
        @Test
        public void testFileOperationOverflow() throws Exception {
            assertThrows(SmbException.class, () -> {
                validator.validateFileOperation(Long.MAX_VALUE - 100, 200, Long.MAX_VALUE);
            });
        }
    
        @Test
        public void testValidSmbHeader() throws Exception {
            // SMB1 header
            validator.validateSmbHeader(0x424D53FF, 32, 0x72);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/body-nested-models.md

    In this case, you would accept any `dict` as long as it has `int` keys with `float` values:
    
    {* ../../docs_src/body_nested_models/tutorial009_py39.py hl[7] *}
    
    /// tip
    
    Keep in mind that JSON only supports `str` as keys.
    
    But Pydantic has automatic data conversion.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/CancelCall.java

      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("http://httpbin.org/delay/2") // This URL is served with a 2 second delay.
            .build();
    
        final long startNanos = System.nanoTime();
        final Call call = client.newCall(request);
    
        // Schedule a job to cancel the call in 1 second.
        executor.schedule(() -> {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/AccessTokenService.java

            if (accessTokenPager.id != null) {
                cb.query().docMeta().setId_Equal(accessTokenPager.id);
            }
            // TODO Long, Integer, String supported only.
    
            // setup condition
            cb.query().addOrderBy_Name_Asc();
            cb.query().addOrderBy_CreatedTime_Asc();
    
            // search
    
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.5K bytes
    - Viewed (0)
Back to top