- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,817 for Written (0.14 sec)
-
pkg/kube/controllers/common_test.go
"istio.io/istio/pkg/test/util/assert" "istio.io/istio/pkg/test/util/retry" ) func TestEnqueueForParentHandler(t *testing.T) { var written atomic.String q := NewQueue("test", WithReconciler(func(key types.NamespacedName) error { t.Logf("got event %v", key) written.Store(key.String()) return nil })) go q.Run(test.NewStop(t)) handler := EnqueueForParentHandler(q, gvk.Deployment) handler(&corev1.Pod{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Feb 15 15:34:49 UTC 2023 - 4.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/filters/warning.go
// if this fits within our limit, or we're already truncating, write and return if r.written+textRuneLength <= truncateAtTotalRunes || r.truncating { r.written += textRuneLength r.writer.Header().Add("Warning", header) return } // otherwise, enable truncation, reset, and replay the existing items as truncated warnings r.truncating = true r.written = 0 r.writer.Header().Del("Warning")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 01 16:14:06 UTC 2020 - 3.6K bytes - Viewed (0) -
platforms/software/maven/src/main/java/org/gradle/api/publish/maven/tasks/GenerateMavenPom.java
} /** * The file the POM will be written to. * * @return The file the POM will be written to */ @OutputFile public File getDestination() { return destination == null ? null : getFileResolver().resolve(destination); } /** * Sets the destination the descriptor will be written to. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 4.7K bytes - Viewed (0) -
platforms/software/ivy/src/main/java/org/gradle/api/publish/ivy/tasks/GenerateIvyDescriptor.java
} /** * The file the descriptor will be written to. * * @return The file the descriptor will be written to */ @OutputFile public File getDestination() { return destination == null ? null : getFileResolver().resolve(destination); } /** * Sets the destination the descriptor will be written to. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 4.2K bytes - Viewed (0) -
src/internal/poll/copy_file_range_linux.go
if written == 0 { return 0, false, nil } // Otherwise src is at EOF, which means // we are done. return written, true, nil } remain -= n written += n default: return written, true, err } } return written, true, nil } // copyFileRange performs one round of copy_file_range(2).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 17:40:10 UTC 2024 - 3.9K bytes - Viewed (0) -
src/internal/poll/sendfile_linux.go
// at a time. const maxSendfileSize int = 4 << 20 // SendFile wraps the sendfile system call. func SendFile(dstFD *FD, src int, remain int64) (written int64, err error, handled bool) { defer func() { TestHookDidSendFile(dstFD, src, written, err, handled) }() if err := dstFD.writeLock(); err != nil { return 0, err, false } defer dstFD.writeUnlock()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 18:12:56 UTC 2024 - 1.4K bytes - Viewed (0) -
internal/ioutil/ioutil_test.go
defer ODirectPoolSmall.Put(bufp) written, err := CopyAligned(f, io.LimitReader(r, 5), *bufp, r.Size(), f) if !errors.Is(err, io.ErrUnexpectedEOF) { t.Errorf("Expected io.ErrUnexpectedEOF, but got %v", err) } if written != 5 { t.Errorf("Expected written to be '5', but got %v", written) } f.Seek(0, io.SeekStart) r.Seek(0, io.SeekStart) written, err = CopyAligned(f, r, *bufp, r.Size(), f)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 22 23:07:14 UTC 2024 - 5.5K bytes - Viewed (0) -
src/net/sendfile_unix_alt.go
var werr error err = sc.Read(func(fd uintptr) bool { written, werr, handled = poll.SendFile(&c.pfd, int(fd), pos, remain) return true }) if err == nil { err = werr } if lr != nil { lr.N = remain - written } _, err1 := f.Seek(written, io.SeekCurrent) if err1 != nil && err == nil { return written, err1, handled } return written, wrapSyscallError("sendfile", err), handled
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 18:12:56 UTC 2024 - 2.3K bytes - Viewed (0) -
src/internal/poll/sendfile_bsd.go
// at a time. const maxSendfileSize int = 4 << 20 // SendFile wraps the sendfile system call. func SendFile(dstFD *FD, src int, pos, remain int64) (written int64, err error, handled bool) { defer func() { TestHookDidSendFile(dstFD, src, written, err, handled) }() if err := dstFD.writeLock(); err != nil { return 0, err, false } defer dstFD.writeUnlock()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 18:12:56 UTC 2024 - 1.5K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CharSink.java
import java.io.IOException; import java.io.Reader; import java.io.Writer; import java.nio.charset.Charset; /** * A destination to which characters can be written, such as a text file. Unlike a {@link Writer}, a * {@code CharSink} is not an open, stateful stream that can be written to and closed. Instead, it * is an immutable <i>supplier</i> of {@code Writer} instances. * * <p>{@code CharSink} provides two kinds of methods: * * <ul>
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 28 20:13:02 UTC 2023 - 6.1K bytes - Viewed (0)