- Sort Score
- Num 10 results
- Language All
Results 331 - 340 of 1,752 for times (0.06 seconds)
-
docs/recipes.md
} ``` You may also skip the retry when you’ve hit an application-defined attempt limit: ```kotlin if (response.responseCount >= 3) { return null // If we've failed 3 times, give up. } ``` This above code relies on this `responseCount` extension val: ```kotlin val Response.responseCount: IntCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:01:42 GMT 2026 - 47.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableMultiset.java
* .addCopies(Bean.RED, 8) * .addCopies(Bean.BLACK_EYED, 10) * .build(); * } * * <p>Builder instances can be reused; it is safe to call {@link #build} multiple times to build * multiple multisets in series. * * @since 2.0 */ public static class Builder<E> extends ImmutableCollection.Builder<E> { final Multiset<E> contents; /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 20.6K bytes - Click Count (0) -
docs/smb3-features/01-smb3-lease-design.md
handleLeaseBreak(key, newState); }); try { future.get(5, TimeUnit.SECONDS); // 5 second timeout } catch (TimeoutException e) { // Force lease release if break handling times out releaseLease(key); log.warn("Lease break timeout for key: {}", key); } } ``` ### 10.2 Fallback to Oplocks ```java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 22K bytes - Click Count (0) -
tests/hooks_test.go
t.Errorf("should find product, but got error %v", err) } if productWithItem.Item.AfterFindCallTimes != 0 { t.Fatalf("AfterFind should not be called times:%d", productWithItem.Item.AfterFindCallTimes) } } type Product5 struct { gorm.Model Name string } var beforeUpdateCall int func (p *Product5) BeforeUpdate(*gorm.DB) error {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Jun 17 03:59:06 GMT 2024 - 16.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lease/LeaseManager.java
}); try { future.get(timeoutSeconds, TimeUnit.SECONDS); } catch (TimeoutException e) { // Force lease release if break handling times out LeaseEntry entry = leases.get(key); if (entry != null) { log.warn("Lease break timeout for key: {} on path: {}, falling back to no caching", key, entry.getPath());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 18.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Iterators.java
* is polled. This amortizes the sorting cost over the iteration and requires less memory than * sorting all elements at once. * * <p>Retrieving a single element takes approximately O(log(M)) time, where M is the number of * iterators. (Retrieving all elements takes approximately O(N*log(M)) time, where N is the total * number of elements.) */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 16 12:42:11 GMT 2025 - 51.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/Iterators.java
* is polled. This amortizes the sorting cost over the iteration and requires less memory than * sorting all elements at once. * * <p>Retrieving a single element takes approximately O(log(M)) time, where M is the number of * iterators. (Retrieving all elements takes approximately O(N*log(M)) time, where N is the total * number of elements.) */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 16 12:42:11 GMT 2025 - 51.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Multimap.java
* So, using the multimap shown above as an example, the {@link #size} is {@code 3}, not {@code 2}, * and the {@link #values} collection is {@code [1, 2, 3]}, not {@code [[1, 2], [3]]}. For those * times when the first style is more useful, use the multimap's {@link #asMap} view (or create a * {@code Map<K, Collection<V>>} in the first place). * * <h3>Example</h3> * * <p>The following code: * * {@snippet :Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 15K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/ValueGraph.java
* @since 24.0 */ @Override Set<EndpointPair<N>> incidentEdges(N node); /** * Returns the count of {@code node}'s incident edges, counting self-loops twice (equivalently, * the number of times an edge touches {@code node}). * * <p>For directed graphs, this is equal to {@code inDegree(node) + outDegree(node)}. * * <p>For undirected graphs, this is equal to {@code incidentEdges(node).size()} + (number of
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 15K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/MoreFilesTest.java
/** * This test attempts to create a situation in which one thread is constantly changing a file from * being a real directory to being a symlink to another directory. It then calls * deleteDirectoryContents thousands of times on a directory whose subtree contains the file * that's switching between directory and symlink to try to ensure that under no circumstance does
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 27.5K bytes - Click Count (0)