Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 67 for PCs (0.02 sec)

  1. pilot/pkg/config/kube/gateway/deploymentcontroller_test.go

    	}
    	proxyConfig := model.GetProxyConfigs(store, mesh.DefaultMeshConfig())
    	tests := []struct {
    		name                     string
    		gw                       k8sbeta.Gateway
    		objects                  []runtime.Object
    		pcs                      *model.ProxyConfigs
    		values                   string
    		discoveryNamespaceFilter kubetypes.DynamicObjectFilter
    		ignore                   bool
    	}{
    		{
    			name: "simple",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 21:43:20 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  2. src/net/http/export_test.go

    // that it's doing so. This is to simulate the server closing connections
    // on the Transport.
    func ExportCloseTransportConnsAbruptly(tr *Transport) {
    	tr.idleMu.Lock()
    	for _, pcs := range tr.idleConn {
    		for _, pc := range pcs {
    			pc.conn.Close()
    		}
    	}
    	tr.idleMu.Unlock()
    }
    
    // ResponseWriterConnForTesting returns w's underlying connection, if w
    // is a regular *response ResponseWriter.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:11:57 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. src/runtime/symtab.go

    			f = nil
    
    			// When CallersFrame is invoked using the PC list returned by Callers,
    			// the PC list includes virtual PCs corresponding to each outer frame
    			// around an innermost real inlined PC.
    			// We also want to support code passing in a PC list extracted from a
    			// stack trace, and there only the real PCs are printed, not the virtual ones.
    			// So check to see if the implied virtual PC for this PC (obtained from the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  4. src/internal/trace/parser.go

    	EvBatch             = 1  // start of per-P batch of events [pid, timestamp]
    	EvFrequency         = 2  // contains tracer timer frequency [frequency (ticks per second)]
    	EvStack             = 3  // stack [stack id, number of PCs, array of {PC, func string ID, file string ID, line}]
    	EvGomaxprocs        = 4  // current value of GOMAXPROCS [timestamp, GOMAXPROCS, stack id]
    	EvProcStart         = 5  // start of P [timestamp, thread id]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:31:04 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. src/runtime/symtabinl_test.go

    		"tiuInlined2:7 tiuTest:11":               0,
    		"tiuTest:12":                             0,
    	}
    	wantStart := map[string]int{
    		"tiuInlined1": 2,
    		"tiuInlined2": 5,
    		"tiuTest":     9,
    	}
    
    	// Iterate over the PCs in tiuTest and walk the inline stack for each.
    	prevStack := "x"
    	for pc := pc1; pc < pc1+1024 && findfunc(pc) == f; pc += sys.PCQuantum {
    		stack := ""
    		u, uf := newInlineUnwinder(f, pc)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. src/internal/trace/internal/oldtrace/parser.go

    type Trace struct {
    	Version version.Version
    
    	// Events is the sorted list of Events in the trace.
    	Events Events
    	// Stacks is the stack traces (stored as slices of PCs), keyed by stack IDs
    	// from the trace.
    	Stacks        map[uint32][]uint64
    	PCs           map[uint64]Frame
    	Strings       map[uint64]string
    	InlineStrings []string
    }
    
    // batchOffset records the byte offset of, and number of events in, a batch. A
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  7. pilot/pkg/model/proxy_config_test.go

    			m := &meshconfig.MeshConfig{
    				RootNamespace: istioRootNamespace,
    				DefaultConfig: tc.defaultConfig,
    			}
    			original, _ := protomarshal.ToJSON(m)
    			pcs := GetProxyConfigs(store, m)
    			merged := pcs.EffectiveProxyConfig(tc.proxy, m)
    			pc := mesh.DefaultProxyConfig()
    			proto.Merge(pc, tc.expected)
    
    			assert.Equal(t, merged, pc)
    			after, _ := protomarshal.ToJSON(m)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 21 01:23:19 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  8. src/runtime/libfuzzer.go

    	start := unsafe.Pointer(&__start___sancov_cntrs)
    	end := unsafe.Pointer(&__stop___sancov_cntrs)
    
    	// PC tables are arrays of ptr-sized integers representing pairs [PC,PCFlags] for every instrumented block.
    	// The number of PCs and PCFlags is the same as the number of 8-bit counters. Each PC table entry has
    	// the size of two ptr-sized integers. We allocate one more byte than what we actually need so that we can
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 23 01:12:02 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  9. src/log/slog/value.go

    	return AnyValue(err)
    }
    
    func stack(skip, nFrames int) string {
    	pcs := make([]uintptr, nFrames+1)
    	n := runtime.Callers(skip+1, pcs)
    	if n == 0 {
    		return "(no stack)"
    	}
    	frames := runtime.CallersFrames(pcs[:n])
    	var b strings.Builder
    	i := 0
    	for {
    		frame, more := frames.Next()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:12:08 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. src/log/slog/logger_test.go

    			}
    		})
    	})
    }
    
    // callerPC returns the program counter at the given stack depth.
    func callerPC(depth int) uintptr {
    	var pcs [1]uintptr
    	runtime.Callers(depth, pcs[:])
    	return pcs[0]
    }
    
    func wantAllocs(t *testing.T, want int, f func()) {
    	if race.Enabled {
    		t.Skip("skipping test in race mode")
    	}
    	testenv.SkipIfOptimizationOff(t)
    	t.Helper()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 10 21:25:30 UTC 2023
    - 19.5K bytes
    - Viewed (0)
Back to top