- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 453 for safety (0.68 sec)
-
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java
} }; FessTimeResourceProvider emptyProvider = new FessTimeResourceProvider(emptyConfig); assertNotNull(emptyProvider); } // Test thread safety of provider creation public void test_threadSafetyProviderCreation() throws InterruptedException { final int threadCount = 10; final Thread[] threads = new Thread[threadCount];
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java
} } /** * Verify thread safety by using a collection whose size() may be inconsistent with the actual * number of elements and whose elements may change over time. * * <p>This test might fail in GWT because the GWT emulations might count on the input collection * not to change during the copy. It is safe to do so in GWT because javascript is * single-threaded. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java
} // Element Mutation @Test public void addEdge_existingNodes() { assume().that(graphIsMutable()).isTrue(); // Adding nodes initially for safety (insulating from possible future // modifications to proxy methods) addNode(N1); addNode(N2); assertThat(networkAsMutableNetwork.addEdge(N1, N2, E12)).isTrue();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 18.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashSet.java
} init(elementCount); for (int i = 0; i < elementCount; i++) { E element = (E) stream.readObject(); add(element); } } /* * For discussion of the safety of the following methods, see the comments near the end of * CompactHashMap. */ private Object requireTable() { return requireNonNull(table); } private int[] requireEntries() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 23.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java
int offsetSize = 4; int remarkSize = remark.length() + 1; int totalSize = shareNameSize + typeSize + offsetSize + remarkSize; byte[] buffer = new byte[totalSize + 100]; // Extra space for safety int bufferIndex = 0; int start = 0; // Set converter value first setConverter(response, 0); // Set number of entries setNumEntries(response, 1);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableCollection.java
* appropriate factory method for details. View collections such as {@link * ImmutableMultiset#elementSet} iterate in the same order as the parent, except as noted. * <li><b>Thread safety.</b> It is safe to access this collection concurrently from multiple * threads. * <li><b>Integrity.</b> This type cannot be subclassed outside this package (which would allow * these guarantees to be violated). * </ul>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.7K bytes - Viewed (0) -
docs/smb3-features/01-smb3-lease-design.md
} ``` ## 9. Performance Considerations ### 9.1 Memory Management - Lease entries should be evicted based on LRU when max leases reached - Implement periodic cleanup of expired leases ### 9.2 Thread Safety - Use concurrent data structures for lease storage - Minimize lock contention in hot paths - Async handling of lease breaks ### 9.3 Network Efficiency - Batch lease requests when possible
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 22K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableCollection.java
* appropriate factory method for details. View collections such as {@link * ImmutableMultiset#elementSet} iterate in the same order as the parent, except as noted. * <li><b>Thread safety.</b> It is safe to access this collection concurrently from multiple * threads. * <li><b>Integrity.</b> This type cannot be subclassed outside this package (which would allow * these guarantees to be violated). * </ul>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSetMultimap.java
EMPTY_SET_FIELD_SETTER = Serialization.getFieldSetter(ImmutableSetMultimap.class, "emptySet"); } @GwtIncompatible @J2ktIncompatible // Serialization type safety is at the caller's mercy. @SuppressWarnings("unchecked") private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { stream.defaultReadObject();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.8K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Converter.java
return checkNotNull(otherConverter, "otherConverter"); } /* * We *could* override convertAll() to return its input, but it's a rather pointless * optimization and opened up a weird type-safety problem. */ @Override public String toString() { return "Converter.identity()"; } private Object readResolve() { return INSTANCE; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jun 18 21:43:06 UTC 2025 - 22.8K bytes - Viewed (0)