Search Options

Results per page
Sort
Preferred Languages
Advance

Results 701 - 710 of 5,419 for KClass (0.31 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/MapClearTester.java

            ConcurrentModificationException.class,
            () -> {
              Iterator<V> iterator = getMap().values().iterator();
              getMap().clear();
              iterator.next();
            });
      }
    
      @MapFeature.Require(absent = SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testClear_unsupported() {
        assertThrows(UnsupportedOperationException.class, () -> getMap().clear());
        expectUnchanged();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

                    mock(CommonServerMessageBlockRequest.class, withSettings().extraInterfaces(RequestWithFileId.class));
    
            resp.prepare(next);
    
            verify((RequestWithFileId) next, times(1)).setFileId(eq(fileId));
        }
    
        @Test
        void prepare_doesNothing_whenNotReceived() {
            Configuration config = Mockito.mock(Configuration.class);
            Smb2CreateResponse resp = new Smb2CreateResponse(config, "x");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/ClassTraversalUtil.java

     *
     * @author koichik
     * @see ClassHandler
     * @see TraversalUtil
     */
    public abstract class ClassTraversalUtil {
    
        /**
         * Do not instantiate.
         */
        protected ClassTraversalUtil() {
        }
    
        /** The file extension for class files. */
        protected static final String CLASS_SUFFIX = ".class";
    
        /** The file extension for WAR files. */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/math/LinearTransformation.java

     * has zero slope).
     *
     * @author Pete Gillin
     * @since 20.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public abstract class LinearTransformation {
      /**
       * Constructor for use by subclasses inside Guava.
       *
       * @deprecated Create instances by using the static factory methods of the class.
       */
      @Deprecated
      public LinearTransformation() {}
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

      static {
        // Prevent rare disastrous classloading in first call to LockSupport.park.
        // See: https://bugs.openjdk.org/browse/JDK-8074773
        @SuppressWarnings("unused")
        Class<?> ensureLoaded = LockSupport.class;
      }
    
      private static final class DoNothingRunnable implements Runnable {
        @Override
        public void run() {}
      }
    
      // The thread executing the task publishes itself to the superclass' reference and the thread
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 10K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt

    import java.util.concurrent.TimeUnit
    import kotlin.test.assertFailsWith
    import okhttp3.CacheControl.Companion.parse
    import okhttp3.Headers.Companion.headersOf
    import org.junit.jupiter.api.Test
    
    class CacheControlJvmTest {
      @Test
      @Throws(Exception::class)
      fun completeBuilder() {
        val cacheControl =
          CacheControl
            .Builder()
            .noCache()
            .noStore()
            .maxAge(1, TimeUnit.SECONDS)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  7. docs/smb3-features/04-directory-leasing-design.md

    - **MS-SMB2 Section 2.2.36**: SMB2 Change Notify Response
    - **MS-SMB2 Section 3.3.5.9.11**: Directory Leasing and Caching
    
    ## 3. Directory Lease Types
    
    ### 3.1 Directory-Specific Lease States
    ```java
    public class DirectoryLeaseState extends Smb2LeaseState {
        // Standard lease states apply, plus directory-specific semantics:
        
        // READ_CACHING for directories means:
        // - Can cache directory enumeration results
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java

        void testRenewCredentials_WithSmbAuthException() {
            SmbAuthException mockSmbAuthException = mock(SmbAuthException.class);
            try (MockedStatic<NtlmAuthenticator> mockedNtlmAuthenticator = mockStatic(NtlmAuthenticator.class)) {
                mockedNtlmAuthenticator.when(NtlmAuthenticator::getDefault).thenReturn(mockNtlmAuthenticator);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/SmbNegotiationRequestTest.java

    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Test class for SmbNegotiationRequest interface
     */
    @ExtendWith(MockitoExtension.class)
    class SmbNegotiationRequestTest {
    
        @Mock
        private SmbNegotiationRequest negotiationRequest;
    
        private SmbNegotiationRequest customImplementation;
    
        @BeforeEach
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/CharSinkTest.java

        TestCharSink failSink = new TestCharSink(WRITE_THROWS);
        assertThrows(IOException.class, () -> new TestCharSource(STRING).copyTo(failSink));
        assertTrue(failSink.wasStreamClosed());
      }
    
      public void testClosesOnErrors_whenWritingFromReaderThatThrows() {
        TestCharSink okSink = new TestCharSink();
        assertThrows(IOException.class, () -> okSink.writeFrom(new TestReader(READ_THROWS)));
        assertTrue(okSink.wasStreamClosed());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top