Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 681 for aslash (0.66 sec)

  1. src/internal/filepathlite/path.go

    	if !fs.ValidPath(path) {
    		return "", errInvalidPath
    	}
    	return localize(path)
    }
    
    // ToSlash is filepath.ToSlash.
    func ToSlash(path string) string {
    	if Separator == '/' {
    		return path
    	}
    	return replaceStringByte(path, Separator, '/')
    }
    
    // FromSlash is filepath.ToSlash.
    func FromSlash(path string) string {
    	if Separator == '/' {
    		return path
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:50 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/test/groovy/org/gradle/logging/ConsoleRendererTest.groovy

        @Requires(UnitTestPreconditions.NotWindows)
        def "produces triple-slash file URLs"() {
            expect:
            renderer.asClickableFileUrl(new File("/foo/bar/baz")) == "file:///foo/bar/baz"
        }
    
        @Requires(UnitTestPreconditions.Windows)
        def "produces triple-slash file URLs on Windows"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/lex/tokenizer.go

    	}
    }
    
    // We want center dot (·) and division slash (∕) to work as identifier characters.
    func isIdentRune(ch rune, i int) bool {
    	if unicode.IsLetter(ch) {
    		return true
    	}
    	switch ch {
    	case '_': // Underscore; traditional.
    		return true
    	case '\u00B7': // Represents the period in runtime.exit. U+00B7 '·' middle dot
    		return true
    	case '\u2215': // Represents the slash in runtime/debug.setGCPercent. U+2215 '∕' division slash
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 04 20:35:21 UTC 2022
    - 3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

        List<String> b = asList("c", "d");
        ImmutableSortedMultiset<String> multiset =
            ImmutableSortedMultiset.<String>naturalOrder().addAll(a).addAll(b).build();
        assertEquals(HashMultiset.create(asList("a", "b", "c", "d")), multiset);
      }
    
      public void testBuilderAddAllMultiset() {
        Multiset<String> a = HashMultiset.create(asList("a", "b", "b"));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  5. src/embed/embed.go

    // many patterns. The patterns are interpreted relative to the package directory
    // containing the source file. The path separator is a forward slash, even on
    // Windows systems. Patterns may not contain ‘.’ or ‘..’ or empty path elements,
    // nor may they begin or end with a slash. To match everything in the current
    // directory, use ‘*’ instead of ‘.’. To allow for naming files with spaces in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:42:51 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. platforms/software/resources-http/src/test/groovy/org/gradle/internal/resource/transport/http/ntlm/NTLMCredentialsTest.groovy

            then:
            ntlmCredentials.domain == 'DOMAIN'
            ntlmCredentials.username == 'username'
            ntlmCredentials.password == 'password'
        }
    
        def "uses domain when encoded in username with forward slash"() {
            credentials.username >> "domain/username"
            credentials.password >> "password"
    
            when:
            def ntlmCredentials = new NTLMCredentials(credentials)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  7. maven-model/src/test/java/org/apache/maven/model/merge/MavenMergerTest.java

                    Contributor.newBuilder().email("******@****.***").build();
    
            Model target =
                    Model.newBuilder().contributors(Arrays.asList(contributor)).build();
    
            Model source =
                    Model.newBuilder().contributors(Arrays.asList(contributor)).build();
    
            Model merged = mavenMerger.merge(target, source, true, null);
    
            assertThat(merged.getContributors(), contains(contributor));
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  8. src/net/http/routing_tree.go

    		// trailing slash in the pattern).
    		if c.pattern.lastSegment().s != "" {
    			matches = append(matches, pathUnescape(path[1:])) // remove initial slash
    		}
    		return c, matches
    	}
    	return nil, nil
    }
    
    // firstSegment splits path into its first segment, and the rest.
    // The path must begin with "/".
    // If path consists of only a slash, firstSegment returns ("/", "").
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:43:24 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/authorization/path/path_test.go

    		{"empty", nil, nil, nil, []string{"/"}, false},
    		{"slash", []string{"/"}, []string{"/"}, nil, []string{"/foo", "//"}, false},
    		{"foo", []string{"/foo"}, []string{"/foo", "foo"}, nil, []string{"/", "", "/bar", "/foo/", "/fooooo", "//foo"}, false},
    		{"foo slash", []string{"/foo/"}, []string{"/foo/"}, nil, []string{"/", "", "/bar", "/foo", "/fooooo"}, false},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 24 15:14:54 UTC 2019
    - 2.8K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/windows/exec_windows.go

    // This function returns "" (2 double quotes) if s is empty.
    // Alternatively, these transformations are done:
    //   - every back slash (\) is doubled, but only if immediately
    //     followed by double quote (");
    //   - every double quote (") is escaped by back slash (\);
    //   - finally, s is wrapped with double quotes (arg -> "arg"),
    //     but only if there is space or tab inside s.
    func EscapeArg(s string) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 7.3K bytes
    - Viewed (0)
Back to top