Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 242 for context0 (0.13 sec)

  1. src/html/template/escape_test.go

    	tests := []struct {
    		input  string
    		output context
    	}{
    		{
    			``,
    			context{},
    		},
    		{
    			`Hello, World!`,
    			context{},
    		},
    		{
    			// An orphaned "<" is OK.
    			`I <3 Ponies!`,
    			context{},
    		},
    		{
    			`<a`,
    			context{state: stateTag},
    		},
    		{
    			`<a `,
    			context{state: stateTag},
    		},
    		{
    			`<a>`,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 16 03:29:27 UTC 2023
    - 56.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFile.java

        }
    
    
        /**
         * @param context
         * @param name
         */
        private void setContext ( SmbResource context, String name ) {
            this.fileLocator.resolveInContext(context.getLocator(), name);
            if ( context.getLocator().getShare() != null && ( context instanceof SmbFile ) ) {
                this.treeConnection = SmbTreeConnection.create( ( (SmbFile) context ).treeConnection);
            }
            else {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (1)
  3. src/crypto/tls/common.go

    	config *Config
    
    	// ctx is the context of the handshake that is in progress.
    	ctx context.Context
    }
    
    // Context returns the context of the handshake that is in progress.
    // This context is a child of the context passed to HandshakeContext,
    // if any, and is canceled when the handshake concludes.
    func (c *ClientHelloInfo) Context() context.Context {
    	return c.ctx
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool.go

    func (z *erasureServerPools) StorageInfo(ctx context.Context, metrics bool) StorageInfo {
    	return globalNotificationSys.StorageInfo(ctx, z, metrics)
    }
    
    func (z *erasureServerPools) NSScanner(ctx context.Context, updates chan<- DataUsageInfo, wantCycle uint32, healScanMode madmin.HealScanMode) error {
    	// Updates must be closed before we return.
    	defer xioutil.SafeClose(updates)
    
    	ctx, cancel := context.WithCancel(ctx)
    	defer cancel()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 82.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store.go

    		if isNamespaced {
    			e.KeyRootFunc = func(ctx context.Context) string {
    				return NamespaceKeyRootFunc(ctx, prefix)
    			}
    			e.KeyFunc = func(ctx context.Context, name string) (string, error) {
    				return NamespaceKeyFunc(ctx, prefix, name)
    			}
    		} else {
    			e.KeyRootFunc = func(ctx context.Context) string {
    				return prefix
    			}
    			e.KeyFunc = func(ctx context.Context, name string) (string, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 23:22:44 UTC 2024
    - 60.8K bytes
    - Viewed (0)
  6. src/net/http/transport.go

    				// it reads the response body. Check for a response racing
    				// the context close, and use the response if available.
    				return handleResponse(re)
    			default:
    			}
    			pc.cancelRequest(context.Cause(req.ctx))
    		}
    	}
    }
    
    // tLogKey is a context WithValue key for test debugging contexts containing
    // a t.Logf func. See export_test.go's Request.WithT method.
    type tLogKey struct{}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  7. src/crypto/tls/handshake_server_test.go

    	defer cancel()
    	key := struct{}{}
    	ctx = context.WithValue(ctx, key, true)
    	go func() {
    		defer close(clientErr)
    		defer c.Close()
    		var innerCtx context.Context
    		clientConfig.Certificates = nil
    		clientConfig.GetClientCertificate = func(certificateRequest *CertificateRequestInfo) (*Certificate, error) {
    			if val, ok := certificateRequest.Context().Value(key).(bool); !ok || !val {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  8. pilot/pkg/config/kube/crdclient/types.gen.go

    	case gvk.Gateway:
    		return c.Istio().NetworkingV1alpha3().Gateways(namespace).Delete(context.TODO(), name, deleteOptions)
    	case gvk.GatewayClass:
    		return c.GatewayAPI().GatewayV1beta1().GatewayClasses().Delete(context.TODO(), name, deleteOptions)
    	case gvk.HTTPRoute:
    		return c.GatewayAPI().GatewayV1beta1().HTTPRoutes(namespace).Delete(context.TODO(), name, deleteOptions)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 17:37:32 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  9. src/net/http/request.go

    }
    
    // Context returns the request's context. To change the context, use
    // [Request.Clone] or [Request.WithContext].
    //
    // The returned context is always non-nil; it defaults to the
    // background context.
    //
    // For outgoing client requests, the context controls cancellation.
    //
    // For incoming server requests, the context is canceled when the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  10. cmd/iam-store.go

    	saveGroupInfo(ctx context.Context, group string, gi GroupInfo) error
    	deletePolicyDoc(ctx context.Context, policyName string) error
    	deleteMappedPolicy(ctx context.Context, name string, userType IAMUserType, isGroup bool) error
    	deleteUserIdentity(ctx context.Context, name string, userType IAMUserType) error
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 75.8K bytes
    - Viewed (0)
Back to top