Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 594 for setKey (0.05 seconds)

  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();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/core/crypto/CachedCipherTest.java

        }
    
        @Test
        public void testDifferentKeys() {
            final CachedCipher cipher1 = new CachedCipher();
            cipher1.setKey("key1");
    
            final CachedCipher cipher2 = new CachedCipher();
            cipher2.setKey("key2");
    
            final String original = "Hello World";
            final String encrypted1 = cipher1.encryptText(original);
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 5.3K bytes
    - Click Count (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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  4. 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() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  5. 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);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  6. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  7. 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)),
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 27 07:01:25 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/crypto/CachedCipher.java

     * cipher.setKey("mySecretKey");
     *
     * // Encrypt text
     * String encrypted = cipher.encryptText("Hello World");
     *
     * // Decrypt text
     * String decrypted = cipher.decryptText(encrypted);
     *
     * // For AES encryption
     * CachedCipher aesCipher = new CachedCipher();
     * aesCipher.setAlgorithm("AES");
     * aesCipher.setTransformation("AES");
     * aesCipher.setKey("0123456789abcdef"); // 16-byte key for AES-128
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 15.9K bytes
    - Click Count (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() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/CompactHashMap.java

       */
      void insertEntry(
          int entryIndex, @ParametricNullness K key, @ParametricNullness V value, int hash, int mask) {
        this.setEntry(entryIndex, CompactHashing.maskCombine(hash, UNSET, mask));
        this.setKey(entryIndex, key);
        this.setValue(entryIndex, value);
      }
    
      /** Resizes the entries storage if necessary. */
      private void resizeMeMaybe(int newSize) {
        int entriesSize = requireEntries().length;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 39.6K bytes
    - Click Count (0)
Back to Top