Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 186 for gwrite (0.28 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

    	-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.
    
    	-memprofilerate n
    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

    }
    
    // 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.
    // It does not perform the actual writes.
    //
    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. staging/src/k8s.io/cli-runtime/pkg/resource/builder_test.go

    	go func() {
    		defer w.Close()
    		w.Write(JSONToYAMLOrDie([]byte(runtime.EncodeOrDie(corev1Codec, pods))))
    		w.Write([]byte("\n---\n"))
    		w.Write(JSONToYAMLOrDie([]byte(runtime.EncodeOrDie(corev1Codec, svc))))
    	}()
    	return r, pods, svc
    }
    
    func streamTestObject(obj runtime.Object) io.Reader {
    	r, w := io.Pipe()
    	go func() {
    		defer w.Close()
    		w.Write([]byte(runtime.EncodeOrDie(corev1Codec, obj)))
    	}()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 11:58:41 UTC 2023
    - 56.1K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

            readTimeout = checkDuration("duration", duration)
          }
    
        /**
         * Sets the default write timeout for new connections. A value of 0 means no timeout, otherwise
         * values must be between 1 and [Integer.MAX_VALUE] when converted to milliseconds.
         *
         * The write timeout is applied for individual write IO operations. The default value is 10
         * seconds.
         *
         * @see Sink.timeout
         */
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. src/net/http/client_test.go

    	}
    
    	writes = 0
    	_, err = c.PostForm(ts.URL, url.Values{"foo": {"bar"}})
    	if err != nil {
    		t.Fatal(err)
    	}
    	if writes != 1 {
    		t.Errorf("Post request did %d Write calls, want 1", writes)
    	}
    }
    
    func TestClientInsecureTransport(t *testing.T) {
    	run(t, testClientInsecureTransport, []testMode{https1Mode, http2Mode})
    }
    func testClientInsecureTransport(t *testing.T, mode testMode) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
Back to top