Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 49 of 49 for Positive (0.19 sec)

  1. src/runtime/pprof/pprof_test.go

    	maxDiff := 0.10
    	if testing.Short() {
    		maxDiff = 0.40
    	}
    
    	compare := func(a, b time.Duration, maxDiff float64) error {
    		if a <= 0 || b <= 0 {
    			return fmt.Errorf("Expected both time reports to be positive")
    		}
    
    		if a < b {
    			a, b = b, a
    		}
    
    		diff := float64(a-b) / float64(a)
    		if diff > maxDiff {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    func offs2lohi(offs int64) (lo, hi uintptr) {
    	const longBits = SizeofLong * 8
    	return uintptr(offs), uintptr(uint64(offs) >> (longBits - 1) >> 1) // two shifts to avoid false positive in vet
    }
    
    func Readv(fd int, iovs [][]byte) (n int, err error) {
    	iovecs := make([]Iovec, 0, minIovec)
    	iovecs = appendBytes(iovecs, iovs)
    	n, err = readv(fd, iovecs)
    	readvRacedetect(iovecs, 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)
  3. src/cmd/compile/internal/ssa/rewrite.go

    // nto returns the number of trailing ones.
    func nto(x int64) int64 {
    	return int64(ntz64(^x))
    }
    
    // logX returns logarithm of n base 2.
    // n must be a positive power of 2 (isPowerOfTwoX returns true).
    func log8(n int8) int64 {
    	return int64(bits.Len8(uint8(n))) - 1
    }
    func log16(n int16) int64 {
    	return int64(bits.Len16(uint16(n))) - 1
    }
    func log32(n int32) int64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  4. src/testing/testing.go

    		//
    		// See go.dev/issue/33419.
    		realStderr = os.Stderr
    		os.Stderr = os.Stdout
    	}
    
    	if *parallel < 1 {
    		fmt.Fprintln(os.Stderr, "testing: -parallel can only be given a positive integer")
    		flag.Usage()
    		m.exitCode = 2
    		return
    	}
    	if *matchFuzz != "" && *fuzzCacheDir == "" {
    		fmt.Fprintln(os.Stderr, "testing: -test.fuzzcachedir must be set if -test.fuzz is set")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modload/load.go

    				// fetched to one that can be).
    				//
    				// Instead of enumerating all of the possible errors, we'll just check
    				// whether importFromModules returns nil for the package.
    				// False-positives are ok: if we have a false-positive here, we'll do an
    				// extra iteration of package loading this time, but we'll still
    				// converge when the root set stops changing.
    				//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/S390X.rules

    //
    // Examples:
    //     5x -> 4x + 1x
    //    10x -> 8x + 2x
    //   120x -> 128x - 8x
    //  -120x -> 8x - 128x
    //
    // We know that the rightmost bit of any positive value, once isolated, must either
    // be a power of 2 (because it is a single bit) or 0 (if the original value is 0).
    // In all of these rules we use a rightmost bit calculation to determine one operand
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 74.3K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_8.adoc

    This is changed to avoid accidental successful test runs due to erroneous configuration.
    
    === Changes in the IDE integration
    
    [[kotlin_dsl_plugins_catalogs_workaround]]
    ==== Workaround for false positive errors shown in Kotlin DSL `plugins {}` block using version catalog is not needed anymore
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 17:01:07 UTC 2024
    - 90.7K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

        /**
         * Returns `true` if adding [classToImport] import to the [file] might alter or break the
         * resolve of existing references in the file.
         *
         * N.B.: At the moment it might have both false positives and false negatives, since it does not
         * check all possible references.
         */
        private fun importBreaksExistingReferences(classToImport: ClassId, importAllInParent: Boolean): Boolean {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 16:54:07 UTC 2024
    - 69.6K bytes
    - Viewed (0)
  9. src/runtime/mbitmap.go

    		return
    	}
    	if typ.Kind_&abi.KindMask == abi.Interface {
    		// Interfaces are unfortunately inconsistently handled
    		// when it comes to the type pointer, so it's easy to
    		// produce a lot of false positives here.
    		return
    	}
    	tp0 := s.typePointersOfType(typ, addr)
    	tp1 := s.typePointersOf(addr, size)
    	failed := false
    	for {
    		var addr0, addr1 uintptr
    		tp0, addr0 = tp0.next(addr + size)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
Back to top