Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 99 for canonical (0.12 seconds)

  1. guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

        }
      }
    
      public void testFalsePositivesForNextEscapedIndex() {
        UnicodeEscaper e =
            new UnicodeEscaper() {
              // Canonical escaper method that only escapes lower case ASCII letters.
              @Override
              protected char @Nullable [] escape(int cp) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 6K bytes
    - Click Count (0)
  2. fastapi/sse.py

    from typing import Annotated, Any
    
    from annotated_doc import Doc
    from pydantic import AfterValidator, BaseModel, Field, model_validator
    from starlette.responses import StreamingResponse
    
    # Canonical SSE event schema matching the OpenAPI 3.2 spec
    # (Section 4.14.4 "Special Considerations for Server-Sent Events")
    _SSE_EVENT_SCHEMA: dict[str, Any] = {
        "type": "object",
        "properties": {
            "data": {"type": "string"},
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/io/FileUtil.java

            return isPathSafe(fileToCheck.toPath(), baseDirectory.toPath());
        }
    
        /**
         * Returns the canonical path string for this abstract pathname.
         *
         * @param file the file (must not be {@literal null})
         * @return the canonical pathname string representing the same file or directory as this abstract pathname
         */
        public static String getCanonicalPath(final File file) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  4. cmd/test-utils_test.go

    	canonicalHeaders := buf.String()
    
    	// Get signed headers.
    	signedHeaders := strings.Join(headers, ";")
    
    	// Get canonical query string.
    	req.URL.RawQuery = strings.ReplaceAll(req.URL.Query().Encode(), "+", "%20")
    
    	// Get canonical URI.
    	canonicalURI := s3utils.EncodePath(req.URL.Path)
    
    	// Get canonical request.
    	// canonicalRequest =
    	//  <HTTPMethod>\n
    	//  <CanonicalURI>\n
    	//  <CanonicalQueryString>\n
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 77K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/net/HostSpecifier.java

        // Try to interpret the specifier as an IP address. Note we build
        // the address rather than using the .is* methods because we want to
        // use InetAddresses.toUriString to convert the result to a string in
        // canonical form.
        InetAddress addr = null;
        try {
          addr = InetAddresses.forString(host);
        } catch (IllegalArgumentException e) {
          // It is not an IPv4 or IPv6 literal
        }
    
        if (addr != null) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

                    return rx - lx;
                } else {
                    return lx - rx;
                }
            };
    
            Map<String, Lifecycle> lifecyclesMap = lookupLifecycles();
    
            // ensure canonical order of standard lifecycles
            return lifecyclesMap.values().stream()
                    .peek(l -> Objects.requireNonNull(l.getId(), "A lifecycle must have an id."))
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            SmbResourceLocatorImpl b = locator("smb://server/share/");
            assertEquals("smb://server/", b.getParent());
        }
    
        @Test
        @DisplayName("Canonical and UNC paths are computed and stable")
        void testCanonicalAndUNCPaths() {
            SmbResourceLocatorImpl a = locator("smb://server/share/dir/.././file");
            // canonicalization removes . and resolves ..
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

    import jcifs.SmbResourceLocator;
    import jcifs.internal.util.StringUtil;
    import jcifs.netbios.NbtAddress;
    import jcifs.netbios.UniAddress;
    
    /**
     *
     *
     * This mainly tracks two locations:
     * - canonical URL path: path component of the URL: this is used to reconstruct URLs to resources and is not adjusted by
     * DFS referrals. (E.g. a resource with a DFS root's parent will still point to the DFS root not the share it's actually
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 23.6K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

                return result;
            }
        }
    
        /**
         * This method is needed to "align" values used later on for interpolations and path calculations.
         * We enforce "canonical" paths, so IF key and canonical path value disagree, let override it.
         */
        protected void mayOverrideDirectorySystemProperty(LocalContext context, String javaSystemPropertyKey, Path value) {
            String valueString = value.toString();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 07:39:11 GMT 2025
    - 25.5K bytes
    - Click Count (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy

     * </ul>
     *
     * Produces the following:
     * <ul>
     * <li>A docbook book XML file containing the reference.</li>
     * <li>A meta-data file containing information about where the canonical documentation for each class can be found:
     * as dsl doc, javadoc or groovydoc.</li>
     * </ul>
     */
    @CacheableTask
    abstract class AssembleDslDocTask extends DefaultTask {
        @PathSensitive(PathSensitivity.NONE)
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 9.8K bytes
    - Click Count (0)
Back to Top