Home
last modified time | relevance | path

Searched refs:unsafeData (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/lite/swift/Tests/
DInterpreterTests.swift107 let expectedResults = [Float32](unsafeData: outputTensor.data) in testOutputTensorAtIndex()
349 init?(unsafeData: Data) {
350 guard unsafeData.count % MemoryLayout<Element>.stride == 0 else { return nil }
352 self = unsafeData.withUnsafeBytes { .init($0.bindMemory(to: Element.self)) }
354 self = unsafeData.withUnsafeBytes {
358 count: unsafeData.count / MemoryLayout<Element>.stride
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationDataReader.java344 char[] unsafeData = ICUBinary.getChars(inBytes, length / 2, length & 1); in read() local
346 sset.getSet(unsafeData, 0); in read()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationDataReader.java343 char[] unsafeData = ICUBinary.getChars(inBytes, length / 2, length & 1); in read() local
345 sset.getSet(unsafeData, 0); in read()
/external/icu/icu4c/source/i18n/
Dcollationdatareader.cpp306 const uint16_t *unsafeData = reinterpret_cast<const uint16_t *>(inBytes + offset); in read() local
307 if(!uset_getSerializedSet(&sset, unsafeData, length / 2)) { in read()