Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 66 for newConn (0.42 sec)

  1. src/internal/zstd/zstd_test.go

    )
    
    // bigData returns the contents of our large test file repeated multiple times.
    func bigData(t testing.TB) []byte {
    	bigDataOnce.Do(func() {
    		bigDataBytes, bigDataErr = os.ReadFile("../../testdata/Isaac.Newton-Opticks.txt")
    		if bigDataErr == nil {
    			bigDataBytes = bytes.Repeat(bigDataBytes, 20)
    		}
    	})
    	if bigDataErr != nil {
    		t.Fatal(bigDataErr)
    	}
    	return bigDataBytes
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 16:39:21 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  2. api/go1.18.txt

    pkg bufio, method (ReadWriter) AvailableBuffer() []uint8
    pkg bytes, func Cut([]uint8, []uint8) ([]uint8, []uint8, bool)
    pkg bytes, func Title //deprecated
    pkg crypto/tls, method (*Conn) NetConn() net.Conn
    pkg crypto/tls, type Config struct, PreferServerCipherSuites //deprecated
    pkg crypto/x509, method (*CertPool) Subjects //deprecated
    pkg debug/buildinfo, func Read(io.ReaderAt) (*debug.BuildInfo, error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 13K bytes
    - Viewed (0)
  3. cmd/metacache-entries_test.go

    	want := []string{"src/compress/bzip2/bit_reader.go", "src/compress/bzip2/bzip2.go", "src/compress/bzip2/bzip2_test.go", "src/compress/bzip2/huffman.go", "src/compress/bzip2/move_to_front.go", "src/compress/bzip2/testdata/Isaac.Newton-Opticks.txt.bz2", "src/compress/bzip2/testdata/e.txt.bz2", "src/compress/bzip2/testdata/fail-issue5747.bz2", "src/compress/bzip2/testdata/pass-random1.bin", "src/compress/bzip2/testdata/pass-random1.bz2", "src/compress/bzip2/testdata/pass-random2.bin",...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 31.6K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Conn.Reader", Field, 0},
    		{"Conn.Writer", Field, 0},
    		{"Dial", Func, 0},
    		{"Error", Type, 0},
    		{"Error.Code", Field, 0},
    		{"Error.Msg", Field, 0},
    		{"MIMEHeader", Type, 0},
    		{"NewConn", Func, 0},
    		{"NewReader", Func, 0},
    		{"NewWriter", Func, 0},
    		{"Pipeline", Type, 0},
    		{"ProtocolError", Type, 0},
    		{"Reader", Type, 0},
    		{"Reader.R", Field, 0},
    		{"TrimBytes", Func, 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  5. src/crypto/tls/tls_test.go

    	// 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())
    
    		if err := conn.CloseWrite(); err != errEarlyCloseWrite {
    			t.Errorf("CloseWrite error = %v; want errEarlyCloseWrite", err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
  6. src/index/suffixarray/suffixarray_test.go

    		New(data)
    	}
    }
    
    func makeText(name string) ([]byte, error) {
    	var data []byte
    	switch name {
    	case "opticks":
    		var err error
    		data, err = os.ReadFile("../../testdata/Isaac.Newton-Opticks.txt")
    		if err != nil {
    			return nil, err
    		}
    	case "go":
    		err := filepath.WalkDir("../..", func(path string, info fs.DirEntry, err error) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  7. cmd/metacache-stream_test.go

    2/", "src/compress/bzip2/bit_reader.go", "src/compress/bzip2/bzip2.go", "src/compress/bzip2/bzip2_test.go", "src/compress/bzip2/huffman.go", "src/compress/bzip2/move_to_front.go", "src/compress/bzip2/testdata/", "src/compress/bzip2/testdata/Isaac.Newton-Opticks.txt.bz2", "src/compress/bzip2/testdata/e.txt.bz2", "src/compress/bzip2/testdata/fail-issue5747.bz2", "src/compress/bzip2/testdata/pass-random1.bin", "src/compress/bzip2/testdata/pass-random1.bz2", "src/compress/bzip2/testdata/pass-random2.bin",...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 15K bytes
    - Viewed (0)
  8. android/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)
  9. 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)
  10. 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)
Back to top