- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 254 for dsts (0.6 sec)
-
tests/integration/pilot/common/traffic.go
SetupForServicePair(func(t framework.TestContext, src echo.Callers, dsts echo.Services) error { tmplData := map[string]any{ // tests that use simple Run only need the first "dst": dsts[0], "dstSvc": dsts[0][0].Config().Service, // tests that use RunForN need all destination deployments "dsts": dsts, "dstSvcs": dsts.NamespacedNames().Names(), } if len(src) > 0 {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jan 03 19:10:01 UTC 2024 - 11.4K bytes - Viewed (0) -
pkg/test/framework/components/echo/echotest/setup.go
// - cleanup... // - a/to_b/from_cluster-2 // - ... func (t *T) SetupForPair(setupFn func(ctx framework.TestContext, from echo.Callers, dsts echo.Instances) error) *T { return t.SetupForServicePair(func(ctx framework.TestContext, from echo.Callers, dsts echo.Services) error { return setupFn(ctx, from, dsts.Instances()) }) } // SetupForServicePair works similarly to SetupForPair, but the setup function accepts echo.Services, which
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jul 20 19:13:32 UTC 2023 - 3.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/writebarrier.go
// srcs contains the value IDs of pointer values we've put in the write barrier buffer. srcs := sset srcs.clear() // dsts contains the value IDs of locations which we've read a pointer out of // and put the result in the write barrier buffer. dsts := sset2 dsts.clear() for _, w := range stores { if w.Op != OpStoreWB { continue } pos := w.Pos ptr := w.Args[0]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:09:14 UTC 2023 - 23.5K bytes - Viewed (0) -
pkg/proxy/ipvs/util/ipvs_linux.go
func toRealServer(dst *libipvs.Destination) (*RealServer, error) { if dst == nil { return nil, errors.New("ipvs destination should not be empty") } return &RealServer{ Address: dst.Address, Port: dst.Port, Weight: dst.Weight, ActiveConn: dst.ActiveConnections, InactiveConn: dst.InactiveConnections, }, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 05:08:41 UTC 2024 - 9K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/regalloc.go
dsts[i] = d i++ } } if i < len(dsts) { // Made some progress. Go around again. dsts = dsts[:i] // Append any extras destinations we generated. dsts = append(dsts, e.extra...) e.extra = e.extra[:0] continue } // We made no progress. That means that any // remaining unsatisfied moves are in simple cycles. // For example, A -> B -> C -> D -> A.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 17:49:56 UTC 2023 - 87.2K bytes - Viewed (0) -
pkg/test/framework/components/echo/echotest/filters_test.go
RunToN(3, func(ctx framework.TestContext, from echo.Instance, dsts echo.Services) { srcKey := from.Config().ClusterLocalFQDN() if testTopology[srcKey] == nil { testTopology[srcKey] = map[string]int{} } var dstnames []string for _, dst := range dsts { dstnames = append(dstnames, dst.Config().ClusterLocalFQDN()) } dstKey := strings.Join(dstnames, "_")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 13.1K bytes - Viewed (0) -
src/cmd/compile/internal/walk/assign.go
if len(n.Results) == 0 { return n } results := fn.Type().Results() dsts := make([]ir.Node, len(results)) for i, v := range results { // TODO(mdempsky): typecheck should have already checked the result variables. dsts[i] = typecheck.AssignExpr(v.Nname.(*ir.Name)) } n.Results = ascompatee(n.Op(), dsts, n.Results) return n } // check assign type list to // an expression list. called in
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:09:06 UTC 2024 - 20.3K bytes - Viewed (0) -
pkg/test/framework/components/echo/echotest/run.go
t.setupPair(ctx, callers, echo.Services{dstInstances}) doTest := func(ctx framework.TestContext, fromCluster cluster.Cluster, dst echo.Instances) { if gwIngress == nil { ctx.Skipf("no gateway for %s", fromCluster.StableName()) } testFn(ctx, gwIngress, dst) } if len(ctx.Clusters()) == 1 { doTest(ctx, ctx.Clusters()[0], dstInstances) } else {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Sep 27 22:08:42 UTC 2023 - 13K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/filters/hsts.go
limitations under the License. */ package filters import ( "net/http" "strings" ) // WithHSTS is a simple HSTS implementation that wraps an http Handler. // If hstsDirectives is empty or nil, no HSTS support is installed. func WithHSTS(handler http.Handler, hstsDirectives []string) http.Handler { if len(hstsDirectives) == 0 { return handler }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jan 12 08:42:53 UTC 2021 - 1.3K bytes - Viewed (0) -
src/vendor/golang.org/x/text/transform/transform.go
// n <= len(src), If err == nil, n will be len(src). It calls Reset on t. func Append(t Transformer, dst, src []byte) (result []byte, n int, err error) { if len(dst) == cap(dst) { n := len(src) + len(dst) // It is okay for this to be 0. b := make([]byte, n) dst = b[:copy(b, dst)] } return doAppend(t, len(dst), dst[:cap(dst)], src) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 21 22:10:00 UTC 2020 - 21.7K bytes - Viewed (0)