Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1881 - 1890 of 4,221 for Avoid (0.02 sec)

  1. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

      public void testToString() throws IOException {
        assertEquals(TEXT, CharStreams.toString(new StringReader(TEXT)));
      }
    
      public void testReadLines() throws IOException {
        List<String> lines = CharStreams.readLines(new StringReader("a\nb\nc"));
        assertEquals(ImmutableList.of("a", "b", "c"), lines);
      }
    
      public void testReadLines_withLineProcessor() throws IOException {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/CharStreamsTest.java

      public void testToString() throws IOException {
        assertEquals(TEXT, CharStreams.toString(new StringReader(TEXT)));
      }
    
      public void testReadLines() throws IOException {
        List<String> lines = CharStreams.readLines(new StringReader("a\nb\nc"));
        assertEquals(ImmutableList.of("a", "b", "c"), lines);
      }
    
      public void testReadLines_withLineProcessor() throws IOException {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbTransportTest.java

        private SmbTransport smbTransport;
    
        @Mock
        private CIFSContext cifsContext;
    
        @Mock
        private Address remoteAddress;
    
        @BeforeEach
        void setUp() {
            // Common setup for mocks if needed
        }
    
        @Test
        void testGetContext() {
            // Arrange
            when(smbTransport.getContext()).thenReturn(cifsContext);
    
            // Act
            CIFSContext result = smbTransport.getContext();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java

        private static final int TEST_ATTRIBUTES = 0x20; // FILE_ATTRIBUTE_ARCHIVE
    
        @BeforeEach
        void setUp() {
            fileBasicInfo = new FileBasicInfo();
        }
    
        @Test
        @DisplayName("Test interface mock behavior")
        void testInterfaceMock() {
            // Given
            when(mockBasicFileInfo.getAttributes()).thenReturn(TEST_ATTRIBUTES);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java

        @Override
        protected void setUp() throws Exception {
            super.setUp();
            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("mimeTypeHelper", MimeTypeHelperImpl.class)//
                    .singleton("fsClient", FileSystemClient.class);
            fsClient = container.getComponent("fsClient");
        }
    
        public void test_doGet_dir() {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Nov 19 08:59:28 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

         * @param commandList The command list.
         */
        public void setCommandList(final List<String> commandList) {
            this.commandList = commandList;
        }
    
        /**
         * Sets the command execution timeout.
         * @param commandTimeout The timeout in milliseconds.
         */
        public void setCommandTimeout(final long commandTimeout) {
            this.commandTimeout = commandTimeout;
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 04 08:02:36 UTC 2025
    - 16K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        int valuePrefix = VALUE_PREFIX;
    
        WatchedCreatorLoader() {}
    
        void reset() {
          wasCalled = false;
        }
    
        boolean wasCalled() {
          return wasCalled;
        }
    
        void setKeyPrefix(String keyPrefix) {
          this.keyPrefix = keyPrefix;
        }
    
        void setValuePrefix(int valuePrefix) {
          this.valuePrefix = valuePrefix;
        }
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComReadAndX.java

         */
        public final void setOpenTimeout(final int openTimeout) {
            this.openTimeout = openTimeout;
        }
    
        /**
         * Sets the remaining bytes count.
         *
         * @param remaining
         *            the remaining to set
         */
        public final void setRemaining(final int remaining) {
            this.remaining = remaining;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/witness/WitnessRegistration.java

        /**
         * Updates the heartbeat timestamp to current time and resets failure count.
         */
        public void updateHeartbeat() {
            this.lastHeartbeat = System.currentTimeMillis();
            this.heartbeatFailures = 0;
        }
    
        /**
         * Increments the heartbeat failure count.
         */
        public void incrementHeartbeatFailures() {
            this.heartbeatFailures++;
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/ldap/LdapManager.java

         * @param user the role object containing attribute values
         */
        protected void addRoleAttributes(final BasicAttributes entry, final Role user) {
            // nothing
        }
    
        /**
         * Deletes a role from the LDAP directory.
         *
         * @param role the role object to delete
         */
        public void delete(final Role role) {
            if (!fessConfig.isLdapAdminEnabled()) {
                return;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 86.3K bytes
    - Viewed (0)
Back to top