Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 1,620 for whence (0.03 sec)

  1. src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java

        private SmbPipeOutputStream newStream() throws CIFSException {
            // Arrange common constructor collaborators to avoid touching network/state
            when(handle.getPipe()).thenReturn(pipe);
            when(tree.isSMB2()).thenReturn(true);
            when(tree.getSendBufferSize()).thenReturn(4096);
            // Act
            return new SmbPipeOutputStream(handle, tree);
        }
    
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbSessionInternalTest.java

        }
    
        // Error propagation: connect to logon share throws SmbException
        @Test
        @DisplayName("treeConnectLogon throws SmbException when underlying call fails")
        void treeConnectLogon_throws() throws SmbException {
            doThrow(new SmbException("logon failed")).when(session).treeConnectLogon();
            SmbException ex = assertThrows(SmbException.class, () -> session.treeConnectLogon());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

            when(mockContext.getConfig()).thenReturn(mockConfig);
            request = new Smb2SessionSetupRequest(mockContext, TEST_SECURITY_MODE, TEST_CAPABILITIES, TEST_PREVIOUS_SESSION_ID, TEST_TOKEN);
        }
    
        @Test
        @DisplayName("Should create request with correct parameters")
        void testConstructorSetsCorrectParameters() throws Exception {
            // Given & When
            int securityMode = 0x03;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableEnumSet.java

       * know that calling {@code clone()} during deserialization will return an
       * object that no one else has a reference to, allowing us to guarantee
       * immutability. Hence, we support only {@link EnumSet}.
       */
      private final transient EnumSet<E> delegate;
    
      private ImmutableEnumSet(EnumSet<E> delegate) {
        this.delegate = delegate;
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbTransportImplTest.java

        @BeforeEach
        void setUp() throws Exception {
            when(ctx.getConfig()).thenReturn(cfg);
            when(cfg.isSigningEnforced()).thenReturn(false);
            when(cfg.getSessionTimeout()).thenReturn(30_000);
            when(cfg.getResponseTimeout()).thenReturn(5_000);
            when(address.getHostAddress()).thenReturn("127.0.0.1");
            when(address.getHostName()).thenReturn("localhost");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

          // On all platforms files are deleted when all sources are closed.
          snapshot1.assertValue(1, "a")
          assertThat(readFileOrNull(getCleanFile("k1", 0))).isNull()
          assertThat(readFileOrNull(getDirtyFile("k1", 0))).isNull()
        }
      }
    
      @ParameterizedTest
      @ArgumentsSource(FileSystemParamProvider::class)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 75.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

            when(mockContext.getConfig()).thenReturn(mockConfig);
            when(mockContext.getNameServiceClient()).thenReturn(mockNameServiceClient);
            when(mockNameServiceClient.getLocalHost()).thenReturn(mockHost);
            when(mockHost.getHostName()).thenReturn(TEST_HOSTNAME);
            when(mockConfig.getDefaultDomain()).thenReturn(TEST_DOMAIN);
            when(mockConfig.isUseUnicode()).thenReturn(true);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java

                samr.SamrSamEntry entry = new samr.SamrSamEntry();
                when(mockNdrBuffer.dec_ndr_long()).thenReturn(1, 100); // idx, _name_bufferp
                when(mockNdrBuffer.dec_ndr_short()).thenReturn(4, 6); // length, maximum_length
                when(mockDeferredBuffer.dec_ndr_long()).thenReturn(3, 0, 2); // _name_buffers, 0, _name_bufferl
                when(mockDeferredBuffer.dec_ndr_short()).thenReturn((int) (short) 't', (int) (short) 'e');
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.6K bytes
    - Viewed (0)
  9. LICENSE.txt

          worldwide, non-exclusive, no-charge, royalty-free, irrevocable
          (except as stated in this section) patent license to make, have made,
          use, offer to sell, sell, import, and otherwise transfer the Work,
          where such license applies only to those patent claims licensable
          by such Contributor that are necessarily infringed by their
          Contribution(s) alone or by combination of their Contribution(s)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 23 14:02:28 UTC 2012
    - 11.1K bytes
    - Viewed (0)
  10. LICENSES/vendor/github.com/containerd/ttrpc/LICENSE

          worldwide, non-exclusive, no-charge, royalty-free, irrevocable
          (except as stated in this section) patent license to make, have made,
          use, offer to sell, sell, import, and otherwise transfer the Work,
          where such license applies only to those patent claims licensable
          by such Contributor that are necessarily infringed by their
          Contribution(s) alone or by combination of their Contribution(s)
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Fri May 08 04:49:00 UTC 2020
    - 11.2K bytes
    - Viewed (0)
Back to top