Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for trimFrom (0.09 sec)

  1. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertEquals("cat", anyOf("ab").trimFrom("abacatbab"));
      }
    
      private void doTestTrimFrom(String in, String out) {
        // Try a few different matchers which all match '-' and not 'x'
        assertEquals(out, is('-').trimFrom(in));
        assertEquals(out, is('-').or(is('#')).trimFrom(in));
        assertEquals(out, isNot('x').trimFrom(in));
        assertEquals(out, is('x').negate().trimFrom(in));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertEquals("cat", anyOf("ab").trimFrom("abacatbab"));
      }
    
      private void doTestTrimFrom(String in, String out) {
        // Try a few different matchers which all match '-' and not 'x'
        assertEquals(out, is('-').trimFrom(in));
        assertEquals(out, is('-').or(is('#')).trimFrom(in));
        assertEquals(out, isNot('x').trimFrom(in));
        assertEquals(out, is('x').negate().trimFrom(in));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  3. internal/s3select/sql/parser.go

    // TrimFunc represents TRIM sql function
    type TrimFunc struct {
    	TrimWhere *string      `parser:" \"TRIM\" \"(\" ( @( \"LEADING\" | \"TRAILING\" | \"BOTH\" ) "`
    	TrimChars *PrimaryTerm `parser:"             @@?  "`
    	TrimFrom  *PrimaryTerm `parser:"             \"FROM\" )? @@ \")\" "`
    }
    
    // DateAddFunc represents the DATE_ADD function
    type DateAddFunc struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/PredicatesTest.java

      }
    
      // enum singleton pattern
      private enum TrimStringFunction implements Function<String, String> {
        INSTANCE;
    
        @Override
        public String apply(String string) {
          return whitespace().trimFrom(string);
        }
      }
    
      public void testCompose() {
        Function<String, String> trim = TrimStringFunction.INSTANCE;
        Predicate<String> equalsFoo = Predicates.equalTo("Foo");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  5. internal/s3select/sql/funceval.go

    		if cerr != nil {
    			return nil, cerr
    		}
    		inferTypeAsString(charsV)
    		chars, ok = charsV.ToString()
    		if !ok {
    			return nil, errNonStringTrimArg
    		}
    	}
    
    	fromV, ferr := e.TrimFrom.evalNode(r, tableAlias)
    	if ferr != nil {
    		return nil, ferr
    	}
    	inferTypeAsString(fromV)
    	from, ok := fromV.ToString()
    	if !ok {
    		return nil, errNonStringTrimArg
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 13.2K bytes
    - Viewed (0)
Back to top