- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 772 for safety (0.04 seconds)
-
guava/src/com/google/common/collect/ForwardingSortedMap.java
* equality for both keys and values, unlike {@code ForwardingMap}. * * <p>The {@code standard} methods and the collection views they return are not guaranteed to be * thread-safe, even when all of the methods that they depend on are thread-safe. * * @author Mike Bostock * @author Louis Wasserman * @since 2.0 */ @GwtCompatible /*Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 12 16:28:01 GMT 2025 - 5.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java
assertFalse(future.isDone()); assertFalse(future.isCancelled()); CountDownLatch successLatch = new CountDownLatch(1); // Run cancellation in a separate thread as an extra thread-safety test. new Thread( () -> { assertThrows(CancellationException.class, future::get); successLatch.countDown(); }) .start();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 6.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingSet.java
* methods that they depend on are thread-safe. * * @author Kevin Bourrillion * @author Louis Wasserman * @since 2.0 */ @GwtCompatible public abstract class ForwardingSet<E extends @Nullable Object> extends ForwardingCollection<E> implements Set<E> { // TODO(lowasser): identify places where thread safety is actually lost
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.7K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelCacheTag.java
import org.apache.maven.model.Model; /** * Describes a tag used by the model builder to access a {@link ModelCache}. This interface basically aggregates a name * and a class to provide some type safety when working with the otherwise untyped cache. * * @param <T> The type of data associated with the tag. * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead */ @Deprecated(since = "4.0.0")Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 3.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/session/Smb2LogoffRequestTest.java
void writeBytesWireFormat_writesExpectedValuesAtOffset(int offset) { // Arrange Smb2LogoffRequest req = newRequest(); byte[] buf = new byte[offset + 8]; // extra space for safety // Act int written = req.writeBytesWireFormat(buf, offset); // Assert: should write exactly 4 bytes assertEquals(4, written, "Should report 4 bytes written");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Request.java
* different Maven operations. All implementations must be immutable to ensure thread safety * and predictable behavior in concurrent environments. * * @param <S> the type of ProtoSession associated with this request, allowing for * type-safe session handling in specific request implementations * * @see ProtoSession * @see RequestTrace * @see Result * @since 4.0.0
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 4K bytes - Click Count (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
rateLimiter.recordFailure(username, ip); } } @Test public void testConcurrentAccess() throws Exception { // Test thread safety with concurrent access // Use a separate rate limiter instance with higher limits for this test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.8K bytes - Click Count (0) -
README.md
- **Authentication**: NTLM, Kerberos, SPNEGO unified subsystem - **SLF4J Logging**: Comprehensive logging throughout the codebase - **Resource Management**: AutoCloseable patterns for file handles and connections - **Thread Safety**: Components support concurrent access - **DFS Support**: Distributed File System resolution - **Streaming Operations**: Efficient directory listings and file operations - **Buffer Caching**: Optimized buffer management
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 09:24:52 GMT 2025 - 6.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingMapEntry.java
* comparator is not consistent with {@code equals}. * * <p>The {@code standard} methods are not guaranteed to be thread-safe, even when all of the * methods that they depend on are thread-safe. * * @author Mike Bostock * @author Louis Wasserman * @since 2.0 */ @GwtCompatibleCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 4.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java
assertNotEquals(instance1.toString(), instance2.toString()); // Different object references in toString } /** * Test thread safety of read/write operations */ @Test @DisplayName("Test thread safety of operations") public void testThreadSafety() throws InterruptedException { // Given smbComTreeDisconnect = new SmbComTreeDisconnect(config);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.5K bytes - Click Count (0)