- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 116 for popf (0.04 sec)
-
src/container/heap/heap.go
func Push(h Interface, x any) { h.Push(x) up(h, h.Len()-1) } // Pop removes and returns the minimum element (according to Less) from the heap. // The complexity is O(log n) where n = h.Len(). // Pop is equivalent to [Remove](h, 0). func Pop(h Interface) any { n := h.Len() - 1 h.Swap(0, n) down(h, 0, n) return h.Pop() } // Remove removes and returns the element at index i from the heap.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 14:39:10 UTC 2023 - 3.3K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/386enc.s
MOVL DX, CR0 // 0f22c2 MOVL DI, CR4 // 0f22e7 MOVL DR0, AX // 0f21c0 MOVL DR6, DX // 0f21f2 MOVL DR7, SI // 0f21fe // Test other movtab entries. PUSHL SS // 16 PUSHL FS // 0fa0 POPL FS // 0fa1 POPL SS // 17 RDPID AX // f30fc7f8 // End of tests.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 11 18:32:50 UTC 2023 - 1.2K bytes - Viewed (0) -
src/container/heap/example_intheap_test.go
func (h IntHeap) Swap(i, j int) { h[i], h[j] = h[j], h[i] } func (h *IntHeap) Push(x any) { // Push and Pop use pointer receivers because they modify the slice's length, // not just its contents. *h = append(*h, x.(int)) } func (h *IntHeap) Pop() any { old := *h n := len(old) x := old[n-1] *h = old[0 : n-1] return x }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 1.1K bytes - Viewed (0) -
cmd/metacache-walk.go
// If directory entry on stack before this, pop it now. for len(dirStack) > 0 && dirStack[len(dirStack)-1] < meta.name { pop := dirStack[len(dirStack)-1] select { case <-ctx.Done(): return ctx.Err() case out <- metaCacheEntry{name: pop}: } if opts.Recursive { // Scan folder we found. Should be in correct sort order where we are. err := scanDir(pop)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat Jun 01 05:17:37 UTC 2024 - 12.4K bytes - Viewed (0) -
src/syscall/asm_linux_386.s
// func rawVforkSyscall(trap, a1, a2, a3 uintptr) (r1, err uintptr) TEXT ·rawVforkSyscall(SB),NOSPLIT|NOFRAME,$0-24 MOVL trap+0(FP), AX // syscall entry MOVL a1+4(FP), BX MOVL a2+8(FP), CX MOVL a3+12(FP), DX POPL SI // preserve return address INVOKE_SYSCALL PUSHL SI CMPL AX, $0xfffff001 JLS ok MOVL $-1, r1+16(FP) NEGL AX MOVL AX, err+20(FP) RET ok: MOVL AX, r1+16(FP) MOVL $0, err+20(FP) RET
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 07 19:11:15 UTC 2023 - 3.1K bytes - Viewed (0) -
cluster/common.sh
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Dec 17 15:36:33 UTC 2023 - 17.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/CollectorTester.java
while (stack.size() > 1) { A right = pop(stack); A left = pop(stack); push(stack, collector.combiner().apply(left, right)); } return pop(stack); } <E extends @Nullable Object> void push(List<E> stack, E value) { stack.add(value); } <E extends @Nullable Object> E pop(List<E> stack) { return stack.remove(stack.size() - 1);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 17:40:56 UTC 2024 - 6.5K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/hack/build-image.sh
cp -v ../../../../_output/local/bin/linux/amd64/apiextensions-apiserver ./artifacts/simple-image/apiextensions-apiserver docker build -t apiextensions-apiserver:latest ./artifacts/simple-image
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:52 UTC 2024 - 1.2K bytes - Viewed (0) -
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) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java
stk.push(new ActivationFrame("activation", Optional.of(target))); try { return super.transformActivation(target); } finally { stk.pop(); } } @Override protected Activation.Builder transformActivation_ActiveByDefault(
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Jun 10 11:04:53 UTC 2024 - 73.9K bytes - Viewed (0)