Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,423 for Trailing (0.56 sec)

  1. src/runtime/internal/sys/intrinsics.go

    // TrailingZeros32 returns the number of trailing zero bits in x; the result is 32 for x == 0.
    func TrailingZeros32(x uint32) int {
    	if x == 0 {
    		return 32
    	}
    	// see comment in TrailingZeros64
    	return int(deBruijn32tab[(x&-x)*deBruijn32>>(32-5)])
    }
    
    // TrailingZeros64 returns the number of trailing zero bits in x; the result is 64 for x == 0.
    func TrailingZeros64(x uint64) int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 14 08:10:45 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  2. src/crypto/subtle/xor_generic.go

    func aligned(dst, x, y *byte) bool {
    	return (uintptr(unsafe.Pointer(dst))|uintptr(unsafe.Pointer(x))|uintptr(unsafe.Pointer(y)))&(wordSize-1) == 0
    }
    
    // words returns a []uintptr pointing at the same data as x,
    // with any trailing partial word removed.
    func words(x []byte) []uintptr {
    	n := uintptr(len(x)) / wordSize
    	if n == 0 {
    		// Avoid creating a *uintptr that refers to data smaller than a uintptr;
    		// see issue 59334.
    		return nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 31 23:25:07 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/checkstyle/CheckstyleRelocationIntegrationTest.groovy

        <module name="RegexpSingleline">
           <property name="format" value="\\s+\$"/>
           <property name="minimum" value="0"/>
           <property name="maximum" value="0"/>
           <property name="message" value="Line has trailing spaces."/>
        </module>
    </module>
            """
    
            projectDir.file("src/main/java/org/gradle/Class1.java") <<
                "package org.gradle; class Class1 { public boolean is() { return true; } }  "
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 12:23:38 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/ExactVersionSelectorTest.groovy

            expect:
            !accept("1.0", "1_0")
            !accept("1_0", "1-0")
            !accept("1-0", "1+0")
            !accept("1.a.2", "1a2")
        }
    
        def "does not accept candidate version that has different number of trailing .0's"() {
            expect:
            !accept("1.0.0", "1.0")
            !accept("1", "1.0.0")
        }
    
        def "does not accept candidate version that has different capitalization"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/DefaultVersionComparatorTest.groovy

            "1.0-alpha"         | "1.0.1"
            "a.b.c"             | "a.b.123"
            "a"                 | "123"
            "1.0.0-alpha.beta"  | "1.0.0-alpha.1"
        }
    
        def "extra trailing parts that contain no digits make the version smaller"() {
            expect:
            compare(smaller, larger) < 0
            compare(larger, smaller) > 0
            compare(smaller, smaller) == 0
            compare(larger, larger) == 0
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  6. src/net/http/routing_tree_test.go

    	})
    
    	// A pattern ending in {$} should only match URLS with a trailing slash.
    	pat1 := "/a/b/{$}"
    	test(buildTree(pat1), []testCase{
    		{"GET", "", "/a/b", "", nil},
    		{"GET", "", "/a/b/", pat1, nil},
    		{"GET", "", "/a/b/c", "", nil},
    		{"GET", "", "/a/b/c/d", "", nil},
    	})
    
    	// A pattern ending in a single wildcard should not match a trailing slash URL.
    	pat2 := "/a/b/{w}"
    	test(buildTree(pat2), []testCase{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:43:24 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. src/net/dnsclient.go

    // absDomainName returns an absolute domain name which ends with a
    // trailing dot to match pure Go reverse resolver and all other lookup
    // routines.
    // See golang.org/issue/12189.
    // But we don't want to add dots for local names from /etc/hosts.
    // It's hard to tell so we settle on the heuristic that names without dots
    // (like "localhost" or "myhost") do not get trailing dots, but any other
    // names do.
    func absDomainName(s string) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferResource.java

     *
     */
    @Deprecated
    public interface ArtifactTransferResource {
    
        /**
         * The base URL of the repository, e.g. "http://repo1.maven.org/maven2/". Unless the URL is unknown, it will be
         * terminated by a trailing slash.
         *
         * @return The base URL of the repository or an empty string if unknown, never {@code null}.
         */
        String getRepositoryUrl();
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/version/version.go

    // followed by arbitrary uninterpreted data (which need not be separated from the final
    // numeric field by punctuation). For convenience, leading and trailing whitespace is
    // ignored, and the version can be preceded by the letter "v". See also ParseSemantic.
    func ParseGeneric(str string) (*Version, error) {
    	return parse(str, false)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 18 19:25:29 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  10. platforms/core-runtime/files/src/main/java/org/gradle/api/internal/file/pattern/PatternMatcherFactory.java

        }
    
        public static PathMatcher compile(boolean caseSensitive, String pattern) {
            if (pattern.length() == 0) {
                return END_OF_PATH_MATCHER;
            }
    
            // trailing / or \ assumes **
            if (pattern.endsWith("/") || pattern.endsWith("\\")) {
                pattern = pattern + "**";
            }
            List<String> parts = PATH_SPLITTER.splitToList(pattern);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 3.7K bytes
    - Viewed (0)
Back to top