Changeset 99961 in vbox
- Timestamp:
- May 24, 2023 9:57:27 PM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 157621
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/sg.h
r99960 r99961 215 215 /** 216 216 * Clones a given S/G buffer. 217 * 217 * 218 218 * This is only a shallow copy. Both S/G buffers will point to the same segment 219 * array. 220 * 219 * array. 220 * 221 221 * The buffer position will be preserved. 222 * 222 * 223 223 * @param pSgBufNew The new S/G buffer to clone to. 224 224 * @param pSgBufOld The source S/G buffer to clone from. … … 394 394 * Returns whether the given S/G buffer is zeroed out from the current position 395 395 * upto the number of bytes to check. 396 * 396 * 397 397 * @retval true if the buffer has only zeros 398 398 * @retval false otherwise. 399 399 * @param pSgBuf The S/G buffer. 400 * @param cbCheck Number of bytes to check. 401 * 400 * @param cbCheck Number of bytes to check. 401 * 402 402 * @note This operation advances the internal buffer pointer of the S/G buffer. 403 403 */ -
trunk/src/VBox/Runtime/common/misc/sg.cpp
r99960 r99961 51 51 static void *rtSgBufGet(PRTSGBUF pSgBuf, size_t *pcbData) 52 52 { 53 /* 53 /* 54 54 * Check that the S/G buffer has memory left (!RTSgIsEnd(pSgBuf)). 55 55 */ … … 76 76 #endif 77 77 78 /* 78 /* 79 79 * Advance ... 80 80 */ -
trunk/src/VBox/Runtime/testcase/tstRTSg.cpp
r99960 r99961 276 276 } 277 277 278
Note:
See TracChangeset
for help on using the changeset viewer.