You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @param offset offset in bytes (relative to {@code segment}). The final address of this read operation can be expressed as {@code segment.address().addOffset(offset)}.
@@ -107,6 +108,7 @@ public static byte getByteAtOffset(MemorySegment segment, long offset) {
107
108
* @param offset offset in bytes (relative to {@code segment}). The final address of this read operation can be expressed as {@code segment.address().addOffset(offset)}.
@@ -123,6 +125,7 @@ public static void setByteAtOffset(MemorySegment segment, long offset, byte valu
123
125
* @param offset offset in bytes (relative to {@code segment}). The final address of this read operation can be expressed as {@code segment.address().addOffset(offset)}.
@@ -138,6 +141,7 @@ public static char getCharAtOffset(MemorySegment segment, long offset) {
138
141
* @param offset offset in bytes (relative to {@code segment}). The final address of this read operation can be expressed as {@code segment.address().addOffset(offset)}.
@@ -153,6 +157,7 @@ public static void setCharAtOffset(MemorySegment segment, long offset, char valu
153
157
* @param offset offset in bytes (relative to {@code segment}). The final address of this read operation can be expressed as {@code segment.address().addOffset(offset)}.
154
158
* @return a short value read from {@code segment}.
@@ -168,6 +173,7 @@ public static short getShortAtOffset(MemorySegment segment, long offset) {
168
173
* @param offset offset in bytes (relative to {@code segment}). The final address of this read operation can be expressed as {@code segment.address().addOffset(offset)}.
@@ -183,6 +189,7 @@ public static void setShortAtOffset(MemorySegment segment, long offset, short va
183
189
* @param offset offset in bytes (relative to {@code segment}). The final address of this read operation can be expressed as {@code segment.address().addOffset(offset)}.
@@ -198,6 +205,7 @@ public static int getIntAtOffset(MemorySegment segment, long offset) {
198
205
* @param offset offset in bytes (relative to {@code segment}). The final address of this read operation can be expressed as {@code segment.address().addOffset(offset)}.
@@ -213,6 +221,7 @@ public static void setIntAtOffset(MemorySegment segment, long offset, int value)
213
221
* @param offset offset in bytes (relative to {@code segment}). The final address of this read operation can be expressed as {@code segment.address().addOffset(offset)}.
214
222
* @return a float value read from {@code segment}.
@@ -228,6 +237,7 @@ public static float getFloatAtOffset(MemorySegment segment, long offset) {
228
237
* @param offset offset in bytes (relative to {@code segment}). The final address of this read operation can be expressed as {@code segment.address().addOffset(offset)}.
@@ -243,6 +253,7 @@ public static void setFloatAtOffset(MemorySegment segment, long offset, float va
243
253
* @param offset offset in bytes (relative to {@code segment}). The final address of this read operation can be expressed as {@code segment.address().addOffset(offset)}.
@@ -258,6 +269,7 @@ public static long getLongAtOffset(MemorySegment segment, long offset) {
258
269
* @param offset offset in bytes (relative to {@code segment}). The final address of this read operation can be expressed as {@code segment.address().addOffset(offset)}.
@@ -273,6 +285,7 @@ public static void setLongAtOffset(MemorySegment segment, long offset, long valu
273
285
* @param offset offset in bytes (relative to {@code segment}). The final address of this read operation can be expressed as {@code segment.address().addOffset(offset)}.
274
286
* @return a double value read from {@code segment}.
@@ -288,6 +301,7 @@ public static double getDoubleAtOffset(MemorySegment segment, long offset) {
288
301
* @param offset offset in bytes (relative to {@code segment}). The final address of this read operation can be expressed as {@code segment.address().addOffset(offset)}.
@@ -304,6 +318,7 @@ public static void setDoubleAtOffset(MemorySegment segment, long offset, double
304
318
* @param offset offset in bytes (relative to {@code segment}). The final address of this read operation can be expressed as {@code segment.address().addOffset(offset)}.
305
319
* @return a memory address read from {@code segment}.
@@ -321,6 +336,7 @@ public static MemoryAddress getAddressAtOffset(MemorySegment segment, long offse
321
336
* @param offset offset in bytes (relative to {@code segment}). The final address of this read operation can be expressed as {@code segment.address().addOffset(offset)}.
322
337
* @param value the memory address to be written (expressed as an {@link Addressable} instance).
* @param index element index (relative to {@code segment}). The final address of this read operation can be expressed as {@code segment.address().addOffset(index * 2)}.
972
1028
* @return a char value read from {@code segment} at the element index specified by {@code index}.
@@ -986,6 +1043,7 @@ public static char getCharAtIndex(MemorySegment segment, long index) {
986
1043
* @param index element index (relative to {@code segment}). The final address of this read operation can be expressed as {@code segment.address().addOffset(index * 2)}.
@@ -1001,6 +1059,7 @@ public static void setCharAtIndex(MemorySegment segment, long index, char value)
1001
1059
* @param index element index (relative to {@code segment}). The final address of this read operation can be expressed as {@code segment.address().addOffset(index * 2)}.
1002
1060
* @return a short value read from {@code segment} at the element index specified by {@code index}.
@@ -1016,6 +1075,7 @@ public static short getShortAtIndex(MemorySegment segment, long index) {
1016
1075
* @param index element index (relative to {@code segment}). The final address of this read operation can be expressed as {@code segment.address().addOffset(index * 2)}.
@@ -1031,6 +1091,7 @@ public static void setShortAtIndex(MemorySegment segment, long index, short valu
1031
1091
* @param index element index (relative to {@code segment}). The final address of this read operation can be expressed as {@code segment.address().addOffset(index * 4)}.
1032
1092
* @return an int value read from {@code segment} at the element index specified by {@code index}.
@@ -1046,6 +1107,7 @@ public static int getIntAtIndex(MemorySegment segment, long index) {
1046
1107
* @param index element index (relative to {@code segment}). The final address of this read operation can be expressed as {@code segment.address().addOffset(index * 4)}.
@@ -1061,6 +1123,7 @@ public static void setIntAtIndex(MemorySegment segment, long index, int value) {
1061
1123
* @param index element index (relative to {@code segment}). The final address of this read operation can be expressed as {@code segment.address().addOffset(index * 4)}.
1062
1124
* @return a float value read from {@code segment} at the element index specified by {@code index}.
@@ -1076,6 +1139,7 @@ public static float getFloatAtIndex(MemorySegment segment, long index) {
1076
1139
* @param index element index (relative to {@code segment}). The final address of this read operation can be expressed as {@code segment.address().addOffset(index * 4)}.
@@ -1091,6 +1155,7 @@ public static void setFloatAtIndex(MemorySegment segment, long index, float valu
1091
1155
* @param index element index (relative to {@code segment}). The final address of this read operation can be expressed as {@code segment.address().addOffset(index * 8)}.
1092
1156
* @return a long value read from {@code segment} at the element index specified by {@code index}.
@@ -1106,6 +1171,7 @@ public static long getLongAtIndex(MemorySegment segment, long index) {
1106
1171
* @param index element index (relative to {@code segment}). The final address of this read operation can be expressed as {@code segment.address().addOffset(index * 8)}.
@@ -1121,6 +1187,7 @@ public static void setLongAtIndex(MemorySegment segment, long index, long value)
1121
1187
* @param index element index (relative to {@code segment}). The final address of this read operation can be expressed as {@code segment.address().addOffset(index * 8)}.
1122
1188
* @return a double value read from {@code segment} at the element index specified by {@code index}.
@@ -1136,6 +1203,7 @@ public static double getDoubleAtIndex(MemorySegment segment, long index) {
1136
1203
* @param index element index (relative to {@code segment}). The final address of this read operation can be expressed as {@code segment.address().addOffset(index * 8)}.
@@ -1151,6 +1219,7 @@ public static void setDoubleAtIndex(MemorySegment segment, long index, double va
1151
1219
* @param index element index (relative to {@code segment}). The final address of this read operation can be expressed as {@code segment.address().addOffset(index * 8)}.
1152
1220
* @return a memory address read from {@code segment} at the element index specified by {@code index}.
@@ -1166,6 +1235,7 @@ public static MemoryAddress getAddressAtIndex(MemorySegment segment, long index)
1166
1235
* @param index element index (relative to {@code segment}). The final address of this read operation can be expressed as {@code segment.address().addOffset(index * 8)}.
1167
1236
* @param value the memory address to be written (expressed as an {@link Addressable} instance).
0 commit comments