- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 80 for ctrbuf (0.14 sec)
-
src/internal/trace/testdata/testprog/cpu-profile.go
import ( "bytes" "context" "fmt" "internal/profile" "log" "os" "runtime" "runtime/pprof" "runtime/trace" "strings" "time" ) func main() { cpuBuf := new(bytes.Buffer) if err := pprof.StartCPUProfile(cpuBuf); err != nil { log.Fatalf("failed to start CPU profile: %v", err) } if err := trace.Start(os.Stdout); err != nil { log.Fatalf("failed to start tracing: %v", err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 3.8K bytes - Viewed (0) -
test/linkx_run.go
cmd := exec.Command("go", "run", "-ldflags=-X main.tbd"+sep+"hello -X main.overwrite"+sep+"trumped -X main.nosuchsymbol"+sep+"neverseen", "linkx.go") var out, errbuf bytes.Buffer cmd.Stdout = &out cmd.Stderr = &errbuf err := cmd.Run() if err != nil { fmt.Println(errbuf.String()) fmt.Println(out.String()) fmt.Println(err) os.Exit(1) } want := "hello\nhello\nhello\ntrumped\ntrumped\ntrumped\n"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 1.7K bytes - Viewed (0) -
src/runtime/tracecpu.go
w.varint(goid) w.varint(stackID) trace.cpuBuf[gen%2] = w.traceBuf } return !eof } // traceCPUFlush flushes trace.cpuBuf[gen%2]. The caller must be certain that gen // has completed and that there are no more writers to it. func traceCPUFlush(gen uintptr) { // Flush any remaining trace buffers containing CPU samples. if buf := trace.cpuBuf[gen%2]; buf != nil { systemstack(func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 17:03:35 UTC 2024 - 8.7K bytes - Viewed (0) -
LICENSES/vendor/github.com/armon/circbuf/LICENSE
= vendor/github.com/armon/circbuf licensed under: = The MIT License (MIT) Copyright (c) 2013 Armon Dadgar Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 08 04:49:00 UTC 2020 - 1.2K bytes - Viewed (0) -
src/runtime/env_plan9.go
// to each filename in it. // //go:nosplit func dofiles(dirfd int32, f func([]byte)) { dirbuf := new([dirBufSize]byte) var off int64 = 0 for { n := pread(dirfd, unsafe.Pointer(&dirbuf[0]), int32(dirBufSize), off) if n <= 0 { return } for b := dirbuf[:n]; len(b) > 0; { var name []byte name, b = gdirname(b) if name == nil { return } f(name) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 26 02:39:39 UTC 2022 - 3K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcHandle.java
int have = doSendReceiveFragment(out, off, msg.length, inB); if ( have != 0 ) { NdrBuffer hdrBuf = new NdrBuffer(inB, 0); setupReceivedFragment(hdrBuf); hdrBuf.setIndex(0); msg.decode_header(hdrBuf); } NdrBuffer msgBuf; if ( have != 0 && !msg.isFlagSet(DCERPC_LAST_FRAG) ) {
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jun 30 10:11:57 UTC 2019 - 12.9K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheReport.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.internal.cc.impl.problems import org.apache.groovy.json.internal.CharBuf import org.gradle.api.internal.file.temp.TemporaryFileProvider import org.gradle.internal.buildoption.InternalFlag import org.gradle.internal.buildoption.InternalOptions import org.gradle.internal.concurrent.ExecutorFactory
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 11.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/python/converter_python_api.cc
for (int i = 0; i < PyList_GET_SIZE(py_denylist); ++i) { PyObject* value = PyList_GetItem(py_denylist, i); char* str_buf; Py_ssize_t length; if (ConvertFromPyString(value, &str_buf, &length) == -1) { return -1; } string_set->emplace(str_buf, length); } } if (PySet_Check(py_denylist)) { auto* tmp = PySet_New(py_denylist); while (PySet_GET_SIZE(tmp)) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 23:15:24 UTC 2024 - 19.2K bytes - Viewed (0) -
src/cmd/asm/internal/asm/endtoend_test.go
ctxt.IsAsm = true defer ctxt.Bso.Flush() failed := false var errBuf bytes.Buffer parser.errorWriter = &errBuf ctxt.DiagFunc = func(format string, args ...interface{}) { failed = true s := fmt.Sprintf(format, args...) if !strings.HasSuffix(s, "\n") { s += "\n" } errBuf.WriteString(s) } for _, flag := range flags { switch flag { case "dynlink":
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 07 18:42:59 UTC 2023 - 11.6K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/JsonModelWriter.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.internal.cc.impl.problems import org.apache.groovy.json.internal.CharBuf import org.gradle.api.internal.DocumentationRegistry import org.gradle.internal.configuration.problems.documentationLinkFor import org.gradle.internal.configuration.problems.DecoratedFailure
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 8.8K bytes - Viewed (0)