You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by "dcapwell (via GitHub)" <gi...@apache.org> on 2023/04/27 22:15:53 UTC

[GitHub] [cassandra] dcapwell commented on a diff in pull request #2299: CASSANDRA-18485: CEP-15: (C*) Enhance in-memory FileSystem to work with mmap and support tests to add custom logic

dcapwell commented on code in PR #2299:
URL: https://github.com/apache/cassandra/pull/2299#discussion_r1179736117


##########
src/java/org/apache/cassandra/utils/ByteBufferUtil.java:
##########
@@ -866,4 +867,15 @@ private static boolean startsWith(ByteBuffer src, ByteBuffer prefix, int offset)
 
         return true;
     }
+
+    public static void readFully(FileChannel channel, ByteBuffer dst, long position) throws IOException

Review Comment:
   I feel that this has to exist somewhere....



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org