Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for readLog (0.17 sec)

  1. src/time/time.go

    // in this package the Time returned by [time.Now] contains both a wall
    // clock reading and a monotonic clock reading; later time-telling
    // operations use the wall clock reading, but later time-measuring
    // operations, specifically comparisons and subtractions, use the
    // monotonic clock reading.
    //
    // For example, this code always computes a positive elapsed time of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  2. src/net/http/fs_test.go

    		ServeFile(w, r, "testdata/file")
    	})).ts
    	c := ts.Client()
    
    	var err error
    
    	file, err := os.ReadFile(testFile)
    	if err != nil {
    		t.Fatal("reading file:", err)
    	}
    
    	// set up the Request (re-used for all tests)
    	var req Request
    	req.Header = make(Header)
    	if req.URL, err = url.Parse(ts.URL); err != nil {
    		t.Fatal("ParseURL:", err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
  3. pkg/kubelet/server/server_test.go

    				close(clientStdoutReadDone)
    				assert.NoError(t, err, "reading from stdout stream")
    				assert.Equal(t, expectedStdout, string(output[0:n]), "stdout")
    			}
    
    			if test.stderr && !test.tty {
    				output := make([]byte, 10)
    				n, err := stderrStream.Read(output)
    				close(clientStderrReadDone)
    				assert.NoError(t, err, "reading from stderr stream")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  4. cmd/xl-storage.go

    // for io.EOF.
    //
    // If an EOF happens after reading some but not all the bytes,
    // ReadFile returns ErrUnexpectedEOF.
    //
    // If the BitrotVerifier is not nil or not verified ReadFile
    // tries to verify whether the disk has bitrot.
    //
    // Additionally ReadFile also starts reading from an offset. ReadFile
    // semantics are same as io.ReadFull.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  5. src/net/http/request.go

    	//
    	// For server requests, the Trailer map initially contains only the
    	// trailer keys, with nil values. (The client declares which trailers it
    	// will later send.)  While the handler is reading from Body, it must
    	// not reference Trailer. After reading from Body returns EOF, Trailer
    	// can be read again and will contain non-nil values, if they were sent
    	// by the client.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  6. src/strings/strings_test.go

    				break
    			}
    			if e != nil {
    				t.Errorf("Reading %q: %s", s, e)
    				break
    			}
    			res.WriteByte(b)
    			// unread and read again
    			e = reader.UnreadByte()
    			if e != nil {
    				t.Errorf("Unreading %q: %s", s, e)
    				break
    			}
    			b1, e := reader.ReadByte()
    			if e != nil {
    				t.Errorf("Reading %q after unreading: %s", s, e)
    				break
    			}
    			if b1 != b {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  7. src/net/http/transport.go

    		port = portMap[url.Scheme]
    	}
    	return net.JoinHostPort(idnaASCIIFromURL(url), port)
    }
    
    // bodyEOFSignal is used by the HTTP/1 transport when reading response
    // bodies to make sure we see the end of a response body before
    // proceeding and reading on the connection again.
    //
    // It wraps a ReadCloser but runs fn (if non-nil) at most
    // once, right before its final (error-producing) Read or Close call
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  8. pkg/kubelet/kuberuntime/kuberuntime_container.go

    	value := int64(kubecontainer.MaxContainerTerminationMessageLogLines)
    	buf, _ := circbuf.NewBuffer(kubecontainer.MaxContainerTerminationMessageLogLength)
    	if err := m.ReadLogs(context.Background(), path, "", &v1.PodLogOptions{TailLines: &value}, buf, buf); err != nil {
    		return fmt.Sprintf("Error on reading termination message from logs: %v", err)
    	}
    	return buf.String()
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

    		t.Errorf("Unexpected failure during deletion: %v", err)
    	}
    
    	if err := store.Get(ctx, key, storage.GetOptions{}, &example.Pod{}); !storage.IsNotFound(err) {
    		t.Errorf("Unexpected error on reading object: %v", err)
    	}
    }
    
    func RunTestDeleteWithSuggestionAndConflict(ctx context.Context, t *testing.T, store storage.Interface) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 91.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc

      for (auto read_op : llvm::make_early_inc_range(all_reads)) {
        Value resource = read_op.getResource();
        if (!Contains(resource)) continue;
    
        ResourceInfo& info = resources_[resource];
        // If replacing loads for read only resources, skip if the resource
        // was written to.
        if (read_only && info.is_written) continue;
    
        read_op.replaceAllUsesWith(info.hoisted_read);
    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