Search Options

Results per page
Sort
Preferred Languages
Advance

Results 791 - 800 of 5,467 for classic (0.2 sec)

  1. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

                SrvCopychunk mockChunk1 = mock(SrvCopychunk.class);
                SrvCopychunk mockChunk2 = mock(SrvCopychunk.class);
                SrvCopychunk mockChunk3 = mock(SrvCopychunk.class);
    
                // Simulate different encode return values
                when(mockChunk1.encode(any(byte[].class), anyInt())).thenReturn(20);
                when(mockChunk2.encode(any(byte[].class), anyInt())).thenReturn(24);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/IntsTest.java

        assertThrows(IllegalArgumentException.class, () -> Ints.tryParse("0", Character.MAX_RADIX + 1));
      }
    
      public void testTryParse_radixTooSmall() {
        assertThrows(IllegalArgumentException.class, () -> Ints.tryParse("0", Character.MIN_RADIX - 1));
      }
    
      public void testTryParse_withNullGwt() {
        assertThat(Ints.tryParse("null")).isNull();
        assertThrows(NullPointerException.class, () -> Ints.tryParse(null));
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 29.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

     * protection against buffer overflow, integer overflow, and other attacks.
     */
    public class Smb2NegotiateResponseInputValidationTest {
    
        private Configuration mockConfig;
        private Smb2NegotiateResponse response;
    
        @BeforeEach
        public void setUp() {
            mockConfig = Mockito.mock(Configuration.class);
            response = new Smb2NegotiateResponse(mockConfig);
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/persistent/DurableHandleContextTest.java

    import jcifs.internal.smb2.persistent.HandleGuid;
    import jcifs.internal.smb2.persistent.HandleType;
    import jcifs.internal.smb2.persistent.Smb2HandleCapabilities;
    
    /**
     * Test class for durable handle create context implementations
     */
    public class DurableHandleContextTest {
    
        @Test
        public void testDurableHandleRequest() {
            DurableHandleRequest request = new DurableHandleRequest();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top