Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 81 for pcs (0.03 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/runtime/traceback.go

    }
    
    // tracebackPCs populates pcBuf with the return addresses for each frame from u
    // and returns the number of PCs written to pcBuf. The returned PCs correspond
    // to "logical frames" rather than "physical frames"; that is if A is inlined
    // into B, this will still return a PCs for both A and B. This also includes PCs
    // generated by the cgo unwinder, if one is registered.
    //
    // If skip != 0, this skips this many logical frames.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/wasm/ssa.go

       https://docs.google.com/document/d/131vjr4DH6JFnb-blm_uRdaC0_Nv3OUwjEY5qVCxCup4/edit#heading=h.mjo1bish3xni
    
       PCs:
    
       Wasm doesn't have PCs in the normal sense that you can jump
       to or call to. Instead, we simulate these PCs using our own construct.
    
       A PC in the Wasm implementation is the combination of a function
       ID and a block ID within that function. The function ID is an index
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 17.6K bytes
    - Viewed (0)
  7. src/runtime/debuglog.go

    	case debugLogPC:
    		printDebugLogPC(uintptr(r.uvarint()), false)
    
    	case debugLogTraceback:
    		n := int(r.uvarint())
    		for i := 0; i < n; i++ {
    			print("\n\t")
    			// gentraceback PCs are always return PCs.
    			// Convert them to call PCs.
    			//
    			// TODO(austin): Expand inlined frames.
    			printDebugLogPC(uintptr(r.uvarint()), true)
    		}
    	}
    
    	return true
    }
    
    // printDebugLog prints the debug log.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  8. src/runtime/extern.go

    //
    // To translate these PCs into symbolic information such as function
    // names and line numbers, use [CallersFrames]. CallersFrames accounts
    // for inlined functions and adjusts the return program counters into
    // call program counters. Iterating over the returned slice of PCs
    // directly is discouraged, as is using [FuncForPC] on any of the
    // returned PCs, since these cannot account for inlining or return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  9. pkg/kube/inject/webhook_test.go

    			EnvironmentVariables: map[string]string{
    				fmt.Sprintf("VAR_%d", i): fmt.Sprint(i),
    			},
    		}))
    	}
    	pcs := model.GetProxyConfigs(store, m)
    	env := model.Environment{
    		Watcher:     mesh.NewFixedWatcher(m),
    		ConfigStore: store,
    	}
    	env.SetPushContext(&model.PushContext{
    		ProxyConfigs: pcs,
    	})
    	watcher, err := NewFileWatcher(configFile, valuesFile)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 17 20:25:52 UTC 2023
    - 39K bytes
    - Viewed (1)
  10. src/cmd/link/internal/ld/dwarf.go

    		// different units.
    		sval := d.ldr.SymValue(sym)
    		u0val := d.ldr.SymValue(loader.Sym(unit.Textp[0]))
    		if prevUnit != unit {
    			unit.PCs = append(unit.PCs, dwarf.Range{Start: sval - u0val})
    			prevUnit = unit
    		}
    		unit.PCs[len(unit.PCs)-1].End = sval - u0val + int64(len(d.ldr.Data(sym)))
    	}
    }
    
    func movetomodule(ctxt *Link, parent *dwarf.DWDie) {
    	die := ctxt.runtimeCU.DWInfo.Child
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
Back to top