/external/tensorflow/tensorflow/core/common_runtime/gpu/ |
gpu_util.cc | 396 // TODO(pbar) Checksum is called from places without a valid device context. 397 uint64 GPUUtil::Checksum(Device* gpu_device, 410 return Checksum(copy); 413 uint64 GPUUtil::Checksum(const Tensor& tensor) {
|
/prebuilts/go/darwin-x86/src/hash/crc32/ |
crc32.go | 6 // checksum. See http://en.wikipedia.org/wiki/Cyclic_redundancy_check for 21 // The size of a CRC-32 checksum in bytes. 136 // digest represents the partial evaluation of a checksum. 142 // New creates a new hash.Hash32 computing the CRC-32 checksum using the 154 // NewIEEE creates a new hash.Hash32 computing the CRC-32 checksum using 245 // Checksum returns the CRC-32 checksum of data 247 func Checksum(data []byte, tab *Table) uint32 { return Update(0, tab, data) } 249 // ChecksumIEEE returns the CRC-32 checksum of data 256 // tableSum returns the IEEE checksum of table t [all...] |
/prebuilts/go/linux-x86/src/hash/crc32/ |
crc32.go | 6 // checksum. See http://en.wikipedia.org/wiki/Cyclic_redundancy_check for 21 // The size of a CRC-32 checksum in bytes. 136 // digest represents the partial evaluation of a checksum. 142 // New creates a new hash.Hash32 computing the CRC-32 checksum using the 154 // NewIEEE creates a new hash.Hash32 computing the CRC-32 checksum using 245 // Checksum returns the CRC-32 checksum of data 247 func Checksum(data []byte, tab *Table) uint32 { return Update(0, tab, data) } 249 // ChecksumIEEE returns the CRC-32 checksum of data 256 // tableSum returns the IEEE checksum of table t [all...] |
/device/linaro/bootloader/OpenPlatformPkg/Applications/FirmwareUpdate/ |
FUpdate.c | 135 UINT32 HeaderLength, Checksum, ChecksumBackup;
147 // The checksum field is discarded from calculation
150 Checksum = CalculateSum32 ((UINT32 *)Header, HeaderLength);
151 if (Checksum != ChecksumBackup) {
152 Print (L"%s: Bad Image checksum. 0x%x != 0x%x\n", CMD_NAME_STRING, Checksum, ChecksumBackup);
156 // Restore checksum backup
313 // Check image checksum and magic
|
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Drivers/FlashFvbDxe/ |
FlashFvbDxe.c | 186 FirmwareVolumeHeader->Checksum = CalculateCheckSum16 ((UINT16*)FirmwareVolumeHeader, FirmwareVolumeHeader->HeaderLength);
218 UINT16 Checksum;
250 // Verify the header checksum
251 Checksum = CalculateSum16((UINT16*)FwVolHeader, FwVolHeader->HeaderLength);
252 if (Checksum != 0)
254 DEBUG ((EFI_D_ERROR, "ValidateFvHeader: FV checksum is invalid (Checksum:0x%X)\n", Checksum));
[all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/C/Include/IndustryStandard/ |
Acpi.h | 38 UINT8 Checksum;
82 UINT8 Checksum;
|
/device/linaro/bootloader/edk2/EmulatorPkg/FvbServicesRuntimeDxe/ |
FWBlockService.c | 1065 UINT16 Checksum;
[all...] |
/device/linaro/bootloader/edk2/IntelFrameworkPkg/Include/Protocol/ |
LegacyBiosPlatform.h | 502 UINT8 Checksum;
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Disk/RamDiskDxe/ |
RamDiskProtocol.c | 158 UINT8 Checksum;
289 // The checksum will be updated after the new contents are appended.
291 NfitHeader->Checksum = 0;
326 NfitHeader->Checksum = 0;
344 Checksum = CalculateCheckSum8((UINT8 *)Nfit, NfitHeader->Length);
345 NfitHeader->Checksum = Checksum;
400 UINT8 Checksum;
485 NewNfitHeader->Checksum = 0;
526 Checksum = CalculateCheckSum8((UINT8 *)NewNfit, NewNfitHeader->Length); [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/IScsiDxe/ |
IScsiIbft.c | 39 Header->Checksum = 0;
438 UINT8 Checksum;
519 Checksum = CalculateCheckSum8((UINT8 *)Table, Table->Length);
520 Table->Checksum = Checksum;
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Tcp4Dxe/ |
Tcp4Misc.c | 59 // Compute the checksum of the fixed parts of pseudo header
543 Compute the TCP segment's checksum.
547 @param HeadSum The checksum value of the fixed part of pseudo
550 @return The checksum value.
559 UINT16 Checksum;
561 Checksum = NetbufChecksum (Nbuf);
562 Checksum = NetAddChecksum (Checksum, HeadSum);
564 Checksum = NetAddChecksum (
565 Checksum,
[all...] |
/device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/ |
ElTorito.h | 115 UINT16 Checksum;
|
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/ |
AcpiSystemDescriptionTable.h | 44 UINT8 Checksum;
|
/device/linaro/bootloader/edk2/NetworkPkg/TcpDxe/ |
TcpMisc.c | 58 // Compute the checksum of the fixed parts of pseudo header
651 Compute the TCP segment's checksum.
654 @param[in] HeadSum The checksum value of the fixed part of pseudo header.
656 @return The checksum value.
665 UINT16 Checksum;
667 Checksum = NetbufChecksum (Nbuf);
668 Checksum = NetAddChecksum (Checksum, HeadSum);
670 Checksum = NetAddChecksum (
671 Checksum,
[all...] |
/device/linaro/bootloader/edk2/OvmfPkg/Csm/CsmSupportLib/ |
LegacyPlatform.c | 79 0x00, // UINT8 Checksum
694 UINT8 Checksum;
699 Checksum = 0;
727 // Calculate checksum.
730 Checksum = (UINT8) (Checksum + (UINT8) *Ptr);
733 Checksum = (UINT8) (0x00 - Checksum);
734 PirqTableHead.PirqTable.Checksum = Checksum;
[all...] |
/device/linaro/bootloader/edk2/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/ |
FwBlockService.c | 797 UINT16 Checksum;
813 // Verify the header checksum
816 Checksum = CalculateSum16 ((UINT16 *) FwVolHeader,
818 if (Checksum != 0) {
822 (UINT16) (((UINTN) FwVolHeader->Checksum + 0x10000 - Checksum) & 0xffff);
824 DEBUG ((EFI_D_INFO, "FV@%p Checksum is 0x%x, expected 0x%x\n",
825 FwVolHeader, FwVolHeader->Checksum, Expected));
[all...] |
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/SpiFvbServices/ |
FwBlockService.c | [all...] |
/external/sfntly/cpp/src/sfntly/data/ |
readable_font_data.cc | 49 int64_t ReadableFontData::Checksum() { 378 // Checksum all whole 4-byte chunks.
|
/prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/MC/ |
MCCodeView.h | 273 /// Emits the file checksum substream. 276 /// Emits the offset into the checksum table of the given file number. 309 ArrayRef<uint8_t> Checksum; 311 // Checksum offset stored as a symbol because it might be requested 329 /// Indicate whether we have already laid out the checksum table addresses or
|
/prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/MC/ |
MCCodeView.h | 273 /// Emits the file checksum substream. 276 /// Emits the offset into the checksum table of the given file number. 309 ArrayRef<uint8_t> Checksum; 311 // Checksum offset stored as a symbol because it might be requested 329 /// Indicate whether we have already laid out the checksum table addresses or
|
/prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/MC/ |
MCCodeView.h | 273 /// Emits the file checksum substream. 276 /// Emits the offset into the checksum table of the given file number. 309 ArrayRef<uint8_t> Checksum; 311 // Checksum offset stored as a symbol because it might be requested 329 /// Indicate whether we have already laid out the checksum table addresses or
|
/prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/MC/ |
MCCodeView.h | 273 /// Emits the file checksum substream. 276 /// Emits the offset into the checksum table of the given file number. 309 ArrayRef<uint8_t> Checksum; 311 // Checksum offset stored as a symbol because it might be requested 329 /// Indicate whether we have already laid out the checksum table addresses or
|
/prebuilts/clang/host/linux-x86/clang-4579689/include/llvm/MC/ |
MCCodeView.h | 273 /// Emits the file checksum substream. 276 /// Emits the offset into the checksum table of the given file number. 309 ArrayRef<uint8_t> Checksum; 311 // Checksum offset stored as a symbol because it might be requested 329 /// Indicate whether we have already laid out the checksum table addresses or
|
/prebuilts/clang/host/linux-x86/clang-4630689/include/llvm/MC/ |
MCCodeView.h | 273 /// Emits the file checksum substream. 276 /// Emits the offset into the checksum table of the given file number. 309 ArrayRef<uint8_t> Checksum; 311 // Checksum offset stored as a symbol because it might be requested 329 /// Indicate whether we have already laid out the checksum table addresses or
|
/prebuilts/clang/host/linux-x86/clang-4639204/include/llvm/MC/ |
MCCodeView.h | 273 /// Emits the file checksum substream. 276 /// Emits the offset into the checksum table of the given file number. 309 ArrayRef<uint8_t> Checksum; 311 // Checksum offset stored as a symbol because it might be requested 329 /// Indicate whether we have already laid out the checksum table addresses or
|