Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for wn (0.05 sec)

  1. src/math/rand/v2/export_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package rand
    
    func GetNormalDistributionParameters() (float64, [128]uint32, [128]float32, [128]float32) {
    	return rn, kn, wn, fn
    }
    
    func GetExponentialDistributionParameters() (float64, [256]uint32, [256]float32, [256]float32) {
    	return re, ke, we, fe
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 30 17:08:37 UTC 2023
    - 414 bytes
    - Viewed (0)
  2. src/strings/replace.go

    		if match {
    			wn, err = sw.WriteString(s[last:i])
    			n += wn
    			if err != nil {
    				return
    			}
    			wn, err = sw.WriteString(val)
    			n += wn
    			if err != nil {
    				return
    			}
    			i += keylen
    			last = i
    			continue
    		}
    		i++
    	}
    	if last != len(s) {
    		wn, err = sw.WriteString(s[last:])
    		n += wn
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:10:31 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  3. src/math/rand/rand_test.go

    	if i := compareUint32Slices(kn[0:], testKn); i >= 0 {
    		t.Errorf("kn disagrees at index %v; %v != %v", i, kn[i], testKn[i])
    	}
    	if i := compareFloat32Slices(wn[0:], testWn); i >= 0 {
    		t.Errorf("wn disagrees at index %v; %v != %v", i, wn[i], testWn[i])
    	}
    	if i := compareFloat32Slices(fn[0:], testFn); i >= 0 {
    		t.Errorf("fn disagrees at index %v; %v != %v", i, fn[i], testFn[i])
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  4. src/math/rand/v2/normal.go

    //
    //	sample = NormFloat64() * desiredStdDev + desiredMean
    func (r *Rand) NormFloat64() float64 {
    	for {
    		u := r.Uint64()
    		j := int32(u) // Possibly negative
    		i := u >> 32 & 0x7F
    		x := float64(j) * float64(wn[i])
    		if absInt32(j) < kn[i] {
    			// This case should be hit better than 99% of the time.
    			return x
    		}
    
    		if i == 0 {
    			// This extra work is only required for the base strip.
    			for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 30 17:08:47 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  5. src/math/rand/normal.go

    // adjust the output using:
    //
    //	sample = NormFloat64() * desiredStdDev + desiredMean
    func (r *Rand) NormFloat64() float64 {
    	for {
    		j := int32(r.Uint32()) // Possibly negative
    		i := j & 0x7F
    		x := float64(j) * float64(wn[i])
    		if absInt32(j) < kn[i] {
    			// This case should be hit better than 99% of the time.
    			return x
    		}
    
    		if i == 0 {
    			// This extra work is only required for the base strip.
    			for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  6. src/math/rand/v2/rand_test.go

    	if i := compareUint32Slices(kn[0:], testKn); i >= 0 {
    		t.Errorf("kn disagrees at index %v; %v != %v", i, kn[i], testKn[i])
    	}
    	if i := compareFloat32Slices(wn[0:], testWn); i >= 0 {
    		t.Errorf("wn disagrees at index %v; %v != %v", i, wn[i], testWn[i])
    	}
    	if i := compareFloat32Slices(fn[0:], testFn); i >= 0 {
    		t.Errorf("fn disagrees at index %v; %v != %v", i, fn[i], testFn[i])
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  7. src/crypto/tls/testdata/Client-TLSv12-ExportKeyingMaterial

    00000010  42 c7 73 06 75 ef 28 ff  87 46 49 af 3a 3b cb bb  |B.s.u.(..FI.:;..|
    00000020  ff 6e e3 60 11 40 2c b8  40 87 5c 20 86 3d de c2  |.n.`.@,.@.\ .=..|
    00000030  18 41 ff 1a dc 00 77 4e  17 0b 36 f3 69 92 d7 04  |.A....wN..6.i...|
    00000040  c4 c6 39 ad ed f7 06 23  8c 52 50 da cc a8 00 00  |..9....#.RP.....|
    00000050  11 ff 01 00 01 00 00 0b  00 04 03 00 01 02 00 17  |................|
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:38 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. tests/integration/ambient/baseline_test.go

    				}
    				unique := sets.SortedList(sets.New(hostnames...))
    				want := dst.WorkloadsOrFail(t)
    				wn := []string{}
    				for _, w := range want {
    					wn = append(wn, w.PodName())
    				}
    				if len(unique) != len(wn) {
    					return fmt.Errorf("excepted all destinations (%v), got: %v", wn, unique)
    				}
    				return nil
    			}
    
    			shouldBalance := dst.Config().HasServiceAddressedWaypointProxy()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/cli-runtime/go.sum

    github.com/imdario/mergo v0.3.6 h1:xTNEAn+kxVO7dTZGu0CegyqKZmoWFI0rF8UxjlB2d28=
    github.com/imdario/mergo v0.3.6/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA=
    github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
    github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
    github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY=
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 14:02:04 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/go.sum

    github.com/imdario/mergo v0.3.6 h1:xTNEAn+kxVO7dTZGu0CegyqKZmoWFI0rF8UxjlB2d28=
    github.com/imdario/mergo v0.3.6/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA=
    github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
    github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
    github.com/jonboulle/clockwork v0.2.2 h1:UOGuzwb1PwsrDAObMuhUnj0p5ULPj8V/xJ7Kx9qUBdQ=
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:11 UTC 2024
    - 49.3K bytes
    - Viewed (0)
Back to top