- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 277 for Trim (0.07 seconds)
-
src/bytes/bytes.go
func containsRune(s string, r rune) bool { for _, c := range s { if c == r { return true } } return false } // Trim returns a subslice of s by slicing off all leading and // trailing UTF-8-encoded code points contained in cutset. func Trim(s []byte, cutset string) []byte { if len(s) == 0 { // This is what we've historically done. return nil } if cutset == "" { return s }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Mar 12 17:56:55 GMT 2026 - 36.3K bytes - Click Count (0) -
cmd/data-usage-cache.go
if err != nil { return err } defer dec.Close() return d.DecodeMsg(msgp.NewReader(dec)) default: return fmt.Errorf("dataUsageCache: unknown version: %d", ver) } } // Trim this from start+end of hashes. var hashPathCutSet = dataUsageRoot func init() { if dataUsageRoot != string(filepath.Separator) { hashPathCutSet = dataUsageRoot + string(filepath.Separator) } }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 34.7K bytes - Click Count (0) -
src/main/webapp/js/bootstrap.min.js
this.EVENT_KEY}`}}const R=t=>{let e=t.getAttribute("data-bs-target");if(!e||"#"===e){let s=t.getAttribute("href");if(!s||!s.includes("#")&&!s.startsWith("."))return null;s.includes("#")&&!s.startsWith("#")&&(s=`#${s.split("#")[1]}`),e=s&&"#"!==s?s.trim():null}return r(e)},K={find:(t,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,t)),findOne:(t,e=document.documentElement)=>Element.prototype.querySelector.call(e,t),children:(t,e)=>[].concat(...t.children).filte...Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 12 06:14:02 GMT 2025 - 58.9K bytes - Click Count (0) -
android/guava/src/com/google/common/io/Files.java
* similar to the {@code basename} unix command. The result does not include the '{@code .}'. * * @param file The name of the file to trim the extension from. This can be either a fully * qualified file name (including a path) or just a file name. * @return The file name without its path or extension. * @since 14.0 */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jan 05 22:13:21 GMT 2026 - 32.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java
} // Verify content is valid JSON assertTrue("Content should start with {", contentNew.trim().startsWith("{")); assertTrue("Content should end with }", contentNew.trim().endsWith("}")); assertTrue("Content should be substantial", contentNew.length() > 100); // Verify it contains expected mapping fieldsCreated: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 9.6K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenPropertiesLoader.java
} } configProps.remove(INCLUDES_PROPERTY); } private static void trimValues(MavenProperties configProps) { configProps.replaceAll((k, v) -> v.trim()); } private static String nextLocation(StringTokenizer st) { boolean optional = false; String retVal = null; if (st.countTokens() > 0) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 24 17:29:44 GMT 2025 - 6.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java
*/ protected String stripCodeFences(final String response) { if (response == null) { return ""; } String stripped = response.trim(); if (stripped.startsWith("```json")) { stripped = stripped.substring(7); } else if (stripped.startsWith("```")) { stripped = stripped.substring(3); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 72K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenPropertiesLoader.java
} } configProps.remove(INCLUDES_PROPERTY); } private static void trimValues(MavenProperties configProps) { configProps.replaceAll((k, v) -> v.trim()); } private static String nextLocation(StringTokenizer st) { boolean optional = false; String retVal = null; if (st.countTokens() > 0) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 24 17:29:44 GMT 2025 - 6.5K bytes - Click Count (0) -
api/maven-api-di/src/main/java/org/apache/maven/di/tool/DiIndexProcessor.java
String line; StringBuilder contentBuilder = new StringBuilder(); while ((line = reader.readLine()) != null) { if (!line.trim().startsWith("#")) { existingClasses.add(line.trim()); } contentBuilder.append(line).append("\n"); } existingContent = contentBuilder.toString(); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Apr 03 13:33:59 GMT 2025 - 7.8K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java
final int replyCode = client.getReplyCode(); if (replyCode >= 200 && replyCode < 300) { return; } throw new CrawlingAccessException("Failed FTP request: " + client.getReplyString().trim()); } /** * Determines the character set for the given file. * Currently returns the default charset configured for this client. * * @param file The file to determine the charset for
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 40K bytes - Click Count (0)