Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 548 for separators (0.18 sec)

  1. cmd/utils_test.go

    		},
    		// Test case 5 object has many trailing separators.
    		{
    			path:   "/bucket/object/1///",
    			bucket: "bucket",
    			object: "object/1///",
    		},
    		// Test case 6 object has only trailing separators.
    		{
    			path:   "/bucket/object///////",
    			bucket: "bucket",
    			object: "object///////",
    		},
    		// Test case 7 object has preceding separators.
    		{
    			path:   "/bucket////object////",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Feb 23 21:28:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-filepath.h

      // it is called in CreateDirectoriesRecursively() assuming that it will change
      // a pathname from directory syntax (trailing separator) to filename syntax.
      //
      // On Windows this method also replaces the alternate path separator '/' with
      // the primary path separator '\\', so that for example "bar\\/\\foo" becomes
      // "bar\\foo".
    
      void Normalize();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-filepath.h

      // it is called in CreateDirectoriesRecursively() assuming that it will change
      // a pathname from directory syntax (trailing separator) to filename syntax.
      //
      // On Windows this method also replaces the alternate path separator '/' with
      // the primary path separator '\\', so that for example "bar\\/\\foo" becomes
      // "bar\\foo".
    
      void Normalize();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/catalog/DefaultVersionCatalogBuilderTest.groovy

            verify(ex.message, undefinedAliasRef {
                inCatalog('libs')
                aliasRef('foo')
                bundle('toto')
            })
        }
    
        def "normalizes alias separators to dot"() {
            builder.library("guava", "com.google.guava:guava:17.0")
            builder.library("groovy", "org.codehaus.groovy", "groovy").version {
                it.strictly("3.0.5")
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Dec 17 22:25:43 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  5. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/FilePathUtil.java

    import java.util.StringTokenizer;
    
    public class FilePathUtil {
        private static final String[] EMPTY_STRING_ARRAY = {};
        // On Windows, / and \ are separators, on Unix only / is a separator.
        private static final String FILE_PATH_SEPARATORS = File.separatorChar != '/' ? ("/" + File.separator) : File.separator;
    
        private FilePathUtil() {
        }
    
        public static String[] getPathSegments(String path) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/DefaultVersionComparatorTest.groovy

            "hey joe" | "hey joe"
        }
    
        def "versions that differ only in separators are equal"() {
            expect:
            compare("1.0", "1_0") == 0
            compare("1_0", "1-0") == 0
            compare("1-0", "1+0") == 0
            compare("1.a.2", "1a2") == 0 // number-word and word-number boundaries are considered separators
        }
    
        def "leading zeros in numeric parts are ignored"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  7. platforms/documentation/docs-asciidoctor-extensions-base/src/main/java/org/gradle/docs/asciidoctor/IdGenerator.java

            result = ID_PATTERN.matcher(result).replaceAll("");
    
            // normalize separators
            result = SEPARATOR_PATTERN.matcher(result).replaceAll(PART_SEPARATOR);
    
            // strip separator from the end
            if (result.endsWith(PART_SEPARATOR)) {
                result = result.substring(0, result.length() - 1);
            }
    
            // string separator from the start
            if (result.startsWith(PART_SEPARATOR)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2K bytes
    - Viewed (0)
  8. src/math/big/ratconv_test.go

    	base2ok bool   // true if 'p'/'P' exponents are accepted
    	sepOk   bool   // true if '_' separators are accepted
    	x       int64  // expected exponent
    	b       int    // expected exponent base
    	err     error  // expected error
    	next    rune   // next character (or 0, if at EOF)
    }{
    	// valid, without separators
    	{"", false, false, 0, 10, nil, 0},
    	{"1", false, false, 0, 10, nil, '1'},
    	{"e0", false, false, 0, 10, nil, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 15 22:16:34 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  9. src/io/fs/glob_test.go

    		}
    	}
    }
    
    func TestCVE202230630(t *testing.T) {
    	// Prior to CVE-2022-30630, a stack exhaustion would occur given a large
    	// number of separators. There is now a limit of 10,000.
    	_, err := Glob(os.DirFS("."), "/*"+strings.Repeat("/", 10001))
    	if err != path.ErrBadPattern {
    		t.Fatalf("Glob returned err=%v, want %v", err, path.ErrBadPattern)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:36:52 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/precompile/PrecompiledScriptDependenciesResolver.kt

            fun hashOfNormalisedString(charSequence: CharSequence) =
                Hashing.hashString(charSequence).toString()
    
            /**
             * **Optimisation note**: assumes [scriptText] contains only `\n` line separators as any script text
             * coming from the Kotlin compiler already should.
             */
            fun implicitImportsForScript(scriptText: CharSequence, environment: Environment?) =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 3.2K bytes
    - Viewed (0)
Back to top