Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 2,553 for nize (0.03 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt

        hpackWriter!!.resizeHeaderTable(4096)
        hpackWriter!!.resizeHeaderTable(2048)
        hpackWriter!!.writeHeaders(listOf(Header("foo", "bar")))
        assertBytes(
          // Dynamic size update (size = 0).
          0x20,
          // Dynamic size update (size = 2048).
          0x3F,
          0xE1,
          0xF,
          0x40,
          3,
          'f'.code,
          'o'.code,
          'o'.code,
          3,
          'b'.code,
          'a'.code,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 38.6K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt

      //      after: { 11, 11, 22, 22, 33, 33, 00, 00, 00, 00, 00, 00, 77, 77, 88, 88 }
      //
      if (b != address.size) {
        if (compress == -1) return null // Address didn't have compression or enough groups.
        address.copyInto(address, address.size - (b - compress), compress, b)
        address.fill(0.toByte(), compress, compress + (address.size - b))
      }
    
      return address
    }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketWriterTest.kt

          assertThat(expected.message).isEqualTo(
            "Payload size must be less than or equal to 125",
          )
        }
      }
    
      private fun assertData(hex: String) {
        assertData(hex.decodeHex())
      }
    
      private fun assertData(expected: ByteString) {
        val actual = data.readByteString(Math.min(expected.size.toLong(), data.size))
        assertThat(actual).isEqualTo(expected)
      }
    
      companion object {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 9.3K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/io/ByteSourceTester.java

      public void testSlice_constrainedRange() throws IOException {
        long size = source.read().length;
        if (size >= 2) {
          ByteSource sliced = source.slice(1, size - 2);
          assertEquals(size - 2, sliced.read().length);
          ByteSource resliced = sliced.slice(0, size - 1);
          assertTrue(sliced.contentEquals(resliced));
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java

        }
    
        /**
         * Gets the size of the original unencrypted message
         *
         * @return the original message size
         */
        public int getOriginalMessageSize() {
            return this.originalMessageSize;
        }
    
        /**
         * Sets the size of the original unencrypted message
         *
         * @param originalMessageSize
         *            the original message size to set
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/MessageDeflater.kt

      @Throws(IOException::class)
      fun deflate(buffer: Buffer) {
        require(deflatedBytes.size == 0L)
    
        if (noContextTakeover) {
          deflater.reset()
        }
    
        deflaterSink.write(buffer, buffer.size)
        deflaterSink.flush()
    
        if (deflatedBytes.endsWith(EMPTY_DEFLATE_BLOCK)) {
          val newSize = deflatedBytes.size - LAST_OCTETS_COUNT_TO_REMOVE_AFTER_DEFLATION
          deflatedBytes.readAndWriteUnsafe().use { cursor ->
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/pager/LabelTypePager.java

        }
    
        /**
         * Returns the page size.
         *
         * @return The page size.
         */
        public int getPageSize() {
            if (pageSize <= 0) {
                pageSize = getDefaultPageSize();
            }
            return pageSize;
        }
    
        /**
         * Sets the page size.
         *
         * @param pageSize The page size.
         */
        public void setPageSize(final int pageSize) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/SparseImmutableTable.java

        for (C col : columnSpace) {
          columns.put(col, new LinkedHashMap<R, V>());
        }
        int[] cellRowIndices = new int[cellList.size()];
        int[] cellColumnInRowIndices = new int[cellList.size()];
        for (int i = 0; i < cellList.size(); i++) {
          Cell<R, C, V> cell = cellList.get(i);
          R rowKey = cell.getRowKey();
          C columnKey = cell.getColumnKey();
          V value = cell.getValue();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 5.3K bytes
    - Click Count (1)
  9. src/test/java/jcifs/internal/NotifyResponseTest.java

            assertEquals(result1.size(), result2.size());
            assertEquals(result2.size(), result3.size());
    
            for (int i = 0; i < result1.size(); i++) {
                assertEquals(result1.get(i), result2.get(i));
                assertEquals(result2.get(i), result3.get(i));
            }
    
            // Verify content is correct
            assertEquals(2, result1.size());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HeadersCommon.kt

      var result: MutableList<String>? = null
      for (i in 0 until size) {
        if (name.equals(name(i), ignoreCase = true)) {
          if (result == null) result = ArrayList(2)
          result.add(value(i))
        }
      }
      return result?.unmodifiable().orEmpty()
    }
    
    internal fun Headers.commonIterator(): Iterator<Pair<String, String>> = Array(size) { name(it) to value(it) }.iterator()
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 6K bytes
    - Click Count (0)
Back to Top