Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for fracu (0.04 sec)

  1. src/runtime/vdso_freebsd.go

    var timekeepSharedPage *vdsoTimekeep
    
    //go:nosplit
    func (bt *bintime) Add(bt2 *bintime) {
    	u := bt.frac
    	bt.frac += bt2.frac
    	if u > bt.frac {
    		bt.sec++
    	}
    	bt.sec += bt2.sec
    }
    
    //go:nosplit
    func (bt *bintime) AddX(x uint64) {
    	u := bt.frac
    	bt.frac += x
    	if u > bt.frac {
    		bt.sec++
    	}
    }
    
    var (
    	// binuptimeDummy is used in binuptime as the address of an atomic.Load, to simulate
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. src/runtime/defs_freebsd_arm.go

    	filter    int16
    	flags     uint16
    	fflags    uint32
    	pad_cgo_0 [4]byte
    	data      int64
    	udata     *byte
    	pad_cgo_1 [4]byte
    	ext       [4]uint64
    }
    
    type bintime struct {
    	sec  int64
    	frac uint64
    }
    
    type vdsoTimehands struct {
    	algo         uint32
    	gen          uint32
    	scale        uint64
    	offset_count uint32
    	counter_mask uint32
    	offset       bintime
    	boottime     bintime
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. src/runtime/defs_freebsd_arm64.go

    }
    
    type keventt struct {
    	ident  uint64
    	filter int16
    	flags  uint16
    	fflags uint32
    	data   int64
    	udata  *byte
    	ext    [4]uint64
    }
    
    type bintime struct {
    	sec  int64
    	frac uint64
    }
    
    type vdsoTimehands struct {
    	algo         uint32
    	gen          uint32
    	scale        uint64
    	offset_count uint32
    	counter_mask uint32
    	offset       bintime
    	boottime     bintime
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. src/runtime/defs_freebsd_386.go

    }
    
    type keventt struct {
    	ident  uint32
    	filter int16
    	flags  uint16
    	fflags uint32
    	data   int64
    	udata  *byte
    	ext    [4]uint64
    }
    
    type bintime struct {
    	sec  int32
    	frac uint64
    }
    
    type vdsoTimehands struct {
    	algo         uint32
    	gen          uint32
    	scale        uint64
    	offset_count uint32
    	counter_mask uint32
    	offset       bintime
    	boottime     bintime
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. src/runtime/defs_freebsd_riscv64.go

    }
    
    type keventt struct {
    	ident  uint64
    	filter int16
    	flags  uint16
    	fflags uint32
    	data   int64
    	udata  *byte
    	ext    [4]uint64
    }
    
    type bintime struct {
    	sec  int64
    	frac uint64
    }
    
    type vdsoTimehands struct {
    	algo         uint32
    	gen          uint32
    	scale        uint64
    	offset_count uint32
    	counter_mask uint32
    	offset       bintime
    	boottime     bintime
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. src/runtime/defs_freebsd_amd64.go

    }
    
    type keventt struct {
    	ident  uint64
    	filter int16
    	flags  uint16
    	fflags uint32
    	data   int64
    	udata  *byte
    	ext    [4]uint64
    }
    
    type bintime struct {
    	sec  int64
    	frac uint64
    }
    
    type vdsoTimehands struct {
    	algo         uint32
    	gen          uint32
    	scale        uint64
    	offset_count uint32
    	counter_mask uint32
    	offset       bintime
    	boottime     bintime
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.9K bytes
    - Viewed (1)
  7. src/cmd/vendor/golang.org/x/telemetry/internal/upload/reports.go

    		if math.IsNaN(x) || math.IsInf(x, 0) {
    			continue
    		}
    		x = math.Abs(x)
    		if x < 0x1p-1000 { // avoid underflow patterns
    			continue
    		}
    		frac, _ := math.Frexp(x) // 52 bits of randomness
    		return frac*2 - 1
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/internal/graph/graph.go

    		if e.Weight > 0 {
    			total += abs64(e.Weight)
    		}
    	}
    	if total != 0 {
    		for _, e := range edges {
    			frac := float64(abs64(e.Weight)) / float64(total)
    			score += -frac * math.Log2(frac)
    		}
    		if self > 0 {
    			frac := float64(abs64(self)) / float64(total)
    			score += -frac * math.Log2(frac)
    		}
    	}
    	return score
    }
    
    // NodeOrder sets the ordering for a Sort operation
    type NodeOrder int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

        // abs(sin(pi * frac(x))), where frac(x) is the fractional part of x.  This
        // is more numerically accurate: It doesn't overflow to inf like pi * x can,
        // and if x is an integer, it evaluates to 0 exactly, which is significant
        // because we then take the log of this value, and log(0) is inf.
        //
        // We don't have a frac(x) primitive in XLA and computing it is tricky, but
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  10. src/math/big/float_test.go

    		{"0.5", 11, "1024"},
    		{"-0.5", -2, "-0.125"},
    		{"32", 5, "1024"},
    		{"1024", -10, "1"},
    	} {
    		frac := makeFloat(test.frac)
    		want := makeFloat(test.z)
    		var z Float
    		z.SetMantExp(frac, test.exp)
    		if !alike(&z, want) {
    			t.Errorf("SetMantExp(%s, %d) = %s; want %s", test.frac, test.exp, z.Text('g', 10), test.z)
    		}
    		// test inverse property
    		mant := new(Float)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 51.9K bytes
    - Viewed (0)
Back to top