Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 137 for GV (0.04 sec)

  1. src/cmd/compile/internal/test/memcombine_test.go

    // license that can be found in the LICENSE file.
    
    package test
    
    import (
    	"encoding/binary"
    	"testing"
    )
    
    var gv = [16]byte{0, 1, 2, 3, 4, 5, 6, 7, 8}
    
    //go:noinline
    func readGlobalUnaligned() uint64 {
    	return binary.LittleEndian.Uint64(gv[1:])
    }
    
    func TestUnalignedGlobal(t *testing.T) {
    	// Note: this is a test not so much of the result of the read, but of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 30 18:35:50 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/filters/authentication.go

    		if !found {
    			responsewriters.InternalError(w, req, errors.New("no RequestInfo found in the context"))
    			return
    		}
    
    		gv := schema.GroupVersion{Group: requestInfo.APIGroup, Version: requestInfo.APIVersion}
    		responsewriters.ErrorNegotiated(apierrors.NewUnauthorized("Unauthorized"), s, gv, w, req)
    	})
    }
    
    func audiencesAreAcceptable(apiAuds, responseAudiences authenticator.Audiences) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 12 20:54:07 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/runtime/interfaces.go

    	// serializer are in the provided group version.
    	EncoderForVersion(serializer Encoder, gv GroupVersioner) Encoder
    	// DecoderToVersion returns a decoder that ensures objects being read by the provided
    	// serializer are in the provided group version by default.
    	DecoderToVersion(serializer Decoder, gv GroupVersioner) Decoder
    }
    
    // ClientNegotiator handles turning an HTTP content type into the appropriate encoder.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun May 28 03:26:35 UTC 2023
    - 19K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/unstructured_list.go

    	u.SetAPIVersion(gvk.GroupVersion().String())
    	u.SetKind(gvk.Kind)
    }
    
    func (u *UnstructuredList) GroupVersionKind() schema.GroupVersionKind {
    	gv, err := schema.ParseGroupVersion(u.GetAPIVersion())
    	if err != nil {
    		return schema.GroupVersionKind{}
    	}
    	gvk := gv.WithKind(u.GetKind())
    	return gvk
    }
    
    func (u *UnstructuredList) setNestedField(value interface{}, fields ...string) {
    	if u.Object == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun May 28 04:46:35 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modcmd/vendor.go

    		modpkgs[m] = append(modpkgs[m], pkg)
    	}
    	checkPathCollisions(modpkgs)
    
    	includeAllReplacements := false
    	includeGoVersions := false
    	isExplicit := map[module.Version]bool{}
    	gv := modload.MainModules.GoVersion()
    	if gover.Compare(gv, "1.14") >= 0 && (modload.FindGoWork(base.Cwd()) != "" || modload.ModFile().Go != nil) {
    		// If the Go version is at least 1.14, annotate all explicit 'require' and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 14:19:59 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_handler.go

    }
    
    func (s unstructuredNegotiatedSerializer) EncoderForVersion(encoder runtime.Encoder, gv runtime.GroupVersioner) runtime.Encoder {
    	return versioning.NewCodec(encoder, nil, s.converter, Scheme, Scheme, Scheme, gv, nil, "crdNegotiatedSerializer")
    }
    
    func (s unstructuredNegotiatedSerializer) DecoderToVersion(decoder runtime.Decoder, gv runtime.GroupVersioner) runtime.Decoder {
    	returnUnknownFieldPaths := false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/util/config/initconfiguration.go

    // ClusterConfiguration object with ComponentConfigs out as separate YAML documents
    func MarshalInitConfigurationToBytes(cfg *kubeadmapi.InitConfiguration, gv schema.GroupVersion) ([]byte, error) {
    	initbytes, err := kubeadmutil.MarshalToYamlForCodecs(cfg, gv, kubeadmscheme.Codecs)
    	if err != nil {
    		return []byte{}, err
    	}
    	allFiles := [][]byte{initbytes}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 05 12:41:16 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/deleted_kinds.go

    	} else {
    		ret.serveRemovedAPIsOneMoreRelease = envBool
    	}
    
    	return ret, nil
    }
    
    func (e *resourceExpirationEvaluator) shouldServe(gv schema.GroupVersion, versioner runtime.ObjectVersioner, resourceServingInfo rest.Storage) bool {
    	internalPtr := resourceServingInfo.New()
    
    	target := gv
    	// honor storage that overrides group version (used for things like scale subresources)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 16 03:02:49 UTC 2022
    - 7.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/conversion/nop_converter.go

    // nopConverter is a converter that only sets the apiVersion fields, but does not real conversion.
    type nopConverter struct {
    }
    
    var _ crConverterInterface = &nopConverter{}
    
    // ConvertToVersion converts in object to the given gv in place and returns the same `in` object.
    func (c *nopConverter) Convert(in runtime.Object, targetGV schema.GroupVersion) (runtime.Object, error) {
    	// Run the converter on the list items instead of list itself
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 13 15:27:39 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/endpoints/filters/request_deadline.go

    		if !found {
    			responsewriters.InternalError(w, req, errors.New("no RequestInfo found in the context"))
    			return
    		}
    
    		gv := schema.GroupVersion{Group: requestInfo.APIGroup, Version: requestInfo.APIVersion}
    		responsewriters.ErrorNegotiated(statusError, s, gv, w, req)
    	})
    }
    
    // parseTimeout parses the given HTTP request URL and extracts the timeout query parameter
    // value if specified by the user.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 05 21:12:12 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top