Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 140 for getSite (0.03 sec)

  1. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java

                    .execute()
                    .actionGet()
                    .getHits()
                    .getTotalHits()
                    .value() > 0);
            assertTrue(fesenClient.prepareSearch("fess_crawler.queue")
                    .setQuery(QueryBuilders.termQuery("sessionId", "id2"))
                    .execute()
                    .actionGet()
                    .getHits()
                    .getTotalHits()
                    .value() > 0);
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:40:57 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java

            when(mockBasicFileInfo.getLastWriteTime()).thenReturn(TEST_LAST_WRITE_TIME);
            when(mockBasicFileInfo.getLastAccessTime()).thenReturn(TEST_LAST_ACCESS_TIME);
            when(mockBasicFileInfo.getSize()).thenReturn(1024L);
            when(mockBasicFileInfo.getFileInformationLevel()).thenReturn(FileInformation.FILE_BASIC_INFO);
    
            // When & Then
            assertEquals(TEST_ATTRIBUTES, mockBasicFileInfo.getAttributes());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13K bytes
    - Viewed (0)
  3. src/test/java/jcifs/CIFSContextTest.java

            int pipeType = 1;
            SmbPipeResource mockPipe = mock(SmbPipeResource.class);
            when(mockContext.getPipe(url, pipeType)).thenReturn(mockPipe);
    
            // When
            SmbPipeResource pipe = mockContext.getPipe(url, pipeType);
    
            // Then
            assertEquals(mockPipe, pipe);
            verify(mockContext).getPipe(url, pipeType);
        }
    
        @Test
        @DisplayName("Should close context")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/context/BaseContextTest.java

                assertNotNull(resource, "Should create resource for URL: " + url);
            }
        }
    
        @Test
        @DisplayName("getPipe method should create SmbPipeResource")
        void testGetPipeResource() throws CIFSException {
            // When
            SmbPipeResource pipe = context.getPipe("smb://server/IPC$/pipe", 0);
    
            // Then
            assertNotNull(pipe, "Should create pipe resource");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java

            secondInstance.decode(encodedBuffer, 0, encodedBuffer.length);
    
            // Verify both instances have same values
            assertEquals(firstInstance.getSize(), secondInstance.getSize());
            assertEquals(expectedEndOfFile, secondInstance.getSize());
        }
    
        @Test
        @DisplayName("Test toString method")
        void testToString() throws SMBProtocolDecodingException {
            // Setup test data
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/gcs/Handler.java

                try {
                    if (!connected) {
                        connect();
                    }
                    final Blob blobObj = getBlob();
                    return blobObj != null ? blobObj.getSize() : -1;
                } catch (final Exception e) {
                    return -1;
                }
            }
    
            /**
             * Gets the content type of the GCS object.
             *
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java

            assertThat(new SimpleDateFormat("yyyy/MM/dd").format(calendar.getTime()), is("2010/09/07"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToCalendar_MediumStyle() throws Exception {
            final Calendar calendar = toCalendar("2010/9/7");
            assertThat(new SimpleDateFormat("yyyy/MM/dd").format(calendar.getTime()), is("2010/09/07"));
        }
    
        /**
         * @throws Exception
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapVideo.java

        public void setThumbnailLoc(final String thumbnailLoc) {
            this.thumbnailLoc = thumbnailLoc;
        }
    
        /**
         * Gets the title of the video.
         * @return the title
         */
        public String getTitle() {
            return title;
        }
    
        /**
         * Sets the title of the video.
         * @param title the title to set
         */
        public void setTitle(final String title) {
            this.title = title;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:34:36 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/convert/FloatConversionUtil.java

                if (pattern != null) {
                    return Float.valueOf(new SimpleDateFormat(pattern).format(o));
                }
                return Float.valueOf(((java.util.Date) o).getTime());
            } else {
                return toFloat(o.toString());
            }
        }
    
        private static Float toFloat(final String s) {
            if (StringUtil.isEmpty(s)) {
                return null;
            }
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/io/ResourceUtil.java

            assertArgumentNotNull("url", url);
    
            final String s = url.getFile();
            return URLUtil.decode(s, "UTF8");
        }
    
        /**
         * Returns the file of the resource.
         *
         * @param url
         *            The resource URL. Must not be {@literal null}.
         * @return The file.
         */
        public static File getFile(final URL url) {
            assertArgumentNotNull("url", url);
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 14.7K bytes
    - Viewed (0)
Back to top