- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 248 for uvarint (0.14 sec)
-
src/internal/trace/batchcursor.go
} n := 1 // Read timestamp diff. ts, nb := binary.Uvarint(b[n:]) if nb <= 0 { return 0, 0, fmt.Errorf("found invalid uvarint for timestamp") } n += nb // Read the rest of the arguments. for i := 0; i < len(spec.Args)-1; i++ { arg, nb := binary.Uvarint(b[n:]) if nb <= 0 { return 0, 0, fmt.Errorf("found invalid uvarint") } e.args[i] = arg n += nb } return n, timestamp(ts), nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 4.1K bytes - Viewed (0) -
src/index/suffixarray/suffixarray.go
func writeInt(w io.Writer, buf []byte, x int) error { binary.PutVarint(buf, int64(x)) _, err := w.Write(buf[0:binary.MaxVarintLen64]) return err } // readInt reads an int x from r using buf to buffer the read and returns x. func readInt(r io.Reader, buf []byte) (int64, error) { _, err := io.ReadFull(r, buf[0:binary.MaxVarintLen64]) // ok to continue with error x, _ := binary.Varint(buf) return x, err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 9.5K bytes - Viewed (0) -
src/runtime/tracebuf.go
// Write the buffer's header. if exp == traceNoExperiment { w.byte(byte(traceEvEventBatch)) } else { w.byte(byte(traceEvExperimentalBatch)) w.byte(byte(exp)) } w.varint(uint64(w.gen)) w.varint(uint64(mID)) w.varint(uint64(ts)) w.traceBuf.lenPos = w.varintReserve() return w } // traceBufQueue is a FIFO of traceBufs. type traceBufQueue struct { head, tail *traceBuf }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:47:01 UTC 2024 - 6.8K bytes - Viewed (0) -
src/internal/trace/event/event.go
// HasData is true if the event has trailer consisting of a // varint length followed by unencoded bytes of some data. // // An event may not be both a timed event and have data. HasData bool // IsStack indicates that the event represents a complete // stack trace. Specifically, it means that after the arguments // there's a varint length, followed by 4*length varints. Each // group of 4 represents the PC, file ID, func ID, and line number
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 3.4K bytes - Viewed (0) -
src/runtime/tracetype.go
// lots of varint sizes. // // Add 1 because we might also write a traceAllocFreeTypesBatch byte. var flushed bool w, flushed = w.ensure(1 + maxBytes) if flushed { // Annotate the batch as containing types. w.byte(byte(traceAllocFreeTypesBatch)) } // Emit type. w.varint(uint64(node.id)) w.varint(uint64(uintptr(unsafe.Pointer(typ)))) w.varint(uint64(typ.Size()))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:31:27 UTC 2024 - 2.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/legalize-tensorlist.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 9.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/features/FeaturesResolveIntegrationTest.groovy
then: failure.assertHasCause("""Unable to find a variant of org:foo:1.0 providing the requested capability org:feature-3: - Variant api provides org:foo:1.0 - Variant feature1 provides org:feature-1:1.0 - Variant feature2 provides org:feature-2:1.0 - Variant runtime provides org:foo:1.0""") } def "can select a variant providing the required set of capabilities"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 30 20:29:39 UTC 2024 - 7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/decompose_optionals.mlir
f = @identity} : (tensor<!tf_type.variant<tensor<f32>>>) -> tensor<!tf_type.variant<tensor<f32>>> %2 = "tf.OptionalGetValue"(%1) : (tensor<!tf_type.variant<tensor<f32>>>) -> tensor<f32> %3 = "tf.OptionalNone"() : () -> tensor<!tf_type.variant<tensor<f32>>> return %2, %3 : tensor<f32>, tensor<!tf_type.variant<tensor<f32>>> } func.func private @identity(%arg0: tensor<!tf_type.variant<tensor<f32>>>) -> tensor<!tf_type.variant<tensor<f32>>> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:18:05 UTC 2024 - 4.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/tf_variant_type.mlir
func.func @main(%arg0 : tensor<!tf_type.variant<tensor<2xi32>>>, %arg1: tensor<!tf_type.variant<tensor<*xi32>>>) -> tensor<!tf_type.variant<tensor<2xi32>>> { func.return %arg0 : tensor<!tf_type.variant<tensor<2xi32>>> } // CHECK: func.func @main(%[[ARG0:.*]]: tensor<!tf_type.variant<tensor<2xi32>>>, %[[ARG1:.*]]: tensor<!tf_type.variant<tensor<*xi32>>>) -> tensor<!tf_type.variant<tensor<2xi32>>>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jan 31 21:25:51 UTC 2024 - 629 bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/maven/MavenJavaModule.groovy
} private static void assertAttributes(GradleModuleMetadata.Variant variant, Map<String, Object> expected) { assert variant.attributes.size() == expected.size() expected.each { attribute, value -> assert variant.attributes.containsKey(attribute) assert variant.attributes[attribute] == value } } void assertNoDependencies() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 10:21:26 UTC 2024 - 9.3K bytes - Viewed (0)