Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 915 for iovecs (0.28 sec)

  1. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/sparse_test.go

    	scheme.AddKnownTypes(v1, &FakeV1Obj{})
    	scheme.AddKnownTypes(v2, &FakeV2DifferentObj{})
    	codecs := NewCodecFactory(scheme)
    
    	srcObj1 := &FakeV1Obj{ObjectMeta: metav1.ObjectMeta{Name: "foo"}}
    	srcObj2 := &FakeV2DifferentObj{ObjectMeta: metav1.ObjectMeta{Name: "foo"}}
    
    	encoder := codecs.LegacyCodec(v2, v1)
    	decoder := codecs.UniversalDecoder(v2, v1)
    
    	srcObj1Bytes, err := runtime.Encode(encoder, srcObj1)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/ztypes_aix_ppc.go

    	Pad  [1012]uint8
    }
    
    type _Socklen uint32
    
    type Cmsghdr struct {
    	Len   uint32
    	Level int32
    	Type  int32
    }
    
    type ICMPv6Filter struct {
    	Filt [8]uint32
    }
    
    type Iovec struct {
    	Base *byte
    	Len  uint32
    }
    
    type IPMreq struct {
    	Multiaddr [4]byte /* in_addr */
    	Interface [4]byte /* in_addr */
    }
    
    type IPv6Mreq struct {
    	Multiaddr [16]byte /* in6_addr */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/syscall_aix_ppc.go

    func setTimespec(sec, nsec int64) Timespec {
    	return Timespec{Sec: int32(sec), Nsec: int32(nsec)}
    }
    
    func setTimeval(sec, usec int64) Timeval {
    	return Timeval{Sec: int32(sec), Usec: int32(usec)}
    }
    
    func (iov *Iovec) SetLen(length int) {
    	iov.Len = uint32(length)
    }
    
    func (msghdr *Msghdr) SetControllen(length int) {
    	msghdr.Controllen = uint32(length)
    }
    
    func (msghdr *Msghdr) SetIovlen(length int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go

    	return Timeval{Sec: sec, Usec: int32(usec)}
    }
    
    func SetKevent(k *Kevent_t, fd, mode, flags int) {
    	k.Ident = uint32(fd)
    	k.Filter = int16(mode)
    	k.Flags = uint16(flags)
    }
    
    func (iov *Iovec) SetLen(length int) {
    	iov.Len = uint32(length)
    }
    
    func (msghdr *Msghdr) SetControllen(length int) {
    	msghdr.Controllen = uint32(length)
    }
    
    func (msghdr *Msghdr) SetIovlen(length int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/apis/example/fuzzer/fuzzer.go

    			// Convert the object to raw bytes
    			bytes, err := runtime.Encode(apitesting.TestCodec(codecs, examplev1.SchemeGroupVersion), obj)
    			if err != nil {
    				panic(fmt.Sprintf("Failed to encode object: %v", err))
    			}
    
    			// Set the bytes field on the RawExtension
    			r.Raw = bytes
    		},
    	}
    }
    
    func exampleFuncs(codecs runtimeserializer.CodecFactory) []interface{} {
    	return []interface{}{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 01 19:31:12 UTC 2018
    - 3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/apis/testapigroup/fuzzer/fuzzer.go

    			// Convert the object to raw bytes
    			bytes, err := runtime.Encode(apitesting.TestCodec(codecs, v1.SchemeGroupVersion), obj)
    			if err != nil {
    				panic(fmt.Sprintf("Failed to encode object: %v", err))
    			}
    
    			// Set the bytes field on the RawExtension
    			r.Raw = bytes
    		},
    	}
    }
    
    func testapigroupFuncs(codecs runtimeserializer.CodecFactory) []interface{} {
    	return []interface{}{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 01 19:31:12 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  7. pkg/api/testing/serialization_proto_test.go

    	d := legacyscheme.Codecs.UniversalDeserializer()
    	for _, mediaType := range []string{"application/json", "application/yaml", "application/vnd.kubernetes.protobuf"} {
    		info, ok := runtime.SerializerInfoForMediaType(legacyscheme.Codecs.SupportedMediaTypes(), mediaType)
    		if !ok {
    			t.Fatal(mediaType)
    		}
    		buf := &bytes.Buffer{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 25 16:23:43 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/cli-runtime/pkg/resource/scheme.go

    // serializer for the rest.client with options, status and the like.
    func UnstructuredPlusDefaultContentConfig() rest.ContentConfig {
    	// TODO: scheme.Codecs here should become "pkg/apis/server/scheme" which is the minimal core you need
    	// to talk to a kubernetes server
    	jsonInfo, _ := runtime.SerializerInfoForMediaType(scheme.Codecs.SupportedMediaTypes(), runtime.ContentTypeJSON)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 21 15:58:15 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/syscall_openbsd_mips64.go

    	return Timeval{Sec: sec, Usec: usec}
    }
    
    func SetKevent(k *Kevent_t, fd, mode, flags int) {
    	k.Ident = uint64(fd)
    	k.Filter = int16(mode)
    	k.Flags = uint16(flags)
    }
    
    func (iov *Iovec) SetLen(length int) {
    	iov.Len = uint64(length)
    }
    
    func (msghdr *Msghdr) SetControllen(length int) {
    	msghdr.Controllen = uint32(length)
    }
    
    func (msghdr *Msghdr) SetIovlen(length int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 04 17:12:04 UTC 2022
    - 955 bytes
    - Viewed (0)
  10. pkg/kubelet/apis/config/scheme/scheme.go

    	if err := kubeletconfigv1beta1.AddToScheme(scheme); err != nil {
    		return nil, nil, err
    	}
    	if err := kubeletconfigv1.AddToScheme(scheme); err != nil {
    		return nil, nil, err
    	}
    	codecs := serializer.NewCodecFactory(scheme, mutators...)
    	return scheme, &codecs, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 09 06:11:06 UTC 2022
    - 1.7K bytes
    - Viewed (0)
Back to top