- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for hasPath (0.17 sec)
-
src/internal/trace/raw/writer.go
} } // Write out the length of the data. if spec.HasData { w.buf = binary.AppendUvarint(w.buf, uint64(len(e.Data))) } // Write out varint events. _, err := w.w.Write(w.buf) w.buf = w.buf[:0] if err != nil { return err } // Write out data. if spec.HasData { _, err := w.w.Write(e.Data) return err } return nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 1.8K bytes - Viewed (0) -
src/internal/trace/event/event.go
// otherwise aren't actually surfaced by the trace reader. IsTimedEvent bool // 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
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/internal/trace/testdata/cmd/gotraceeventstats/main.go
func encodedSize(e *raw.Event) int { size := 1 var buf [binary.MaxVarintLen64]byte for _, arg := range e.Args { size += binary.PutUvarint(buf[:], arg) } spec := e.Version.Specs()[e.Ev] if spec.HasData { size += binary.PutUvarint(buf[:], uint64(len(e.Data))) size += len(e.Data) } return size } type countingReader struct { io.Reader bytesRead int }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:31:29 UTC 2024 - 2.9K bytes - Viewed (0) -
src/internal/trace/raw/reader.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 2.2K bytes - Viewed (0) -
src/internal/trace/raw/doc.go
within. Note: an explicit argument for the length is elided, because it's just the length of the unquoted string. For example: String id=5 data="hello world\x00" These events are identified in their spec by the HasData flag. The second special case consists of stack events. These events are identified by the IsStack flag. These events also have a trailing unsigned integer argument
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 2.3K bytes - Viewed (0) -
src/internal/trace/raw/textreader.go
return Event{}, err } frame, err := readArgs(line, frameFields) if err != nil { return Event{}, err } args = append(args, frame...) } } var data []byte if spec.HasData { line, err := r.nextLine() if err == io.EOF { return Event{}, fmt.Errorf("unexpected EOF while reading data for %s: args=%v", evStr, args) } if err != nil { return Event{}, err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 4.9K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheStandardStreamsIntegrationTest.groovy
tasks.register("run", Exec) { dependsOn(compileJava) executable = ${Jvm.canonicalName}.current().javaExecutable args '-cp', project.layout.files(compileJava).asPath, 'Main' ${formatArgument args["extraArg"], { ", '$it'" }} ${formatStreamArgument args, "standardInput"} ${formatStreamArgument args, "standardOutput"}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 8.6K bytes - Viewed (0)