Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 246 for compact (0.19 sec)

  1. okhttp/src/test/java/okhttp3/internal/idn/IdnaMappingTableTest.kt

    import okio.FileSystem
    import okio.Path.Companion.toPath
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    
    /** Confirm we get the expected table whether we build it from the .txt file or compact that. */
    class IdnaMappingTableTest {
      private lateinit var table: SimpleIdnaMappingTable
      private lateinit var compactTable: IdnaMappingTable
    
      @BeforeEach
      fun setUp() {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/CompactHashing.java

      /** Maximum size of a compact hash-based collection (2^30 - 1 because 0 is UNSET). */
      static final int MAX_SIZE = Ints.MAX_POWER_OF_TWO - 1;
    
      /** Default size of a compact hash-based collection. */
      static final int DEFAULT_SIZE = 3;
    
      /**
       * Minimum size of the hash table of a compact hash-based collection. Because small hash tables
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Aug 02 21:41:22 GMT 2021
    - 7.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/CompactHashing.java

      /** Maximum size of a compact hash-based collection (2^30 - 1 because 0 is UNSET). */
      static final int MAX_SIZE = Ints.MAX_POWER_OF_TWO - 1;
    
      /** Default size of a compact hash-based collection. */
      static final int DEFAULT_SIZE = 3;
    
      /**
       * Minimum size of the hash table of a compact hash-based collection. Because small hash tables
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Aug 02 21:41:22 GMT 2021
    - 7.1K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTask.kt

        }
    
        /**
         * It appears there is no way to configure Gson to use 4 spaces instead of 2 for indentation.
         *
         * See: https://github.com/google/gson/blob/master/UserGuide.md#TOC-Compact-Vs.-Pretty-Printing-for-JSON-Output-Format
         */
        private
        fun adjustIndentation(initalJsonString: String): String {
            val indentationRegex = """^\s+""".toRegex(RegexOption.MULTILINE)
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Sep 30 18:18:04 GMT 2022
    - 2.1K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/Interceptor.kt

     *   }
     * ```
     */
    fun interface Interceptor {
      @Throws(IOException::class)
      fun intercept(chain: Chain): Response
    
      companion object {
        /**
         * Constructs an interceptor for a lambda. This compact syntax is most useful for inline
         * interceptors.
         *
         * ```kotlin
         * val interceptor = Interceptor { chain: Interceptor.Chain ->
         *     chain.proceed(chain.request())
         * }
         * ```
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  6. .github/ISSUE_TEMPLATE/feature_enhancement_request.yaml

            users indicates that they really appreciate Guava's high power-to-weight ratio. It's
            important to us to keep Guava as easy to use and understand as we can. That means boiling
            features down to compact but powerful abstractions, and controlling feature bloat carefully.
    
      - type: textarea
        attributes:
          label: API(s)
          description: Which existing classes or methods do you want to improve?
    Others
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  7. .github/ISSUE_TEMPLATE/feature_addition_request.yaml

            features down to compact but powerful abstractions, and controlling feature bloat carefully.
    
    
            Guava's main yardstick for evaluating proposed features can be summed up as [utility times
            ubiquity](https://github.com/google/guava/wiki/PhilosophyExplained#utility-times-ubiquity).
    
    
            #### Utility: compare with alternatives
    
    
    Others
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/ReaderInputStream.java

        if (availableCapacity(charBuffer) == 0) {
          if (charBuffer.position() > 0) {
            // (2) There is room in the buffer. Move existing bytes to the beginning.
            Java8Compatibility.flip(charBuffer.compact());
          } else {
            // (3) Entire buffer is full, need bigger buffer.
            charBuffer = grow(charBuffer);
          }
        }
    
        // (1) Read more characters into free space at end of array.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/AbstractStreamingHasher.java

          // we could limit the buffer to ensure process() does not read more than
          // chunkSize number of bytes, but we trust the implementations
          process(buffer);
        }
        buffer.compact(); // preserve any remaining data that do not make a full chunk
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  10. tests/test_compat.py

    from typing import List, Union
    
    from fastapi import FastAPI, UploadFile
    from fastapi._compat import (
        ModelField,
        Undefined,
        _get_model_config,
        is_bytes_sequence_annotation,
        is_uploadfile_sequence_annotation,
    )
    from fastapi.testclient import TestClient
    from pydantic import BaseConfig, BaseModel, ConfigDict
    from pydantic.fields import FieldInfo
    
    from .utils import needs_pydanticv1, needs_pydanticv2
    
    
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Sep 28 04:14:40 GMT 2023
    - 2.8K bytes
    - Viewed (0)
Back to top