Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 4,367 for codec (0.24 sec)

  1. istioctl/pkg/proxystatus/proxystatus_test.go

    		tf := cmdtesting.NewTestFactory()
    		_, _, codec := cmdtesting.NewExternalScheme()
    		tf.UnstructuredClient = &fake.RESTClient{
    			NegotiatedSerializer: resource.UnstructuredPlusDefaultContentConfig().NegotiatedSerializer,
    			Resp: &http.Response{
    				StatusCode: http.StatusOK,
    				Header:     cmdtesting.DefaultHeader(),
    				Body: cmdtesting.ObjBody(codec,
    					cmdtesting.NewInternalType("", "", "foo")),
    			},
    		}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 15 08:28:50 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  2. istioctl/pkg/multicluster/remote_secret.go

    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/config/labels"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/kube/multicluster"
    	"istio.io/istio/pkg/log"
    )
    
    var (
    	codec  runtime.Codec
    	scheme *runtime.Scheme
    
    	tokenWaitBackoff = time.Second
    )
    
    func init() {
    	scheme = runtime.NewScheme()
    	utilruntime.Must(v1.AddToScheme(scheme))
    	opt := json.SerializerOptions{
    		Yaml:   true,
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Oct 11 01:43:17 GMT 2023
    - 24K bytes
    - Viewed (0)
  3. istioctl/pkg/ztunnelconfig/ztunnelconfig_test.go

    		tf := cmdtesting.NewTestFactory()
    		_, _, codec := cmdtesting.NewExternalScheme()
    		tf.UnstructuredClient = &fake.RESTClient{
    			NegotiatedSerializer: resource.UnstructuredPlusDefaultContentConfig().NegotiatedSerializer,
    			Resp: &http.Response{
    				StatusCode: http.StatusOK,
    				Header:     cmdtesting.DefaultHeader(),
    				Body: cmdtesting.ObjBody(codec,
    					cmdtesting.NewInternalType("", "", "foo")),
    			},
    		}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Apr 10 21:51:29 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  4. src/cmd/api/testdata/src/pkg/p1/golden.txt

    pkg p1, method (TPtrUnexported) OnBothTandBVal()
    pkg p1, type B struct
    pkg p1, type ByteStruct struct
    pkg p1, type ByteStruct struct, B uint8
    pkg p1, type ByteStruct struct, R int32
    pkg p1, type Codec struct
    pkg p1, type Codec struct, Func func(int, int) int
    pkg p1, type EmbedSelector struct
    pkg p1, type EmbedSelector struct, embedded Time
    pkg p1, type EmbedURLPtr struct
    pkg p1, type EmbedURLPtr struct, embedded *URL
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 3.6K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http/ExchangeCodec.kt

    import okhttp3.internal.connection.RealCall
    import okio.Sink
    import okio.Source
    
    /** Encodes HTTP requests and decodes HTTP responses. */
    interface ExchangeCodec {
      /** The connection or CONNECT tunnel that owns this codec. */
      val carrier: Carrier
    
      /** Returns an output stream where the request body can be streamed. */
      @Throws(IOException::class)
      fun createRequestBody(
        request: Request,
        contentLength: Long,
      ): Sink
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3K bytes
    - Viewed (0)
  6. src/cmd/api/testdata/src/pkg/p1/p1.go

    func Bar2(x int8, y int16, z int64) (uint8, uint64) {}
    func BarE() Error                                   {}
    
    func unexported(x int8, y int16, z int64) {}
    
    func TakesFunc(f func(dontWantName int) int)
    
    type Codec struct {
    	Func func(x int, y int) (z int)
    }
    
    type SI struct {
    	I int
    }
    
    var SIVal = SI{}
    var SIPtr = &SI{}
    var SIPtr2 *SI
    
    type T struct {
    	common
    }
    
    type B struct {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 3.3K bytes
    - Viewed (0)
  7. internal/dsync/dsync-client_test.go

    	case errLockConflict.Error():
    		return errLockConflict
    	case errLockNotFound.Error():
    		return errLockNotFound
    	}
    	return err
    }
    
    // Call makes a REST call to the remote endpoint using the msgp codec
    func (restClient *ReconnectRESTClient) Call(method string, args LockArgs) (status bool, err error) {
    	buf, err := args.MarshalMsg(nil)
    	if err != nil {
    		return false, err
    	}
    	body := bytes.NewReader(buf)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 20 17:36:09 GMT 2022
    - 4.4K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

          check(!requestBodyOpen)
        }
    
        val exchangeFinder = this.exchangeFinder!!
        val connection = exchangeFinder.find()
        val codec = connection.newCodec(client, chain)
        val result = Exchange(this, eventListener, exchangeFinder, codec)
        this.interceptorScopedExchange = result
        this.exchange = result
        this.withLock {
          this.requestBodyOpen = true
          this.responseBodyOpen = true
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 17.9K bytes
    - Viewed (2)
  9. build-logic/dependency-modules/src/main/kotlin/gradlebuild/modules/extension/ExternalModulesExtension.kt

        val bouncycastleProvider = "org.bouncycastle:bcprov-jdk18on"
        val bsh = "org.apache-extras.beanshell:bsh"
        val capsule = "io.usethesource:capsule"
        val commonsCodec = "commons-codec:commons-codec"
        val commonsCompress = "org.apache.commons:commons-compress"
        val commonsHttpclient = "org.apache.httpcomponents:httpclient"
        val commonsIo = "commons-io:commons-io"
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 16 15:50:58 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  10. internal/event/target/kafka.go

    	EnvKafkaBatchSize                = "MINIO_NOTIFY_KAFKA_BATCH_SIZE"
    	EnvKafkaProducerCompressionCodec = "MINIO_NOTIFY_KAFKA_PRODUCER_COMPRESSION_CODEC"
    	EnvKafkaProducerCompressionLevel = "MINIO_NOTIFY_KAFKA_PRODUCER_COMPRESSION_LEVEL"
    )
    
    var codecs = map[string]sarama.CompressionCodec{
    	"none":   sarama.CompressionNone,
    	"gzip":   sarama.CompressionGZIP,
    	"snappy": sarama.CompressionSnappy,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 13K bytes
    - Viewed (0)
Back to top