- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 213 for Closest (0.13 sec)
-
src/io/pipe.go
func (r *PipeReader) Read(data []byte) (n int, err error) { return r.pipe.read(data) } // Close closes the reader; subsequent writes to the // write half of the pipe will return the error [ErrClosedPipe]. func (r *PipeReader) Close() error { return r.CloseWithError(nil) } // CloseWithError closes the reader; subsequent writes // to the write half of the pipe will return the error err. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:34:35 UTC 2023 - 5.1K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/service/scopes/DefaultGradleUserHomeScopeServiceRegistryTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:34:44 UTC 2024 - 8K bytes - Viewed (0) -
guava/src/com/google/common/io/Closeables.java
@GwtIncompatible @ElementTypesAreNonnullByDefault public final class Closeables { @VisibleForTesting static final Logger logger = Logger.getLogger(Closeables.class.getName()); private Closeables() {} /** * Closes a {@link Closeable}, with control over whether an {@code IOException} may be thrown. * This is primarily useful in a finally block, where a thrown exception needs to be logged but
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 17 14:35:11 UTC 2023 - 4.7K bytes - Viewed (0) -
src/runtime/libfuzzer_amd64.s
// ValueProfileMap.AddValue() truncates its argument to 16 bits and shifts the // PC to the left by log_2(128)=7, which means that only the lowest 16 - 7 bits // of the return address matter. String compare hooks use the lowest 12 bits, // but take the return address as an argument and thus don't require the // indirection through a trampoline.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 10 04:57:07 UTC 2023 - 5K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_timeout_stdin.txt
# After the test process itself prints PASS and exits, # the kernel closes its stdin pipe to to the orphaned subprocess. # At that point, we expect the subprocess to print 'stdin closed' # and periodically log to stderr until the WaitDelay expires. # # Once the WaitDelay expires, the copying goroutine for 'go test' stops and # closes the read side of the stderr pipe, and the subprocess will eventually
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 02 20:23:27 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/core-runtime/build-profile/src/main/java/org/gradle/profile/Operation.java
*/ abstract long getElapsedTime(); abstract String getDescription(); /** * @return comparator that compares operations, slowest first, then alphabetically */ public static Comparator<? super Operation> slowestFirst() { return new Comparator<Operation>() { @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 01 12:58:53 UTC 2023 - 1.5K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DaemonStopClient.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 5.2K bytes - Viewed (0) -
internal/lock/lock.go
) // ErrAlreadyLocked is returned if the underlying fd is already locked. var ErrAlreadyLocked = errors.New("file already locked") // RLockedFile represents a read locked file, implements a special // closer which only closes the associated *os.File when the ref count. // has reached zero, i.e when all the readers have given up their locks. type RLockedFile struct { *LockedFile mutex sync.Mutex refs int // Holds read lock refs. }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 2.5K bytes - Viewed (0) -
src/cmd/internal/bio/must.go
// Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package bio import ( "io" "log" ) // MustClose closes Closer c and calls log.Fatal if it returns a non-nil error. func MustClose(c io.Closer) { if err := c.Close(); err != nil { log.Fatal(err) } } // MustWriter returns a Writer that wraps the provided Writer,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 14 17:58:33 UTC 2016 - 883 bytes - Viewed (0) -
src/cmd/go/internal/lockedfile/internal/filelock/filelock.go
} // Lock places an advisory write lock on the file, blocking until it can be // locked. // // If Lock returns nil, no other process will be able to place a read or write // lock on the file until this process exits, closes f, or calls Unlock on it. // // If f's descriptor is already read- or write-locked, the behavior of Lock is // unspecified. // // Closing the file may or may not release the lock promptly. Callers should
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 17 02:24:35 UTC 2023 - 2.6K bytes - Viewed (0)