Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 274 for TRIM (0.02 seconds)

  1. src/main/java/jcifs/smb1/netbios/Lmhosts.java

            String line;
            final BufferedReader br = new BufferedReader(r);
    
            while ((line = br.readLine()) != null) {
                line = line.toUpperCase().trim();
                if (line.length() == 0) {
                    continue;
                }
                if (line.charAt(0) == '#') {
                    if (line.startsWith("#INCLUDE ")) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/base/PredicatesTest.java

        new EqualsTester()
            .addEqualityGroup(trimEqualsFoo, Predicates.compose(equalsFoo, trim))
            .addEqualityGroup(equalsFoo)
            .addEqualityGroup(trim)
            .addEqualityGroup(Predicates.compose(equalsFoo, identity))
            .addEqualityGroup(Predicates.compose(equalsBar, trim))
            .testEquals();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 32.2K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessActionAdjustmentProvider.java

                final String[] keyValue = StringUtils.split(values[1], ":", 2);
                if (keyValue.length == 2) {
                    list.add(new Pair<>(keyValue[0].trim(), keyValue[1].trim()));
                } else if (keyValue.length == 1) {
                    list.add(new Pair<>(keyValue[0].trim(), StringUtil.EMPTY));
                } else {
                    logger.warn("Unexpected value: value={}", s);
                }
            }));
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  4. maven-tests/mvnw

    while IFS="=" read -r key value; do
      case "${key-}" in
      distributionUrl) distributionUrl=$(trim "${value-}") ;;
      distributionSha256Sum) distributionSha256Sum=$(trim "${value-}") ;;
      esac
    done <"${0%/*}/.mvn/wrapper/maven-wrapper.properties"
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Sep 25 18:22:49 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  5. apache-maven/src/assembly/maven/bin/JvmConfigParser.java

        /**
         * Process a single line: remove comments, trim whitespace, and replace placeholders.
         */
        private static String processLine(String line, String mavenProjectBasedir) {
            // Remove comments
            int commentIndex = line.indexOf('#');
            if (commentIndex >= 0) {
                line = line.substring(0, commentIndex);
            }
    
            // Trim whitespace
            line = line.trim();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Dec 10 16:40:06 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  6. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/kotlindsl/kotlin-dsl-upstream-candidates.kt

        val out = ByteArrayOutputStream()
        exec {
            isIgnoreExitValue = ignoreExitValue
            commandLine(*args)
            standardOutput = out
            this.workingDir = workingDir
        }
        return out.toString().trim()
    }
    
    
    fun ExecOperations.execAndGetStdoutIgnoringError(vararg args: String) = execAndGetStdout(File("."), true, *args)
    
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon May 19 11:33:57 GMT 2025
    - 965 bytes
    - Click Count (0)
  7. .teamcity/src/test/kotlin/PerformanceTestBuildTypeTest.kt

                        "extraParameters",
                    ) + expectedRunnerParams
                ).joinToString(" "),
                performanceTest.getGradleStep("GRADLE_RUNNER").gradleParams!!.trim(),
            )
            assertEquals(BuildStep.ExecutionMode.DEFAULT, performanceTest.getGradleStep("GRADLE_RUNNER").executionMode)
        }
    
        @Test
        fun `create correct PerformanceTest build type for Windows`() {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 13 05:03:56 GMT 2026
    - 8.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

                            updater.write("# " + line);
                        }
                        continue;
                    }
    
                    inputs = m.group(1).trim().split(",");
                    output = m.group(2).trim();
    
                    if (inputs == null || output == null || inputs.length == 0) {
                        logger.warn("Failed to parse mapping: line={}, path={}", line, path);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  9. internal/s3select/sql/parser.go

    	From     *PrimaryTerm `parser:" \"FROM\" @@ \")\" "`
    }
    
    // TrimFunc represents TRIM sql function
    type TrimFunc struct {
    	TrimWhere *string      `parser:" \"TRIM\" \"(\" ( @( \"LEADING\" | \"TRAILING\" | \"BOTH\" ) "`
    	TrimChars *PrimaryTerm `parser:"             @@?  "`
    	TrimFrom  *PrimaryTerm `parser:"             \"FROM\" )? @@ \")\" "`
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.9K bytes
    - Click Count (0)
  10. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/info/ParallelDetector.java

                            if (line.contains(":")) {
                                List<String> parts = Arrays.stream(line.split(":", 2)).map(String::trim).collect(Collectors.toList());
                                String name = parts.get(0);
                                String value = parts.get(1);
                                // the ID of the CPU socket
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Aug 09 07:39:30 GMT 2021
    - 3.6K bytes
    - Click Count (0)
Back to Top