Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 409 for setKey (0.04 sec)

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

                when(mockReferralData.getKey()).thenReturn(key);
                doNothing().when(mockReferralData).setKey(key);
    
                mockReferralData.setKey(key);
                String retrievedKey = mockReferralData.getKey();
    
                assertEquals(key, retrievedKey);
                verify(mockReferralData, times(1)).setKey(key);
                verify(mockReferralData, times(1)).getKey();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

            }
    
            @Test
            @DisplayName("Should get and set key")
            void testKey() {
                assertNull(referralData.getKey());
                referralData.setKey("cache-key-123");
                assertEquals("cache-key-123", referralData.getKey());
            }
    
            @Test
            @DisplayName("Should get server")
            void testGetServer() {
                assertNull(referralData.getServer());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/DES.java

         */
        public DES(final byte[] key) {
            if (key.length == 7) {
                final byte[] key8 = new byte[8];
                makeSMBKey(key, key8);
                setKey(key8);
            } else {
                setKey(key);
            }
        }
    
        /**
         * Converts a 7-byte SMB key to an 8-byte DES key with parity bits
         * @param key7 the 7-byte SMB key
         * @param key8 the output 8-byte DES key
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/dfs/DfsReferralDataInternal.java

        void setLink(String link);
    
        /**
         * Get the cache key for this referral
         *
         * @return cache key
         */
        String getKey();
    
        /**
         * Set the cache key for this referral
         *
         * @param key
         *            cache key
         */
        void setKey(String key);
    
        /**
         * Set the cache map for this referral
         *
         * @param map the cache map to associate with this referral
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsCrawlingInfoParam.java

        public void setCreatedTime(Long value) {
            registerModifiedProperty("createdTime");
            this.createdTime = value;
        }
    
        public String getKey() {
            checkSpecifiedProperty("key");
            return convertEmptyToNull(key);
        }
    
        public void setKey(String value) {
            registerModifiedProperty("key");
            this.key = value;
        }
    
        public String getValue() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/CrawlingInfoParamDbm.java

                    (et, vl) -> ((CrawlingInfoParam) et).setCreatedTime(DfTypeUtil.toLong(vl)), "createdTime");
            setupEpg(_epgMap, et -> ((CrawlingInfoParam) et).getKey(), (et, vl) -> ((CrawlingInfoParam) et).setKey(DfTypeUtil.toString(vl)),
                    "key");
            setupEpg(_epgMap, et -> ((CrawlingInfoParam) et).getValue(), (et, vl) -> ((CrawlingInfoParam) et).setValue(DfTypeUtil.toString(vl)),
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

            CrawlingInfoParam param1 = new CrawlingInfoParam();
            param1.setKey("total_docs");
            param1.setValue("1500");
            paramList.add(param1);
    
            CrawlingInfoParam param2 = new CrawlingInfoParam();
            param2.setKey("error_count");
            param2.setValue("3");
            paramList.add(param2);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

                    final CrawlingInfoParam crawlingInfoParam = new CrawlingInfoParam();
                    crawlingInfoParam.setCrawlingInfoId(crawlingInfo.getId());
                    crawlingInfoParam.setKey(entry.getKey());
                    crawlingInfoParam.setValue(entry.getValue());
                    crawlingInfoParamList.add(crawlingInfoParam);
                }
                getCrawlingInfoService().storeInfo(crawlingInfoParamList);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

            this.link = link;
        }
    
        /**
         * @return the key
         */
        @Override
        public String getKey() {
            return this.key;
        }
    
        /**
         * @param key
         *            the key to set
         */
        @Override
        public void setKey(final String key) {
            this.key = key;
        }
    
        @Override
        public String getServer() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsCrawlingInfoParamBhv.java

                result.setCrawlingInfoId(DfTypeUtil.toString(source.get("crawlingInfoId")));
                result.setCreatedTime(DfTypeUtil.toLong(source.get("createdTime")));
                result.setKey(DfTypeUtil.toString(source.get("key")));
                result.setValue(DfTypeUtil.toString(source.get("value")));
                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9.9K bytes
    - Viewed (0)
Back to top