Searched refs:sharedMemory (Results 1 – 5 of 5) sorted by relevance
22 try (SharedMemory sharedMemory = SharedMemory.create("foo", 4)) { in getSize_shouldReturnSizeAtCreation() argument23 assertThat(sharedMemory.getSize()).isEqualTo(4); in getSize_shouldReturnSizeAtCreation()30 try (SharedMemory sharedMemory = SharedMemory.create("foo", 4)) { in mapReadWrite_shouldReflectWrites() argument31 ByteBuffer fooBuf = sharedMemory.mapReadWrite(); in mapReadWrite_shouldReflectWrites()41 try (SharedMemory sharedMemory = SharedMemory.create("foo", 4)) { in mapReadWrite_shouldReflectWritesAcrossMappings() argument42 ByteBuffer fooBuf = sharedMemory.mapReadWrite(); in mapReadWrite_shouldReflectWritesAcrossMappings()43 ByteBuffer barBuf = sharedMemory.mapReadOnly(); in mapReadWrite_shouldReflectWritesAcrossMappings()53 try (SharedMemory sharedMemory = SharedMemory.create("foo", 4)) { in mapReadWrite_shouldPersistWritesAcrossUnmap() argument54 ByteBuffer fooBuf = sharedMemory.mapReadWrite(); in mapReadWrite_shouldPersistWritesAcrossUnmap()58 ByteBuffer barBuf = sharedMemory.mapReadOnly(); in mapReadWrite_shouldPersistWritesAcrossUnmap()[all …]
44 bool sharedMemory; member
136 if (out.memorySec->maxMemoryPages != 0 || config->sharedMemory) { in writeBody()140 if (config->sharedMemory) in writeBody()232 bool hasMax = maxMemoryPages != 0 || config->sharedMemory; in writeBody()237 if (config->sharedMemory) in writeBody()428 return numSegments && config->sharedMemory; in isNeeded()
378 config->sharedMemory = args.hasArg(OPT_shared_memory); in readConfigs()511 if (config->sharedMemory) in checkOptions()648 if (config->sharedMemory) { in createSyntheticSymbols()694 if (!config->sharedMemory) in createOptionalSymbols()
282 if (config->sharedMemory) { in layoutMemory()353 if (config->maxMemory != 0 || config->sharedMemory) { in layoutMemory()503 if (config->sharedMemory) { in populateTargetFeatures()811 if (config->sharedMemory) in createOutputSegments()