Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 57 of 57 for newConn (0.24 sec)

  1. guava/src/com/google/common/math/BigIntegerMath.java

         *
         * We start out with a double-precision approximation, which may be higher or lower than the
         * true value. Therefore, we perform at least one Newton iteration to get a guess that's
         * definitely >= floor(sqrt(x)), and then continue the iteration until we reach a fixed point.
         */
        BigInteger sqrt0;
        int log2 = log2(x, FLOOR);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  2. src/crypto/tls/conn.go

    func (c *Conn) SetWriteDeadline(t time.Time) error {
    	return c.conn.SetWriteDeadline(t)
    }
    
    // NetConn returns the underlying connection that is wrapped by c.
    // Note that writing to or reading from this connection directly will corrupt the
    // TLS session.
    func (c *Conn) NetConn() net.Conn {
    	return c.conn
    }
    
    // A halfConn represents one direction of the record layer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache.go

    		groupResource:       groupResource,
    		waitingUntilFresh:   progressRequester,
    	}
    	metrics.WatchCacheCapacity.WithLabelValues(groupResource.String()).Set(float64(wc.capacity))
    	wc.cond = sync.NewCond(wc.RLocker())
    	wc.indexValidator = wc.isIndexValidLocked
    
    	return wc
    }
    
    // Add takes runtime.Object as an argument.
    func (w *watchCache) Add(obj interface{}) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 10:20:57 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  4. src/math/big/nat.go

    		rr := make(nat, numWords)
    		copy(rr, x)
    		x = rr
    	}
    
    	// Ideally the precomputations would be performed outside, and reused
    	// k0 = -m**-1 mod 2**_W. Algorithm from: Dumas, J.G. "On Newton–Raphson
    	// Iteration for Multiplicative Inverses Modulo Prime Powers".
    	k0 := 2 - m[0]
    	t := m[0] - 1
    	for i := 1; i < _W; i <<= 1 {
    		t *= t
    		k0 *= (t + 1)
    	}
    	k0 = -k0
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:31:58 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  5. src/os/os_test.go

    		"einstein":   {Data: []byte("Albert\n")},
    		"dir/newton": {Data: []byte("Sir Isaac\n")},
    	}
    	tmpDir = t.TempDir()
    	if err := CopyFS(tmpDir, fsys); err != nil {
    		t.Fatal("CopyFS:", err)
    	}
    	forceMFTUpdateOnWindows(t, tmpDir)
    	tmpFsys = DirFS(tmpDir)
    	if err := fstest.TestFS(tmpFsys, "william", "carl", "daVinci", "einstein", "dir/newton"); err != nil {
    		t.Fatal("TestFS:", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  6. src/runtime/pprof/pprof_test.go

    		wg.Add(1)
    		go func() {
    			defer wg.Done()
    			mu.Lock()
    			mu.Unlock()
    		}()
    	}
    	wg.Wait()
    }
    
    func blockCond(t *testing.T) {
    	var mu sync.Mutex
    	c := sync.NewCond(&mu)
    	mu.Lock()
    	go func() {
    		awaitBlockedGoroutine(t, "sync.Cond.Wait", "blockCond", 1)
    		mu.Lock()
    		c.Signal()
    		mu.Unlock()
    	}()
    	c.Wait()
    	mu.Unlock()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  7. src/net/http/h2_bundle.go

    		t.http2transportTestHooks.newclientconn(cc)
    		c = cc.tconn
    	}
    	if http2VerboseLogs {
    		t.vlogf("http2: Transport creating client conn %p to %v", cc, c.RemoteAddr())
    	}
    
    	cc.cond = sync.NewCond(&cc.mu)
    	cc.flow.add(int32(http2initialWindowSize))
    
    	// TODO: adjust this writer size to account for frame size +
    	// MTU + crypto/tls record padding.
    	cc.bw = bufio.NewWriter(http2stickyErrWriter{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
Back to top