Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 38 for popf (0.04 sec)

  1. pkg/queue/delay_test.go

    	for _, task := range unsorted {
    		heap.Push(pq, task)
    	}
    
    	// dequeue should be in order
    	for i, task := range sorted {
    		peeked := pq.Peek()
    		popped := heap.Pop(pq)
    		if task != popped {
    			t.Fatalf("pop %d was not in order", i)
    		}
    		if peeked != popped {
    			t.Fatalf("did not peek at the next item to be popped")
    		}
    	}
    }
    
    func TestDelayQueueOrdering(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 20 06:27:31 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/sys/cpu/cpu_gccgo_x86.c

    // Currently, the only supported value for XCR is 0.
    void
    gccgoXgetbv(uint32_t *eax, uint32_t *edx)
    {
    	uint64_t v = _xgetbv(0);
    	*eax = v & 0xffffffff;
    	*edx = v >> 32;
    }
    
    #pragma clang attribute pop
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/RuleContext.java

        }
    
        public static void run(ModelRuleDescriptor descriptor, Runnable runnable) {
            STACK.get().push(descriptor);
            try {
                runnable.run();
            } finally {
                STACK.get().pop();
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. src/runtime/sys_freebsd_386.s

    	MOVL	4(SP), AX // m
    	MOVL	m_g0(AX), BX
    	LEAL	m_tls(AX), BP
    	MOVL	m_id(AX), DI
    	ADDL	$7, DI
    	PUSHAL
    	PUSHL	$32
    	PUSHL	BP
    	PUSHL	DI
    	CALL	runtime·setldt(SB)
    	POPL	AX
    	POPL	AX
    	POPL	AX
    	POPAL
    	get_tls(CX)
    	MOVL	BX, g(CX)
    
    	MOVL	AX, g_m(BX)
    	CALL	runtime·stackcheck(SB)		// smashes AX
    	CALL	runtime·mstart(SB)
    
    	MOVL	0, AX			// crash (not reached)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  5. pkg/controller/nodelifecycle/scheduler/rate_limited_queue.go

    func (h TimedQueue) Swap(i, j int) { h[i], h[j] = h[j], h[i] }
    
    // Push a new TimedValue on to the queue.
    func (h *TimedQueue) Push(x interface{}) {
    	*h = append(*h, x.(*TimedValue))
    }
    
    // Pop the lowest ProcessAt item.
    func (h *TimedQueue) Pop() interface{} {
    	old := *h
    	n := len(old)
    	x := old[n-1]
    	*h = old[0 : n-1]
    	return x
    }
    
    // UniqueQueue is a FIFO queue which additionally guarantees that any
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 07:50:01 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  6. hack/update-generated-docs.sh

      # create the list of generated files
      pushd "${dest}" > /dev/null || return 1
      touch docs/.generated_docs
      find . -type f | cut -sd / -f 2- | LC_ALL=C sort > docs/.generated_docs
      popd > /dev/null || return 1
    }
    
    # Removes previously generated docs-- we don't want to check them in. $KUBE_ROOT
    # must be set.
    remove_generated_docs() {
      if [ -e "${KUBE_ROOT}/docs/.generated_docs" ]; then
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:33 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/arch/x86/x86asm/plan9x.go

    	INC:       true,
    	LEA:       true,
    	MOV:       true,
    	MOVNTI:    true,
    	MUL:       true,
    	NEG:       true,
    	NOP:       true,
    	NOT:       true,
    	OR:        true,
    	OUT:       true,
    	POP:       true,
    	POPA:      true,
    	POPCNT:    true,
    	PUSH:      true,
    	PUSHA:     true,
    	RCL:       true,
    	RCR:       true,
    	ROL:       true,
    	ROR:       true,
    	SAR:       true,
    	SBB:       true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  8. src/runtime/sys_solaris_amd64.s

    	MOVQ	0(R11), DI
    	MOVQ	8(R11), SI
    	MOVQ	16(R11), DX
    	MOVQ	24(R11), CX
    	MOVQ	32(R11), R8
    	MOVQ	40(R11), R9
    skipargs:
    
    	// Call SysV function
    	CALL	AX
    
    	// Return result
    	POPQ	DI
    	MOVQ	AX, libcall_r1(DI)
    	MOVQ	DX, libcall_r2(DI)
    
    	get_tls(CX)
    	MOVQ	g(CX), BX
    	CMPQ	BX, $0
    	JEQ	skiperrno2
    	MOVQ	g_m(BX), BX
    	MOVQ	(m_mOS+mOS_perrno)(BX), AX
    	CMPQ	AX, $0
    	JEQ	skiperrno2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 19:29:00 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  9. src/runtime/tracebuf.go

    func (q *traceBufQueue) push(buf *traceBuf) {
    	buf.link = nil
    	if q.head == nil {
    		q.head = buf
    	} else {
    		q.tail.link = buf
    	}
    	q.tail = buf
    }
    
    // pop dequeues from the queue of buffers.
    func (q *traceBufQueue) pop() *traceBuf {
    	buf := q.head
    	if buf == nil {
    		return nil
    	}
    	q.head = buf.link
    	if q.head == nil {
    		q.tail = nil
    	}
    	buf.link = nil
    	return buf
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. pkg/queue/delay.go

    	return q[i].runAt.Before(q[j].runAt)
    }
    
    func (q *pq) Swap(i, j int) {
    	(*q)[i], (*q)[j] = (*q)[j], (*q)[i]
    }
    
    func (q *pq) Push(x any) {
    	*q = append(*q, x.(*delayTask))
    }
    
    func (q *pq) Pop() any {
    	old := *q
    	n := len(old)
    	c := cap(old)
    	// Shrink the capacity of task queue.
    	if n < c/2 && c > 32 {
    		npq := make(pq, n, c/2)
    		copy(npq, old)
    		old = npq
    	}
    	if n == 0 {
    		return nil
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 20 06:27:31 UTC 2023
    - 6.7K bytes
    - Viewed (0)
Back to top