Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 55 for ptrmap (0.29 sec)

  1. guava/src/com/google/common/base/Functions.java

          Map<K, V> map) {
        return new FunctionForMapNoDefault<>(map);
      }
    
      /**
       * Returns a function which performs a map lookup with a default value. The function created by
       * this method returns {@code defaultValue} for all inputs that do not belong to the map's key
       * set. See also {@link #forMap(Map)}, which throws an exception in this case.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/check_test.go

    			delete(filemap, line)
    		}
    
    		// if filemap is empty, eliminate from errmap
    		if len(filemap) == 0 {
    			delete(errmap, filename)
    		}
    	}
    
    	// there should be no expected errors left
    	if len(errmap) > 0 {
    		t.Errorf("--- %s: unreported errors:", pkgName)
    		for filename, filemap := range errmap {
    			for line, errList := range filemap {
    				for _, err := range errList {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/envoyfilter/rc_patch.go

    	})
    	// In case the patches cause panic, use the route generated before to reduce the influence.
    	out = routeConfiguration
    	if efw == nil {
    		return out
    	}
    
    	var portMap model.GatewayPortMap
    	if proxy.MergedGateway != nil {
    		portMap = proxy.MergedGateway.PortMap
    	}
    
    	// only merge is applicable for route configuration.
    	for _, rp := range efw.Patches[networking.EnvoyFilter_ROUTE_CONFIGURATION] {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Functions.java

          Map<K, V> map) {
        return new FunctionForMapNoDefault<>(map);
      }
    
      /**
       * Returns a function which performs a map lookup with a default value. The function created by
       * this method returns {@code defaultValue} for all inputs that do not belong to the map's key
       * set. See also {@link #forMap(Map)}, which throws an exception in this case.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. pkg/controller/deployment/deployment_controller_test.go

    	}
    	if got, want := len(podMap[rs1.UID]), 2; got != want {
    		t.Errorf("len(podMap[rs1]) = %v, want %v", got, want)
    	}
    	expect := map[string]struct{}{"rs1-pod": {}, "pod4": {}}
    	for _, pod := range podMap[rs1.UID] {
    		if _, ok := expect[pod.Name]; !ok {
    			t.Errorf("unexpected pod name for rs1: %s", pod.Name)
    		}
    	}
    	if got, want := len(podMap[rs2.UID]), 1; got != want {
    		t.Errorf("len(podMap[rs2]) = %v, want %v", got, want)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  6. pkg/proxy/winkernel/hns.go

    		if len(lb.FrontendVIPs) == 0 {
    			// Leave VIP uninitialized
    			id = loadBalancerIdentifier{protocol: uint16(portMap.Protocol), internalPort: portMap.InternalPort, externalPort: portMap.ExternalPort, endpointsHash: hash}
    		} else {
    			id = loadBalancerIdentifier{protocol: uint16(portMap.Protocol), internalPort: portMap.InternalPort, externalPort: portMap.ExternalPort, vip: lb.FrontendVIPs[0], endpointsHash: hash}
    		}
    		loadBalancers[id] = &loadBalancerInfo{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 09 21:21:12 UTC 2023
    - 15K bytes
    - Viewed (0)
  7. src/internal/coverage/cfile/emit.go

    		return fmt.Errorf("error: meta-data not available (binary not built with -cover?)")
    	}
    
    	// Ask the runtime for the list of coverage counter symbols.
    	pm := rtcov.Meta.PkgMap
    	s := &emitState{
    		counterlist: cl,
    		pkgmap:      pm,
    		outdir:      outdir,
    		debug:       os.Getenv("GOCOVERDEBUG") != "",
    	}
    
    	// Open output file.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/envoyfilter/rc_patch_test.go

    					},
    				},
    				rc: &route.RouteConfiguration{Name: "http.8443"},
    				portMap: map[int]sets.Set[int]{
    					8443: {443: {}},
    				},
    			},
    			want: true,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			if got := routeConfigurationMatch(tt.args.patchContext, tt.args.rc, tt.args.cp, tt.args.portMap); got != tt.want {
    				t.Errorf("routeConfigurationMatch() = %v, want %v", got, tt.want)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/cmd/upgrade/plan.go

    }
    
    // sortedSliceFromStringStringArrayMap returns a slice of the keys in the map sorted alphabetically
    func sortedSliceFromStringStringArrayMap(strMap map[string][]string) []string {
    	strSlice := []string{}
    	for k := range strMap {
    		strSlice = append(strSlice, k)
    	}
    	sort.Strings(strSlice)
    	return strSlice
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 03:03:29 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/helpers.go

    		return nil, found, err
    	}
    	strMap := make(map[string]string, len(m))
    	for k, v := range m {
    		if str, ok := v.(string); ok {
    			strMap[k] = str
    		} else {
    			return nil, false, fmt.Errorf("%v accessor error: contains non-string value in the map under key %q: %v is of the type %T, expected string", jsonPath(fields), k, v, v)
    		}
    	}
    	return strMap, true, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 29 20:39:55 UTC 2023
    - 16.3K bytes
    - Viewed (0)
Back to top