Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for canonicalize (0.09 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

            }
          }
    
        fun username(username: String) =
          apply {
            this.encodedUsername = username.canonicalize(encodeSet = USERNAME_ENCODE_SET)
          }
    
        fun encodedUsername(encodedUsername: String) =
          apply {
            this.encodedUsername =
              encodedUsername.canonicalize(
                encodeSet = USERNAME_ENCODE_SET,
                alreadyEncoded = true,
              )
          }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 63.5K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt

          }
        }
    
      private fun testParseAlreadyEncoded(
        codePoint: Int,
        encoding: Encoding,
        component: Component,
      ) {
        val expected = component.canonicalize(encoding.encode(codePoint))
        val urlString = component.urlString(expected)
        val url = urlString.toHttpUrl()
        val actual = component.encodedValue(url)
        if (actual != expected) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/reflect/TypeToken.java

       *       extends Enum<?>>} canonicalizes to {@code Enum<?>}, which is a supertype (if we disregard
       *       the upper bound is implicitly an Enum too).
       *   <li>If {@code canonicalize(A) == canonicalize(B)}, then {@code Foo<A>.isSubtypeOf(Foo<B>)}
       *       and vice versa. i.e. {@code A.is(B)} and {@code B.is(A)}.
       *   <li>{@code canonicalize(canonicalize(A)) == canonicalize(A)}.
       * </ol>
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 53.8K bytes
    - Click Count (0)
  4. src/cmd/asm/internal/asm/endtoend_test.go

    			}
    		}
    
    		if hexes != "" {
    			hexByLine[fmt.Sprintf("%s:%d", input, lineno)] = hexes
    		}
    
    		// Canonicalize spacing in printed form.
    		// First field is opcode, then tab, then arguments separated by spaces.
    		// Canonicalize spaces after commas first.
    		// Comma to separate argument gets a space; comma within does not.
    		var buf []byte
    		nest := 0
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Mar 20 17:02:17 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  5. doc/go_spec.html

    </p>
    
    <h2 id="Source_code_representation">Source code representation</h2>
    
    <p>
    Source code is Unicode text encoded in
    <a href="https://en.wikipedia.org/wiki/UTF-8">UTF-8</a>. The text is not
    canonicalized, so a single accented code point is distinct from the
    same character constructed from combining an accent and a letter;
    those are treated as two code points.  For simplicity, this document
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Apr 01 23:39:18 GMT 2026
    - 287.8K bytes
    - Click Count (1)
Back to Top