Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 681 for aslash (0.14 sec)

  1. platforms/native/testing-native/src/test/groovy/org/gradle/nativeplatform/test/xctest/internal/execution/XCTestSelectionTest.groovy

        }
    
        def "throws IllegalArgumentException when filter contains forward slash [#testFilter]"() {
            when:
            select(testFilter)
    
            then:
            def ex = thrown(IllegalArgumentException)
            ex.message == "'$testFilter' is an invalid pattern. Patterns cannot contain forward slash."
    
            where:
            testFilter << ['/abc', 'a/bc', 'ab/c', 'a/b/c', 'a/bc', 'a.b/c']
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. src/cmd/internal/objabi/path.go

    // last segment of the path, and it makes for happier users if we escape that as
    // little as possible.
    func PathToPrefix(s string) string {
    	slash := strings.LastIndex(s, "/")
    	// check for chars that need escaping
    	n := 0
    	for r := 0; r < len(s); r++ {
    		if c := s[r]; c <= ' ' || (c == '.' && r > slash) || c == '%' || c == '"' || c >= 0x7F {
    			n++
    		}
    	}
    
    	// quick exit
    	if n == 0 {
    		return s
    	}
    
    	// escape
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 13:56:25 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. src/go/doc/comment/print.go

    	if l.ImportPath != "" {
    		slash := ""
    		if strings.HasSuffix(baseURL, "/") {
    			slash = "/"
    		} else {
    			baseURL += "/"
    		}
    		switch {
    		case l.Name == "":
    			return baseURL + l.ImportPath + slash
    		case l.Recv != "":
    			return baseURL + l.ImportPath + slash + "#" + l.Recv + "." + l.Name
    		default:
    			return baseURL + l.ImportPath + slash + "#" + l.Name
    		}
    	}
    	if l.Recv != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  4. src/net/http/routing_index.go

    	// For example, the key {1, "b"} would hold the patterns "/a/b" and "/a/b/c"
    	// but not "/a", "b/a", "/a/c" or "/a/{x}".
    	segments map[routingIndexKey][]*pattern
    	// All patterns that end in a multi wildcard (including trailing slash).
    	// We do not try to be clever about indexing multi patterns, because there
    	// are unlikely to be many of them.
    	multis []*pattern
    }
    
    type routingIndexKey struct {
    	pos int    // 0-based segment position
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 19 18:35:22 UTC 2023
    - 4K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

        /**
         * Removes the leading directory separator from the specified filesystem path (if any). For platform-independent
         * behavior, this method accepts both the forward slash and the backward slash as separator.
         *
         * @param path The filesystem path, may be <code>null</code>.
         * @return The altered filesystem path or <code>null</code> if the input path was <code>null</code>.
         */
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 07:40:37 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. src/cmd/doc/main.go

    	// work.
    	var period int
    	// slash+1: if there's no slash, the value is -1 and start is 0; otherwise
    	// start is the byte after the slash.
    	for start := slash + 1; start < len(arg); start = period + 1 {
    		period = strings.Index(arg[start:], ".")
    		symbol := ""
    		if period < 0 {
    			period = len(arg)
    		} else {
    			period += start
    			symbol = arg[period+1:]
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/reflect/ReflectionCache.java

            }
    
            private CacheEntry fetchNext(WeaklyClassReferencingCache cur, Class<?> aClass) {
                CacheEntry last;
                last = cur.get(aClass);
                if (last == null) {
                    last = new CacheEntry();
                    cur.put(aClass, last);
                }
                return last;
            }
        }
    
        private class CacheEntry {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  8. platforms/jvm/language-java/src/main/java/org/gradle/external/javadoc/internal/JavadocOptionFileWriterContext.java

            write("\'");
            //First, we replace slashes because they have special meaning in the javadoc options file
            //Then, we replace every linebreak with slash+linebreak. Slash is needed according to javadoc options file format
            write(value.replaceAll("\\\\", "\\\\\\\\")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  9. src/cmd/internal/objabi/line.go

    	}
    	return replace + path[len(prefix):], true
    }
    
    // Does s have t as a path prefix?
    // That is, does s == t or does s begin with t followed by a slash?
    // For portability, we allow ASCII case folding, so that hasPathPrefix("a/b/c", "A/B") is true.
    // Similarly, we allow slash folding, so that hasPathPrefix("a/b/c", "a\\b") is true.
    // We do not allow full Unicode case folding, for fear of causing more confusion
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 23:10:31 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/cluster_cache.go

    	}
    	h.Write(Separator)
    
    	if t.service != nil {
    		h.WriteString(string(t.service.Hostname))
    		h.Write(Slash)
    		h.WriteString(t.service.Attributes.Namespace)
    	}
    	h.Write(Separator)
    
    	for _, dr := range t.destinationRule.GetFrom() {
    		h.WriteString(dr.Name)
    		h.Write(Slash)
    		h.WriteString(dr.Namespace)
    	}
    	h.Write(Separator)
    
    	for _, efk := range t.envoyFilterKeys {
    		h.WriteString(efk)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top