Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 291 for suffix (0.06 seconds)

  1. samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt

    }
    
    internal class MainTestProvider : SimpleProvider() {
      override fun arguments(): List<Any> {
        val mainFiles = mainFiles()
        return mainFiles
          .map {
            val suffix = it.path.replace("${prefix}samples/guide/src/main/java/", "")
            suffix
              .replace("(.*)\\.java".toRegex()) { mr ->
                mr.groupValues[1].replace('/', '.')
              }.replace("(.*)\\.kt".toRegex()) { mr ->
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/lang/StringUtil.java

        }
    
        /**
         * Removes the suffix from the string if it is present.
         *
         * @param text
         *            The text
         * @param suffix
         *            The suffix to remove
         * @return The resulting string
         */
        public static final String trimSuffix(final String text, final String suffix) {
            if (text == null) {
                return null;
            }
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 21.5K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

        // Hostname must end with the region of pattern following the asterisk.
        val suffix = pattern.substring(1)
        if (!hostname.endsWith(suffix)) {
          return false // Hostname does not end with the suffix.
        }
    
        // Check that asterisk did not match across domain name labels.
        val suffixStartIndexInHostname = hostname.length - suffix.length
        if (suffixStartIndexInHostname > 0 &&
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/chat/ChatClientTest.java

            assertNull(result);
        }
    
        @Test
        public void test_smartSummary_exactlyAtBudget() {
            // omitMarker = "\n...[omitted]...\n" (18 chars), suffix="" (no sources), bodyBudget = 500 - 0 - 18 = 482
            // Content of 482 chars is <= bodyBudget, so returned with suffix (empty) appended as-is
            final String content = "X".repeat(482);
            final ChatMessage msg = ChatMessage.assistantMessage(content);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 40.6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/job/ExecJob.java

            this.logLevel = logLevel;
            return this;
        }
    
        /**
         * Sets the log suffix for this job execution.
         * The suffix is trimmed and whitespace is replaced with underscores.
         *
         * @param logSuffix the suffix to append to log file names
         * @return this ExecJob instance for method chaining
         */
        public ExecJob logSuffix(final String logSuffix) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/job/ExecJobTest.java

        // Test getLogName method
        @Test
        public void test_getLogName() {
            // Test without suffix
            execJob.logSuffix = "";
            assertEquals("prefix-test", execJob.testGetLogName("prefix"));
    
            // Test with suffix
            execJob.logSuffix = "suffix";
            assertEquals("prefix-test-suffix", execJob.testGetLogName("prefix"));
    
            // Test with different execute type
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.8K bytes
    - Click Count (0)
  7. scripts/docs.py

                # This is a non-_an file, check if there's an _an version referenced
                # Insert _an before any version suffix or at the end of the stem
                stem = py_file.stem
                for suffix in ("_py39", "_py310"):
                    if suffix in stem:
                        an_stem = stem.replace(suffix, f"_an{suffix}", 1)
                        break
                else:
                    an_stem = f"{stem}_an"
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 17:46:10 GMT 2026
    - 25.4K bytes
    - Click Count (0)
  8. build-tools-internal/src/integTest/java/org/elasticsearch/gradle/jarhell/TestingConventionsTasksIT.java

                result.getOutput(),
                "Tests classes with suffix `IT` should extend org.elasticsearch.gradle.testkit.Integration but the following classes do not:",
                "  * org.elasticsearch.gradle.testkit.NamingConventionIT",
                "  * org.elasticsearch.gradle.testkit.NamingConventionMissmatchIT",
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 5.2K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/chat/ChatClient.java

            if (content.length() <= bodyBudget) {
                return content + suffix;
            }
            if (bodyBudget <= 0) {
                return suffix;
            }
            return content.substring(0, bodyBudget) + truncMarker + suffix;
        }
    
        /**
         * Builds a summary string from source document titles and URLs.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 56.6K bytes
    - Click Count (0)
  10. guava/src/com/google/common/base/Strings.java

          p--;
        }
        return a.subSequence(0, p).toString();
      }
    
      /**
       * Returns the longest string {@code suffix} such that {@code a.toString().endsWith(suffix) &&
       * b.toString().endsWith(suffix)}, taking care not to split surrogate pairs. If {@code a} and
       * {@code b} have no common suffix, returns the empty string.
       *
       * @since 11.0
       */
      public static String commonSuffix(CharSequence a, CharSequence b) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 12.5K bytes
    - Click Count (0)
Back to Top