Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 223 for mapvar (0.22 sec)

  1. staging/src/k8s.io/cli-runtime/pkg/resource/kustomizevisitor_test.go

    	fSys.WriteFile("namespace.yaml", []byte(namespaceContent))
    	fSys.WriteFile("jsonpatch.json", []byte(jsonpatchContent))
    	b := newDefaultBuilder()
    	kv := KustomizeVisitor{
    		mapper:  b.mapper,
    		dirPath: ".",
    		schema:  b.schema,
    		fSys:    fSys,
    	}
    	tv := &testVisitor{}
    	if err := kv.Visit(tv.Handle); err != nil {
    		t.Fatal(err)
    	}
    	if len(tv.Infos) != 4 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 14 00:05:53 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. src/go/doc/comment/std.go

    //go:generate ./mkstd.sh
    
    package comment
    
    var stdPkgs = []string{
    	"bufio",
    	"bytes",
    	"cmp",
    	"context",
    	"crypto",
    	"embed",
    	"encoding",
    	"errors",
    	"expvar",
    	"flag",
    	"fmt",
    	"hash",
    	"html",
    	"image",
    	"io",
    	"iter",
    	"log",
    	"maps",
    	"math",
    	"mime",
    	"net",
    	"os",
    	"path",
    	"plugin",
    	"reflect",
    	"regexp",
    	"runtime",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 21:19:39 UTC 2024
    - 671 bytes
    - Viewed (0)
  3. src/net/fd_unix.go

    	switch err := connectFunc(fd.pfd.Sysfd, ra); err {
    	case syscall.EINPROGRESS, syscall.EALREADY, syscall.EINTR:
    	case nil, syscall.EISCONN:
    		select {
    		case <-ctx.Done():
    			return nil, mapErr(ctx.Err())
    		default:
    		}
    		if err := fd.pfd.Init(fd.net, true); err != nil {
    			return nil, err
    		}
    		runtime.KeepAlive(fd)
    		return nil, nil
    	case syscall.EINVAL:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 20:19:46 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/v2/conversion.go

    func ToStructuralOpenAPIV2(in *structuralschema.Structural) *structuralschema.Structural {
    	if in == nil {
    		return nil
    	}
    
    	out := in.DeepCopy()
    
    	// Remove unsupported fields in OpenAPI v2 recursively
    	mapper := structuralschema.Visitor{
    		Structural: func(s *structuralschema.Structural) bool {
    			changed := false
    			if s.ValueValidation != nil {
    				if s.ValueValidation.AllOf != nil {
    					s.ValueValidation.AllOf = nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 09 20:23:50 UTC 2020
    - 3.5K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultPluginConfigurationExpander.java

                    return plugin;
                }
            });
        }
    
        static <T> List<T> map(List<T> list, Function<T, T> mapper) {
            List<T> newList = list;
            for (int i = 0; i < newList.size(); i++) {
                T oldT = newList.get(i);
                T newT = mapper.apply(oldT);
                if (newT != oldT) {
                    if (newList == list) {
                        newList = new ArrayList<>(list);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. tests/integration/ambient/gateway_conformance_test.go

    					namespace.Claim(ctx, namespace.Config{
    						Prefix: ns,
    						Inject: false,
    					})
    				}
    			}
    
    			mapper, _ := gatewayConformanceInputs.Client.UtilFactory().ToRESTMapper()
    			c, err := client.New(gatewayConformanceInputs.Client.RESTConfig(), client.Options{
    				Scheme: kube.IstioScheme,
    				Mapper: mapper,
    			})
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			hostnameType := v1.AddressType("Hostname")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/mmap_nomremap.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build aix || darwin || dragonfly || freebsd || openbsd || solaris || zos
    
    package unix
    
    var mapper = &mmapper{
    	active: make(map[*byte][]byte),
    	mmap:   mmap,
    	munmap: munmap,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 343 bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/api/meta/testrestmapper/test_restmapper.go

    			scope := meta.RESTScopeNamespace
    			if rootScopedKinds[gv.WithKind(kind).GroupKind()] {
    				scope = meta.RESTScopeRoot
    			}
    			mapper.Add(gv.WithKind(kind), scope)
    		}
    	}
    
    	return mapper
    }
    
    // hardcoded is good enough for the test we're running
    var rootScopedKinds = map[schema.GroupKind]bool{
    	{Group: "admission.k8s.io", Kind: "AdmissionReview"}: true,
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 06 09:07:02 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  9. test/typeparam/mapimp.dir/a.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package a
    
    // Map calls the function f on every element of the slice s,
    // returning a new slice of the results.
    func Mapper[F, T any](s []F, f func(F) T) []T {
    	r := make([]T, len(s))
    	for i, v := range s {
    		r[i] = f(v)
    	}
    	return r
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 28 21:40:40 UTC 2021
    - 397 bytes
    - Viewed (0)
  10. tensorflow/c/kernels_experimental.cc

      updateFunc(ctx, tf_var_tensor, tf_value, Op);
      TF_SetStatus(tf_status, TF_OK, "");
    }
    
    struct TmpVar : public ResourceBase {
      tensorflow::mutex mu;
      Tensor val;
      std::string name;
      std::string DebugString() const override { return name; }
      ~TmpVar() override { VLOG(3) << "TmpVar " << name << " deleted"; }
    };
    
    // Makes a unique name for a temporary variable inside a while loop body,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:12:29 UTC 2024
    - 30.9K bytes
    - Viewed (0)
Back to top