- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for stressNet (0.12 sec)
-
test/stress/runstress.go
if err != nil { log.Fatalf("stressNet: http Get error: %v", err) } if res.StatusCode != 200 { log.Fatalf("stressNet: Status code = %d", res.StatusCode) } n, err := io.Copy(io.Discard, res.Body) if err != nil { log.Fatalf("stressNet: io.Copy: %v", err) } if n != int64(size) { log.Fatalf("stressNet: copied = %d; want %d", n, size) } res.Body.Close()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:21:35 UTC 2024 - 3.6K bytes - Viewed (0) -
src/expvar/expvar_test.go
var ( bytesSent Int bytesRead Int ) // The benchmark creates GOMAXPROCS client/server pairs. // Each pair creates 4 goroutines: client reader/writer and server reader/writer. // The benchmark stresses concurrent reading and writing to the same connection. // Such pattern is used in net/http and net/rpc. b.StopTimer() P := runtime.GOMAXPROCS(0) N := b.N / P W := 1000
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:46:19 UTC 2024 - 13.4K bytes - Viewed (0) -
src/net/tcpsock_test.go
testHookUninstaller.Do(uninstallTestHooks) // The benchmark creates GOMAXPROCS client/server pairs. // Each pair creates 4 goroutines: client reader/writer and server reader/writer. // The benchmark stresses concurrent reading and writing to the same connection. // Such pattern is used in net/http and net/rpc. b.StopTimer() P := runtime.GOMAXPROCS(0) N := b.N / P W := 1000
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 06:04:31 UTC 2024 - 17.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/BUILD
"@llvm-project//mlir:Support", ], ) # TensorFlow ops are separated into `tensorflow_ops_a_m.cc` and # `tensorflow_ops_n_z.cc` so that C++ compiler won't be stressed by huge C++ # files. However, there might be dependencies between `tensorflow_ops_a_m.cc` # and `tensorflow_ops_n_z.cc`, thus they must be built in one `cc_library`. cc_library( name = "tensorflow_ops_sharded",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 21:28:13 UTC 2024 - 47.7K bytes - Viewed (0)