Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 170 for trimmed (0.22 seconds)

  1. guava/src/com/google/common/base/Splitter.java

       *
       * @param trimmer a {@link CharMatcher} that determines whether a character should be removed from
       *     the beginning/end of a subsequence
       * @return a splitter with the desired configuration
       */
      // TODO(kevinb): throw if a trimmer was already specified!
      public Splitter trimResults(CharMatcher trimmer) {
        checkNotNull(trimmer);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 23.8K bytes
    - Click Count (0)
  2. cmd/utils.go

    	if err != nil {
    		logger.CriticalIf(GlobalContext, err)
    	}
    
    	return path2BucketObject(path)
    }
    
    // path2BucketObjectWithBasePath returns bucket and prefix, if any,
    // of a 'path'. basePath is trimmed from the front of the 'path'.
    func path2BucketObjectWithBasePath(basePath, path string) (bucket, prefix string) {
    	path = strings.TrimPrefix(path, basePath)
    	path = strings.TrimPrefix(path, SlashSeparator)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 33K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java

            // system + 6 history (last 6: Q2,A2,Q3,A3,Q4,A4) + user = 8 messages
            assertEquals(8, messages.size());
            // First history message should be Q2 (Q1,A1 trimmed)
            assertEquals("Q2", messages.get(1).getContent());
            assertEquals("A2", messages.get(2).getContent());
            assertEquals("Q3", messages.get(3).getContent());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 53K bytes
    - Click Count (0)
  4. guava/src/com/google/common/base/CharMatcher.java

     * basic text processing based on UnicodeSet use the ICU4J UnicodeSetSpanner.
     *
     * <p>Example usages:
     *
     * <pre>
     *   String trimmed = {@link #whitespace() whitespace()}.{@link #trimFrom trimFrom}(userInput);
     *   if ({@link #ascii() ascii()}.{@link #matchesAllOf matchesAllOf}(s)) { ... }</pre>
     *
     * <p>See the Guava User Guide article on <a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 54.4K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/base/CharMatcher.java

     * basic text processing based on UnicodeSet use the ICU4J UnicodeSetSpanner.
     *
     * <p>Example usages:
     *
     * <pre>
     *   String trimmed = {@link #whitespace() whitespace()}.{@link #trimFrom trimFrom}(userInput);
     *   if ({@link #ascii() ascii()}.{@link #matchesAllOf matchesAllOf}(s)) { ... }</pre>
     *
     * <p>See the Guava User Guide article on <a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 53.9K bytes
    - Click Count (0)
  6. api/maven-api-model/src/main/mdo/maven.mdo

            </field>
            <field>
              <description>
                <![CDATA[
                <p>The configuration as DOM object.</p>
                <p>By default, every element content is trimmed, but starting with Maven 3.1.0, you can add
                {@code xml:space="preserve"} to elements you want to preserve whitespace.</p>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 17 09:48:21 GMT 2026
    - 133.5K bytes
    - Click Count (0)
  7. CHANGELOG/CHANGELOG-1.16.md

    - The etcd client library vendored in v1.16 (github.com/coreos/etcd/clientv3) has a bug where IPv6 IP addresses get incorrectly trimmed to the first occurance of the `:` character. This affects all users of the client library including the kube-apiserver and kubeadm. We are targeting the fix for this bug in v1.16.3. ([#83550](https://github.com/kubernetes/kubernetes/issues/83550))...
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Wed Oct 23 20:13:20 GMT 2024
    - 345.2K bytes
    - Click Count (0)
  8. src/bytes/bytes_test.go

    				t.Errorf("%s(%q, %q) = nil; want %q", trimmer.name, tc.in, tc.f.name, trimmer.out)
    			}
    			if actual != nil && trimmer.out == nil {
    				t.Errorf("%s(%q, %q) = %q; want nil", trimmer.name, tc.in, tc.f.name, actual)
    			}
    			if !Equal(actual, trimmer.out) {
    				t.Errorf("%s(%q, %q) = %q; want %q", trimmer.name, tc.in, tc.f.name, actual, trimmer.out)
    			}
    		}
    	}
    }
    
    type IndexFuncTest struct {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Mar 11 03:07:05 GMT 2026
    - 62.9K bytes
    - Click Count (0)
  9. utils/utils_test.go

    			trimLen:  5,
    			expected: []int{},
    		},
    		{
    			name:     "Zero trim length",
    			input:    []int{1, 2, 3},
    			trimLen:  0,
    			expected: []int{1, 2, 3},
    		},
    		{
    			name:     "Trim one element from end",
    			input:    []int{1, 2, 3},
    			trimLen:  1,
    			expected: []int{1, 2},
    		},
    		{
    			name:     "Empty slice",
    			input:    []int{},
    			trimLen:  2,
    			expected: []int{},
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:31:30 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  10. utils/utils.go

    }
    
    // RTrimSlice Right trims the given slice by given length
    func RTrimSlice[T any](v []T, trimLen int) []T {
    	if trimLen >= len(v) { // trimLen greater than slice len means fully sliced
    		return v[:0]
    	}
    	if trimLen < 0 { // negative trimLen is ignored
    		return v[:]
    	}
    	return v[:len(v)-trimLen]
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 4.9K bytes
    - Click Count (0)
Back to Top