Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for originalKey (1.54 sec)

  1. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java

        public void testDecode() {
            // Create a context and encode it
            Smb2LeaseKey originalKey = new Smb2LeaseKey();
            int originalLeaseState = DirectoryLeaseState.DIRECTORY_FULL;
            DirectoryCacheScope originalScope = DirectoryCacheScope.METADATA_ONLY;
    
            DirectoryLeaseContext originalContext = new DirectoryLeaseContext(originalKey, originalLeaseState, originalScope);
            originalContext.setMaxCacheAge(60000L);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

            // Given
            byte[] originalKey = new byte[] { 0x01, 0x02, 0x03, 0x04 };
            serverData.encryptionKey = originalKey;
    
            // When - modify the original array
            originalKey[0] = (byte) 0xFF;
    
            // Then - the field should also be modified (same reference)
            assertEquals((byte) 0xFF, serverData.encryptionKey[0]);
            assertSame(originalKey, serverData.encryptionKey);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/lang/StringUtil.java

         * It now uses the standard String constructor.
         * </p>
         *
         * @param chars
         *            the char array
         * @return a new String, or null if the input is null
         * @deprecated This method originally used internal JDK APIs (sun.misc.SharedSecrets) for
         *             performance optimization, but those APIs have been removed for safety and
         *             compatibility with modern Java versions. This method now simply calls
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 21.5K bytes
    - Viewed (0)
Back to top