Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 241 for osSuffix (0.06 seconds)

  1. 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)
  2. 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)
  3. cmd/iam-etcd-store_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"testing"
    )
    
    func TestExtractPrefixAndSuffix(t *testing.T) {
    	specs := []struct {
    		path, prefix, suffix string
    		expected             string
    	}{
    		{"config/iam/groups/foo.json", "config/iam/groups/", ".json", "foo"},
    		{"config/iam/groups/./foo.json", "config/iam/groups/", ".json", "foo"},
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 1.5K bytes
    - Click Count (0)
  4. 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)
  5. 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)
  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. internal/event/errors.go

    func (err ErrFilterNamePrefix) Error() string {
    	return "more than one prefix in filter rule"
    }
    
    // ErrFilterNameSuffix - more than one suffix usage error.
    type ErrFilterNameSuffix struct{}
    
    func (err ErrFilterNameSuffix) Error() string {
    	return "more than one suffix in filter rule"
    }
    
    // ErrInvalidFilterValue - invalid filter value error.
    type ErrInvalidFilterValue struct {
    	FilterValue string
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 4.1K bytes
    - Click Count (0)
  8. src/bytes/bytes.go

    // CutSuffix returns s without the provided ending suffix byte slice
    // and reports whether it found the suffix.
    // If s doesn't end with suffix, CutSuffix returns s, false.
    // If suffix is the empty byte slice, CutSuffix returns s, true.
    //
    // CutSuffix returns slices of the original slice s, not copies.
    func CutSuffix(s, suffix []byte) (before []byte, found bool) {
    	if !HasSuffix(s, suffix) {
    		return s, false
    	}
    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)
  9. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        String refreshKey = "refresh";
        String suffix = "Suffix";
    
        CacheLoader<String, String> computeFunction =
            new CacheLoader<String, String>() {
              @Override
              public String load(String key) throws InterruptedException {
                getStartedSignal.countDown();
                letGetFinishSignal.await();
                return key + suffix;
              }
            };
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 91K 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