Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 59 for checkTask (0.14 sec)

  1. src/runtime/mwbbuf.go

    	ptrs := pp.wbBuf.buf[:n]
    
    	// Poison the buffer to make extra sure nothing is enqueued
    	// while we're processing the buffer.
    	pp.wbBuf.next = 0
    
    	if useCheckmark {
    		// Slow path for checkmark mode.
    		for _, ptr := range ptrs {
    			shade(ptr)
    		}
    		pp.wbBuf.reset()
    		return
    	}
    
    	// Mark all of the pointers in the buffer and record only the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. src/runtime/stubs.go

    func divRoundUp(n, a uintptr) uintptr {
    	// a is generally a power of two. This will get inlined and
    	// the compiler will optimize the division.
    	return (n + a - 1) / a
    }
    
    // checkASM reports whether assembly runtime checks have passed.
    func checkASM() bool
    
    func memequal_varlen(a, b unsafe.Pointer) bool
    
    // bool2int returns 0 if x is false or 1 if x is true.
    func bool2int(x bool) int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/internal/classpath/transforms/LambdaSerializationTransformer.java

        private static int getEstimatedArgumentHandlingCodeLength(Type argument) {
            int loadSize = 7;  // size of SerializedLambda.getCapturedArg(<n>) call
            // unboxing of a primitive adds "invokevirtual" to "checkcast".
            int unboxingSize = isPrimitiveArgument(argument) ? 6 : 3;
            return loadSize + unboxingSize;
        }
    
        private static boolean isPrimitiveArgument(Type argument) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 04 14:26:38 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  4. src/runtime/runtime1.go

    		throw("float32nan2")
    	}
    	if i == i1 {
    		throw("float32nan3")
    	}
    
    	testAtomic64()
    
    	if fixedStack != round2(fixedStack) {
    		throw("FixedStack is not power-of-2")
    	}
    
    	if !checkASM() {
    		throw("assembly checks failed")
    	}
    }
    
    type dbgVar struct {
    	name   string
    	value  *int32        // for variables that can only be set at startup
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  5. src/cmd/link/internal/loader/loader.go

    		// referenced by name. Also no need to do overwriting
    		// check, as same hash indicates same content.
    		var checkHash func() (symAndSize, bool)
    		var addToHashMap func(symAndSize)
    		var h64 uint64        // only used for hashed64Def
    		var h *goobj.HashType // only used for hashedDef
    		if kind == hashed64Def {
    			checkHash = func() (symAndSize, bool) {
    				h64 = r.Hash64(li - uint32(r.ndef))
    				s, existed := st.hashed64Syms[h64]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  6. src/runtime/mgcmark.go

    			}
    			// Check that this span was swept (it may be cached or uncached).
    			if !useCheckmark && !(s.sweepgen == sg || s.sweepgen == sg+3) {
    				// sweepgen was updated (+2) during non-checkmark GC pass
    				print("sweep ", s.sweepgen, " ", sg, "\n")
    				throw("gc: unswept span")
    			}
    
    			// Lock the specials to prevent a special from being
    			// removed from the list while we're traversing it.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  7. src/runtime/asm_mips64x.s

    TEXT runtime·goexit(SB),NOSPLIT|NOFRAME|TOPFRAME,$0-0
    	NOR	R0, R0	// NOP
    	JAL	runtime·goexit1(SB)	// does not return
    	// traceback from goexit1 must hit code range of goexit
    	NOR	R0, R0	// NOP
    
    TEXT ·checkASM(SB),NOSPLIT,$0-1
    	MOVW	$1, R1
    	MOVB	R1, ret+0(FP)
    	RET
    
    // gcWriteBarrier informs the GC about heap pointer writes.
    //
    // gcWriteBarrier does NOT follow the Go ABI. It accepts the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 19:45:59 UTC 2023
    - 24.3K bytes
    - Viewed (0)
  8. src/runtime/mgc.go

    		// before continuing.
    	})
    
    	var stwSwept bool
    	systemstack(func() {
    		work.heap2 = work.bytesMarked
    		if debug.gccheckmark > 0 {
    			// Run a full non-parallel, stop-the-world
    			// mark using checkmark bits, to check that we
    			// didn't forget to mark anything during the
    			// concurrent mark process.
    			startCheckmarks()
    			gcResetMarkState()
    			gcw := &getg().m.p.ptr().gcw
    			gcDrain(gcw, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  9. src/runtime/asm_riscv64.s

    	RET
    
    // void setg(G*); set g. for use by needm.
    TEXT runtime·setg(SB), NOSPLIT, $0-8
    	MOV	gg+0(FP), g
    	// This only happens if iscgo, so jump straight to save_g
    	CALL	runtime·save_g(SB)
    	RET
    
    TEXT ·checkASM(SB),NOSPLIT,$0-1
    	MOV	$1, T0
    	MOV	T0, ret+0(FP)
    	RET
    
    // spillArgs stores return values from registers to a *internal/abi.RegArgs in X25.
    TEXT ·spillArgs(SB),NOSPLIT,$0-0
    	MOV	X10, (0*8)(X25)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 13:57:06 UTC 2023
    - 27K bytes
    - Viewed (0)
  10. src/runtime/asm_s390x.s

    	// moduledata linked list.
    	MOVD	runtime·lastmoduledatap(SB), R1
    	MOVD	R2, moduledata_next(R1)
    	MOVD	R2, runtime·lastmoduledatap(SB)
    
    	// Restore R6-R15.
    	LMG	48(R15), R6, R15
    	RET
    
    TEXT ·checkASM(SB),NOSPLIT,$0-1
    	MOVB	$1, ret+0(FP)
    	RET
    
    // gcWriteBarrier informs the GC about heap pointer writes.
    //
    // gcWriteBarrier does NOT follow the Go ABI. It accepts the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 09:18:28 UTC 2024
    - 28.1K bytes
    - Viewed (0)
Back to top