Home
last modified time | relevance | path

Searched refs:hash (Results 1 – 25 of 54) sorted by relevance

123

/developtools/profiler/host/smartperf/ide/src/trace/component/trace/base/
DColorUtils.ts61 public static hash(str: string, max: number): number { method in ColorUtils
66 let hash: number = colorA & colorB;
69 hash ^= str.charCodeAt(index);
70 hash = (hash * colorC) & colorD;
72 return Math.abs(hash) % max;
96 let colorIdx: number = ColorUtils.hash(`${tid}`, ColorUtils.MD_PALETTE.length);
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/entity/
DSignContentInfo.java52 protected byte[] hash; field in SignContentHash
64 SignContentHash(char type, char tag, short algId, int length, byte[] hash) { in SignContentHash() argument
69 this.hash = hash; in SignContentHash()
70 this.contentHashLen = CONTENT_HEAD_SIZE + this.hash.length; in SignContentHash()
95 public void addContentHashData(char type, char tag, short algId, int length, byte[] hash) { in addContentHashData() argument
96 SignContentHash signInfo = new SignContentHash(type, tag, algId, length, hash); in addContentHashData()
138 index = ByteArrayUtils.insertByteToByteArray(ret, index, tmp.hash, tmp.hash.length); in getByteContent()
/developtools/profiler/host/ohosprofiler/src/main/java/ohos/devtools/views/trace/util/
DColorUtils.java100 public static int hash(final String str, final int max) { in hash() method in ColorUtils
105 int hash = colorA & colorB; in hash() local
107 hash ^= str.charAt(index); in hash()
108 hash = (hash * colorC) & colorD; in hash()
110 return Math.abs(hash) % max; in hash()
134 int colorIdx = hash(String.valueOf(tid), MD_PALETTE.length); in colorForTid()
/developtools/profiler/host/smartperf/ide/src/trace/database/
DProcedureWorkerCommon.ts182 public static hash(str: string, max: number): number { method in ColorUtils
187 let hash: number = colorA & colorB;
190 hash ^= str.charCodeAt(index);
191 hash = (hash * colorC) & colorD;
193 return Math.abs(hash) % max;
203 let colorIdx:number = ColorUtils.hash(`${tid}`, ColorUtils.MD_PALETTE.length);
/developtools/profiler/host/smartperf/trace_streamer/src/protos/types/plugins/ftrace_data/
Dnet.proto32 uint32 hash = 10; field
55 uint32 hash = 10; field
121 uint32 hash = 10; field
151 uint32 hash = 10; field
174 uint32 hash = 10; field
/developtools/profiler/protos/types/plugins/ftrace_data/
Dnet.proto32 uint32 hash = 10; field
55 uint32 hash = 10; field
121 uint32 hash = 10; field
151 uint32 hash = 10; field
174 uint32 hash = 10; field
/developtools/profiler/device/plugins/ftrace_plugin/tools/trace_converter/event_formatters/
Dftrace_net_event_formatter.cpp36 sout << " hash=" << msg.hash(); in __anonc6ac03fd0302()
65 sout << " hash=" << msg.hash(); in __anonc6ac03fd0502()
161 sout << " hash=" << msg.hash(); in __anonc6ac03fd0f02()
203 sout << " hash=" << msg.hash(); in __anonc6ac03fd1302()
232 sout << " hash=" << msg.hash(); in __anonc6ac03fd1502()
/developtools/profiler/host/smartperf/ide/test/trace/component/trace/base/
DColorUtils.test.ts23 expect(ColorUtils.hash("mm",ColorUtils.MD_PALETTE.length)).toBe(6);
/developtools/profiler/host/ohosprofiler/src/main/java/ohos/devtools/services/memory/agentdao/
DMemoryUpdateInfo.java99 return Objects.hash(updateTime, instanceId); in hashCode()
/developtools/profiler/host/ohosprofiler/src/main/java/ohos/devtools/datasources/utils/device/entity/
DTraceFileInfo.java69 return Objects.hash(version, recordNum, createTime); in hashCode()
DDeviceProcessInfo.java151 … return Objects.hash(deviceName, processName, localSessionId, deviceType, startTime, endTime); in hashCode()
/developtools/profiler/host/ohosprofiler/src/test/java/ohos/devtools/views/trace/util/
DColorUtilsTest.java47 assertEquals(16, ColorUtils.hash("1", ColorUtils.MD_PALETTE.length)); in testHash()
/developtools/ace-ets2bundle/compiler/src/
Dutils.ts234 const hash = createHash('sha256'); constant
235 hash.update(content);
236 return hash.digest('hex');
/developtools/profiler/host/ohosprofiler/src/main/java/ohos/devtools/datasources/databases/datatable/enties/
DCpuData.java131 return Objects.hash(localSessionId, sessionId, timeStamp, data); in hashCode()
DMemoryData.java134 return Objects.hash(localSessionId, sessionId, timeStamp, data); in hashCode()
DEnergyLocationInfo.java85 return Objects.hash(sessionId, eventId, timestamp, priority, energyUsage); in hashCode()
DDiskIOData.java154 return Objects.hash(localSessionId, sessionId, timeStamp, readSectorsKb, writeSectorsKb); in hashCode()
DNetWorkInfo.java99 …return Objects.hash(localSessionId, sessionId, timeStamp, sendSpeed, receiveSpeed, energyNetworkDa… in hashCode()
/developtools/profiler/host/ohosprofiler/src/main/java/ohos/devtools/samplecode/datasources/databases/datatable/enties/
DSampledata.java147 return Objects.hash(localSessionId, sessionId, timeStamp, intData, doubleData); in hashCode()
/developtools/profiler/host/ohosprofiler/src/main/java/ohos/devtools/views/layout/chartview/memory/heapdump/
DHeapDumpThirdInfo.java111 return Objects.hash(nativeSize, shallowSize, retainedSize, instanceId, isObj, depth); in hashCode()
/developtools/profiler/host/ohosprofiler/src/main/java/ohos/devtools/services/distribute/
DDistributeDevice.java100 return Objects.hash(deviceIPPortInfo, processName, sessionId); in hashCode()
/developtools/profiler/host/ohosprofiler/src/main/java/ohos/devtools/views/trace/metrics/bean/
DSysCalls.java84 return Objects.hash(minDur, avgDur, maxDur, funName); in hashCode()
/developtools/profiler/host/ohosprofiler/src/main/java/ohos/devtools/services/memory/nativebean/
DNativeFrame.java100 return Objects.hash(pc, fileName, functionName); in hashCode()
DHookDataBean.java136 …return Objects.hash(hookMethodName, hookAllocationCount, hookDeAllocationCount, hookAllocationMemo… in hashCode()
/developtools/profiler/host/ohosprofiler/src/main/java/ohos/devtools/datasources/utils/process/entity/
DProcessInfo.java109 return Objects.hash(deviceId, processId, processName, state, startTime, arch, agentStatus); in hashCode()

123