Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 370 for locking (0.05 sec)

  1. src/test/java/org/codelibs/fess/validation/FessActionValidatorTest.java

    import org.lastaflute.web.validation.ActionValidator;
    
    public class FessActionValidatorTest extends UnitFessTestCase {
    
        public void test_constructor() {
            // Test basic class structure without complex mocking
            assertEquals("FessActionValidator should be in correct package", "org.codelibs.fess.validation.FessActionValidator",
                    FessActionValidator.class.getName());
        }
    
        public void test_inheritance() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/RemovalListener.java

     *
     * <p>An instance may be called concurrently by multiple threads to process different entries.
     * Implementations of this interface should avoid performing blocking calls or synchronizing on
     * shared resources.
     *
     * @param <K> the most general type of keys this listener can listen for; for example {@code Object}
     *     if any key is acceptable
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbTransportTest.java

            verify(smbTransport).getContext(); // Verify that the method was called
        }
    
        @Test
        void testUnwrap() {
            // Arrange
            SmbTransport mockUnwrappedTransport = smbTransport; // Mocking unwrap to return itself for simplicity
            when(smbTransport.unwrap(SmbTransport.class)).thenReturn(mockUnwrappedTransport);
    
            // Act
            SmbTransport result = smbTransport.unwrap(SmbTransport.class);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/Source.java

    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.annotations.Nullable;
    
    /**
     * Provides access to the contents of a source independently of the
     * backing store (e.g. file system, database, memory).
     * <p>
     * This is mainly used to parse files into objects such as Maven projects,
     * models, settings, or toolchains. The source implementation handles
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 29 09:46:53 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt

      val id: Int,
      val connection: Http2Connection,
      outFinished: Boolean,
      inFinished: Boolean,
      headers: Headers?,
    ) : Lockable,
      Socket {
      // Internal state is guarded by `this`. No long-running or potentially blocking operations are
      // performed while the lock is held.
    
      /** The bytes consumed and acknowledged by the stream. */
      val readBytes: WindowCounter = WindowCounter(id)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Converter.java

     *       create a "fake" converter for a unit test. It is unnecessary (and confusing) to <i>mock</i>
     *       the {@code Converter} type using a mocking framework.
     *   <li>Pass two lambda expressions or method references to the {@link #from from} factory method.
     *   <li>Extend this class and implement its {@link #doForward} and {@link #doBackward} methods.
     * </ul>
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 18 21:43:06 UTC 2025
    - 22.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SessionSetupHandlerTest.java

        void testNullIsNotInstance() {
            // Assert
            assertFalse(SessionSetupHandler.class.isInstance(null));
        }
    
        @Test
        @DisplayName("Invalid: looking up constructor on interface fails")
        void testNoConstructorLookup() {
            // Act & Assert: interfaces have no constructors
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. cmd/iam-object-store.go

    	bootstrapTraceMsgFirstTime := func(s string) {
    		if firstTime {
    			bootstrapTraceMsg(s)
    		}
    	}
    
    	if iamOS.objAPI == nil {
    		return errServerNotInitialized
    	}
    
    	bootstrapTraceMsgFirstTime("loading all IAM items")
    
    	setDefaultCannedPolicies(cache.iamPolicyDocsMap)
    
    	listStartTime := UTCNow()
    	listedConfigItems, err := iamOS.listAllIAMConfigItems(ctx)
    	if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/NameQueryRequestTest.java

            String actualString = request.toString();
    
            assertTrue(actualString.startsWith(expectedStringPrefix));
            assertTrue(actualString.endsWith("]"));
            // Further verification could involve mocking super.toString() if needed
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/EvictingQueue.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.io.Serializable;
    import java.util.ArrayDeque;
    import java.util.Collection;
    import java.util.Queue;
    
    /**
     * A non-blocking queue which automatically evicts elements from the head of the queue when
     * attempting to add new elements onto the queue and it is full. This queue orders elements FIFO
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.6K bytes
    - Viewed (0)
Back to top