Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 620 for devnode (0.34 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/dev_aix_ppc64.go

    }
    
    // Mkdev returns a Linux device number generated from the given major and minor
    // components.
    func Mkdev(major, minor uint32) uint64 {
    	var DEVNO64 uint64
    	DEVNO64 = 0x8000000000000000
    	return ((uint64(major) << 32) | (uint64(minor) & 0x00000000FFFFFFFF) | DEVNO64)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 858 bytes
    - Viewed (0)
  2. platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/kotlinapplication/multi/list/LinkedList.kt.template

    ${fileComment.multilineComment}${packageDecl.statement}
    class LinkedList {
        private var head: Node? = null
    
        fun add(element: String) {
            val newNode = Node(element)
    
            val it = tail(head)
            if (it == null) {
                head = newNode
            } else {
                it.next = newNode
            }
        }
    
        private fun tail(head: Node?): Node? {
            var it: Node?
    
            it = head
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 26 19:39:09 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/podtopologyspread/plugin_test.go

    		pod              *v1.Pod
    		oldNode, newNode *v1.Node
    		expectedHint     framework.QueueingHint
    		expectedErr      bool
    	}{
    		{
    			name: "node updates label which matches topologyKey",
    			pod: st.MakePod().Name("p").SpreadConstraint(1, "zone", v1.DoNotSchedule, fooSelector, nil, nil, nil, nil).
    				Obj(),
    			oldNode:      st.MakeNode().Name("node-a").Label("zone", "zone1").Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 17 06:30:53 UTC 2023
    - 13K bytes
    - Viewed (0)
  4. pkg/controller/util/node/controller_utils.go

    func CreateUpdateNodeHandler(f func(oldNode, newNode *v1.Node) error) func(oldObj, newObj interface{}) {
    	return func(origOldObj, origNewObj interface{}) {
    		node := origNewObj.(*v1.Node).DeepCopy()
    		prevNode := origOldObj.(*v1.Node).DeepCopy()
    
    		if err := f(prevNode, node); err != nil {
    			utilruntime.HandleError(fmt.Errorf("Error while processing Node Add/Delete: %v", err))
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 23:39:52 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/samples/templates/groovy-list-library/src/main/groovy/org/gradle/sample/list/LinkedList.groovy

    package org.gradle.sample.list
    
    class LinkedList {
        private Node head
    
        void add(String element) {
            Node newNode = new Node(element)
    
            Node it = tail(head)
            if (it == null) {
                head = newNode
            } else {
                it.next = newNode
            }
        }
    
        private static Node tail(Node head) {
            Node it
    
            for (it = head; it != null && it.next != null; it = it.next) {}
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/groovyapplication/multi/list/LinkedList.groovy.template

    ${fileComment.multilineComment}${packageDecl.statement}
    class LinkedList {
        private Node head
    
        void add(String element) {
            Node newNode = new Node(element)
    
            Node it = tail(head)
            if (it == null) {
                head = newNode
            } else {
                it.next = newNode
            }
        }
    
        private static Node tail(Node head) {
            Node it
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 26 19:39:09 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/scalaapplication/multi/list/LinkedList.scala.template

    ${fileComment.multilineComment}${packageDecl.statement}
    
    class LinkedList {
        private var head: Node = _
    
        def add(element: String): Unit = {
            val newNode = new Node(element)
    
            val it = tail(head)
            if (it == null) {
                head = newNode
            } else {
                it.next = newNode
            }
        }
    
        private def tail(head: Node) = {
            var it: Node = null
    
            it = head
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 26 19:39:09 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  8. pkg/scheduler/eventhandlers_test.go

    		name       string
    		newNode    *v1.Node
    		oldNode    *v1.Node
    		wantEvents []framework.ClusterEvent
    	}{
    		{
    			name:       "no specific changed applied",
    			newNode:    st.MakeNode().Unschedulable(false).Obj(),
    			oldNode:    st.MakeNode().Unschedulable(false).Obj(),
    			wantEvents: nil,
    		},
    		{
    			name:       "only node spec unavailable changed",
    			newNode:    st.MakeNode().Unschedulable(false).Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 10 14:38:54 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  9. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/DefaultSnapshotHierarchy.java

        }
    
        @Override
        public Stream<FileSystemLocationSnapshot> rootSnapshotsUnder(String absolutePath) {
            return getNode(absolutePath)
                .map(FileSystemNode::rootSnapshots)
                .orElseGet(Stream::empty);
        }
    
        private Optional<FileSystemNode> getNode(String absolutePath) {
            VfsRelativePath relativePath = VfsRelativePath.of(absolutePath);
            return relativePath.isEmpty()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/interpodaffinity/plugin_test.go

    		name             string
    		pod              *v1.Pod
    		oldNode, newNode *v1.Node
    		expectedHint     framework.QueueingHint
    	}{
    		{
    			name:         "add a new node with matched pod affinity topologyKey",
    			pod:          st.MakePod().Name("p").PodAffinityIn("service", "zone", []string{"securityscan", "value2"}, st.PodAffinityWithRequiredReq).Obj(),
    			newNode:      st.MakeNode().Name("node-a").Label("zone", "zone1").Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 12 03:08:44 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top