Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for preamp (0.19 sec)

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

    	entry := ((*[2]uintptr)(unsafe.Pointer(f)))[1]
    	preamp := ((*[4]uint32)(unsafe.Pointer(entry - eyecatcherOffset)))
    
    	offsetPpa1 := preamp[2]
    	if offsetPpa1 > 0x0ffff {
    		return "", fmt.Errorf("PPA1 offset seems too big 0x%x\n", offsetPpa1)
    	}
    
    	ppa1 := uintptr(unsafe.Pointer(preamp)) + uintptr(offsetPpa1)
    	res := ptrtest(ppa1)
    	if res != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  2. src/runtime/mgcmark.go

    	//
    	// TODO(mknyszek): Consider always checking gp.preempt instead
    	// of having the preempt flag, and making an exception for certain
    	// mark workers in retake. That might be simpler than trying to
    	// enumerate all the reasons why we might want to preempt, even
    	// if we're supposed to be mostly non-preemptible.
    	for !(gp.preempt && (preemptible || sched.gcwaiting.Load() || pp.runSafePointFn != 0)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  3. src/runtime/mgc.go

    				// as we are no longer performing P-local mark
    				// work.
    				//
    				// However, since we cooperatively stop work
    				// when gp.preempt is set, if we releasem in
    				// the loop then the following call to gopark
    				// would immediately preempt the G. This is
    				// also safe, but inefficient: the G must
    				// schedule again only to enter gopark and park
    				// again. Thus, we defer the release until
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go

    				if deletedPodNames.Has(pod.Name) {
    					now := metav1.Now()
    					pod.DeletionTimestamp = &now
    					deletedPodNames.Delete(pod.Name)
    				}
    			}
    
    			// Call preempt again and make sure it doesn't preempt any more pods.
    			res, status = pe.Preempt(ctx, test.pod, make(framework.NodeToStatusMap))
    			if !status.IsSuccess() && !status.IsRejected() {
    				t.Errorf("unexpected error in preemption: %v", status.AsError())
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/runtime/framework.go

    // for nominated pod on the given node.
    // This function is called from two different places: Schedule and Preempt.
    // When it is called from Schedule, we want to test whether the pod is
    // schedulable on the node with all the existing pods on the node plus higher
    // and equal priority pods nominated to run on the node.
    // When it is called from Preempt, we should remove the victims of preemption
    // and add the nominated pods. Removal of the victims is done by
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    	n, err = readv(fd, iovecs)
    	readvRacedetect(iovecs, n, err)
    	return n, err
    }
    
    func Preadv(fd int, iovs [][]byte, offset int64) (n int, err error) {
    	iovecs := make([]Iovec, 0, minIovec)
    	iovecs = appendBytes(iovecs, iovs)
    	lo, hi := offs2lohi(offset)
    	n, err = preadv(fd, iovecs, lo, hi)
    	readvRacedetect(iovecs, n, err)
    	return n, err
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_linux.go

    	n = int(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func preadv(fd int, iovs []Iovec, offs_l uintptr, offs_h uintptr) (n int, err error) {
    	var _p0 unsafe.Pointer
    	if len(iovs) > 0 {
    		_p0 = unsafe.Pointer(&iovs[0])
    	} else {
    		_p0 = unsafe.Pointer(&_zero)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 54.6K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/mips/asm0.go

    	// so instruction sequences that use REGTMP are unsafe to
    	// preempt asynchronously.
    	obj.MarkUnsafePoints(c.ctxt, c.cursym.Func().Text, c.newprog, c.isUnsafePoint, c.isRestartable)
    }
    
    // isUnsafePoint returns whether p is an unsafe point.
    func (c *ctxt0) isUnsafePoint(p *obj.Prog) bool {
    	// If p explicitly uses REGTMP, it's unsafe to preempt, because the
    	// preemption sequence clobbers REGTMP.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 53.6K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.go

    	}
    	return
    }
    
    var libc_pathconf_trampoline_addr uintptr
    
    //go:cgo_import_dynamic libc_pathconf pathconf "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func pread(fd int, p []byte, offset int64) (n int, err error) {
    	var _p0 unsafe.Pointer
    	if len(p) > 0 {
    		_p0 = unsafe.Pointer(&p[0])
    	} else {
    		_p0 = unsafe.Pointer(&_zero)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.go

    	}
    	return
    }
    
    var libc_pathconf_trampoline_addr uintptr
    
    //go:cgo_import_dynamic libc_pathconf pathconf "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func pread(fd int, p []byte, offset int64) (n int, err error) {
    	var _p0 unsafe.Pointer
    	if len(p) > 0 {
    		_p0 = unsafe.Pointer(&p[0])
    	} else {
    		_p0 = unsafe.Pointer(&_zero)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 57.5K bytes
    - Viewed (0)
Back to top