Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,030 for encodeTo (0.14 sec)

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

          val newKey = key?.lowercase(US)
          newAuthParams[newKey] = value
        }
        this.authParams = unmodifiableMap<String?, String>(newAuthParams)
      }
    
      /** Returns a copy of this charset that expects a credential encoded with [charset]. */
      fun withCharset(charset: Charset): Challenge {
        val authParams = this.authParams.toMutableMap()
        authParams["charset"] = charset.name()
        return Challenge(scheme, authParams)
      }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. pkg/log/uds.go

    	"go.uber.org/zap/buffer"
    	"go.uber.org/zap/zapcore"
    )
    
    // An udsCore write entries to an UDS server with HTTP Post. Log messages will be encoded into a JSON array.
    type udsCore struct {
    	client       http.Client
    	minimumLevel zapcore.Level
    	url          string
    	enc          zapcore.Encoder
    	buffers      []*buffer.Buffer
    	mu           sync.Mutex
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 16 00:20:01 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheEncryptionIntegrationTest.groovy

        String encryptionKeyAsBase64
    
        def setup() {
            keyStoreDir = new TestFile(testDirectory, 'keystores')
            encryptionKeyText = "01234567890123456789012345678901"
            encryptionKeyAsBase64 = Base64.encoder.encodeToString(encryptionKeyText.getBytes(StandardCharsets.UTF_8))
        }
    
        def "configuration cache can be loaded without errors from #source using #encryptionTransformation"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. src/net/rpc/jsonrpc/client.go

    package jsonrpc
    
    import (
    	"encoding/json"
    	"fmt"
    	"io"
    	"net"
    	"net/rpc"
    	"sync"
    )
    
    type clientCodec struct {
    	dec *json.Decoder // for reading JSON values
    	enc *json.Encoder // for writing JSON values
    	c   io.Closer
    
    	// temporary work space
    	req  clientRequest
    	resp clientResponse
    
    	// JSON-RPC responses include the request id but not the request method.
    	// Package rpc expects both.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. internal/bucket/replication/destination.go

    // used for multi-destination targets
    func (d Destination) TargetArn() bool {
    	return strings.HasPrefix(d.ARN, DestinationARNMinIOPrefix)
    }
    
    // MarshalXML - encodes to XML data.
    func (d Destination) MarshalXML(e *xml.Encoder, start xml.StartElement) error {
    	if err := e.EncodeToken(start); err != nil {
    		return err
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. src/net/rpc/jsonrpc/server.go

    	"errors"
    	"io"
    	"net/rpc"
    	"sync"
    )
    
    var errMissingParams = errors.New("jsonrpc: request body missing params")
    
    type serverCodec struct {
    	dec *json.Decoder // for reading JSON values
    	enc *json.Encoder // for writing JSON values
    	c   io.Closer
    
    	// temporary work space
    	req serverRequest
    
    	// JSON-RPC clients can use arbitrary json values as request IDs.
    	// Package rpc expects uint64 request IDs.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. src/net/rpc/client.go

    // codec to encode requests and decode responses.
    func NewClientWithCodec(codec ClientCodec) *Client {
    	client := &Client{
    		codec:   codec,
    		pending: make(map[uint64]*Call),
    	}
    	go client.input()
    	return client
    }
    
    type gobClientCodec struct {
    	rwc    io.ReadWriteCloser
    	dec    *gob.Decoder
    	enc    *gob.Encoder
    	encBuf *bufio.Writer
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 9K bytes
    - Viewed (0)
  8. platforms/software/resources/src/main/java/org/gradle/internal/resource/TextResource.java

         * A short display name for this resource. The display name may use relative paths.
         */
        DisplayName getShortDisplayName();
    
        /**
         * Returns a file that contains the same content as this resource, encoded using the charset specified by {@link #getCharset()}.
         * Not all resources are available as a file.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  9. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

                  .addQueryParameter("hostname", hostname).build(),
              )
              .post(query.toRequestBody(DNS_MESSAGE))
          } else {
            val encoded = query.base64Url().replace("=", "")
            val requestUrl = url.newBuilder().addQueryParameter("dns", encoded).build()
    
            url(requestUrl)
          }
        }.build()
    
      class Builder {
        internal var client: OkHttpClient? = null
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Fri Mar 22 07:09:21 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

      )
      fun keyPair(): KeyPair = keyPair
    
      /**
       * Returns the certificate encoded in [PEM format][rfc_7468].
       *
       * [rfc_7468]: https://tools.ietf.org/html/rfc7468
       */
      fun certificatePem(): String = certificate.certificatePem()
    
      /**
       * Returns the private key encoded in [PKCS #8][rfc_5208] [PEM format][rfc_7468].
       *
       * [rfc_5208]: https://tools.ietf.org/html/rfc5208
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.6K bytes
    - Viewed (0)
Back to top