Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 274 for leases (0.05 seconds)

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

             * @return the directory path
             */
            public String getDirectoryPath() {
                return directoryPath;
            }
    
            /**
             * Gets the lease key associated with this notification handle
             * @return the lease key
             */
            public Smb2LeaseKey getLeaseKey() {
                return leaseKey;
            }
    
            /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java

                throw SmbException.wrap(e);
            }
        }
    
        /**
         * Request directory lease for the given directory
         *
         * @param smbFile the directory to request lease for
         * @param requestedState requested lease state
         * @param scope cache scope
         * @return lease key or null if not supported
         * @throws SmbException if an error occurs
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java

            SMBUtil.writeInt4(32, buffer, 12); // DataLength (standard lease only)
    
            // Write name
            System.arraycopy("DLse".getBytes(), 0, buffer, 16, 4);
    
            // Write lease key
            Smb2LeaseKey key = new Smb2LeaseKey();
            key.encode(buffer, 24);
    
            // Write lease state
            SMBUtil.writeInt4(DirectoryLeaseState.DIRECTORY_READ_HANDLE, buffer, 40);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java

         */
        private final long createTime;
    
        /**
         * The timestamp of the last access to this handle
         */
        private volatile long lastAccessTime;
    
        /**
         * The associated lease key if this handle has an SMB2 lease
         */
        private final Smb2LeaseKey leaseKey;
    
        /**
         * Flag indicating whether this handle is currently being reconnected
         */
        private volatile boolean reconnecting;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java

        @Test
        @DisplayName("Should generate random lease key with correct size")
        void testRandomLeaseKeyGeneration() {
            Smb2LeaseKey key = new Smb2LeaseKey();
    
            assertNotNull(key.getKey());
            assertEquals(16, key.getKey().length);
            assertFalse(key.isZero());
        }
    
        @Test
        @DisplayName("Should create lease key from byte array")
        void testLeaseKeyFromBytes() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 00:16:17 GMT 2025
    - 6K bytes
    - Click Count (0)
  6. cmd/data-usage-cache.go

    			return
    		}
    		sz := d.sizeRecursive(path.Key())
    		leaves = append(leaves, struct {
    			objects uint64
    			path    dataUsageHash
    		}{objects: sz.Objects, path: path})
    		for ch := range e.Children {
    			add(dataUsageHash(ch))
    		}
    	}
    
    	// Add path recursively.
    	add(path)
    	sort.Slice(leaves, func(i, j int) bool {
    		return leaves[i].objects < leaves[j].objects
    	})
    	for remove > 0 && len(leaves) > 0 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 34.7K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/lease/Smb2LeaseStateTest.java

     * You should have received a copy of the GNU Lesser General Public
     * 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;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 00:16:17 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

         * @return the directory path
         */
        public String getDirectoryPath() {
            return directoryPath;
        }
    
        /**
         * Gets the lease key associated with this directory cache
         * @return the lease key
         */
        public Smb2LeaseKey getLeaseKey() {
            return leaseKey;
        }
    
        /**
         * Checks if the complete directory enumeration has been cached
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  9. CHANGELOG/CHANGELOG-1.25.md

        - [CVE-2023-3955: Insufficient input sanitization on Windows nodes leads to privilege escalation](#cve-2023-3955-insufficient-input-sanitization-on-windows-nodes-leads-to-privilege-escalation)
        - [CVE-2023-3676: Insufficient input sanitization on Windows nodes leads to privilege escalation](#cve-2023-3676-insufficient-input-sanitization-on-windows-nodes-leads-to-privilege-escalation)
      - [Changes by Kind](#changes-by-kind-2)
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Mon May 06 09:23:20 GMT 2024
    - 419.1K bytes
    - Click Count (0)
  10. cmd/etcd.go

    	timeoutCtx, cancel := context.WithTimeout(ctx, defaultContextTimeout)
    	defer cancel()
    	lease, err := client.Grant(timeoutCtx, ttl)
    	if err != nil {
    		return etcdErrToErr(err, client.Endpoints())
    	}
    	_, err = client.Put(timeoutCtx, key, string(data), etcd.WithLease(lease.ID))
    	etcdLogIf(ctx, err)
    	return etcdErrToErr(err, client.Endpoints())
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 2.9K bytes
    - Click Count (0)
Back to Top