Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for 0x7f (0.02 sec)

  1. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappedRange.kt

              b2bit8 && b3bit8 -> 127
              b3bit8 -> 126
              b2bit8 -> 125
              else -> 124
            }
          }
    
        val b2: Int
          get() = mappedTo[0] and 0x7f
    
        val b3: Int
          get() = mappedTo[1] and 0x7f
      }
    
      data class InlineDelta(
        override val rangeStart: Int,
        val codepointDelta: Int,
      ) : MappedRange {
        private val absoluteDelta = abs(codepointDelta)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

     * fills, it is doubled.
     */
    @Suppress("NAME_SHADOWING")
    object Hpack {
      private const val PREFIX_4_BITS = 0x0f
      private const val PREFIX_5_BITS = 0x1f
      private const val PREFIX_6_BITS = 0x3f
      private const val PREFIX_7_BITS = 0x7f
    
      private const val SETTINGS_HEADER_TABLE_SIZE = 4_096
    
      /**
       * The decoder has ultimate control of the maximum size of the dynamic table but we can choose
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Utf8.java

                //     || byte1 == (byte) 0xF4 && byte2 > (byte) 0x8F)
                || (((byte1 << 28) + (byte2 - (byte) 0x90)) >> 30) != 0
                // Third byte trailing-byte test
                || bytes[index++] > (byte) 0xBF
                // Fourth byte trailing-byte test
                || bytes[index++] > (byte) 0xBF) {
              return false;
            }
          }
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

        sectionIndexBuffer.writeByte((section and 0x3f80) shr 7)
    
        // Section index.
        sectionIndexBuffer.writeByte((sectionOffset and 0x3f80) shr 7)
        sectionIndexBuffer.writeByte(sectionOffset and 0x7f)
    
        // Ranges.
        for (range in sectionMappedRanges) {
          rangesBuffer.writeByte(range.rangeStart)
    
          when (range) {
            is MappedRange.Constant -> {
              rangesBuffer.writeByte(range.b1)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/url/-Url.kt

          }
    
          while (!encodedCharBuffer.exhausted()) {
            val b = encodedCharBuffer.readByte().toInt() and 0xff
            writeByte('%'.code)
            writeByte(HEX_DIGITS[b shr 4 and 0xf].code)
            writeByte(HEX_DIGITS[b and 0xf].code)
          }
        } else {
          // This character doesn't need encoding. Just copy it over.
          writeUtf8CodePoint(codePoint)
        }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/Utf8Test.java

      }
    
      public void testEncodedLength_validStrings2() {
        HashMap<Integer, Integer> utf8Lengths = new HashMap<>();
        utf8Lengths.put(0x00, 1);
        utf8Lengths.put(0x7f, 1);
        utf8Lengths.put(0x80, 2);
        utf8Lengths.put(0x7ff, 2);
        utf8Lengths.put(0x800, 3);
        utf8Lengths.put(MIN_SUPPLEMENTARY_CODE_POINT - 1, 3);
        utf8Lengths.put(MIN_SUPPLEMENTARY_CODE_POINT, 4);
        utf8Lengths.put(MAX_CODE_POINT, 4);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/PercentEscaper.java

          return plusSign;
        } else if (cp <= 0x7F) {
          // Single byte UTF-8 characters
          // Start with "%--" and fill in the blanks
          char[] dest = new char[3];
          dest[0] = '%';
          dest[2] = upperHexDigits[cp & 0xF];
          dest[1] = upperHexDigits[cp >>> 4];
          return dest;
        } else if (cp <= 0x7ff) {
          // Two byte UTF-8 characters [cp >= 0x80 && cp <= 0x7ff]
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/CompactHashMap.java

      // is masked in order to correspond to the current table size. For example, if the table size
      // is 128 then the mask is 127 == 0x7f, keeping the bottom 7 bits of the hash value.
      // If a key hashes to 0x89abcdef the mask reduces it to 0x89abcdef & 0x7f == 0x6f. We'll call this
      // the "short hash".
      //
      // The `keys`, `values`, and `entries` arrays always have the same size as each other. They can be
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        testDecodes(base64(), "Zg====", "f");
      }
    
      public void testBase64InvalidDecodings() {
        // These contain bytes not in the decodabet.
        assertFailsToDecode(base64(), "A\u007f", "Unrecognized character: 0x7f");
        assertFailsToDecode(base64(), "Wf2!", "Unrecognized character: !");
        // This sentence just isn't base64() encoded.
        assertFailsToDecode(base64(), "let's not talk of love or chains!");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt

      @Test
      fun dynamicallyGrowsBeyond64Entries() {
        // Lots of headers need more room!
        hpackReader = Hpack.Reader(bytesIn, 16384, 4096)
        bytesIn.writeByte(0x3F) // Dynamic table size update (size = 16384).
        bytesIn.writeByte(0xE1)
        bytesIn.writeByte(0x7F)
        for (i in 0..255) {
          bytesIn.writeByte(0x40) // Literal indexed
          bytesIn.writeByte(0x0a) // Literal name (len = 10)
          bytesIn.writeUtf8("custom-foo")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 38.6K bytes
    - Viewed (0)
Back to top