Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 39 for protMap (0.15 sec)

  1. src/test/java/org/codelibs/fess/util/ParameterUtilTest.java

    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class ParameterUtilTest extends UnitFessTestCase {
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            FessProp.propMap.clear();
            FessConfig fessConfig = new FessConfig.SimpleImpl() {
                @Override
                public String getAppEncryptPropertyPattern() {
                    return ".*password|.*key";
                }
            };
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/net/http/httpproxy/proxy.go

    	}
    }
    
    var portMap = map[string]string{
    	"http":   "80",
    	"https":  "443",
    	"socks5": "1080",
    }
    
    // canonicalAddr returns url.Host but always with a ":port" suffix
    func canonicalAddr(url *url.URL) string {
    	addr := url.Hostname()
    	if v, err := idnaASCII(addr); err == nil {
    		addr = v
    	}
    	port := url.Port()
    	if port == "" {
    		port = portMap[url.Scheme]
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 00:09:40 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. pilot/pkg/model/endpointshards.go

    // the results by service port number. This is a bit weird, but lets us efficiently construct the format the caller needs.
    func (es *EndpointShards) CopyEndpoints(portMap map[string]int, ports sets.Set[int]) map[int][]*IstioEndpoint {
    	es.RLock()
    	defer es.RUnlock()
    	res := map[int][]*IstioEndpoint{}
    	for _, v := range es.Shards {
    		for _, ep := range v {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  4. pilot/pkg/networking/grpcgen/lds.go

    			ln.RequestedNames.Insert(requestedName)
    
    			// only build the portmap if we aren't filtering this name yet, or if the existing filter is non-empty
    			if hasPort && (!ok || len(ln.Ports) != 0) {
    				if ln.Ports == nil {
    					ln.Ports = map[string]struct{}{}
    				}
    				ln.Ports.Insert(port)
    			} else if !hasPort {
    				// if we didn't have a port, we should clear the portmap
    				ln.Ports = nil
    			}
    			filter[name] = ln
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/serviceentry/conversion.go

    			// if not port name not match, use the targetPort specified in ServiceEntry
    			// if both not matched, fallback to ServiceEntry port number.
    			var targetPort uint32
    			if port, ok := workloadInstance.PortMap[serviceEntryPort.Name]; ok && port > 0 {
    				targetPort = port
    			} else if serviceEntryPort.TargetPort > 0 {
    				targetPort = serviceEntryPort.TargetPort
    			} else {
    				targetPort = serviceEntryPort.Number
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  6. pilot/pkg/model/gateway.go

    	// clusters to be sent to the workload
    	ContainsAutoPassthroughGateways bool
    
    	// PortMap defines a mapping of targetPorts to the set of Service ports that reference them
    	PortMap GatewayPortMap
    
    	// VerifiedCertificateReferences contains a set of all credentialNames referenced by gateways *in the same namespace as the proxy*.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 26K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/kube/controller/pod.go

    	workloadInstance := &model.WorkloadInstance{
    		Name:      pod.Name,
    		Namespace: pod.Namespace,
    		Kind:      model.PodKind,
    		Endpoint:  ep,
    		PortMap:   getPortMap(pod),
    	}
    	pc.c.handlers.NotifyWorkloadHandlers(workloadInstance, ev)
    }
    
    func getPortMap(pod *v1.Pod) map[string]uint32 {
    	pmap := map[string]uint32{}
    	for _, c := range pod.Spec.Containers {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. src/runtime/pprof/proto.go

    // stream of profile samples delivered by the runtime.
    type profileBuilder struct {
    	start      time.Time
    	end        time.Time
    	havePeriod bool
    	period     int64
    	m          profMap
    
    	// encoding state
    	w         io.Writer
    	zw        *gzip.Writer
    	pb        protobuf
    	strings   []string
    	stringMap map[string]int
    	locs      map[uintptr]locInfo // list of locInfo starting with the given PC.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 13 20:40:52 UTC 2023
    - 25.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/ComponentUtil.java

         */
        public static void setFessConfig(final FessConfig fessConfig) {
            ComponentUtil.fessConfig = fessConfig;
            if (fessConfig == null) {
                systemHelper = null;
                FessProp.propMap.clear();
                componentMap.clear();
            }
        }
    
        public static void register(final Object instance, final String name) {
            componentMap.put(name, instance);
        }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 20K bytes
    - Viewed (0)
  10. pkg/config/validation/validation.go

    			}
    
    			bind := i.GetBind()
    			errs = AppendValidation(errs, validateSidecarIngressPortAndBind(i.Port, bind))
    
    			if portMap.Contains(i.Port.Number) {
    				errs = AppendValidation(errs, fmt.Errorf("sidecar: ports on IP bound listeners must be unique"))
    			}
    			portMap.Insert(i.Port.Number)
    
    			if len(i.DefaultEndpoint) != 0 {
    				if strings.HasPrefix(i.DefaultEndpoint, UnixAddressPrefix) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
Back to top