Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 284 for isSlash (0.13 sec)

  1. subprojects/core-api/src/test/groovy/org/gradle/model/internal/core/ModelTypeTest.groovy

            expect:
            extendsString.wildcard
            superString.wildcard
            objects.wildcard
            anything.wildcard
    
            !extendsString.isClass()
            !superString.isClass()
            !objects.isClass()
            !anything.isClass()
    
            extendsString.rawClass == String
            superString.rawClass == Object
            objects.rawClass == Object
            anything.rawClass == Object
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 11 21:42:04 UTC 2018
    - 22.3K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/detection/DefaultTestClassScanner.java

            });
        }
    
        private abstract class ClassFileVisitor extends EmptyFileVisitor implements ReproducibleFileVisitor {
            @Override
            public void visitFile(FileVisitDetails fileDetails) {
                if (isClass(fileDetails) && !isAnonymousClass(fileDetails)) {
                    visitClassFile(fileDetails);
                }
            }
    
            abstract void visitClassFile(FileVisitDetails fileDetails);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. src/path/path.go

    // slashes are removed.
    // If the path is empty, Dir returns ".".
    // If the path consists entirely of slashes followed by non-slash bytes, Dir
    // returns a single slash. In any other case, the returned path does not end in a
    // slash.
    func Dir(path string) string {
    	dir, _ := Split(path)
    	return Clean(dir)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 23 17:33:57 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/api/validation/path/name_test.go

    			Prefix:      false,
    			ExpectedMsg: "",
    		},
    		"dot dot,prefix": {
    			Name:        "..",
    			Prefix:      true,
    			ExpectedMsg: "",
    		},
    
    		"slash": {
    			Name:        "foo/bar",
    			Prefix:      false,
    			ExpectedMsg: "/",
    		},
    		"slash,prefix": {
    			Name:        "foo/bar",
    			Prefix:      true,
    			ExpectedMsg: "/",
    		},
    
    		"percent": {
    			Name:        "foo%bar",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 27 13:49:29 UTC 2017
    - 3.8K bytes
    - Viewed (0)
  5. src/cmd/go/internal/web/url_windows.go

    			return "", errors.New("file URL encodes volume in host field: too few slashes?")
    		}
    		return `\\` + host + path, nil
    	}
    
    	// If host is empty, path must contain an initial slash followed by a
    	// drive letter and path. Remove the slash and verify that the path is valid.
    	if vol := filepath.VolumeName(path[1:]); vol == "" || strings.HasPrefix(vol, `\\`) {
    		return "", errors.New("file URL missing drive letter")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:43:51 UTC 2019
    - 1.5K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/slashpath.txt

    # .a files should use slash-separated paths even on windows
    # This is important for reproducing native builds with cross-compiled builds.
    go build -o x.a text/template
    ! grep 'GOROOT\\' x.a
    ! grep 'text\\template' x.a
    ! grep 'c:\\' x.a
    
    # executables should use slash-separated paths even on windows
    # This is important for reproducing native builds with cross-compiled builds.
    go build -o hello.exe hello.go
    ! grep 'GOROOT\\' hello.exe
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 23:10:31 UTC 2023
    - 596 bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/route/route_cache.go

    		h.WriteString(string(svc.Hostname))
    		h.Write(Slash)
    		h.WriteString(svc.Attributes.Namespace)
    		h.Write(Separator)
    	}
    	h.Write(Separator)
    
    	for _, vs := range r.VirtualServices {
    		for _, cfg := range model.VirtualServiceDependencies(vs) {
    			h.WriteString(cfg.Kind.String())
    			h.Write(Slash)
    			h.WriteString(cfg.Name)
    			h.Write(Slash)
    			h.WriteString(cfg.Namespace)
    			h.Write(Separator)
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/AbstractCaseVfsRelativePathTest.groovy

        }
    
        def "path separators are equal"() {
            def slash = '/' as char
            def backslash = '\\' as char
    
            expect:
            compareCharsIgnoringCase(slash, backslash) == 0
            compareCharsIgnoringCase(backslash, slash) == 0
            compareChars(slash, backslash) == 0
            compareChars(backslash, slash) == 0
            equalChars(slash, backslash, caseSensitivity)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  9. src/os/dir_windows.go

    				d.class = windows.FileIdBothDirectoryInfo
    			} else if d.class == windows.FileFullDirectoryRestartInfo {
    				d.class = windows.FileFullDirectoryInfo
    			}
    		}
    		// Drain the buffer
    		var islast bool
    		for n != 0 && !islast {
    			var nextEntryOffset uint32
    			var nameslice []uint16
    			entry := unsafe.Pointer(&(*d.buf)[d.bufp])
    			if d.class == windows.FileIdBothDirectoryInfo {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 20:52:06 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. 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)
Back to top