- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 502 for picard (0.1 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() Println("did http", size)
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/bufio/bufio.go
err = ErrBufferFull } } return b.buf[b.r : b.r+n], err } // Discard skips the next n bytes, returning the number of bytes discarded. // // If Discard skips fewer than n bytes, it also returns an error. // If 0 <= n <= b.Buffered(), Discard is guaranteed to succeed without // reading from the underlying io.Reader. func (b *Reader) Discard(n int) (discarded int, err error) { if n < 0 { return 0, ErrNegativeCount }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 14:39:08 UTC 2023 - 21.8K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/upgrade/diff_test.go
kubeConfigPath, err := createTestRunDiffFile([]byte(testConfigToken)) if err != nil { t.Fatal(err) } //nolint:errcheck defer os.Remove(kubeConfigPath) flags := &diffFlags{ cfgPath: "", out: io.Discard, } testCases := []struct { name string args []string setManifestPath bool manifestPath string cfgPath string expectedError bool }{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 13 04:08:57 UTC 2024 - 5.9K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/policy_options.go
// // looking at https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/, // any possible naming scheme will lead to ambiguity to some extent. // We picked "pcpu" because it the established docs hints at vCPU already. FullPhysicalCPUsOnly bool // Flag to evenly distribute CPUs across NUMA nodes in cases where more // than one NUMA node is required to satisfy the allocation.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 27 13:02:15 UTC 2023 - 5.1K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/transforms/BaseClasspathElementTransform.java
resultBuilder().accept(destination, builder -> { try { visitEntries(builder); } catch (FileException e) { // Badly formed archive, so discard the contents and produce an empty JAR LOGGER.debug("Malformed archive '{}'. Discarding contents.", source.getName(), e); } }); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 14 09:24:02 UTC 2024 - 6.1K bytes - Viewed (0) -
src/runtime/netpoll_epoll.go
if ev.Events != syscall.EPOLLIN { println("runtime: netpoll: eventfd ready for", ev.Events) throw("runtime: netpoll: eventfd ready for something unexpected") } if delay != 0 { // netpollBreak could be picked up by a // nonblocking poll. Only read the 8-byte // integer if blocking. // Since EFD_SEMAPHORE was not specified, // the eventfd counter will be reset to 0. var one uint64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 4.6K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_remote_test.cc
for (int i = 0; i < num_tasks; i++) { int port = tensorflow::testing::PickUnusedPortOrDie(); job_def->mutable_tasks()->insert( {i, tensorflow::strings::StrCat("localhost", ":", port)}); LOG(INFO) << "Picked test port: " << port << " for job: " << job_name << ", task: " << i; } return server_def; } namespace tensorflow { namespace parallel_device { TEST(PARALLEL_DEVICE, TestRemoteBasic) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 27 22:09:57 UTC 2023 - 6.7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/changedetection/state/CachingFileHasher.java
cache.put(stringInterner.intern(absolutePath), info); statisticsCollector.reportFileHashed(length); return info; } public void discard(String path) { cache.remove(path); } @VisibleForTesting static class FileInfo { private final HashCode hash; private final long timestamp;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 10 13:47:15 UTC 2023 - 5.3K bytes - Viewed (0) -
cmd/admin-handlers-site-replication.go
} // SiteReplicationDevNull - everything goes to io.Discard // [POST] /minio/admin/v3/site-replication/devnull func (a adminAPIHandlers) SiteReplicationDevNull(w http.ResponseWriter, r *http.Request) { ctx := r.Context() globalSiteNetPerfRX.Connect() defer globalSiteNetPerfRX.Disconnect() connectTime := time.Now() for { n, err := io.CopyN(xioutil.Discard, r.Body, 128*humanize.KiByte)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 19.4K bytes - Viewed (0) -
src/net/http/httputil/dump.go
go func() { req, err := http.ReadRequest(bufio.NewReader(pr)) if err == nil { // Ensure all the body is read; otherwise // we'll get a partial dump. io.Copy(io.Discard, req.Body) req.Body.Close() } select { case dr.c <- strings.NewReader("HTTP/1.1 204 No Content\r\nConnection: close\r\n\r\n"): case <-quitReadCh:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 9.3K bytes - Viewed (0)