Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 129 for Dequeue (0.13 sec)

  1. src/runtime/sema.go

    			if s.parent.next != s {
    				panic("semaRoot queue")
    			}
    			root.rotateLeft(s.parent)
    		}
    	}
    }
    
    // dequeue searches for and finds the first goroutine
    // in semaRoot blocked on addr.
    // If the sudog was being profiled, dequeue returns the time
    // at which it was woken up as now. Otherwise now is 0.
    // If there are additional entries in the wait list, dequeue
    // returns tailtime set to the last entry's acquiretime.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. src/runtime/chan.go

    		// its item at the tail of the queue. Since the
    		// queue is full, those are both the same slot.
    		qp := chanbuf(c, c.recvx)
    		if raceenabled {
    			racenotify(c, c.recvx, nil)
    			racenotify(c, c.recvx, sg)
    		}
    		// copy data from queue to receiver
    		if ep != nil {
    			typedmemmove(c.elemtype, ep, qp)
    		}
    		// copy data from sender to queue
    		typedmemmove(c.elemtype, qp, sg.elem)
    		c.recvx++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  3. src/runtime/select.go

    	x := sgp.prev
    	y := sgp.next
    	if x != nil {
    		if y != nil {
    			// middle of queue
    			x.next = y
    			y.prev = x
    			sgp.next = nil
    			sgp.prev = nil
    			return
    		}
    		// end of queue
    		x.next = nil
    		q.last = x
    		sgp.prev = nil
    		return
    	}
    	if y != nil {
    		// start of queue
    		y.prev = nil
    		q.first = y
    		sgp.next = nil
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 13 21:36:04 UTC 2024
    - 15K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_experimental.cc

      if (dequeue_op == nullptr) {
        status->status = tensorflow::errors::Internal(
            "Unable to find the dequeue node in the TF graph.");
        return nullptr;
      }
    
      VLOG(1) << "Running the dequeue op";
      TF_Output output{dequeue_op, 0};
      TF_Tensor* ret;
      TF_SessionRun(session, /*run_options*/ nullptr,
                    // input related parameters
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/ResolveState.java

            return selectorState;
        }
    
        @Nullable
        public NodeState peek() {
            return queue.isEmpty() ? null : queue.getFirst();
        }
    
        public NodeState pop() {
            NodeState next = queue.removeFirst();
            return next.dequeue();
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_experimental.h

    //
    // `tensor` is still owned by the caller. This call will be blocked if the queue
    // has reached its capacity, and will be unblocked when the queued tensors again
    // drop below the capacity due to dequeuing.
    //
    // Tensors are dequeued via the corresponding TF dequeue op.
    // TODO(hongm): Add support for `timeout_ms`.
    TF_CAPI_EXPORT extern void TF_EnqueueNamedTensor(TF_Session* session,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  7. src/runtime/export_test.go

    type SemTable struct {
    	semTable
    }
    
    // Enqueue simulates enqueuing a waiter for a semaphore (or lock) at addr.
    func (t *SemTable) Enqueue(addr *uint32) {
    	s := acquireSudog()
    	s.releasetime = 0
    	s.acquiretime = 0
    	s.ticket = 0
    	t.semTable.rootFor(addr).queue(addr, s, false)
    }
    
    // Dequeue simulates dequeuing a waiter for a semaphore (or lock) at addr.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  8. src/internal/fuzz/fuzz.go

    func (c *coordinator) sentInput(input fuzzInput) {
    	c.inputQueue.dequeue()
    	c.countWaiting += input.limit
    }
    
    // refillInputQueue refills the input queue from the corpus after it becomes
    // empty.
    func (c *coordinator) refillInputQueue() {
    	for _, e := range c.corpus.entries {
    		c.inputQueue.enqueue(e)
    	}
    }
    
    // queueForMinimization creates a fuzzMinimizeInput from result and adds it
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  9. pkg/scheduler/eventhandlers.go

    		events = append(events, queue.NodeSpecUnschedulableChange)
    	}
    	if nodeAllocatableChanged(newNode, oldNode) {
    		events = append(events, queue.NodeAllocatableChange)
    	}
    	if nodeLabelsChanged(newNode, oldNode) {
    		events = append(events, queue.NodeLabelChange)
    	}
    	if nodeTaintsChanged(newNode, oldNode) {
    		events = append(events, queue.NodeTaintChange)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:21:04 UTC 2024
    - 24K bytes
    - Viewed (0)
  10. pilot/pkg/xds/discovery.go

    			// Get the next proxy to push. This will block if there are no updates required.
    			client, push, shuttingdown := queue.Dequeue()
    			if shuttingdown {
    				return
    			}
    			recordPushTriggers(push.Reason)
    			// Signals that a push is done by reading from the semaphore, allowing another send on it.
    			doneFunc := func() {
    				queue.MarkDone(client)
    				<-semaphore
    			}
    
    			proxiesQueueTime.Record(time.Since(push.Start).Seconds())
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 20:21:09 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top