Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 28 of 28 for Ln2 (0.14 sec)

  1. src/crypto/tls/tls_test.go

    		case <-time.After(10 * time.Second):
    			t.Fatal("deadlock")
    		}
    	}
    
    	// Also test CloseWrite being called before the handshake is
    	// finished:
    	{
    		ln2 := newLocalListener(t)
    		defer ln2.Close()
    
    		netConn, err := net.Dial("tcp", ln2.Addr().String())
    		if err != nil {
    			t.Fatal(err)
    		}
    		defer netConn.Close()
    		conn := Client(netConn, testConfig.Clone())
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
  2. src/os/exec/exec_test.go

    	// Make sure duplicated fds don't leak to the child.
    	f, err := ln.(*net.TCPListener).File()
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer f.Close()
    	ln2, err := net.FileListener(f)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer ln2.Close()
    
    	// Force TLS root certs to be loaded (which might involve
    	// cgo), to make sure none of that potential C code leaks fds.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  3. src/go/constant/value.go

    	exp := f.MantExp(&mant) // 0.5 <= |mant| < 1.0
    
    	// approximate float64 mantissa m and decimal exponent d
    	// f ~ m * 10**d
    	m, _ := mant.Float64()                     // 0.5 <= |m| < 1.0
    	d := float64(exp) * (math.Ln2 / math.Ln10) // log_10(2)
    
    	// adjust m for truncated (integer) decimal exponent e
    	e := int64(d)
    	m *= math.Pow(10, d-float64(e))
    
    	// ensure 1 <= |m| < 10
    	switch am := math.Abs(m); {
    	case am < 1-0.5e-6:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 34K bytes
    - Viewed (0)
  4. src/net/http/serve_test.go

    func TestConcurrentServerServe(t *testing.T) {
    	setParallel(t)
    	for i := 0; i < 100; i++ {
    		ln1 := &oneConnListener{conn: nil}
    		ln2 := &oneConnListener{conn: nil}
    		srv := Server{}
    		go func() { srv.Serve(ln1) }()
    		go func() { srv.Serve(ln2) }()
    	}
    }
    
    func TestServerIdleTimeout(t *testing.T) { run(t, testServerIdleTimeout, []testMode{http1Mode}) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Inf", Func, 0},
    		{"IsInf", Func, 0},
    		{"IsNaN", Func, 0},
    		{"J0", Func, 0},
    		{"J1", Func, 0},
    		{"Jn", Func, 0},
    		{"Ldexp", Func, 0},
    		{"Lgamma", Func, 0},
    		{"Ln10", Const, 0},
    		{"Ln2", Const, 0},
    		{"Log", Func, 0},
    		{"Log10", Func, 0},
    		{"Log10E", Const, 0},
    		{"Log1p", Func, 0},
    		{"Log2", Func, 0},
    		{"Log2E", Const, 0},
    		{"Logb", Func, 0},
    		{"Max", Func, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  6. src/internal/trace/traceviewer/static/trace_viewer_full.html

    t<e;)r[t]=0;return r}function ti(n){for(var t,e=1,r=0,u=n[0][1],i=n.length;i>e;++e)(t=n[e][1])>u&&(r=e,u=t);return r}function ei(n){return n.reduce(ri,0)}function ri(n,t){return n+t[1]}function ui(n,t){return ii(n,Math.ceil(Math.log(t.length)/Math.LN2+1))}function ii(n,t){for(var e=-1,r=+n[0],u=(n[1]-r)/t,i=[];++e<=t;)i[e]=u*e+r;return i}function oi(n){return[Xo.min(n),Xo.max(n)]}function ai(n,t){return n.parent==t.parent?1:2}function ci(n){var t=n.children;return t&&t.length?t[0]:n._tree.thread}function...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (1)
  7. api/go1.txt

    pkg log/syslog (linux-arm), type Priority int
    pkg log/syslog (linux-arm), type Writer struct
    pkg math, const E ideal-float
    pkg math, const Ln10 ideal-float
    pkg math, const Ln2 ideal-float
    pkg math, const Log10E ideal-float
    pkg math, const Log2E ideal-float
    pkg math, const MaxFloat32 ideal-float
    pkg math, const MaxFloat64 ideal-float
    pkg math, const MaxInt16 ideal-int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  8. api/go1.1.txt

    pkg math, const Ln10 = 2.30259  // 23025850929940456840179914546843642076011014886287729760333279/10000000000000000000000000000000000000000000000000000000000000
    pkg math, const Ln2 = 0.693147  // 693147180559945309417232121458176568075500134360255254120680009/1000000000000000000000000000000000000000000000000000000000000000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M bytes
    - Viewed (0)
Back to top