| 118 | }); |
| 119 | |
| 120 | FORCE_INLINE StringAnsiView CloneAllocName(const StringAnsiView& name) |
| 121 | { |
| 122 | StringAnsiView result; |
| 123 | if (name.Get()) |
| 124 | { |
| 125 | const int32 length = name.Length(); |
| 126 | char* str = (char*)Allocator::Allocate(length + 1); |
| 127 | Platform::MemoryCopy(str, name.Get(), length); |
| 128 | str[length] = 0; |
| 129 | result = StringAnsiView(str, length); |
| 130 | } |
| 131 | return result; |
| 132 | } |
| 133 | |
| 134 | FORCE_INLINE bool IsNetworkKeyValid(uint32 index) |
| 135 | { |
no test coverage detected