Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 183 for choosing (1.22 sec)

  1. plugin/pkg/admission/network/defaultingressclass/admission.go

    		}
    		return defaultClasses[i].CreationTimestamp.UnixNano() > defaultClasses[j].CreationTimestamp.UnixNano()
    	})
    	if len(defaultClasses) > 1 {
    		klog.V(4).Infof("%d default IngressClasses were found, choosing the newest: %s", len(defaultClasses), defaultClasses[0].Name)
    	}
    
    	return defaultClasses[0], nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 11 01:48:45 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/RoutePlanner.kt

     * limitations under the License.
     */
    package okhttp3.internal.connection
    
    import java.io.IOException
    import okhttp3.Address
    import okhttp3.HttpUrl
    
    /**
     * Policy on choosing which connection to use for an exchange and any retries that follow. This uses
     * the following strategies:
     *
     *  1. If the current call already has a connection that can satisfy the request it is used. Using
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/cacher/caching_object_test.go

    	object, err := newCachingObject(&v1.Pod{})
    	if err != nil {
    		t.Fatalf("couldn't create cachingObject: %v", err)
    	}
    
    	// Given accessors for all fields implement the same logic,
    	// we are choosing an arbitrary one to test.
    	namespace := "namespace"
    	object.SetNamespace(namespace)
    
    	encodeNamespace := func(obj runtime.Object, w io.Writer) error {
    		accessor, err := meta.Accessor(obj)
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 23 15:26:38 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/api/meta/priority.go

    const (
    	AnyGroup    = "*"
    	AnyVersion  = "*"
    	AnyResource = "*"
    	AnyKind     = "*"
    )
    
    var (
    	_ ResettableRESTMapper = PriorityRESTMapper{}
    )
    
    // PriorityRESTMapper is a wrapper for automatically choosing a particular Resource or Kind
    // when multiple matches are possible
    type PriorityRESTMapper struct {
    	// Delegate is the RESTMapper to use to locate all the Kind and Resource matches
    	Delegate RESTMapper
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 05 23:44:02 UTC 2021
    - 7.6K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Type.java

         * a Java library may be compatible with either the class-path or the module-path,
         * and the user may have provided no instruction about which type to use. In such
         * case, the plugin may apply rules for choosing a path. See for example
         * {@link JavaPathType#CLASSES} and {@link JavaPathType#MODULES}.</p>
         */
        @Nonnull
        Set<PathType> getPathTypes();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. src/cmd/cover/html.go

    	"colors": colors,
    }).Parse(tmplHTML))
    
    type templateData struct {
    	Files []*templateFile
    	Set   bool
    }
    
    // PackageName returns a name for the package being shown.
    // It does this by choosing the penultimate element of the path
    // name, so foo.bar/baz/foo.go chooses 'baz'. This is cheap
    // and easy, avoids parsing the Go file, and gets a better answer
    // for package main. It returns the empty string if there is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 08 14:33:36 UTC 2022
    - 6.8K bytes
    - Viewed (0)
  7. src/slices/sort.go

    		}
    	}
    	// i == j, cmp(x[i-1], target) < 0, and cmp(x[j], target) (= cmp(x[i], target)) >= 0  =>  answer is i.
    	return i, i < n && cmp(x[i], target) == 0
    }
    
    type sortedHint int // hint for pdqsort when choosing the pivot
    
    const (
    	unknownHint sortedHint = iota
    	increasingHint
    	decreasingHint
    )
    
    // xorshift paper: https://www.jstatsoft.org/article/view/v008i14/xorshift.pdf
    type xorshift uint64
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 07 23:54:41 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. hack/ginkgo-e2e.sh

            exit 1
        fi
    fi
    
    # These arguments are understood by both Ginkgo test suite and CLI.
    # Some arguments (like --nodes) are only supported when using the CLI.
    # Those get set below when choosing the program.
    ginkgo_args=(
      "--poll-progress-after=${GINKGO_POLL_PROGRESS_AFTER:-60m}"
      "--poll-progress-interval=${GINKGO_POLL_PROGRESS_INTERVAL:-5m}"
      "--source-root=${KUBE_ROOT}"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 13:25:50 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. docs/features/interceptors.md

    ### Choosing between application and network interceptors
    
    Each interceptor chain has relative merits.
    
    **Application interceptors**
    
     * Don't need to worry about intermediate responses like redirects and retries.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  10. test/fibo.go

    // stand-alone program that can easily be run without dependencies
    // and compiled with different compilers.
    
    func (z nat) make(n int) nat {
    	if n <= cap(z) {
    		return z[:n] // reuse z
    	}
    	// Choosing a good value for e has significant performance impact
    	// because it increases the chance that a value can be reused.
    	const e = 4 // extra capacity
    	return make(nat, n, n+e)
    }
    
    // z = x
    func (z nat) set(x nat) nat {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 08 22:22:58 UTC 2014
    - 6.3K bytes
    - Viewed (0)
Back to top