Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 730 for tiven (0.01 sec)

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

        }
    
        @Test
        @DisplayName("Constructor should throw SmbException for non-workgroup type with host")
        void testConstructor_NonWorkgroupType_ThrowsException() throws Exception {
            // Given: A non-workgroup type with a host
            when(locator.getType()).thenReturn(SmbConstants.TYPE_SERVER);
            when(locator.getURL()).thenReturn(createSmbURL("smb://server/"));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

            new SecureRandom().nextBytes(preauthIntegrity);
        }
    
        @Test
        @DisplayName("Should derive signing key for SMB 3.0.0 dialect")
        void testDeriveSigningKey_SMB300() {
            // Given
            int dialect = Smb2Constants.SMB2_DIALECT_0300;
    
            // When
            byte[] signingKey = Smb3KeyDerivation.deriveSigningKey(dialect, sessionKey, preauthIntegrity);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create instance with valid parameters")
            void testConstructorWithValidParameters() {
                // Given
                long sourceOffset = 1024L;
                long targetOffset = 2048L;
                int length = 4096;
    
                // When
                SrvCopychunk chunk = new SrvCopychunk(sourceOffset, targetOffset, length);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbExceptionTest.java

     */
    @DisplayName("SmbException Tests")
    class SmbExceptionTest extends BaseTest {
    
        @Test
        @DisplayName("Should create SmbException with NT status code")
        void testSmbExceptionWithNTStatus() {
            // Given
            int ntStatus = NtStatus.NT_STATUS_ACCESS_DENIED;
    
            // When
            SmbException exception = new SmbException(ntStatus, false);
    
            // Then
            assertNotNull(exception);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/convert/TimeConversionUtil.java

        }
    
        /**
         * Converts the given object to a {@link Date}.
         *
         * @param src
         *            The source object to convert.
         * @return The converted {@link Date}.
         */
        public static Date toDate(final Object src) {
            return toDate(src, null, LocaleUtil.getDefault());
        }
    
        /**
         * Converts the given object to a {@link Date}.
         *
         * @param src
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java

        }
    
        /**
         * Converts the given object to a {@link Date}.
         *
         * @param src
         *            The source object to convert.
         * @return The converted {@link Date}.
         */
        public static Date toDate(final Object src) {
            return toDate(src, null, LocaleUtil.getDefault());
        }
    
        /**
         * Converts the given object to a {@link Date}.
         *
         * @param src
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

        }
    
        @Test
        @DisplayName("Should create new connections when reuse conditions are not met")
        void testNoConnectionReuse() throws Exception {
            // Given: Create a new pool for this test to ensure isolation
            SmbTransportPoolImpl testPool = new SmbTransportPoolImpl();
            when(ctx.getTransportPool()).thenReturn(testPool);
    
            // Create an existing connection
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/RequestTest.java

            reset(request, response, context, disconnectRequest, nextRequest);
        }
    
        @Test
        @DisplayName("Test initResponse returns initialized response")
        void testInitResponse() {
            // Given
            when(request.initResponse(context)).thenReturn(response);
    
            // When
            CommonServerMessageBlockResponse result = request.initResponse(context);
    
            // Then
            assertNotNull(result);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/spnego/SpnegoExceptionTest.java

            assertTrue(ex instanceof IOException, "Should be an IOException");
        }
    
        @Test
        @DisplayName("Should create SpnegoException with message")
        void testWithMessage() {
            // Given
            String message = "SPNEGO failed";
    
            // When
            SpnegoException ex = new SpnegoException(message);
    
            // Then
            assertNotNull(ex);
            assertEquals(message, ex.getMessage());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/AtomicDouble.java

      public final double get() {
        return longBitsToDouble(value);
      }
    
      /**
       * Sets to the given value.
       *
       * @param newValue the new value
       */
      public final void set(double newValue) {
        long next = doubleToRawLongBits(newValue);
        value = next;
      }
    
      /**
       * Eventually sets to the given value.
       *
       * @param newValue the new value
       */
      public final void lazySet(double newValue) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top