Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 284 for isSlash (0.17 sec)

  1. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/graph/DependencyGraphsRenderer.java

            }
    
        }
    
        private void renderNode(final RenderableDependency node, final boolean isLast, final boolean isDuplicate, final NodeRenderer dependenciesRenderer) {
            renderer.visit(output -> dependenciesRenderer.renderNode(output, node, isDuplicate), isLast);
        }
    
        public void complete() {
            legendRenderer.printLegend();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/declarations/superTypes/KtSuperTypesCallArgumentsRenderer.kt

                declarationRenderer: KaDeclarationRenderer,
                printer: PrettyPrinter,
            ) {
                with(analysisSession) {
                    if (type.expandedSymbol?.classKind?.isClass != true) {
                        return
                    }
                    printer.append("()")
                }
            }
        }
    }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. 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)
  10. istioctl/pkg/writer/compare/comparator.go

    func (m *nonstrictResolver) Resolve(typeURL string) (legacyproto.Message, error) {
    	// See https://github.com/golang/protobuf/issues/747#issuecomment-437463120
    	mname := typeURL
    	if slash := strings.LastIndex(typeURL, "/"); slash >= 0 {
    		mname = mname[slash+1:]
    	}
    	mt, err := protoregistry.GlobalTypes.FindMessageByName(protoreflect.FullName(mname))
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top