Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for dumpTrace (0.22 sec)

  1. pkg/controller/nodeipam/ipam/sync/sync_test.go

    		f.reportChan <- struct{}{}
    	}
    }
    
    func (f *fakeAPIs) ResyncTimeout() time.Duration {
    	if f.resyncTimeout == 0 {
    		return time.Second * 10000
    	}
    	return f.resyncTimeout
    }
    
    func (f *fakeAPIs) dumpTrace() {
    	for i, x := range f.calls {
    		f.logger.Info("trace", "index", i, "call", x)
    	}
    }
    
    var nodeWithoutCIDRRange = &v1.Node{
    	ObjectMeta: metav1.ObjectMeta{Name: "node1"},
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 23:39:52 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  2. src/internal/trace/reader_test.go

    	"internal/trace/raw"
    	"internal/trace/testtrace"
    	"internal/trace/version"
    )
    
    var (
    	logEvents  = flag.Bool("log-events", false, "whether to log high-level events; significantly slows down tests")
    	dumpTraces = flag.Bool("dump-traces", false, "dump traces even on success")
    )
    
    func TestReaderGolden(t *testing.T) {
    	matches, err := filepath.Glob("./testdata/tests/*.test")
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. src/runtime/heapdump.go

    	for i := uintptr(0); i < uintptr(cbv.n); i++ {
    		if cbv.ptrbit(i) == 1 {
    			dumpint(fieldKindPtr)
    			dumpint(uint64(offset + i*goarch.PtrSize))
    		}
    	}
    }
    
    func dumpframe(s *stkframe, child *childInfo) {
    	f := s.fn
    
    	// Figure out what we can about our stack map
    	pc := s.pc
    	pcdata := int32(-1) // Use the entry map at function entry
    	if pc != f.entry() {
    		pc--
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. src/internal/trace/trace_test.go

    				// TODO(mknyszek): Remove this when we've migrated off of
    				// the old infrastructure.
    				t.Logf("text trace too large to dump (%d bytes)", len(s))
    			} else {
    				t.Log(s)
    			}
    		} else if t.Failed() || *dumpTraces {
    			// We asked to dump the trace or failed. Write the trace to a file.
    			t.Logf("wrote trace to file: %s", dumpTraceToFile(t, testName, stress, tb))
    		}
    	}
    	t.Run("Default", func(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top