azure_functions_worker/bindings/shared_memory_data_transfer/file_accessor_unix.py [53:60]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    def create_mem_map(self, mem_map_name: str, mem_map_size: int) \
            -> Optional[mmap.mmap]:
        if mem_map_name is None or mem_map_name == '':
            raise SharedMemoryException(
                f'Cannot create memory map. Invalid name {mem_map_name}')
        if mem_map_size <= 0:
            raise SharedMemoryException(
                f'Cannot create memory map. Invalid size {mem_map_size}')
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



azure_functions_worker/bindings/shared_memory_data_transfer/file_accessor_windows.py [42:51]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    def create_mem_map(self, mem_map_name: str, mem_map_size: int) \
            -> Optional[mmap.mmap]:
        # Windows also creates the mmap when trying to open it, if it does not
        # already exist.
        if mem_map_name is None or mem_map_name == '':
            raise SharedMemoryException(
                f'Cannot create memory map. Invalid name {mem_map_name}')
        if mem_map_size <= 0:
            raise SharedMemoryException(
                f'Cannot create memory map. Invalid size {mem_map_size}')
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



