Search Options

Results per page
Sort
Preferred Languages
Advance

Results 541 - 550 of 4,121 for Void (0.25 sec)

  1. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

             *
             * @param active true to activate
             */
            public void setActive(boolean active) {
                this.active = active;
            }
    
            /**
             * Gets the future for asynchronous notification completion
             * @return the notification future
             */
            public CompletableFuture<Void> getNotificationFuture() {
                return notificationFuture;
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

                super(new byte[16], false);
            }
    
            @Override
            void sign(byte[] data, int offset, int length, ServerMessageBlock request, ServerMessageBlock response) {
                called = true;
                lastLength = length;
            }
        }
    
        @Test
        @DisplayName("Constructor with andx sets next command")
        void testConstructorWithAndx() {
            DummyPlainSMB next = new DummyPlainSMB();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

    @ExtendWith(MockitoExtension.class)
    class SmbWatchHandleImplTest {
    
        @Mock
        SmbFileHandleImpl handle;
    
        @Mock
        SmbTreeHandleImpl tree;
    
        // Prepare SMB2 flow with a given response
        private void setupSmb2(NotifyResponse resp, byte[] fileId) throws Exception {
            when(handle.isValid()).thenReturn(true);
            when(handle.getTree()).thenReturn(tree);
            when(tree.isSMB2()).thenReturn(true);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

        assertEquals("/", simplifyPath("/././././"));
      }
    
      public void testSimplify9() {
        assertEquals("/a", simplifyPath("/a/b/.."));
      }
    
      public void testSimplify10() {
        assertEquals("/", simplifyPath("/a/b/../../.."));
      }
    
      public void testSimplify11() {
        assertEquals("/", simplifyPath("//a//b/..////../..//"));
      }
    
      public void testSimplify12() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. impl/maven-core/src/test/java/org/apache/maven/project/ProjectModelResolverTest.java

        /**
         * Creates a new {@code ProjectModelResolverTest} instance.
         */
        ProjectModelResolverTest() {
            super();
        }
    
        @Test
        void testResolveParentThrowsUnresolvableModelExceptionWhenNotFound() throws Exception {
            final Parent parent = new Parent();
            parent.setGroupId("org.apache");
            parent.setArtifactId("apache");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

                }
    
                @Override
                public void setCommand(int command) {
                    this.command = command;
                }
    
                @Override
                public void setUid(int uid) {
                    // Implementation
                }
    
                @Override
                public void setExtendedSecurity(boolean extendedSecurity) {
                    // Implementation
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/pager/KuromojiPager.java

        /** The current page number. */
        private int currentPageNumber;
    
        /** The ID of the Kuromoji dictionary. */
        public String id;
    
        /**
         * Clears the pager fields.
         */
        public void clear() {
            allRecordCount = 0;
            allPageCount = 0;
            existPrePage = false;
            existNextPage = false;
            pageSize = getDefaultPageSize();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/session/Smb2LogoffRequestTest.java

            void createResponse_nullContext_throws() {
                // Arrange
                Smb2LogoffRequest req = newRequest();
    
                // Act/Assert
                assertThrows(NullPointerException.class, () -> req.createResponse(null, req));
            }
    
            @Test
            @DisplayName("createResponse tolerates null request parameter")
            void createResponse_nullRequest_ok() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

        void constructor_nullTree_byteArray_throwsNPE() {
            lenient().when(cfg.isTraceResourceUsage()).thenReturn(false);
            assertThrows(NullPointerException.class,
                    () -> new SmbFileHandleImpl(cfg, new byte[] { 1, 2 }, null, "//server/share", 0, 0, 0, 0, 0L));
        }
    
        @Test
        @DisplayName("Constructor with null cfg throws NPE")
        void constructor_nullCfg_throwsNPE() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. compat/maven-model/src/test/java/org/apache/maven/model/v4/MavenModelVersionTest.java

        @BeforeAll
        static void setup() throws Exception {
            try (InputStream is = MavenModelVersionTest.class.getResourceAsStream("/xml/pom.xml")) {
                model = new MavenStaxReader().read(is);
            }
        }
    
        @Test
        void testV4Model() {
            assertEquals("4.0.0", new MavenModelVersion().getModelVersion(model));
        }
    
        @Test
        void testV4ModelVersion() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top