- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 594 for ensures (0.09 sec)
-
android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java
timeoutFuture.timer = null; // Don't include already elapsed delay in delegate.toString() String message = "Timed out"; // This try-finally block ensures that we complete the timeout future, even if attempting // to produce the message throws (probably StackOverflowError from delegate.toString()) try { if (timer != null) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 13:13:32 UTC 2024 - 8.1K bytes - Viewed (0) -
cmd/erasure.go
if !cache.Info.LastUpdate.IsZero() && cache.Info.LastUpdate.After(before) { scannerLogIf(ctx, cache.save(ctx, er, cacheName)) } else { scannerLogIf(ctx, err) } // This ensures that we don't close // bucketResults channel while the // updates-collector goroutine still // holds a reference to this. wg.Wait() continue } wg.Wait()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 04 22:23:33 UTC 2024 - 16.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
} if ( log.isDebugEnabled() ) { log.debug("Negotiated file read size is " + this.readSizeFile); } } /** * Ensures that the file descriptor is openend * * @throws CIFSException */ public void open () throws CIFSException { try ( SmbFileHandleImpl fh = ensureOpen() ) {} } /**
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun May 17 08:55:14 UTC 2020 - 13.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
} else { this.req = new SmbComWrite(th.getConfig()); this.rsp = new SmbComWriteResponse(th.getConfig()); } } /** * Ensures that the file descriptor is openend * * @throws CIFSException */ public void open () throws CIFSException { try ( SmbFileHandleImpl fh = ensureOpen() ) {} } /**
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Nov 13 15:14:04 UTC 2021 - 11.9K bytes - Viewed (0) -
cmd/net.go
} else { nonIPs = append(nonIPs, ip) } } sort.Slice(ipV4s, func(i, j int) bool { // This case is needed when all ips in the list // have same last octets, Following just ensures that // 127.0.0.1 is moved to the end of the list. if ipV4s[i].IsLoopback() { return false } if ipV4s[j].IsLoopback() { return true }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jun 19 14:34:00 UTC 2024 - 9.6K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Closer.java
* try block in order to catch any exception that may be thrown (including from the call to {@code * close()}). * * <p>This pattern ensures the following: * * <ul> * <li>Each {@code Closeable} resource that is successfully registered will be closed later. * <li>If a {@code Throwable} is thrown in the try block, no exceptions that occur when attempting
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 07 15:26:58 UTC 2024 - 10.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/GcFinalization.java
* reference has been cleared and one {@code finalize} method has been run before this method * returns. This method may be useful when testing the garbage collection mechanism itself, or * inhibiting a spontaneous GC initiation in subsequent code. * * <p>In contrast, a plain call to {@link java.lang.System#gc()} does not ensure finalization
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 11.6K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
* cycle_suppress_list.txt. */ private final AbstractService service; /** * This lock is used to ensure safe and correct cancellation, it ensures that a new task is * not scheduled while a cancel is ongoing. Also it protects the currentFuture variable to * ensure that it is assigned atomically with being scheduled. */ private final ReentrantLock lock = new ReentrantLock();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 16:22:21 UTC 2024 - 27.8K bytes - Viewed (0) -
guava/src/com/google/common/io/Closer.java
* try block in order to catch any exception that may be thrown (including from the call to {@code * close()}). * * <p>This pattern ensures the following: * * <ul> * <li>Each {@code Closeable} resource that is successfully registered will be closed later. * <li>If a {@code Throwable} is thrown in the try block, no exceptions that occur when attempting
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 07 15:26:58 UTC 2024 - 10.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultiset.java
// TODO(lowasser): consider overhauling this back to Map<E, Integer> private transient Map<E, Count> backingMap; /* * Cache the size for efficiency. Using a long lets us avoid the need for * overflow checking and ensures that size() will function correctly even if * the multiset had once been larger than Integer.MAX_VALUE. */ private transient long size; /** Standard constructor. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 10.4K bytes - Viewed (0)