Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 548 for separators (0.19 sec)

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

       * Returns a splitter that uses the given single-character separator. For example, {@code
       * Splitter.on(',').split("foo,,bar")} returns an iterable containing {@code ["foo", "", "bar"]}.
       *
       * @param separator the character to recognize as a separator
       * @return a splitter, with default settings, that recognizes that separator
       */
      public static Splitter on(char separator) {
        return on(CharMatcher.is(separator));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  2. src/path/filepath/match_test.go

    			t.Errorf("Glob(%#q) = %#v want []", pattern, matches)
    		}
    	}
    }
    
    func TestCVE202230632(t *testing.T) {
    	// Prior to CVE-2022-30632, this would cause a stack exhaustion given a
    	// large number of separators (more than 4,000,000). There is now a limit
    	// of 10,000.
    	_, err := Glob("/*" + strings.Repeat("/", 10001))
    	if err != ErrBadPattern {
    		t.Fatalf("Glob returned err=%v, want ErrBadPattern", err)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:38:19 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperGenerationIntegrationTest.groovy

        private static final HashCode EXPECTED_WRAPPER_JAR_HASH = HashCode.fromString("498495120a03b9a6ab5d155f5de3c8f0d986a449153702fb80fc80e134484f17")
    
        def "generated wrapper scripts use correct line separators"() {
            buildFile << """
                wrapper {
                    distributionUrl = 'http://localhost:8080/gradlew/dist'
                }
            """
    
            when:
            run "wrapper", "--no-validate-url"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:38 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. src/io/fs/fs.go

    // Paths containing other characters such as backslash and colon
    // are accepted as valid, but those characters must never be
    // interpreted by an [FS] implementation as path element separators.
    func ValidPath(name string) bool {
    	if !utf8.ValidString(name) {
    		return false
    	}
    
    	if name == "." {
    		// special case
    		return true
    	}
    
    	// Iterate over elements in name, checking each.
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 15 21:21:41 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/sourceparser/RegexBackedCSourceParserTest.groovy

                '(',
                '( A',
                '( A ##',
                '( A ## b',
                '() ()',
                '(a) (b)',
                '~ ?'
            ]
        }
    
        def "handles various separators in an object-like macro directive"() {
            when:
            sourceFile << """
      #   define     SOME_STRING         "abc"      // some extra
      /*
    
      */  \\
      #/*
    
    
      */\u0000define \\
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 34.3K bytes
    - Viewed (0)
  6. platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/integtests/ApplicationIntegrationSpec.groovy

            then:
            result.assertThatCause(startsWith("The specified installation directory '${file('build')}' is neither empty nor does it contain an installation"))
        }
    
        def "startScripts respect OS dependent line separators"() {
            file('build.gradle') << '''
        installDist.destinationDir = buildDir
        '''
    
            when:
            run 'startScripts'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 22:15:44 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  7. operator/pkg/validate/common.go

    	// alphaNumericRegexp defines the alpha numeric atom, typically a
    	// component of names. This only allows lower case characters and digits.
    	alphaNumericRegexp = match(`[a-z0-9]+`)
    
    	// separatorRegexp defines the separators allowed to be embedded in name
    	// components. This allow one period, one or two underscore and multiple
    	// dashes.
    	separatorRegexp = match(`(?:[._]|__|[-]*)`)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 10 15:35:03 UTC 2023
    - 11K bytes
    - Viewed (0)
  8. guava/src/com/google/common/net/InternetDomainName.java

     * lookups.
     *
     * <p>During construction, names are normalized in two ways:
     *
     * <ol>
     *   <li>ASCII uppercase characters are converted to lowercase.
     *   <li>Unicode dot separators other than the ASCII period ({@code '.'}) are converted to the ASCII
     *       period.
     * </ol>
     *
     * <p>The normalized values will be returned from {@link #toString()} and {@link #parts()}, and will
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/net/InternetDomainName.java

     * lookups.
     *
     * <p>During construction, names are normalized in two ways:
     *
     * <ol>
     *   <li>ASCII uppercase characters are converted to lowercase.
     *   <li>Unicode dot separators other than the ASCII period ({@code '.'}) are converted to the ASCII
     *       period.
     * </ol>
     *
     * <p>The normalized values will be returned from {@link #toString()} and {@link #parts()}, and will
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/README

    os.PathSeparator respectively) but are not inherited in subprocess environments.
    
    Adding single quotes around text keeps spaces in that text from being treated
    as word separators and also disables environment variable expansion. Inside a
    single-quoted block of text, a repeated single quote indicates a literal single
    quote, as in:
    
        'Don''t communicate by sharing memory.'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top