Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for _resume (0.34 sec)

  1. src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java

            byte[] resumeKey = response.getResumeKey();
            assertNotNull(resumeKey, "Resume key should not be null");
            assertEquals(24, resumeKey.length, "Resume key should be 24 bytes");
    
            // Verify resume key content
            for (int i = 0; i < 24; i++) {
                assertEquals((byte) (i + 1), resumeKey[i], "Resume key byte " + i + " should match");
            }
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponse.java

    /**
     * SMB2 SRV_REQUEST_RESUME_KEY response data structure. This structure contains a resume key
     * that can be used for server-side copy operations.
     *
     * @author mbechler
     *
     */
    public class SrvRequestResumeKeyResponse implements Decodable {
    
        /**
         * Constructs a new SrvRequestResumeKeyResponse.
         * This response contains the resume key used for server-side copy operations.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. cmd/batch-handlers.go

    	randomWait := func() time.Duration {
    		// randomWait depends on the number of nodes to avoid triggering resume and cleanups at the same time.
    		return time.Duration(rand.Float64() * float64(time.Duration(globalEndpoints.NEndpoints())*time.Hour))
    	}
    
    	go func() {
    		jpool.resume(randomWait)
    		jpool.cleanupReports(randomWait)
    	}()
    
    	return jpool
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  4. cmd/background-newdisks-heal-ops.go

    }
    
    func (h *healingTracker) isHealed(bucket string) bool {
    	h.mu.RLock()
    	defer h.mu.RUnlock()
    	return slices.Contains(h.HealedBuckets, bucket)
    }
    
    // resume will reset progress to the numbers at the start of the bucket.
    func (h *healingTracker) resume() {
    	h.mu.Lock()
    	defer h.mu.Unlock()
    
    	h.ItemsHealed = h.ResumeItemsHealed
    	h.ItemsFailed = h.ResumeItemsFailed
    	h.ItemsSkipped = h.ResumeItemsSkipped
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java

        /**
         * Gets the last file name in the response.
         *
         * @return the lastName
         */
        public final String getLastName() {
            return this.lastName;
        }
    
        /**
         * Gets the resume key for continuing the search.
         *
         * @return the resumeKey
         */
        public final int getResumeKey() {
            return this.resumeKey;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopy.java

    public class SrvCopychunkCopy implements Encodable {
    
        private final byte[] sourceKey;
        private final SrvCopychunk[] chunks;
    
        /**
         * Constructs a server copy chunk operation request
         * @param sourceKey the resume key identifying the source file
         * @param chunks the array of copy chunk descriptors
         */
        public SrvCopychunkCopy(final byte[] sourceKey, final SrvCopychunk... chunks) {
            this.sourceKey = sourceKey;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbCopyUtil.java

            log.debug("Trying server side copy");
            SmbFileHandleImpl dfd = null;
            try {
                long size;
                byte[] resumeKey;
    
                // despite there being a resume key, we still need an open file descriptor?
                try (SmbFileHandleImpl sfd =
                        src.openUnshared(0, SmbConstants.O_RDONLY, SmbConstants.FILE_SHARE_READ, SmbConstants.ATTR_NORMAL, 0)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java

             */
            public int prefmaxlen;
            /**
             * The total number of entries.
             */
            public int totalentries;
            /**
             * The resume handle for enumeration.
             */
            public int resume_handle;
    
            /**
             * Constructs a ShareEnumAll request.
             * @param servername the server name
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

       *   <li>All methods that return objects that can indirectly mutate the collection throw
       *       UnsupportedOperationException when those mutators are called.
       * </ol>
       *
       * @param collection the presumed-immutable collection
       * @param sampleElement an element of the same type as that contained by {@code collection}.
       *     {@code collection} may or may not have {@code sampleElement} as a member.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  10. cmd/erasure-server-pool-decom.go

    		if pool.Decommission == nil {
    			continue
    		}
    		if pool.Decommission.Complete || pool.Decommission.Canceled {
    			// Do not resume decommission upon startup for
    			// - decommission complete
    			// - decommission canceled
    			continue
    		} // In all other situations we need to resume
    		newPools = append(newPools, pool)
    	}
    	return newPools
    }
    
    func (p *poolMeta) DecommissionComplete(idx int) bool {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 42.1K bytes
    - Viewed (1)
Back to top