Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 151 for assign_id (1.99 sec)

  1. pkg/scheduler/eventhandlers.go

    	}
    
    	sched.SchedulingQueue.MoveAllToActiveOrBackoffQueue(logger, queue.AssignedPodDelete, pod, nil, nil)
    }
    
    // assignedPod selects pods that are assigned (scheduled and running).
    func assignedPod(pod *v1.Pod) bool {
    	return len(pod.Spec.NodeName) != 0
    }
    
    // responsibleForPod returns true if the pod has asked to be scheduled by the given scheduler.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:21:04 UTC 2024
    - 24K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/typecheck.go

    	if int(et) < len(_typekind) {
    		s := _typekind[et]
    		if s != "" {
    			return s
    		}
    	}
    	return fmt.Sprintf("etype=%d", et)
    }
    
    // typecheck type checks node n.
    // The result of typecheck MUST be assigned back to n, e.g.
    //
    //	n.Left = typecheck(n.Left, top)
    func typecheck(n ir.Node, top int) (res ir.Node) {
    	if n == nil {
    		return nil
    	}
    
    	// only trace if there's work to do
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 19:08:34 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  3. src/text/template/doc.go

    	- A boolean, string, character, integer, floating-point, imaginary
    	  or complex constant in Go syntax. These behave like Go's untyped
    	  constants. Note that, as in Go, whether a large integer constant
    	  overflows when assigned or passed to a function can depend on whether
    	  the host machine's ints are 32 or 64 bits.
    	- The keyword nil, representing an untyped Go nil.
    	- The character '.' (period):
    		.
    	  The result is the value of dot.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  4. cmd/format-erasure.go

    type formatErasureV1 struct {
    	formatMetaV1
    	Erasure struct {
    		Version string `json:"version"` // Version of 'xl' format.
    		Disk    string `json:"drive"`   // Disk field carries assigned disk uuid.
    		// JBOD field carries the input disk order generated the first
    		// time when fresh disks were supplied.
    		JBOD []string `json:"jbod"`
    	} `json:"xl"` // Erasure field holds xl format.
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/httpstream/wsstream/conn.go

    // prefix their messages with this channel byte. When used for remote execution, the channel numbers
    // are by convention defined to match the POSIX file-descriptors assigned to STDIN, STDOUT, and STDERR
    // (0, 1, and 2). No other conversion is performed on the raw subprotocol - writes are sent as they
    // are received by the server.
    //
    // Example client session:
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:10:30 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/rangefunc/rewrite.go

    	return n
    }
    
    // setPos walks the top structure of x that has no position assigned
    // and assigns it all to have position pos.
    // When setPos encounters a syntax node with a position assigned,
    // setPos does not look inside that node.
    // setPos only needs to handle syntax we create in this package;
    // all other syntax should have positions assigned already.
    func setPos(x syntax.Node, pos syntax.Pos) {
    	if x == nil {
    		return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/tainttoleration/taint_toleration_test.go

    		{
    			name: "A pod which can be scheduled on a dedicated node assigned to user1 with effect NoSchedule",
    			pod:  podWithTolerations("pod1", []v1.Toleration{{Key: "dedicated", Value: "user1", Effect: "NoSchedule"}}),
    			node: nodeWithTaints("nodeA", []v1.Taint{{Key: "dedicated", Value: "user1", Effect: "NoSchedule"}}),
    		},
    		{
    			name: "A pod which can't be scheduled on a dedicated node assigned to user2 with effect NoSchedule",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  8. pkg/registry/core/service/ipallocator/controller/repairip.go

    					runtime.HandleError(fmt.Errorf("the cluster IP [%v]:%s for service %s/%s was assigned to other services %s/%s; please recreate", family, ip, svc.Namespace, svc.Name, refService.Namespace, refService.Name))
    					break
    				}
    			}
    		}
    
    		// IPAddress must have the corresponding labels assigned by the allocator
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/walk/assign.go

    	}
    
    	var assigned ir.NameSet
    	var memWrite, deferResultWrite bool
    
    	// affected reports whether expression n could be affected by
    	// the assignments applied so far.
    	affected := func(n ir.Node) bool {
    		if deferResultWrite {
    			return true
    		}
    		return ir.Any(n, func(n ir.Node) bool {
    			if n.Op() == ir.ONAME && assigned.Has(n.(*ir.Name)) {
    				return true
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:09:06 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  10. plugin/pkg/admission/noderestriction/admission.go

    		return p.admitCSINode(nodeName, a)
    
    	case resourceSliceResource:
    		return p.admitResourceSlice(nodeName, a)
    
    	default:
    		return nil
    	}
    }
    
    // admitPod allows creating or deleting a pod if it is assigned to the
    // current node and fulfills related criteria.
    func (p *Plugin) admitPod(nodeName string, a admission.Attributes) error {
    	switch a.GetOperation() {
    	case admission.Create:
    		return p.admitPodCreate(nodeName, a)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 23.6K bytes
    - Viewed (0)
Back to top