Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 368 for Implementation (0.18 sec)

  1. pkg/scheduler/util/assumecache/assume_cache.go

    		return -1, err
    	}
    
    	objResourceVersion, err := strconv.ParseInt(objAccessor.GetResourceVersion(), 10, 64)
    	if err != nil {
    		//nolint:errorlint // Intentionally not wrapping the error, the underlying error is an implementation detail.
    		return -1, fmt.Errorf("error parsing ResourceVersion %q for %v %q: %v", objAccessor.GetResourceVersion(), c.description, name, err)
    	}
    	return objResourceVersion, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/predicates.go

    			return xset.terms.equal(yset.terms)
    		}
    
    	case *Interface:
    		// Two interface types are identical if they describe the same type sets.
    		// With the existing implementation restriction, this simplifies to:
    		//
    		// Two interface types are identical if they have the same set of methods with
    		// the same names and identical function types, and if any type restrictions
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  3. pkg/kube/krt/collection.go

    func NewCollection[I, O any](c Collection[I], hf TransformationSingle[I, O], opts ...CollectionOption) Collection[O] {
    	// For implementation simplicity, represent TransformationSingle as a TransformationMulti so we can share an implementation.
    	hm := func(ctx HandlerContext, i I) []O {
    		res := hf(ctx, i)
    		if res == nil {
    			return nil
    		}
    		return []O{*res}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/cel/library/cost.go

    				// Dont have access to underlying regex, estimate a long regexp
    				regexSize := format.MaxRegexSize
    
    				// Copied from CEL implementation for regex cost
    				//
    				// https://swtch.com/~rsc/regexp/regexp1.html applies to RE2 implementation supported by CEL
    				// Add one to string length for purposes of cost calculation to prevent product of string and regex to be 0
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/cbor.go

    	if u, ok := into.(runtime.Unstructured); ok {
    		var content map[string]interface{}
    		defer func() {
    			switch u := u.(type) {
    			case *unstructured.UnstructuredList:
    				// UnstructuredList's implementation of SetUnstructuredContent
    				// produces different objects than those produced by a decode using
    				// UnstructuredJSONScheme:
    				//
    				//   1. SetUnstructuredContent retains the "items" key in the list's
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 14:57:12 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  6. src/runtime/metrics/doc.go

    /*
    Package metrics provides a stable interface to access implementation-defined
    metrics exported by the Go runtime. This package is similar to existing functions
    like [runtime.ReadMemStats] and [runtime/debug.ReadGCStats], but significantly more general.
    
    The set of metrics defined by this package may evolve as the runtime itself
    evolves, and also enables variation across Go implementations, whose relevant
    metric sets may not intersect.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:43 UTC 2024
    - 20K bytes
    - Viewed (0)
  7. src/testing/testing.go

    // command-line flags, including those of the testing package, it should call
    // flag.Parse explicitly. Command line flags are always parsed by the time test
    // or benchmark functions run.
    //
    // A simple implementation of TestMain is:
    //
    //	func TestMain(m *testing.M) {
    //		// call flag.Parse() here if TestMain uses flags
    //		os.Exit(m.Run())
    //	}
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/unify.go

    package types2
    
    import (
    	"bytes"
    	"fmt"
    	"sort"
    	"strings"
    )
    
    const (
    	// Upper limit for recursion depth. Used to catch infinite recursions
    	// due to implementation issues (e.g., see issues go.dev/issue/48619, go.dev/issue/48656).
    	unificationDepthLimit = 50
    
    	// Whether to panic when unificationDepthLimit is reached.
    	// If disabled, a recursion depth overflow results in a (quiet)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  9. src/internal/bisect/bisect.go

    			}
    		}
    	}
    	return h
    }
    
    // Trivial error implementation, here to avoid importing errors.
    
    // parseError is a trivial error implementation,
    // defined here to avoid importing errors.
    type parseError struct{ text string }
    
    func (e *parseError) Error() string { return e.text }
    
    // FNV-1a implementation. See Go's hash/fnv/fnv.go.
    // Copied here for simplicity (can handle integers more directly)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 17:28:43 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  10. cmd/sts-handlers.go

    		c, err := globalSiteReplicatorCred.Get(GlobalContext)
    		if err != nil {
    			return "", err
    		}
    		return c.SecretKey, nil
    	}
    	return secret, nil
    }
    
    // AssumeRole - implementation of AWS STS API AssumeRole to get temporary
    // credentials for regular users on Minio.
    // https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 33.9K bytes
    - Viewed (0)
Back to top