Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for commonTag (0.15 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: Sun Jun 16 04:42:17 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: Sun Jun 16 04:42:17 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: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sun May 20 08:20:11 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  4. src/net/addrselect.go

    	// problems (see issues 13283 and 18518), so limit to IPv6.
    	if DA.To4() == nil && DB.To4() == nil {
    		commonA := commonPrefixLen(SourceDA, DA)
    		commonB := commonPrefixLen(SourceDB, DB)
    
    		if commonA > commonB {
    			return preferDA
    		}
    		if commonA < commonB {
    			return preferDB
    		}
    	}
    
    	// Rule 10: Otherwise, leave the order unchanged.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 00:24:06 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  5. 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top