Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for setWhy (0.59 sec)

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

            @DisplayName("Should handle null key in setKey")
            void testSetKeyWithNull() {
                // Test with mock
                doNothing().when(mockReferralData).setKey(null);
                assertDoesNotThrow(() -> mockReferralData.setKey(null));
    
                // Test with concrete implementation
                assertDoesNotThrow(() -> {
                    concreteImplementation.setKey(null);
    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

                referralData.setKey("test-key");
                referralData.replaceCache();
                assertEquals(referralData, cacheMap.get("test-key"));
            }
    
            @Test
            @DisplayName("Should replace cache entry with key")
            void testReplaceCache() {
                String key = "cache-key";
                referralData.setKey(key);
                referralData.setCacheMap(cacheMap);
    
    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

         *
         * @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
         */
        void setCacheMap(Map<String, DfsReferralDataInternal> map);
    
    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. android/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;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

         */
        @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() {
            return this.server;
        }
    
        @Override
        public String getShare() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/DfsImpl.java

                     * attempts to resolve DFS use the last successful
                     * referral first.
                     */
                    tmp.setCacheMap(links.map);
                    tmp.setKey("\\");
                    tmp = tmp.next();
                } while (tmp != dr);
    
                if (log.isDebugEnabled()) {
                    log.debug("Have referral " + dr);
                }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 29.7K bytes
    - Viewed (0)
Back to top