Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 172 for setPath (0.13 sec)

  1. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

            }
    
            @Test
            @DisplayName("Test path property")
            void testPathProperty() {
                testBlock.setPath("\\new\\path");
                assertEquals("\\new\\path", testBlock.getPath());
            }
    
            @Test
            @DisplayName("Test full UNC path properties")
            void testFullUNCPathProperties() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                    final ThumbnailQueue entity = new ThumbnailQueue();
                    entity.setGenerator(task.getValue1());
                    entity.setThumbnailId(task.getValue2());
                    entity.setPath(task.getValue3());
                    entity.setTarget(target);
                    entity.setCreatedBy(Constants.SYSTEM_USER);
                    entity.setCreatedTime(systemHelper.getCurrentTimeAsLong());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            this.server = server;
            this.fullPath = fullPath;
        }
    
        /**
         * @param path
         *            the path to set
         */
        @Override
        public final void setPath(final String path) {
            this.path = path;
        }
    
        /**
         * @return the digest
         */
        @Override
        public final SMB1SigningDigest getDigest() {
            return this.digest;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbSessionImpl.java

                             * assert that the tree connect path uses the netbios hostname.
                             */
                            tcax.setPath("\\\\" + this.netbiosName + "\\IPC$");
                        }
                    }
    
                    request.setSessionId(this.sessionId);
                    request.setUid(this.uid);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

                assertDoesNotThrow(() -> request.setData(data, 0, data.length));
            }
    
            @Test
            @DisplayName("Should set data with partial buffer")
            void testSetDataPartialBuffer() {
                byte[] data = new byte[1024];
                new Random().nextBytes(data);
    
                assertDoesNotThrow(() -> request.setData(data, 100, 500));
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/ResourceUtil.java

            return getPath("WEB-INF/", "classes", names);
        }
    
        /**
         * Gets the path to original files directory.
         *
         * @param names the path components to append to the orig directory
         * @return the Path object pointing to the original files directory
         */
        public static Path getOrigPath(final String... names) {
            return getPath("WEB-INF/", "orig", names);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java

                    }
    
                    // Perform the actual reconnection
                    boolean success = performReconnection(info);
    
                    if (success) {
                        handleManager.completeReconnect(info.getPath(), true);
                        log.info("Successfully reconnected handle: {}", info.getPath());
                        return info;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 8.5K bytes
    - Viewed (1)
  8. src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java

                when(mockFile.getPath()).thenReturn("/share/dir/");
                RecordingFilter filter = new RecordingFilter();
                filter.accept(mockFile);
                // Verify the filter stored the reference
                // assertSame may not be necessary but demonstrates captured file
                // we simply check that getPath was called
                verify(mockFile, times(1)).getPath();
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        assertThat(limiter.getRate()).isEqualTo(5.0);
        limiter.setRate(10.0);
        assertThat(limiter.getRate()).isEqualTo(10.0);
    
        assertThrows(IllegalArgumentException.class, () -> limiter.setRate(0.0));
        assertThrows(IllegalArgumentException.class, () -> limiter.setRate(-10.0));
        assertThrows(IllegalArgumentException.class, () -> limiter.setRate(Double.NaN));
      }
    
      public void testAcquireParameterValidation() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        assertThat(limiter.getRate()).isEqualTo(5.0);
        limiter.setRate(10.0);
        assertThat(limiter.getRate()).isEqualTo(10.0);
    
        assertThrows(IllegalArgumentException.class, () -> limiter.setRate(0.0));
        assertThrows(IllegalArgumentException.class, () -> limiter.setRate(-10.0));
        assertThrows(IllegalArgumentException.class, () -> limiter.setRate(Double.NaN));
      }
    
      public void testAcquireParameterValidation() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
Back to top