Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for commonTag (0.41 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. 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