Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for enBlocks (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

            }
    
            @Test
            @DisplayName("Should calculate size correctly with no locks")
            void testSizeWithNoLocks() {
                Smb2Lock[] noLocks = new Smb2Lock[0];
                Smb2LockRequest req = new Smb2LockRequest(mockConfig, testFileId, noLocks);
    
                int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 24; // header + structure
                expectedSize = ((expectedSize + 7) / 8) * 8; // 8-byte alignment
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  2. cmd/admin-router.go

    		if globalIsDistErasure {
    			// Top locks
    			adminRouter.Methods(http.MethodGet).Path(adminVersion + "/top/locks").HandlerFunc(adminMiddleware(adminAPI.TopLocksHandler))
    			// Force unlocks paths
    			adminRouter.Methods(http.MethodPost).Path(adminVersion+"/force-unlock").
    				Queries("paths", "{paths:.*}").HandlerFunc(adminMiddleware(adminAPI.ForceUnlockHandler))
    		}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 16 07:34:24 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  3. cmd/object-api-utils.go

    			}
    		}
    	}
    
    	return compressedOffset, partSkip, firstPartIdx, decryptSkip, seqNum
    }
    
    // GetObjectReader is a type that wraps a reader with a lock to
    // provide a ReadCloser interface that unlocks on Close()
    type GetObjectReader struct {
    	io.Reader
    	ObjInfo    ObjectInfo
    	cleanUpFns []func()
    	once       sync.Once
    }
    
    // WithCleanupFuncs sets additional cleanup functions to be called when closing
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 25 15:08:54 UTC 2025
    - 37.3K bytes
    - Viewed (0)
Back to top