Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for commonTag (0.14 sec)

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

         */
        fun <T : Any> tag(
          type: KClass<T>,
          tag: T?,
        ): Builder = commonTag(type, type.cast(tag))
    
        /** Attaches [tag] to the request using `Object.class` as a key. */
        open fun tag(tag: Any?): Builder = commonTag(Any::class, tag)
    
        /**
         * Attaches [tag] to the request using [type] as a key. Tags can be read from a
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:17:44 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/-RequestCommon.kt

          require(HttpMethod.permitsRequestBody(method)) {
            "method $method must not have a request body."
          }
        }
        this.method = method
        this.body = body
      }
    
    fun <T : Any> Request.Builder.commonTag(
      type: KClass<T>,
      tag: T?,
    ) = apply {
      if (tag == null) {
        if (tags.isNotEmpty()) {
          (tags as MutableMap).remove(type)
        }
      } else {
        val mutableTags: MutableMap<KClass<*>, Any> =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. dbflute_fess/dfprop/lastafluteMap.dfprop

    #
    # Specification:
    # map:{
    #     ; serviceName = [your service name]
    #     ; domainPackage = [package]
    #     ; environmentList = list:{ [environment name] }
    #     ; isMakeActionHtml = [true or false]
    #     ; commonMap = map:{
    #         ; path = [relative path to common project from DBFlute client]
    #         ; freeGenList = list:{ [env or config or label or message or html] }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun May 20 08:20:11 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  4. cmd/erasure-healing-common.go

    func commonTime(modTimes []time.Time, quorum int) time.Time {
    	if modTime, count := commonTimeAndOccurrence(modTimes, 0); count >= quorum {
    		return modTime
    	}
    
    	return timeSentinel
    }
    
    func commonETag(etags []string, quorum int) string {
    	if etag, count := commonETags(etags); count >= quorum {
    		return etag
    	}
    	return ""
    }
    
    // Beginning of unix time is treated as sentinel value here.
    var (
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top