Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 187 for Trim (0.03 sec)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/webconfig/ApiAdminWebconfigAction.java

                    .collect(Collectors.joining("\n")));
            body.virtualHosts = stream(entity.getVirtualHosts())
                    .get(stream -> stream.filter(StringUtil::isNotBlank).distinct().map(String::trim).collect(Collectors.joining("\n")));
            return body;
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  2. cmd/httprange.go

    	if !strings.HasPrefix(rangeString, byteRangePrefix) {
    		return nil, fmt.Errorf("'%s' does not start with '%s'", rangeString, byteRangePrefix)
    	}
    
    	// Trim byte range prefix.
    	byteRangeString := strings.TrimPrefix(rangeString, byteRangePrefix)
    
    	// Check if range string contains delimiter '-', else return error. eg. "bytes=8"
    	sepIndex := strings.Index(byteRangeString, "-")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/SystemHelper.java

         */
        public String normalizeConfigPath(final String path) {
    
            if (StringUtil.isBlank(path)) {
                return StringUtils.EMPTY;
            }
    
            final String p = path.trim();
            if (p.startsWith("#")) {
                return StringUtils.EMPTY;
            }
    
            if (p.startsWith(GsaConfigParser.CONTAINS)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java

            assertTrue(responseData.getUrl().endsWith("test/text1.txt"));
            final String content = new String(InputStreamUtil.getBytes(responseData.getResponseBody()), "UTF-8");
            assertEquals("test1", content.trim());
        }
    
        public void test_doGet_file_with_space() throws Exception {
            final File file = ResourceUtil.getResourceAsFile("test/text 3.txt");
            String path = file.getAbsolutePath();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

                buf.append(";v=");
                buf.append(virtualHostList.stream().sorted().collect(Collectors.joining(",")));
            }
    
            final String urlId = buf.toString().trim();
            return generateId(urlId);
        }
    
        /**
         * Retrieves a list of session IDs with their document counts from the search engine.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt

        fun add(line: String) =
          apply {
            val index = line.indexOf(':')
            require(index != -1) { "Unexpected header: $line" }
            add(line.substring(0, index).trim(), line.substring(index + 1))
          }
    
        /**
         * Add a header with the specified name and value. Does validation of header names and values.
         */
        fun add(
          name: String,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/fileconfig/ApiAdminFileconfigAction.java

                    .collect(Collectors.joining("\n")));
            body.virtualHosts = stream(entity.getVirtualHosts())
                    .get(stream -> stream.filter(StringUtil::isNotBlank).distinct().map(String::trim).collect(Collectors.joining("\n")));
            return body;
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  8. schema/field.go

    			}
    		}
    	case reflect.String:
    		field.DataType = String
    		if field.HasDefaultValue && !skipParseDefaultValue {
    			field.DefaultValue = strings.Trim(field.DefaultValue, "'")
    			field.DefaultValue = strings.Trim(field.DefaultValue, `"`)
    			field.DefaultValueInterface = field.DefaultValue
    		}
    	case reflect.Struct:
    		if _, ok := fieldValue.Interface().(*time.Time); ok {
    			field.DataType = Time
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 32K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/filter/EncodingFilter.java

            if (StringUtil.isNotBlank(value)) {
                final String[] encodingPairs = value.split(",");
                for (final String pair : encodingPairs) {
                    final String[] encInfos = pair.trim().split(":");
                    if (encInfos.length == 2) {
                        encodingMap.put("/" + encInfos[0] + "/", encInfos[1]);
                    }
                }
            }
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java

        /**
         * Function code to retrieve extended DFS referrals
         */
        public static final int FSCTL_DFS_GET_REFERRALS_EX = 0x000601B0;
        /**
         * Function code to trim file level storage
         */
        public static final int FSCTL_FILE_LEVEL_TRIM = 0x00098208;
        /**
         * Function code to validate SMB2 negotiate information
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top