Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 173 for Write (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/runtime/mbitmap.go

    func (span *mspan) objBase(addr uintptr) uintptr {
    	return span.base() + span.objIndex(addr)*span.elemsize
    }
    
    // bulkBarrierPreWrite executes a write barrier
    // for every pointer slot in the memory range [src, src+size),
    // using pointer/scalar information from [dst, dst+size).
    // This executes the write barriers necessary before a memmove.
    // src, dst, and size must be pointer-aligned.
    // The range [dst, dst+size) must lie within a single object.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc

          auto write = dyn_cast<TF::AssignVariableOp>(user);
          if (!read && !write) {
            unsupported_use = true;
            break;
          }
    
          if (read && !info.is_read) {
            info.is_read = true;
            info.RefineType(read.getValue().getType());
            info.read_attrs = user->getAttrDictionary();
          }
    
          if (write) {
            info.is_written = true;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top