- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 223 for frameset (0.25 sec)
-
src/runtime/testdata/testprogcgo/bigstack_windows.c
// Allocate a stack that's much larger than the default. static const int STACK_SIZE = 16<<20; static callback *bigStackCallback; static void useStack(int bytes) { // Windows doesn't like huge frames, so we grow the stack 64k at a time. char x[64<<10]; if (bytes < sizeof x) { bigStackCallback(x); } else { useStack(bytes - sizeof x); } } static DWORD WINAPI threadEntry(LPVOID lpParam) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 02 15:18:26 UTC 2018 - 1.2K bytes - Viewed (0) -
utils/utils.go
func FileWithLineNum() string { pcs := [13]uintptr{} // the third caller usually from gorm internal len := runtime.Callers(3, pcs[:]) frames := runtime.CallersFrames(pcs[:len]) for i := 0; i < len; i++ { // second return value is "more", not "ok" frame, _ := frames.Next() if (!strings.HasPrefix(frame.File, gormSourceDir) || strings.HasSuffix(frame.File, "_test.go")) && !strings.HasSuffix(frame.File, ".gen.go") {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Mon Apr 22 06:43:02 UTC 2024 - 3.8K bytes - Viewed (0) -
test/fixedbugs/issue20780.go
// errorcheck // Copyright 2018 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // We have a limit of 1GB for stack frames. // Make sure we include the callee args section. package main type Big = [400e6]byte func f() { // GC_ERROR "stack frame too large" // Note: This test relies on the fact that we currently always
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Jan 10 08:01:49 UTC 2021 - 755 bytes - Viewed (0) -
src/net/http/h2_bundle.go
// header block and is not followed by any // CONTINUATION frames. EndHeaders bool // PadLength is the optional number of bytes of zeros to add // to this frame. PadLength uint8 } // WritePushPromise writes a single PushPromise Frame. // // As with Header Frames, This is the low level call for writing // individual frames. Continuation frames are handled elsewhere. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 364.1K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/Stream.kt
* limitations under the License. */ package mockwebserver3 import okhttp3.ExperimentalOkHttpApi import okio.BufferedSink import okio.BufferedSource /** * A bidirectional sequence of data frames exchanged between client and server. */ @ExperimentalOkHttpApi interface Stream { val requestBody: BufferedSource val responseBody: BufferedSink /**
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Tue Jan 23 14:31:42 UTC 2024 - 1.3K bytes - Viewed (0) -
test/fixedbugs/issue25507.go
// errorcheck // Copyright 2018 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // We have a limit of 1GB for stack frames. // Test that we extend that limit to include large argument/return areas. // Argument/return areas are part of the parent frame, not the frame itself, // so they need to be handled separately. package main
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 14 17:37:52 UTC 2020 - 754 bytes - Viewed (0) -
src/cmd/internal/objabi/stack.go
} // stackGuardMultiplier returns a multiplier to apply to the default // stack guard size. Larger multipliers are used for non-optimized // builds that have larger stack frames or for specific targets. func stackGuardMultiplier(race bool) int { // This arithmetic must match that in runtime/internal/sys/consts.go:StackGuardMultiplier. n := 1 // On AIX, a larger stack is needed for syscalls.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 21 19:28:56 UTC 2023 - 904 bytes - Viewed (0) -
src/runtime/cpuprof.go
// Hopefully a normal Go thread will get the profiling // signal at least once every few seconds. extra [1000]uintptr numExtra int lostExtra uint64 // count of frames lost because extra is full lostAtomic uint64 // count of frames lost because of being in atomic64 on mips/arm; updated racily } var cpuprof cpuProfile // SetCPUProfileRate sets the CPU profiling rate to hz samples per second.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 8.5K bytes - Viewed (0) -
hack/lib/logging.sh
# setting errtrace allows our ERR trap handler to be propagated to functions, # expansions and subshells set -o errtrace } # Print out the stack trace # # Args: # $1 The number of stack frames to skip when printing. kube::log::stack() { local stack_skip=${1:-0} stack_skip=$((stack_skip + 1)) if [[ ${#FUNCNAME[@]} -gt ${stack_skip} ]]; then echo "Call stack:" >&2 local i
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 06 14:40:08 UTC 2024 - 4.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/testing/eventclock/fake.go
if klogV.Enabled() { var pcs [10]uintptr nCallers := runtime.Callers(2, pcs[:]) frames := runtime.CallersFrames(pcs[:nCallers]) callers := make(stackExcerpt, 0, 10) more := frames != nil boundary := 1 for i := 0; more && len(callers) < cap(callers); i++ { var frame runtime.Frame frame, more = frames.Next() fileParts := strings.Split(frame.File, "/")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Dec 18 04:27:38 UTC 2022 - 7.9K bytes - Viewed (0)