Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 108 for OPEN (0.02 sec)

  1. src/main/java/jcifs/util/SimpleCircuitBreaker.java

         *
         * @param name the circuit breaker name
         * @param failureThreshold number of consecutive failures to open circuit
         * @param successThreshold number of successes in half-open to close circuit
         * @param timeoutMillis timeout before attempting to close open circuit
         */
        public SimpleCircuitBreaker(String name, int failureThreshold, int successThreshold, long timeoutMillis) {
            this.name = name;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            if (len <= 0) {
                return 0;
            }
            final long start = fp;
    
            // ensure file is open
            if (!file.isOpen()) {
                file.open(openFlags, 0, SmbFile.ATTR_NORMAL, options);
            }
    
            int r, n;
            final SmbComReadAndXResponse response = new SmbComReadAndXResponse(b, off);
            do {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbPipeHandle.java

        void close() throws CIFSException;
    
        /**
         * Tests whether this file descriptor is open and valid.
         *
         * @return whether the FD is open and valid
         */
        boolean isOpen();
    
        /**
         * Tests whether this file descriptor was previously open but has become invalid.
         *
         * @return whether the FD was previously open but became invalid
         */
        boolean isStale();
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

         *
         * @see jcifs.SmbPipeHandle#isStale()
         */
        @Override
        public boolean isStale() {
            return !this.open || this.handle != null && !this.handle.isValid();
        }
    
        @Override
        public synchronized SmbFileHandleImpl ensureOpen() throws CIFSException {
            if (!this.open) {
                throw new SmbException("Pipe handle already closed");
            }
    
            if (!isOpen()) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

         */
    
        static final int FILE_SUPERSEDE = 0x0;
    
        /*
         * Open the file or fail if it does not exist
         * aka OPEN_EXISTING
         */
    
        static final int FILE_OPEN = 0x1;
    
        /*
         * Create the file or fail if it does not exist
         * aka CREATE_NEW
         */
    
        static final int FILE_CREATE = 0x2;
    
        /*
         * Open the file or create it if it does not exist
         * aka OPEN_ALWAYS
         */
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFileHandleImpl.java

        private static final Logger log = LoggerFactory.getLogger(SmbFileHandleImpl.class);
    
        private final Configuration cfg;
        private final int fid;
        private final byte[] fileId;
        private boolean open = true;
        private final long tree_num; // for checking whether the tree changed
        private SmbTreeHandleImpl tree;
    
        private final AtomicLong usageCount = new AtomicLong(1);
        private final int flags;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.4K bytes
    - Viewed (1)
  7. src/main/java/org/codelibs/fess/helper/OsddHelper.java

    import org.codelibs.fess.util.ComponentUtil;
    import org.lastaflute.web.response.StreamResponse;
    import org.lastaflute.web.util.LaServletContextUtil;
    
    import jakarta.annotation.PostConstruct;
    
    /**
     * Helper class for Open Search Description Document.
     */
    public class OsddHelper {
    
        /**
         * Default constructor.
         */
        public OsddHelper() {
            // Default constructor
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java

    import jcifs.internal.smb1.ServerMessageBlock;
    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Hexdump;
    
    /**
     * SMB1 Open AndX request message.
     *
     * This command is used to open or create a file for access over
     * the network with enhanced capabilities compared to the basic Open command.
     */
    public class SmbComOpenAndX extends AndXServerMessageBlock {
    
        // flags (not the same as flags constructor argument)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java

        }
    
        @Test
        void close_shouldCloseHandleSuccessfully() throws IOException {
            // Arrange
            int access = 0x01;
            // Simulate successful open
            doAnswer(invocation -> {
                MsrpcSamrOpenDomain rpc = invocation.getArgument(0);
                rpc.retval = 0;
                return null;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbNamedPipe.java

     * </pre>
     *
     * </td>
     * <td>
     * Open the Named Pipe foo for reading and writing. The pipe will behave like the <code>CallNamedPipe</code> interface.
     * </td>
     * </tr>
     * <tr>
     * <td >
     *
     * <pre>
     * new SmbNamedPipe("smb://server/IPC$/foo", SmbNamedPipe.PIPE_TYPE_RDWR | SmbNamedPipe.PIPE_TYPE_TRANSACT, context);
     * </pre>
     *
     * </td>
     * <td>
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top