Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1731 - 1740 of 5,202 for strings (0.04 sec)

  1. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        // Check the StringCatcher...
        List<String> stringEvents = stringCatcher.getEvents();
        assertEquals("Only one String should be delivered.", 1, stringEvents.size());
        assertEquals("Correct string should be delivered.", EVENT, stringEvents.get(0));
    
        // Check the Catcher<Object>...
        assertEquals("Three Objects should be delivered.", 3, objectEvents.size());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

        @Mock
        private SmbPipeHandle mockSmbPipeHandle;
        @Mock
        private BufferCache mockBufferCache;
    
        private static final String TEST_URL = "ncacn_np:server[\\pipe\\test]";
        private static final String TEST_SERVER = "server";
        private static final String TEST_ENDPOINT = "\\pipe\\test";
    
        @BeforeEach
        void setUp() throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/fileconfig/AdminFileconfigAction.java

                                .toArray(n -> new String[n])));
                final PermissionHelper permissionHelper = ComponentUtil.getPermissionHelper();
                entity.setPermissions(split(form.permissions, "\n").get(stream -> stream.map(s -> permissionHelper.encode(s))
                        .filter(StringUtil::isNotBlank)
                        .distinct()
                        .toArray(n -> new String[n])));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  4. cmd/object-handlers-common_test.go

    	objInfo := ObjectInfo{ETag: "aa", ModTime: objModTime}
    	testCases := []struct {
    		name              string
    		ifMatch           string
    		ifNoneMatch       string
    		ifModifiedSince   string
    		ifUnmodifiedSince string
    		objInfo           ObjectInfo
    		expectedFlag      bool
    		expectedCode      int
    	}{
    		// If-None-Match(false) and If-Modified-Since(true)
    		{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResult.java

         *
         * @return the session identifier
         */
        String getSessionId();
    
        /**
         * Sets the session identifier.
         *
         * @param sessionId the session identifier
         */
        void setSessionId(String sessionId);
    
        /**
         * Returns the rule identifier.
         *
         * @return the rule identifier
         */
        String getRuleId();
    
        /**
         * Sets the rule identifier.
         *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java

         */
        @Test
        @DisplayName("Test toString returns properly formatted string")
        public void testToString() {
            // Given
            String oldFileName = "oldFile.txt";
            String newFileName = "newFile.txt";
            smbComRename = new SmbComRename(config, oldFileName, newFileName);
    
            // When
            String result = smbComRename.toString();
    
            // Then
            assertNotNull(result);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/convert/DoubleConversionUtil.java

         * @param pattern
         *            The pattern string
         * @return The converted {@literal double}
         */
        public static double toPrimitiveDouble(final Object o, final String pattern) {
            if (o == null) {
                return 0;
            } else if (o instanceof Number) {
                return ((Number) o).doubleValue();
            } else if (o instanceof String) {
                return toPrimitiveDouble((String) o);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/collection/LruHashMapTest.java

         * @throws Exception
         */
        @Test
        public void testAll() throws Exception {
            final LruHashMap<String, String> lru = new LruHashMap<String, String>(3);
            lru.put("aaa", "111");
            lru.put("bbb", "222");
            lru.put("ccc", "333");
            assertThat(lru.get("aaa"), is("111"));
            Iterator<String> i = lru.keySet().iterator();
            assertThat(i.next(), is("bbb"));
            assertThat(i.next(), is("ccc"));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java

            int statusCode = 0;
            String message = "Zero status";
    
            WebApiException exception = new WebApiException(statusCode, message);
    
            assertEquals(statusCode, exception.getStatusCode());
            assertEquals(message, exception.getMessage());
        }
    
        public void test_message_emptyString() {
            // Test with empty message string
            int statusCode = 404;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/crawler/service/FessUrlQueueService.java

        protected List<OpenSearchUrlQueue> fetchUrlQueueList(final String sessionId) {
            final CrawlingConfigHelper crawlingConfigHelper = ComponentUtil.getCrawlingConfigHelper();
            final CrawlingConfig crawlingConfig = crawlingConfigHelper.get(sessionId);
            final Map<String, String> configParams = crawlingConfig.getConfigParameterMap(ConfigName.CONFIG);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4K bytes
    - Viewed (0)
Back to top