Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 213 for example2 (0.2 sec)

  1. pkg/kubelet/nodestatus/setters_test.go

    				},
    			},
    		},
    		{
    			desc: "extended resources not present in capacity are removed from allocatable",
    			node: &v1.Node{
    				Status: v1.NodeStatus{
    					Allocatable: v1.ResourceList{
    						"example.com/extended": *resource.NewQuantity(1, resource.BinarySI),
    					},
    				},
    			},
    			maxPods: 110,
    			machineInfo: &cadvisorapiv1.MachineInfo{
    				NumCores:       2,
    				MemoryCapacity: 1024,
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 21:47:24 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/runtime/framework.go

    // WithComponentConfigVersion sets the component config version to the
    // KubeSchedulerConfiguration version used. The string should be the full
    // scheme group/version of the external type we converted from (for example
    // "kubescheduler.config.k8s.io/v1")
    func WithComponentConfigVersion(componentConfigVersion string) Option {
    	return func(o *frameworkOptions) {
    		o.componentConfigVersion = componentConfigVersion
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  3. src/runtime/mprof.go

    // profile rate is constant across the lifetime of the program
    // and equal to the current value. Programs that change the
    // memory profiling rate should do so just once, as early as
    // possible in the execution of the program (for example,
    // at the beginning of main).
    var MemProfileRate int = 512 * 1024
    
    // disableMemoryProfiling is set by the linker if runtime.MemProfile
    // is not used and the link type guarantees nobody else could use it
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  4. pkg/kubelet/kuberuntime/kuberuntime_manager.go

    	}
    
    	// There are scenarios where multiple pods are running in parallel having
    	// the same name, because one of them have not been fully terminated yet.
    	// To avoid unexpected behavior on container name based search (for example
    	// by calling *Kubelet.findContainer() without specifying a pod ID), we now
    	// return the list of pods ordered by their creation time.
    	sort.SliceStable(result, func(i, j int) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/AMD64.rules

    // for instance:
    //    x & 0xFFFF0000 -> (x >> 16) << 16
    //    x & 0x80000000 -> (x >> 31) << 31
    //
    // In case the mask is just one bit (like second example above), it conflicts
    // with the above rules to detect bit-testing / bit-clearing of first/last bit.
    // We thus special-case them, by detecting the shift patterns.
    
    // Special case resetting first/last bit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 93.9K bytes
    - Viewed (0)
  6. pkg/controller/volume/attachdetach/reconciler/reconciler_test.go

    	registerMetrics.Do(func() {
    		legacyregistry.MustRegister(metrics.ForceDetachMetricCounter)
    	})
    	// NOTE: This value is being pulled from a global variable, so it won't necessarily be 0 at the start of the test
    	// For example, if Test_Run_OneVolumeDetachOnOutOfServiceTaintedNode runs before this test, then it will be 1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:14 UTC 2024
    - 72.8K bytes
    - Viewed (0)
  7. docs/changelogs/changelog_3x.md

        hand it off to another thread to write to it after `writeTo` returns.
    
        The `EventListener` may now see requests and responses interleaved in ways not previously
        permitted. For example, a listener may receive `responseHeadersStart()` followed by
        `requestBodyEnd()`, both on the same call. Such events may be triggered by different threads
        even for a single call.
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/expr.go

    			// not found in the second round (double insertion of
    			// the same expr node still just leads to one entry for
    			// that node, and it can only be deleted once).
    			// Be cautious and check for presence of entry.
    			// Example: var e, f = int(1<<""[f]) // go.dev/issue/11347
    			if info, found := check.untyped[x.expr]; found {
    				info.isLhs = true
    				check.untyped[x.expr] = info
    			}
    			// keep x's type
    			x.mode = value
    			return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  9. cmd/iam.go

    	// Calculate the waitInterval between periodic refreshes so that each server
    	// independently picks a (uniformly distributed) random time in an interval
    	// of size = baseInterval.
    	//
    	// For example:
    	//
    	//    - if baseInterval=10s, then 5s <= waitInterval() < 15s
    	//
    	//    - if baseInterval=10m, then 5m <= waitInterval() < 15m
    	waitInterval := func() time.Duration {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/syntax/parser.go

    // element (per the isTypeElem predicate) or if force is set.
    // If x is just a name, the result is (name, nil). If the split succeeds,
    // the result is (name, expr). Otherwise the result is (nil, x).
    // Examples:
    //
    //	x           force    name    expr
    //	------------------------------------
    //	P*[]int     T/F      P       *[]int
    //	P*E         T        P       *E
    //	P*E         F        nil     P*E
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
Back to top