/external/opencensus-java/api/src/test/java/io/opencensus/trace/ |
D | SpanContextTest.java | 39 TraceId.fromBytes(firstTraceIdBytes), 40 SpanId.fromBytes(firstSpanIdBytes), 45 TraceId.fromBytes(secondTraceIdBytes), 46 SpanId.fromBytes(secondSpanIdBytes), 62 TraceId.fromBytes(firstTraceIdBytes), SpanId.INVALID, TraceOptions.DEFAULT) in isValid() 67 TraceId.INVALID, SpanId.fromBytes(firstSpanIdBytes), TraceOptions.DEFAULT) in isValid() 76 assertThat(first.getTraceId()).isEqualTo(TraceId.fromBytes(firstTraceIdBytes)); in getTraceId() 77 assertThat(second.getTraceId()).isEqualTo(TraceId.fromBytes(secondTraceIdBytes)); in getTraceId() 82 assertThat(first.getSpanId()).isEqualTo(SpanId.fromBytes(firstSpanIdBytes)); in getSpanId() 83 assertThat(second.getSpanId()).isEqualTo(SpanId.fromBytes(secondSpanIdBytes)); in getSpanId() [all …]
|
D | TraceIdTest.java | 34 private static final TraceId first = TraceId.fromBytes(firstBytes); 35 private static final TraceId second = TraceId.fromBytes(secondBytes); 74 assertThat(first.compareTo(TraceId.fromBytes(firstBytes))).isEqualTo(0); in traceId_CompareTo() 81 tester.addEqualityGroup(first, TraceId.fromBytes(Arrays.copyOf(firstBytes, firstBytes.length))); in traceId_EqualsAndHashCode() 83 second, TraceId.fromBytes(Arrays.copyOf(secondBytes, secondBytes.length))); in traceId_EqualsAndHashCode()
|
D | SpanIdTest.java | 32 private static final SpanId first = SpanId.fromBytes(firstBytes); 33 private static final SpanId second = SpanId.fromBytes(secondBytes); 71 assertThat(first.compareTo(SpanId.fromBytes(firstBytes))).isEqualTo(0); in traceId_CompareTo() 78 tester.addEqualityGroup(first, SpanId.fromBytes(Arrays.copyOf(firstBytes, firstBytes.length))); in traceId_EqualsAndHashCode() 80 second, SpanId.fromBytes(Arrays.copyOf(secondBytes, secondBytes.length))); in traceId_EqualsAndHashCode()
|
D | TraceOptionsTest.java | 61 assertThat(TraceOptions.fromBytes(new byte[] {FIRST_BYTE}).getByte()).isEqualTo(FIRST_BYTE); in deprecated_fromBytes() 62 assertThat(TraceOptions.fromBytes(new byte[] {1, FIRST_BYTE}, 1).getByte()) in deprecated_fromBytes()
|
/external/guava/guava-tests/test/com/google/common/hash/ |
D | HashCodeTest.java | 87 HashCode fromBytes = HashCode.fromBytes(expected.bytes); in testFromBytes() local 88 assertExpectedHashCode(expected, fromBytes); in testFromBytes() 94 HashCode hashCode = HashCode.fromBytes(bytes); in testFromBytes_copyOccurs() 122 HashCode hashCode = HashCode.fromBytes(bytes); in testGetBytesInternal_noCloneOccurs() 160 assertEquals("7f8005ff0e", HashCode.fromBytes(data).toString()); in testToString() 175 HashCode.fromBytes(BaseEncoding.base16().lowerCase().decode(hash1.toString())); in testRoundTripHashCodeUsingBaseEncoding() 194 HashCode hashCodeA = HashCode.fromBytes(bytesA); in testObjectHashCodeWithSameLowOrderBytes() 195 HashCode hashCodeB = HashCode.fromBytes(bytesB); in testObjectHashCodeWithSameLowOrderBytes() 213 String string = HashCode.fromBytes(expected.bytes).toString(); in testRoundTrip() 217 HashCode.fromBytes( in testRoundTrip() [all …]
|
D | AbstractNonStreamingHashFunctionTest.java | 106 return HashCode.fromBytes(out.toByteArray()); in newHasher() 134 return HashCode.fromBytes(input); in hashBytes() 139 return HashCode.fromBytes(Arrays.copyOfRange(input, off, off + len)); in hashBytes()
|
D | MessageDigestHashFunctionTest.java | 100 HashCode.fromBytes(digest.digest(input)), in assertMessageDigestHashing() 104 HashCode.fromBytes(Arrays.copyOf(digest.digest(input), bytes)), in assertMessageDigestHashing()
|
D | AbstractStreamingHasherTest.java | 202 return HashCode.fromBytes(out.toByteArray()); in makeHash() 253 return HashCode.fromBytes(input);
|
D | Murmur3Hash128Test.java | 66 return HashCode.fromBytes(bb.array()); in toHashCode()
|
/external/opencensus-java/exporters/trace/jaeger/src/test/java/io/opencensus/exporter/trace/jaeger/ |
D | JaegerExporterHandlerTest.java | 72 SpanId.fromBytes(new byte[] {(byte) 0x7F, FF, FF, FF, FF, FF, FF, FF}), in exportShouldConvertFromSpanDataToJaegerThriftSpan() 132 TraceId.fromBytes(new byte[] {FF, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1}), in sampleSpanContext() 133 SpanId.fromBytes(new byte[] {0, 0, 0, 0, 0, 0, 1, 0}), in sampleSpanContext() 169 TraceId.fromBytes( in sampleLinks() 171 SpanId.fromBytes(new byte[] {0, 0, 0, 0, 0, 0, 2, 0}), in sampleLinks()
|
/external/guava/guava/src/com/google/common/io/ |
D | LittleEndianDataInputStream.java | 103 return Ints.fromBytes((byte) 0, (byte) 0, b2, b1); in readUnsignedShort() 121 return Ints.fromBytes( b4, b3, b2, b1); in readInt() 143 return Longs.fromBytes(b8, b7, b6, b5, b4, b3, b2, b1); in readLong()
|
/external/flatbuffers/dart/test/ |
D | flat_buffers_test.dart | 205 BufferContext buffer = new BufferContext.fromBytes(byteList); 267 BufferContext buf = new BufferContext.fromBytes(byteList); 292 BufferContext buf = new BufferContext.fromBytes(byteList); 320 BufferContext buf = new BufferContext.fromBytes(byteList); 340 BufferContext buf = new BufferContext.fromBytes(byteList); 376 BufferContext buf = new BufferContext.fromBytes(byteList); 393 BufferContext buf = new BufferContext.fromBytes(byteList); 412 BufferContext buf = new BufferContext.fromBytes(byteList); 445 BufferContext buf = new BufferContext.fromBytes(byteList); 465 BufferContext buf = new BufferContext.fromBytes(byteList); [all …]
|
/external/opencensus-java/api/src/main/java/io/opencensus/trace/ |
D | TraceOptions.java | 78 public static TraceOptions fromBytes(byte[] buffer) { in fromBytes() method in TraceOptions 100 public static TraceOptions fromBytes(byte[] src, int srcOffset) { in fromBytes() method in TraceOptions
|
D | SpanId.java | 71 public static SpanId fromBytes(byte[] buffer) { in fromBytes() method in SpanId 92 public static SpanId fromBytes(byte[] src, int srcOffset) { in fromBytes() method in SpanId
|
D | TraceId.java | 72 public static TraceId fromBytes(byte[] buffer) { in fromBytes() method in TraceId 93 public static TraceId fromBytes(byte[] src, int srcOffset) { in fromBytes() method in TraceId
|
/external/opencensus-java/contrib/spring_sleuth_v1x/src/main/java/io/opencensus/contrib/spring/sleuth/v1x/ |
D | OpenCensusSleuthSpan.java | 71 TraceId.fromBytes( in fromSleuthSpan() 76 SpanId.fromBytes(ByteBuffer.allocate(SpanId.SIZE).putLong(span.getSpanId()).array()), in fromSleuthSpan()
|
/external/opencensus-java/contrib/appengine_standard_util/src/main/java/io/opencensus/contrib/appengine/standard/util/ |
D | AppEngineCloudTraceContextUtils.java | 67 TraceId.fromBytes(traceIdBuf.array()), in fromCloudTraceContext() 68 SpanId.fromBytes(spanIdBuf.array()), in fromCloudTraceContext()
|
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/propagation/ |
D | BinaryFormatImpl.java | 124 traceId = TraceId.fromBytes(bytes, pos + ID_SIZE); in fromByteArray() 131 spanId = SpanId.fromBytes(bytes, pos + ID_SIZE); in fromByteArray()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | DictionaryStringByteConverter.java | 110 public Appendable fromBytes(byte[] input, int byteStart, int byteLength, Appendable result) { in fromBytes() method in DictionaryStringByteConverter 113 byteMaker.fromBytes(input, byteStart, byteLength, internal); in fromBytes()
|
D | StringByteConverter.java | 74 public abstract Appendable fromBytes(byte[] input, int byteStart, in fromBytes() method in StringByteConverter
|
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/propagation/ |
D | BinaryFormatImplTest.java | 39 private static final TraceId TRACE_ID = TraceId.fromBytes(TRACE_ID_BYTES); 41 private static final SpanId SPAN_ID = SpanId.fromBytes(SPAN_ID_BYTES);
|
/external/guava/guava/src/com/google/common/hash/ |
D | BloomFilterStrategies.java | 129 return Longs.fromBytes( in MURMUR128_MITZ_64() 134 return Longs.fromBytes( in MURMUR128_MITZ_64()
|
/external/opencensus-java/api/src/test/java/io/opencensus/trace/samplers/ |
D | SamplersTest.java | 210 TraceId.fromBytes( in probabilitySampler_SampleBasedOnTraceId() 241 TraceId.fromBytes( in probabilitySampler_SampleBasedOnTraceId()
|
/external/flatbuffers/tests/namespace_test/ |
D | namespace_test2_namespace_a_generated.dart | 15 fb.BufferContext rootRef = new fb.BufferContext.fromBytes(bytes); 114 fb.BufferContext rootRef = new fb.BufferContext.fromBytes(bytes);
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | TestStringByteConverter.java | 156 byteString.fromBytes(bytes, 0, byteLen, chars); in testString() 180 Appendable back = conv.fromBytes(output1, 0, len, new StringBuilder()); in checkUtf8()
|