Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 91 for Act (0.37 sec)

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

            byte[] b = new byte[10];
            // Fill with non-zero to verify zeroing on release
            for (int i = 0; i < b.length; i++) {
                b[i] = (byte) (i + 1);
            }
    
            // Act: release should zero immediately to avoid leaks
            impl.releaseBuffer(b);
    
            // Assert: original array is zeroed in-place
            for (byte value : b) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            SmbRandomAccessFile raf = spy(newInstance("rw", false, true, false));
            SmbFileHandleImpl fh = mock(SmbFileHandleImpl.class);
            doReturn(fh).when(raf).ensureOpen();
    
            // Act
            raf.open();
    
            // Assert: open() ensures handle and closes it via try-with-resources
            verify(raf, times(1)).ensureOpen();
            verify(fh, times(1)).close();
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SpnegoContextTest.java

            when(this.mechContext.getFlags()).thenReturn(0x1234);
            when(this.mechContext.initSecContext(any(byte[].class), eq(0), eq(0))).thenReturn(new byte[] { 0x01, 0x02 });
    
            // Act: len==0 triggers initial token construction
            byte[] out = ctx.initSecContext(null, 0, 0);
    
            // Assert: returns a SPNEGO token (opaque here but non-null/non-empty)
            assertNotNull(out);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbSessionImplTest.java

            // Mock tree and ensure it is returned by getSmbTree
            SmbTreeImpl tree = mock(SmbTreeImpl.class);
            doReturn(tree).when(session).getSmbTree(eq("LOGON$"), isNull());
    
            // Act
            session.treeConnectLogon();
    
            // Assert: treeConnect invoked once with null params
            verify(tree, times(1)).treeConnect(isNull(), isNull());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

        @Test
        @DisplayName("ensureDFSResolved forwards to tree connection with locator")
        void ensureDFSResolvedDelegates() throws Exception {
            // Confirms DFS resolution is delegated with the correct locator
            // Act
            handle.ensureDFSResolved();
            // Assert & interaction verify
            verify(treeConnection).ensureDFSResolved(resourceLoc);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  6. LICENSE

          and charge a fee for, acceptance of support, warranty, indemnity,
          or other liability obligations and/or rights consistent with this
          License. However, in accepting such obligations, You may act only
          on Your own behalf and on Your sole responsibility, not on behalf
          of any other Contributor, and only if You agree to indemnify,
          defend, and hold each Contributor harmless for any liability
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Tue May 08 21:35:34 UTC 2018
    - 11.1K bytes
    - Viewed (0)
  7. LICENSE

          and charge a fee for, acceptance of support, warranty, indemnity,
          or other liability obligations and/or rights consistent with this
          License. However, in accepting such obligations, You may act only
          on Your own behalf and on Your sole responsibility, not on behalf
          of any other Contributor, and only if You agree to indemnify,
          defend, and hold each Contributor harmless for any liability
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Jan 11 04:30:09 UTC 2021
    - 11.1K bytes
    - Viewed (0)
  8. LICENSE

          and charge a fee for, acceptance of support, warranty, indemnity,
          or other liability obligations and/or rights consistent with this
          License. However, in accepting such obligations, You may act only
          on Your own behalf and on Your sole responsibility, not on behalf
          of any other Contributor, and only if You agree to indemnify,
          defend, and hold each Contributor harmless for any liability
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Fri Apr 18 13:54:00 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  9. LICENSE

          and charge a fee for, acceptance of support, warranty, indemnity,
          or other liability obligations and/or rights consistent with this
          License. However, in accepting such obligations, You may act only
          on Your own behalf and on Your sole responsibility, not on behalf
          of any other Contributor, and only if You agree to indemnify,
          defend, and hold each Contributor harmless for any liability
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Jun 14 07:45:22 UTC 2018
    - 11.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/Config.java

    import java.net.UnknownHostException;
    import java.util.Properties;
    import java.util.StringTokenizer;
    
    import jcifs.smb1.util.LogStream;
    
    /**
     * This class uses a static {@link java.util.Properties} to act
     * as a cental repository for all jCIFS configuration properties. It cannot be
     * instantiated. Similar to <code>System</code> properties the namespace
     * is global therefore property names should be unique. Before use,
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.5K bytes
    - Viewed (0)
Back to top