- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,217 for convex (0.11 sec)
-
src/context/context.go
// var userKey key // // // NewContext returns a new Context that carries value u. // func NewContext(ctx context.Context, u *User) context.Context { // return context.WithValue(ctx, userKey, u) // } // // // FromContext returns the User value stored in ctx, if any. // func FromContext(ctx context.Context) (*User, bool) { // u, ok := ctx.Value(userKey).(*User) // return u, ok // }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 23.7K bytes - Viewed (0) -
src/go/types/context.go
// achieve such a guarantee. // A Context is an opaque type checking context. It may be used to share // identical type instances across type-checked packages or calls to // Instantiate. Contexts are safe for concurrent use. // // The use of a shared context does not guarantee that identical instances are // deduplicated in all cases. type Context struct { mu sync.Mutex
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 4.4K bytes - Viewed (0) -
istioctl/pkg/cli/context.go
import ( corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/client-go/rest" "istio.io/istio/istioctl/pkg/util/handlers" "istio.io/istio/pkg/kube" "istio.io/istio/pkg/ptr" ) type Context interface { // CLIClient returns a client for the default revision CLIClient() (kube.CLIClient, error) // CLIClientWithRevision returns a client for the given revision CLIClientWithRevision(rev string) (kube.CLIClient, error)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 08:32:06 UTC 2024 - 6.4K bytes - Viewed (0) -
pilot/pkg/config/kube/gateway/context.go
"istio.io/istio/pkg/cluster" "istio.io/istio/pkg/config/constants" "istio.io/istio/pkg/config/host" "istio.io/istio/pkg/util/sets" ) // GatewayContext contains a minimal subset of push context functionality to be exposed to GatewayAPIControllers type GatewayContext struct { ps *model.PushContext cluster cluster.ID } func NewGatewayContext(ps *model.PushContext, cluster cluster.ID) GatewayContext {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 18:33:02 UTC 2024 - 6.2K bytes - Viewed (0) -
pilot/pkg/model/context.go
return e.NetworksWatcher.Networks() } return nil } // SetPushContext sets the push context with lock protected func (e *Environment) SetPushContext(pc *PushContext) { e.mutex.Lock() defer e.mutex.Unlock() e.pushContext = pc } // PushContext returns the push context with lock protected func (e *Environment) PushContext() *PushContext { e.mutex.RLock() defer e.mutex.RUnlock()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 03 08:29:05 UTC 2024 - 33.6K bytes - Viewed (1) -
src/database/sql/convert.go
case driver.Rows: switch d := dest.(type) { case *Rows: if d == nil { return errNilPtr } if rows == nil { return errors.New("invalid context to convert cursor rows, missing parent *Rows") } rows.closemu.Lock() *d = Rows{ dc: rows.dc, releaseConn: func(error) {}, rowsi: s, } // Chain the cancel function.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 16.2K bytes - Viewed (0) -
pkg/config/analysis/local/context.go
"istio.io/istio/pkg/log" ) // NewContext allows tests to use istiodContext without exporting it. returned context is not threadsafe. func NewContext(stores map[cluster.ID]model.ConfigStore, cancelCh <-chan struct{}, collectionReporter CollectionReporterFn) analysis.Context { return &istiodContext{ stores: stores, cancelCh: cancelCh, messages: map[string]*diag.Messages{},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 08:32:06 UTC 2024 - 6.3K bytes - Viewed (0) -
analysis/analysis-api-standalone/testData/sessionBuilder/nonPhysicalFile/context.kt
Yan Zhulanow <******@****.***> 1710406416 +0900
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Fri Mar 22 16:00:27 UTC 2024 - 13 bytes - Viewed (0) -
src/cmd/cover/cover.go
const usageMessage = "" + `Usage of 'go tool cover': Given a coverage profile produced by 'go test': go test -coverprofile=c.out Open a web browser displaying annotated source code: go tool cover -html=c.out Write out an HTML file instead of launching a web browser: go tool cover -html=c.out -o coverage.html Display coverage percentages to stdout for each function: go tool cover -func=c.out
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 34.5K bytes - Viewed (0) -
analysis/analysis-api-standalone/testData/sessionBuilder/codeFragment/context.kt
Yan Zhulanow <******@****.***> 1710406416 +0900
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Fri Mar 22 16:00:27 UTC 2024 - 46 bytes - Viewed (0)