Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 52 for frame_0 (0.12 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/framer/framer_test.go

    		t.Fatalf("unexpected: %v %d %v", err, n, buf)
    	}
    	// read the remaining frame
    	buf = make([]byte, 2)
    	if n, err := r.Read(buf); err != nil && n != 2 && bytes.Equal(buf, []byte{0x03, 0x04}) {
    		t.Fatalf("unexpected: %v %d %v", err, n, buf)
    	}
    	// read with buffer equal to frame
    	buf = make([]byte, 3)
    	if n, err := r.Read(buf); err != nil && n != 3 && bytes.Equal(buf, []byte{0x05, 0x06, 0x07}) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 13:33:12 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. src/runtime/traceback_system_test.go

    func formatStack(pcs []uintptr) string {
    	// When debugging, show file/line/content of files other than this one.
    	const debug = false
    
    	var buf strings.Builder
    	i := 0
    	frames := runtime.CallersFrames(pcs)
    	for {
    		fr, more := frames.Next()
    		if debug {
    			fmt.Fprintf(&buf, "pc=%x ", pcs[i])
    			i++
    		}
    		if base := filepath.Base(fr.File); base == "traceback_system_test.go" || debug {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheDebugLogIntegrationTest.groovy

            events.contains([profile: "build ':' state", type: "O", frame: ":sub:ok"])
            events.contains([profile: "build ':' state", type: "C", frame: ":sub:ok"])
    
            and: "task type frame follows task path frame follows LocalTaskNode frame"
            def firstTaskNodeIndex = events.findIndexOf { it.frame == LocalTaskNode.name }
            firstTaskNodeIndex > 0
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. src/os/zero_copy_linux.go

    	// where splice(2) will just return EINVAL; newer kernels support non-streams like UDP, but I really
    	// doubt that splice(2) could help non-streams, cuz they usually send small frames respectively
    	// and one splice call would result in one frame.
    	// splice(2) is suitable for large data but the generation of fragments defeats its edge here.
    	// Therefore, don't bother to try splice if the r is not a streaming descriptor.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. src/internal/trace/raw/event.go

    		s.WriteString(strconv.FormatUint(e.Args[i], 10))
    	}
    	if spec.IsStack {
    		frames := e.Args[len(spec.Args):]
    		for i := 0; i < len(frames); i++ {
    			if i%4 == 0 {
    				s.WriteString("\n\t")
    			} else {
    				s.WriteString(" ")
    			}
    			s.WriteString(frameFields[i%4])
    			s.WriteString("=")
    			s.WriteString(strconv.FormatUint(frames[i], 10))
    		}
    	}
    	if e.Data != nil {
    		s.WriteString("\n\tdata=")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. src/runtime/symtabinl.go

    }
    
    // An inlineUnwinder iterates over the stack of inlined calls at a PC by
    // decoding the inline table. The last step of iteration is always the frame of
    // the physical function, so there's always at least one frame.
    //
    // This is typically used as:
    //
    //	for u, uf := newInlineUnwinder(...); uf.valid(); uf = u.next(uf) { ... }
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/LoggingTracer.kt

        private
        var nextSequenceNumber = 0L
    
        override fun open(frame: String) {
            log(frame, 'O')
        }
    
        override fun close(frame: String) {
            log(frame, 'C')
        }
    
        private
        fun log(frame: String, openOrClose: Char) {
            logger.log(
                level,
                """{"profile":"$profile","type":"$openOrClose","frame":"$frame","at":${writePosition()},"sn":${nextSequenceNumber()}}"""
            )
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 20:48:51 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. src/runtime/debug/stack_test.go

    		}
    		n++
    	}
    	n++
    
    	frame("runtime/debug/stack.go", "runtime/debug.Stack")
    	frame("runtime/debug/stack_test.go", "runtime/debug_test.(*T).ptrmethod")
    	frame("runtime/debug/stack_test.go", "runtime/debug_test.T.method")
    	frame("runtime/debug/stack_test.go", "runtime/debug_test.TestStack")
    	frame("testing/testing.go", "")
    }
    
    func TestSetCrashOutput(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. doc/next/6-stdlib/99-minor/runtime/pprof/43669.md

    The maximum stack depth for alloc, mutex, block, threadcreate and goroutine
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:45 UTC 2024
    - 124 bytes
    - Viewed (0)
  10. platforms/ide/problems-api/src/main/java/org/gradle/internal/problems/failure/StackFramePredicate.java

        StackFramePredicate USER_CODE = new StackFramePredicate() {
            @Override
            public boolean test(StackTraceElement frame, StackTraceRelevance relevance) {
                return StackTraceRelevance.USER_CODE.equals(relevance);
            }
        };
    
        boolean test(StackTraceElement frame, StackTraceRelevance relevance);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 17:15:42 UTC 2024
    - 1K bytes
    - Viewed (0)
Back to top