Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 4,226 for context0 (0.2 sec)

  1. src/go/types/context.go

    // this was not an explicit design goal of the context type. In fact, due to
    // concurrent use it is convenient not to guarantee de-duplication.
    //
    // Nevertheless, in the future it could be helpful to allow users to leverage
    // contexts to canonicalize instances, and it would probably be possible to
    // achieve such a guarantee.
    
    // A Context is an opaque type checking context. It may be used to share
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. src/context/context.go

    	//
    	// 	// userKey is the key for user.User values in Contexts. It is
    	// 	// unexported; clients use user.NewContext and user.FromContext
    	// 	// instead of using this key directly.
    	// 	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)
    	// 	}
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 23.7K bytes
    - Viewed (0)
  3. src/html/template/context.go

    	"fmt"
    	"text/template/parse"
    )
    
    // context describes the state an HTML parser must be in when it reaches the
    // portion of HTML produced by evaluating a particular template node.
    //
    // The zero value of type context is the start context for a template that
    // produces an HTML fragment as defined at
    // https://www.w3.org/TR/html5/syntax.html#the-end
    // where the context element is null.
    type context struct {
    	state   state
    	delim   delim
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 16 03:29:27 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  4. tools/bug-report/pkg/content/content.go

    func GetClusterInfo(p *Params) (map[string]string, error) {
    	out, err := p.Runner.RunCmd("config current-context", "", p.KubeConfig, p.KubeContext, p.DryRun)
    	if err != nil {
    		return nil, err
    	}
    	ret := make(map[string]string)
    	// Add the endpoint to the context
    	ret["cluster-context"] = out + p.Runner.Client.RESTConfig().Host + "\n"
    	out, err = p.Runner.RunCmd("version", "", p.KubeConfig, p.KubeContext, p.DryRun)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 05 18:47:53 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  5. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Contexts.kt

            }
            isolate
        }
    
        protected
        fun getCodec() = currentCodec
    
        private
        val contexts = ArrayList<Pair<T?, Codec<Any?>>>()
    
        override fun push(codec: Codec<Any?>) {
            contexts.add(0, Pair(currentIsolate, currentCodec))
            currentCodec = codec
        }
    
        override fun push(owner: IsolateOwner) {
            push(owner, currentCodec)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. 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)
  7. src/cmd/vendor/golang.org/x/text/cases/context.go

    package cases
    
    import "golang.org/x/text/transform"
    
    // A context is used for iterating over source bytes, fetching case info and
    // writing to a destination buffer.
    //
    // Casing operations may need more than one rune of context to decide how a rune
    // should be cased. Casing implementations should call checkpoint on context
    // whenever it is known to be safe to return the runes processed so far.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/Context.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.execution.steps;
    
    public interface Context {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 692 bytes
    - Viewed (0)
Back to top