Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 180 for Write (0.11 sec)

  1. src/crypto/tls/conn.go

    	}
    
    	if transcript != nil {
    		transcript.Write(data)
    	}
    
    	return m, nil
    }
    
    var (
    	errShutdown = errors.New("tls: protocol is shutdown")
    )
    
    // Write writes data to the connection.
    //
    // As Write calls [Conn.Handshake], in order to prevent indefinite blocking a deadline
    // must be set for both [Conn.Read] and Write before Write is called when the handshake
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  2. src/crypto/tls/handshake_client_test.go

    		defer client.Close()
    
    		if _, err := client.Write([]byte("hello\n")); err != nil {
    			t.Errorf("Client.Write failed: %s", err)
    			return
    		}
    
    		for i := 1; i <= test.numRenegotiations; i++ {
    			// The initial handshake will generate a
    			// handshakeComplete signal which needs to be quashed.
    			if i == 1 && write {
    				<-stdout.handshakeComplete
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  3. src/crypto/tls/tls_test.go

    	buf := make([]byte, 6)
    	if _, err := srv.Write([]byte("foobar")); err != nil {
    		t.Errorf("Write err: %v", err)
    	}
    	if n, err := conn.Read(buf); n != 6 || err != nil || string(buf) != "foobar" {
    		t.Errorf("Read = %d, %v, data %q; want 6, nil, foobar", n, err, buf)
    	}
    
    	// Set a deadline which should cause Write to timeout
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
  4. src/runtime/mgc.go

    //    (from _GCoff), enabling the write barrier, enabling mutator
    //    assists, and enqueueing root mark jobs. No objects may be
    //    scanned until all Ps have enabled the write barrier, which is
    //    accomplished using STW.
    //
    //    b. Start the world. From this point, GC work is done by mark
    //    workers started by the scheduler and by assists performed as
    //    part of allocation. The write barrier shades both the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/elf.go

    	sh := elfwritenotehdr(out, ".note.gnu.build-id", ELF_NOTE_BUILDINFO_NAMESZ, uint32(len(buildinfo)), ELF_NOTE_BUILDINFO_TAG)
    	if sh == nil {
    		return 0
    	}
    
    	out.Write(ELF_NOTE_BUILDINFO_NAME)
    	out.Write(buildinfo)
    	var zero = make([]byte, 4)
    	out.Write(zero[:int(Rnd(int64(len(buildinfo)), 4)-int64(len(buildinfo)))])
    
    	return int(sh.Size)
    }
    
    func elfwritegobuildid(out *OutBuf) int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  6. src/net/http/request.go

    //
    // If Body is present, Content-Length is <= 0 and [Request.TransferEncoding]
    // hasn't been set to "identity", Write adds "Transfer-Encoding:
    // chunked" to the header. Body is closed after it is sent.
    func (r *Request) Write(w io.Writer) error {
    	return r.write(w, false, nil, nil)
    }
    
    // WriteProxy is like [Request.Write] but writes the request in the form
    // expected by an HTTP proxy. In particular, [Request.WriteProxy] writes the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/CacheBuilder.java

       * segments, each governed by its own write lock. The segment lock is taken once for each explicit
       * write, and twice for each cache loading computation (once prior to loading the new value, and
       * once after loading completes). Much internal cache management is performed at the segment
       * granularity. For example, access queues and write queues are kept per segment when they are
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/tensor_array_ops_decomposition.mlir

      %read = "tf.TensorArrayReadV3"(%ta#0, %index, %write) : (tensor<!tf_type.resource>, tensor<i32>, tensor<f32>) -> tensor<3xf32>
      // CHECK-NOT: TensorArrayCloseV3
      "tf.TensorArrayCloseV3"(%ta#0) : (tensor<!tf_type.resource>) -> ()
      // CHECK: return %[[READ]] : tensor<3xf32>
      func.return %read: tensor<3xf32>
    }
    
    // -----
    
    // Test inferring shape from the first write.
    
    // CHECK-LABEL: func @main
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 49K bytes
    - Viewed (0)
  9. src/net/http/httputil/reverseproxy_test.go

    	if rw.writeHeader != nil {
    		rw.writeHeader(statusCode)
    	}
    }
    
    func (rw *testResponseWriter) Write(p []byte) (int, error) {
    	if rw.write != nil {
    		return rw.write(p)
    	}
    	return len(p), nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 54.6K bytes
    - Viewed (0)
  10. src/cmd/go/internal/test/test.go

    	    are recorded, equivalent to -test.blockprofilerate=1.
    
    	-coverprofile cover.out
    	    Write a coverage profile to the file after all tests have passed.
    	    Sets -cover.
    
    	-cpuprofile cpu.out
    	    Write a CPU profile to the specified file before exiting.
    	    Writes test binary as -c would.
    
    	-memprofile mem.out
    	    Write an allocation profile to the file after all tests have passed.
    	    Writes test binary as -c would.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
Back to top