Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 40 for Prioritize (0.11 sec)

  1. pkg/kubelet/kuberuntime/helpers_linux_test.go

    			},
    		},
    		{
    			description:     "prioritise container field over pod field",
    			podSc:           &v1.PodSecurityContext{SeccompProfile: &v1.SeccompProfile{Type: v1.SeccompProfileTypeUnconfined}},
    			containerSc:     &v1.SecurityContext{SeccompProfile: &v1.SeccompProfile{Type: v1.SeccompProfileTypeRuntimeDefault}},
    			expectedProfile: runtimeDefaultProfile,
    		},
    		{
    			description:   "prioritise container field over pod field",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. schema/schema.go

    			field.DBName = namer.ColumnName(schema.Table, field.Name)
    		}
    
    		bindName := field.BindName()
    		if field.DBName != "" {
    			// nonexistence or shortest path or first appear prioritized if has permission
    			if v, ok := schema.FieldsByDBName[field.DBName]; !ok || ((field.Creatable || field.Updatable || field.Readable) && len(field.BindNames) < len(v.BindNames)) {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. pkg/kubelet/preemption/preemption.go

    // so that the critical pod can be admitted.  For evictions, the CriticalPodAdmissionHandler evicts a set of pods that
    // frees up the required resource requests.  The set of pods is designed to minimize impact, and is prioritized according to the ordering:
    // minimal impact for guaranteed pods > minimal impact for burstable pods > minimal impact for besteffort pods.
    // minimal impact is defined as follows: fewest pods evicted > fewest total requests of pods.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 16:53:19 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/runtime/scheme.go

    	groups := sets.String{}
    	order := []string{}
    	for _, version := range versions {
    		if len(version.Version) == 0 || version.Version == APIVersionInternal {
    			return fmt.Errorf("internal versions cannot be prioritized: %v", version)
    		}
    
    		groups.Insert(version.Group)
    		order = append(order, version.Version)
    	}
    	if len(groups) != 1 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 25.2K bytes
    - Viewed (0)
  5. pilot/pkg/leaderelection/k8sleaderelection/leaderelection.go

    	// If the function returns true, indicating our key has high precedence, we will take over
    	// leadership even if their is another un-expired leader.
    	//
    	// This can be used to implemented a prioritized leader election. For example, if multiple
    	// versions of the same application run simultaneously, we can ensure the newest version
    	// will become the leader.
    	//
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 24 04:04:42 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/driver/commands.go

    	}
    	switch runtime.GOOS {
    	case "darwin":
    		cmds = append(cmds, "/usr/bin/open")
    	case "windows":
    		cmds = append(cmds, "cmd /c start")
    	default:
    		// Commands opening browsers are prioritized over xdg-open, so browser()
    		// command can be used on linux to open the .svg file generated by the -web
    		// command (the .svg file includes embedded javascript so is best viewed in
    		// a browser).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  7. src/strings/replace.go

    func (r *Replacer) WriteString(w io.Writer, s string) (n int, err error) {
    	r.once.Do(r.buildOnce)
    	return r.r.WriteString(w, s)
    }
    
    // trieNode is a node in a lookup trie for prioritized key/value pairs. Keys
    // and values may be empty. For example, the trie containing keys "ax", "ay",
    // "bcbc", "x" and "xy" could have eight nodes:
    //
    //	n0  -
    //	n1  a-
    //	n2  .x+
    //	n3  .y+
    //	n4  b-
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:10:31 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt

        // Add first regular route as failed.
        routeDatabase.failed(regularRoutes[0])
        // Reset selector
        routeSelector = newRouteSelector(address)
    
        // The first selection prioritizes the non-failed routes.
        val selection2 = routeSelector.next()
        assertThat(selection2.next()).isEqualTo(regularRoutes[1])
        assertThat(selection2.hasNext()).isFalse()
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Mar 06 17:33:38 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  9. src/io/io_test.go

    	wb := new(bytes.Buffer)
    	rb.WriteString("hello, world.")
    	Copy(wb, rb)
    	if wb.String() != "hello, world." {
    		t.Errorf("Copy did not work properly")
    	} else if !rb.writeToCalled {
    		t.Errorf("WriteTo was not prioritized over ReadFrom")
    	}
    }
    
    type zeroErrReader struct {
    	err error
    }
    
    func (r zeroErrReader) Read(p []byte) (int, error) {
    	return copy(p, []byte{0}), r.err
    }
    
    type errWriter struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 22:04:41 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  10. cmd/metacache-set.go

    func (er *erasureObjects) listPath(ctx context.Context, o listPathOptions, results chan<- metaCacheEntry) (err error) {
    	defer xioutil.SafeClose(results)
    	o.debugf(color.Green("listPath:")+" with options: %#v", o)
    
    	// get prioritized non-healing disks for listing
    	disks, infos, _ := er.getOnlineDisksWithHealingAndInfo(true)
    	askDisks := getListQuorum(o.AskDisks, er.setDriveCount)
    	if askDisks == -1 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 22:18:44 UTC 2024
    - 30.4K bytes
    - Viewed (0)
Back to top