Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 400 for assignOp (0.12 sec)

  1. pkg/kubelet/apis/podresources/types.go

    type CPUsProvider interface {
    	// GetCPUs returns information about the cpus assigned to pods and containers
    	GetCPUs(podUID, containerName string) []int64
    	// GetAllocatableCPUs returns the allocatable (not allocated) CPUs
    	GetAllocatableCPUs() []int64
    }
    
    type MemoryProvider interface {
    	// GetMemory returns information about the memory assigned to containers
    	GetMemory(podUID, containerName string) []*podresourcesapi.ContainerMemory
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 17:33:04 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. cmd/kube-apiserver/app/options/options.go

    		"service will be of type ClusterIP.")
    
    	fs.StringVar(&s.ServiceClusterIPRanges, "service-cluster-ip-range", s.ServiceClusterIPRanges, ""+
    		"A CIDR notation IP range from which to assign service cluster IPs. This must not "+
    		"overlap with any IP ranges assigned to nodes or pods. Max of two dual-stack CIDRs is allowed.")
    
    	fs.Var(&s.ServiceNodePortRange, "service-node-port-range", ""+
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 12:19:56 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/LocalValueTest.kt

            val (rhs1, rhs2) = rhsOrigins
    
            with(rhs1.assigned) {
                assertIs<ObjectOrigin.NewObjectFromMemberFunction>(this)
                assertEquals("my1", function.simpleName)
            }
    
            with(rhs2.assigned) {
                assertIs<ObjectOrigin.NewObjectFromMemberFunction>(this)
                assertEquals("my2", function.simpleName)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 12:28:39 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. test/cannotassign.go

    	true = false // ERROR "cannot assign to .* (\(declared const\))?"
    
    	var m map[int]struct{ n int }
    	m[0].n = 7 // ERROR "cannot assign to struct field .* in map$"
    
    	1 = 7         // ERROR "cannot assign to 1"
    	"hi" = 7      // ERROR `cannot assign to "hi"`
    	nil = 7       // ERROR "cannot assign to nil"
    	len("") = 7   // ERROR `cannot assign to len\(""\)`
    	[]int{} = nil // ERROR "cannot assign to \[\]int\{\}"
    
    	var x int = 7
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 01 21:49:31 UTC 2020
    - 1K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/apis/kubeadm/v1beta4/defaults.go

    }
    
    // SetDefaults_Etcd assigns default values for the proxy
    func SetDefaults_Etcd(obj *ClusterConfiguration) {
    	if obj.Etcd.External == nil && obj.Etcd.Local == nil {
    		obj.Etcd.Local = &LocalEtcd{}
    	}
    	if obj.Etcd.Local != nil {
    		if obj.Etcd.Local.DataDir == "" {
    			obj.Etcd.Local.DataDir = DefaultEtcdDataDir
    		}
    	}
    }
    
    // SetDefaults_JoinConfiguration assigns default values to a regular node
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/PropertyExtensions.kt

    import java.io.File
    
    
    /**
     * Assign value: T to a property with assign operator
     *
     * @since 8.2
     */
    fun <T> Property<T>.assign(value: T?) {
        this.set(value)
    }
    
    
    /**
     * Assign value: Provider<T> to a property with assign operator
     *
     * @since 8.2
     */
    fun <T> Property<T>.assign(value: Provider<out T?>) {
        this.set(value)
    }
    
    
    /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/apis/kubeadm/v1beta3/defaults.go

    	return RegisterDefaults(scheme)
    }
    
    // SetDefaults_InitConfiguration assigns default values for the InitConfiguration
    func SetDefaults_InitConfiguration(obj *InitConfiguration) {
    	SetDefaults_BootstrapTokens(obj)
    	SetDefaults_APIEndpoint(&obj.LocalAPIEndpoint)
    	SetDefaults_NodeRegistration(&obj.NodeRegistration)
    }
    
    // SetDefaults_ClusterConfiguration assigns default values for the ClusterConfiguration
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/artifact/LocalFileDependencyBackedArtifactSetTest.groovy

            1 * artifactVisitor.endVisitCollection(_)
            0 * _
        }
    
        def "does not visit files when no id provided and assigned id is filtered"() {
            def f1 = new File("a.jar")
            def f2 = new File("a.dll")
            def listener = Mock(ResolvedArtifactSet.Visitor)
            def visitor = Mock(ArtifactVisitor)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 04:22:29 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  9. src/compress/flate/huffman_code.go

    	var total int
    	for i, f := range freq {
    		if f != 0 {
    			total += int(f) * int(h.codes[i].len)
    		}
    	}
    	return total
    }
    
    const maxBitsLimit = 16
    
    // bitCounts computes the number of literals assigned to each bit size in the Huffman encoding.
    // It is only called when list.length >= 3.
    // The cases of 0, 1, and 2 literals are handled by special case code.
    //
    // list is an array of the literals with non-zero frequencies
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/assign/doc.go

    // license that can be found in the LICENSE file.
    
    // Package assign defines an Analyzer that detects useless assignments.
    //
    // # Analyzer assign
    //
    // assign: check for useless assignments
    //
    // This checker reports assignments of the form x = x or a[i] = a[i].
    // These are almost always useless, and even when they aren't they are
    // usually a mistake.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 481 bytes
    - Viewed (0)
Back to top