Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for chung (0.13 sec)

  1. cmd/test-utils_test.go

    	"Content-Type":  true,
    	"Content-Md5":   true,
    	"User-Agent":    true,
    }
    
    // calculateSignedChunkLength - calculates the length of chunk metadata
    func calculateSignedChunkLength(chunkDataSize int64) int64 {
    	return int64(len(fmt.Sprintf("%x", chunkDataSize))) +
    		17 + // ";chunk-signature="
    		64 + // e.g. "f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2"
    		2 + // CRLF
    		chunkDataSize +
    		2 // CRLF
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/EventListenerTest.kt

      }
    
      private inner class NonCompletingRequestBody : RequestBody() {
        private val chunk: ByteArray? = ByteArray(1024 * 1024)
        var ioe: IOException? = null
    
        override fun contentType(): MediaType? {
          return "text/plain".toMediaType()
        }
    
        override fun contentLength(): Long {
          return chunk!!.size * 8L
        }
    
        override fun writeTo(sink: BufferedSink) {
          try {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  3. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      // remaining items is unknown and the field will be left unset and omitted during serialization.
      // If the list is complete (either because it is not chunking or because this is the last chunk),
      // then there are no more remaining items and this field will be left unset and omitted during
      // serialization.
      // Servers older than v1.15 do not set this field.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 53.3K bytes
    - Viewed (0)
Back to top