Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for danger (0.17 sec)

  1. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

                    }
                }
            }
    
            // Clean up weak reference if no longer valid
            if (ref == null || ref.get() == null) {
                fileCache.remove(path);
            }
        }
    
        /**
         * Shutdown the lease manager
         */
        public void shutdown() {
            log.info("Shutting down lease manager");
    
            // Stop cleanup executor
            if (cleanupExecutor != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                    resp.setContentType(mimeMap.getMimeType(type));
                }
                resp.setHeader("Content-Length", file.length() + "");
                resp.setHeader("Accept-Ranges", "Bytes");
    
                while ((n = in.read(buf)) != -1) {
                    out.write(buf, 0, n);
                }
            }
            // IOException handling is done by calling code
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFileHandleImpl.java

        public int getFid() throws SmbException {
            if (!isValid()) {
                throw new SmbException("Descriptor is no longer valid");
            }
            return this.fid;
        }
    
        public byte[] getFileId() throws SmbException {
            if (!isValid()) {
                throw new SmbException("Descriptor is no longer valid");
            }
            return this.fileId;
        }
    
        /**
         * @return the initialSize
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.4K bytes
    - Viewed (1)
  4. src/main/java/jcifs/smb/MultiChannelManager.java

    import java.util.concurrent.atomic.AtomicLong;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSException;
    import jcifs.Configuration;
    
    /**
     * SMB3 Multi-Channel Manager.
     *
     * Manages multiple network connections for improved performance and redundancy
     * as specified in the SMB 3.x multi-channel feature.
     */
    public class MultiChannelManager {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/Configuration.java

         *
         * Depending on the usage scenario, this may have some benefit as there won't be any delays for restablishing these
         * resources, however comes at the cost of having to properly release all SmbFile instances you no longer need.
         *
         * @return whether to use strict resource lifecycle
         */
        boolean isStrictResourceLifecycle();
    
        /**
         * This is solely intended for debugging
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/NtStatus.java

        int NT_STATUS_FILE_IS_A_DIRECTORY = 0xC00000ba;
        /** A duplicate name exists on the network */
        int NT_STATUS_DUPLICATE_NAME = 0xC00000bd;
        /** The specified network name is no longer available */
        int NT_STATUS_NETWORK_NAME_DELETED = 0xC00000c9;
        /** Network access is denied */
        int NT_STATUS_NETWORK_ACCESS_DENIED = 0xC00000ca;
        /** The network name cannot be found */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

            // observed too that signatures on error responses are sometimes wrong??
            // Looks like the failure case also is just reflecting back the signature we sent
    
            // with SMB3's negotiation validation it's no longer possible to ignore this (on the validation response)
            // make sure that validation is performed in any case
            final Smb2SigningDigest dgst = getDigest();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/SystemHelper.java

            return getRequestManager().findUserBean(FessUserBean.class).map(FessUserBean::getUserId).orElse(Constants.GUEST_USER);
        }
    
        /**
         * Gets the request manager.
         *
         * @return The request manager.
         */
        protected RequestManager getRequestManager() {
            return ComponentUtil.getRequestManager();
        }
    
        /**
         * Gets the current time as a Date object.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

        }
    
        @Test
        @DisplayName("Should generate multiple unique nonces without collision")
        void testGenerateMultipleNoncesNoCollision() {
            // Given
            int count = 10000; // Test with larger number for collision detection
            Set<String> nonceSet = new HashSet<>();
    
            // When
            for (int i = 0; i < count; i++) {
                byte[] nonce = encryptionContext.generateNonce();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/TopKSelector.java

          }
          iterations++;
          if (iterations >= maxIterations) {
            @SuppressWarnings("nullness") // safe because we pass sort() a range that contains real Ts
            T[] castBuffer = (T[]) buffer;
            // We've already taken O(k log k), let's make sure we don't take longer than O(k log k).
            sort(castBuffer, left, right + 1, comparator);
            break;
          }
        }
        bufferSize = k;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top