Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 103 for Write (0.34 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/os/os_test.go

    	}
    	b[len(b)-1] = '\n'
    	n, err := Stdout.Write(b)
    	if err != nil {
    		t.Fatalf("Write to os.Stdout failed: %v", err)
    	}
    	if n != len(b) {
    		t.Errorf("Write to os.Stdout should return %d; got %d", len(b), n)
    	}
    	n, err = Stderr.Write(b)
    	if err != nil {
    		t.Fatalf("Write to os.Stderr failed: %v", err)
    	}
    	if n != len(b) {
    		t.Errorf("Write to os.Stderr should return %d; got %d", len(b), n)
    	}
    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/testing/testing.go

    	memProfile = flag.String("test.memprofile", "", "write an allocation profile to `file`")
    	memProfileRate = flag.Int("test.memprofilerate", 0, "set memory allocation profiling `rate` (see runtime.MemProfileRate)")
    	cpuProfile = flag.String("test.cpuprofile", "", "write a cpu profile to `file`")
    	blockProfile = flag.String("test.blockprofile", "", "write a goroutine blocking profile to `file`")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/MapMakerInternalMap.java

         *
         * - All (unsynchronized) read operations must first read the "count" field, and should not
         * look at table entries if it is 0.
         *
         * - All (synchronized) write operations should write to the "count" field after structurally
         * changing any bin. The operations must not take any action that could even momentarily
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  8. src/net/http/transport.go

    		defer cancel()
    
    		didReadResponse := make(chan struct{}) // closed after CONNECT write+read is done or fails
    		var (
    			resp *Response
    			err  error // write or read error
    		)
    		// Write the CONNECT request & read the response.
    		go func() {
    			defer close(didReadResponse)
    			err = connectReq.Write(conn)
    			if err != nil {
    				return
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  9. src/net/http/client_test.go

    	if err != io.EOF {
    		t.Fatalf("at end expected EOF, got %v", err)
    	}
    }
    
    type writeCountingConn struct {
    	net.Conn
    	count *int
    }
    
    func (c *writeCountingConn) Write(p []byte) (int, error) {
    	*c.count++
    	return c.Conn.Write(p)
    }
    
    // TestClientWrites verifies that client requests are buffered and we
    // don't send a TCP packet per line of the http request + body.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  10. configure.py

        if python_lib_path in python_paths:
          write_action_env_to_bazelrc('PYTHONPATH', environ_cp.get('PYTHONPATH'))
    
      # Write tools/python_bin_path.sh
      with open(
          os.path.join(_TF_WORKSPACE_ROOT, 'tools', 'python_bin_path.sh'),
          'w') as f:
        f.write('export PYTHON_BIN_PATH="{}"'.format(python_bin_path))
    
    
    def reset_tf_configure_bazelrc():
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 04:32:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
Back to top