Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for immutable (5.19 sec)

  1. okhttp/src/main/kotlin/okhttp3/CacheControl.kt

        level = DeprecationLevel.ERROR,
      )
      fun noTransform(): Boolean = noTransform
    
      @JvmName("-deprecated_immutable")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "immutable"),
        level = DeprecationLevel.ERROR,
      )
      fun immutable(): Boolean = immutable
    
      override fun toString(): String = commonToString()
    
      /** Builds a `Cache-Control` request header. */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 10K bytes
    - Viewed (0)
  2. common-protos/k8s.io/api/certificates/v1/generated.proto

      // Populated by the API server on creation and immutable.
      // +optional
      optional string username = 2;
    
      // uid contains the uid of the user that created the CertificateSigningRequest.
      // Populated by the API server on creation and immutable.
      // +optional
      optional string uid = 3;
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/Request.kt

    import okhttp3.internal.commonRemoveHeader
    import okhttp3.internal.commonTag
    import okhttp3.internal.commonToString
    
    /**
     * An HTTP request. Instances of this class are immutable if their [body] is null or itself
     * immutable.
     */
    class Request internal constructor(builder: Builder) {
      @get:JvmName("url")
      val url: HttpUrl = checkNotNull(builder.url) { "url == null" }
    
      @get:JvmName("method")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:17:44 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/storage/v1beta1/generated.proto

      //
      // This field was immutable in Kubernetes <= 1.22 and now is mutable.
      //
      // +optional
      optional bool storageCapacity = 4;
    
      // fsGroupPolicy defines if the underlying volume supports changing ownership and
      // permission of the volume before being mounted.
      // Refer to the specific FSGroupPolicy values for additional details.
      //
      // This field is immutable.
      //
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/storage/v1/generated.proto

      //
      // Alternatively, the driver can be deployed with the field
      // unset or false and it can be flipped later when storage
      // capacity information has been published.
      //
      // This field was immutable in Kubernetes <= 1.22 and now is mutable.
      //
      // +optional
      // +featureGate=CSIStorageCapacity
      optional bool storageCapacity = 4;
    
      // fsGroupPolicy defines if the underlying volume supports changing ownership and
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 24.7K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

    internal fun Response.headersContentLength(): Long {
      return headers["Content-Length"]?.toLongOrDefault(-1L) ?: -1L
    }
    
    /** Returns an immutable copy of this. */
    internal fun <T> List<T>.toImmutableList(): List<T> {
      return Collections.unmodifiableList(toMutableList())
    }
    
    /** Returns an immutable list containing [elements]. */
    @SafeVarargs
    internal fun <T> immutableListOf(vararg elements: T): List<T> {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/Headers.kt

      fun value(index: Int): String = commonValue(index)
    
      /** Returns an immutable case-insensitive set of header names. */
      fun names(): Set<String> {
        val result = TreeSet(String.CASE_INSENSITIVE_ORDER)
        for (i in 0 until size) {
          result.add(name(i))
        }
        return Collections.unmodifiableSet(result)
      }
    
      /** Returns an immutable list of the header values for `name`. */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt

        val minFreshSeconds: Int = cacheControl.minFreshSeconds()
        val onlyIfCached: Boolean = cacheControl.onlyIfCached()
        val noTransform: Boolean = cacheControl.noTransform()
        val immutable: Boolean = cacheControl.immutable()
        val parse: CacheControl = CacheControl.parse(Headers.of())
      }
    
      @Test @Disabled
      fun challenge() {
        val challenge = Challenge("", mapOf("" to ""))
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/Response.kt

    import okhttp3.internal.connection.Exchange
    import okhttp3.internal.http.parseChallenges
    import okio.Buffer
    
    /**
     * An HTTP response. Instances of this class are not immutable: the response body is a one-shot
     * value that may be consumed only once and then closed. All other properties are immutable.
     *
     * This class implements [Closeable]. Closing it simply closes its response body. See
     * [ResponseBody] for an explanation and examples.
     */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        val minFreshSeconds: Int = cacheControl.minFreshSeconds
        val onlyIfCached: Boolean = cacheControl.onlyIfCached
        val noTransform: Boolean = cacheControl.noTransform
        val immutable: Boolean = cacheControl.immutable
        val forceCache: CacheControl = CacheControl.FORCE_CACHE
        val forceNetwork: CacheControl = CacheControl.FORCE_NETWORK
        val parse: CacheControl = CacheControl.parse(headersOf())
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 46.5K bytes
    - Viewed (4)
Back to top