Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 225 for leave (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. internal/config/etcd/etcd.go

    	}
    	cli, err := clientv3.New(cfg.Config)
    	if err != nil {
    		return nil, err
    	}
    	cli.KV = namespace.NewKV(cli.KV, cfg.PathPrefix)
    	cli.Watcher = namespace.NewWatcher(cli.Watcher, cfg.PathPrefix)
    	cli.Lease = namespace.NewLease(cli.Lease, cfg.PathPrefix)
    	return cli, nil
    }
    
    func parseEndpoints(endpoints string) ([]string, bool, error) {
    	etcdEndpoints := strings.Split(endpoints, config.ValueSeparator)
    
    	var etcdSecure bool
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 16 14:27:42 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseStateTest.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.lease;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.Test;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  3. src/bufio/net_test.go

    			tot += n
    			if err == io.EOF {
    				return
    			}
    			if err != nil {
    				t.Error(err)
    				return
    			}
    		}
    	}()
    
    	clientConn, err := net.DialUnix("unixpacket", nil, addr)
    	if err != nil {
    		// Leaves the server goroutine hanging. Oh well.
    		t.Fatal(err)
    	}
    
    	defer wg.Wait()
    	defer clientConn.Close()
    
    	const data = "data"
    	r := bufio.NewReader(strings.NewReader(data))
    	n, err := io.Copy(clientConn, r)
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Feb 07 19:37:07 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  4. docs/fr/docs/how-to/authentication-error-status-code.md

    {* ../../docs_src/authentication_error_status_code/tutorial001_an_py310.py hl[9:13] *}
    
    /// tip | Astuce
    
    Remarquez que la fonction renvoie l'instance de l'exception, elle ne la lève pas. La levée est effectuée dans le reste du code interne.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  5. docs/smb3-features/02-persistent-handles-design.md

            private final HandleType type;
            private final long timeout;
            private final long createTime;
            private volatile long lastAccessTime;
            private final Smb2LeaseKey leaseKey;  // Associated lease if any
            private volatile boolean reconnecting;
            private transient SmbFile file;  // Not serialized
            
            public HandleInfo(String path, HandleGuid guid, byte[] fileId, 
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 31.6K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SmbSessionImpl.java

                    }
    
                    // Cleanup lease manager
                    if (leaseManager != null) {
                        try {
                            leaseManager.shutdown();
                            log.debug("Lease manager shutdown on session logoff");
                        } catch (Exception e) {
                            log.warn("Error shutting down lease manager during logoff", e);
                        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 68.9K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java

            DurableHandleReconnect reconnectCtx = new DurableHandleReconnect(info.getFileId());
    
            // This would typically involve:
            // 1. Creating a new Smb2CreateRequest with reconnect context
            // 2. Adding lease context if needed
            // 3. Sending the request through the appropriate transport
            // 4. Processing the response
    
            // For now, we'll return false to indicate that the concrete implementation
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 8.5K bytes
    - Click Count (1)
  8. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheScope.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.lease;
    
    /**
     * Defines the scope of directory caching for SMB3 directory leasing
     */
    public enum DirectoryCacheScope {
        /**
         * Cache only direct children of the directory
         */
        IMMEDIATE_CHILDREN,
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.locks.ReentrantReadWriteLock;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSContext;
    import jcifs.internal.smb2.lease.Smb2LeaseKey;
    
    /**
     * Manager for persistent and durable SMB handles.
     *
     * This class provides:
     * - Handle lifecycle management
     * - Persistent storage for persistent handles
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:49:49 GMT 2025
    - 13K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/SmbFile.java

    import jcifs.internal.smb2.info.Smb2QueryInfoRequest;
    import jcifs.internal.smb2.info.Smb2QueryInfoResponse;
    import jcifs.internal.smb2.info.Smb2SetInfoRequest;
    import jcifs.internal.smb2.lease.LeaseManager;
    import jcifs.internal.smb2.lease.Smb2LeaseKey;
    import jcifs.internal.smb2.lease.Smb2LeaseState;
    import jcifs.internal.smb2.persistent.PersistentHandleManager;
    import jcifs.util.Strings;
    
    /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 103.2K bytes
    - Click Count (0)
Back to Top