Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,005 for predates (0.31 sec)

  1. src/os/error.go

    //
    // This function predates [errors.Is]. It only supports errors returned by
    // the os package. New code should use errors.Is(err, fs.ErrPermission).
    func IsPermission(err error) bool {
    	return underlyingErrorIs(err, ErrPermission)
    }
    
    // IsTimeout returns a boolean indicating whether the error is known
    // to report that a timeout occurred.
    //
    // This function predates [errors.Is], and the notion of whether an
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/responsewriter/wrapper.go

    	//
    	// The CloseNotifier interface is implemented by ResponseWriters which allow detecting
    	// when the underlying connection has gone away.
    	// Deprecated: the CloseNotifier interface predates Go's context package.
    	// New code should use Request.Context instead.
    	inner := decorator.Unwrap()
    	if innerNotifierFlusher, ok := inner.(CloseNotifierFlusher); ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/api/errors/errors.go

    	}
    	return err
    }
    
    // NewBadRequest creates an error that indicates that the request is invalid and can not be processed.
    func NewBadRequest(reason string) *StatusError {
    	return &StatusError{metav1.Status{
    		Status:  metav1.StatusFailure,
    		Code:    http.StatusBadRequest,
    		Reason:  metav1.StatusReasonBadRequest,
    		Message: reason,
    	}}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 21 03:41:32 UTC 2022
    - 30.5K bytes
    - Viewed (0)
  4. pkg/registry/core/service/storage/storage.go

    	newSvc := obj.(*api.Service)
    	oldSvc := oldObj.(*api.Service)
    
    	// Make sure the existing object has all fields we expect to be defaulted.
    	// This might not be true if the saved object predates these fields (the
    	// Decorator hook is not called on 'old' in the update path.
    	r.defaultOnReadService(oldSvc)
    
    	// Fix up allocated values that the client may have not specified (for
    	// idempotence).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 13:09:33 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  5. src/net/http/httputil/reverseproxy.go

    	transport := p.Transport
    	if transport == nil {
    		transport = http.DefaultTransport
    	}
    
    	ctx := req.Context()
    	if ctx.Done() != nil {
    		// CloseNotifier predates context.Context, and has been
    		// entirely superseded by it. If the request contains
    		// a Context that carries a cancellation signal, don't
    		// bother spinning up a goroutine to watch the CloseNotify
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 23:37:42 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  6. src/net/http/fs.go

    // The elements in a file path are separated by slash ('/', U+002F)
    // characters, regardless of host operating system convention.
    // See the [FileServer] function to convert a FileSystem to a [Handler].
    //
    // This interface predates the [fs.FS] interface, which can be used instead:
    // the [FS] adapter function converts an fs.FS to a FileSystem.
    type FileSystem interface {
    	Open(name string) (File, error)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 17:06:47 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modload/load.go

    		// place.
    		ld.skipImportModFiles = ld.Tidy && gover.Compare(goVersion, gover.TidyGoModSumVersion) < 0
    
    		// If the module's go version explicitly predates the change in "all" for
    		// graph pruning, continue to use the older interpretation.
    		ld.allClosesOverTests = gover.Compare(goVersion, gover.NarrowAllVersion) < 0 && !ld.UseVendorAll
    	}
    
    	for {
    		ld.reset()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Predicates.java

            return "Predicates.alwaysFalse()";
          }
        },
        /** @see Predicates#isNull() */
        IS_NULL {
          @Override
          public boolean apply(@CheckForNull Object o) {
            return o == null;
          }
    
          @Override
          public String toString() {
            return "Predicates.isNull()";
          }
        },
        /** @see Predicates#notNull() */
        NOT_NULL {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Predicates.java

            return "Predicates.alwaysFalse()";
          }
        },
        /** @see Predicates#isNull() */
        IS_NULL {
          @Override
          public boolean apply(@CheckForNull Object o) {
            return o == null;
          }
    
          @Override
          public String toString() {
            return "Predicates.isNull()";
          }
        },
        /** @see Predicates#notNull() */
        NOT_NULL {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  10. src/net/http/server.go

    //
    // This mechanism can be used to cancel long operations on the server
    // if the client has disconnected before the response is ready.
    //
    // Deprecated: the CloseNotifier interface predates Go's context package.
    // New code should use [Request.Context] instead.
    type CloseNotifier interface {
    	// CloseNotify returns a channel that receives at most a
    	// single value (true) when the client connection has gone
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
Back to top