Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for addressTypes (0.15 sec)

  1. pkg/controller/endpointslicemirroring/reconciler_test.go

    				switch epSlice.AddressType {
    				case discovery.AddressTypeIPv4:
    					matchingEndpointsV4 = append(matchingEndpointsV4, epSlice.Endpoints...)
    				case discovery.AddressTypeIPv6:
    					matchingEndpointsV6 = append(matchingEndpointsV6, epSlice.Endpoints...)
    				default:
    					t.Fatalf("Unexpected EndpointSlice address type found: %v", epSlice.AddressType)
    				}
    			}
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  2. pilot/pkg/config/kube/gateway/deploymentcontroller.go

    	disableRouteGeneration bool
    
    	// disableNameSuffix, if set, will avoid appending -<class> to names
    	disableNameSuffix bool
    
    	// addressType is the default address type to report
    	addressType gateway.AddressType
    }
    
    var classInfos = getClassInfos()
    
    var builtinClasses = getBuiltinClasses()
    
    func getBuiltinClasses() map[gateway.ObjectName]gateway.GatewayController {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 21:43:20 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

                        ASN1Integer addressType = ASN1Util.as(ASN1Integer.class, addressSequence, 0);
                        DEROctetString addressOctets = ASN1Util.as(DEROctetString.class, addressSequence, 1);
    
                        this.userAddresses = new ArrayList<>();
                        if ( addressType.getValue().intValue() == KerberosConstants.AF_INTERNET ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  4. pkg/registry/core/service/ipallocator/ipallocator.go

    // but using netip.Addr instead of net.IP
    func addOffsetAddress(address netip.Addr, offset uint64) (netip.Addr, error) {
    	addressBytes := address.AsSlice()
    	addressBig := big.NewInt(0).SetBytes(addressBytes)
    	r := big.NewInt(0).Add(addressBig, big.NewInt(int64(offset))).Bytes()
    	// r must be 4 or 16 bytes depending of the ip family
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:04 UTC 2023
    - 17K bytes
    - Viewed (0)
  5. guava/src/com/google/common/net/InetAddresses.java

        int numBytes = isIpv6 ? 16 : 4;
    
        byte[] addressBytes = address.toByteArray();
        byte[] targetCopyArray = new byte[numBytes];
    
        int srcPos = Math.max(0, addressBytes.length - numBytes);
        int copyLength = addressBytes.length - srcPos;
        int destPos = numBytes - copyLength;
    
        // Check the extra bytes in the BigInteger are all zero.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/net/InetAddresses.java

        int numBytes = isIpv6 ? 16 : 4;
    
        byte[] addressBytes = address.toByteArray();
        byte[] targetCopyArray = new byte[numBytes];
    
        int srcPos = Math.max(0, addressBytes.length - numBytes);
        int copyLength = addressBytes.length - srcPos;
        int destPos = numBytes - copyLength;
    
        // Check the extra bytes in the BigInteger are all zero.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  7. pilot/pkg/config/kube/gateway/conversion_test.go

    				Addresses: []k8s.GatewayAddress{
    					{
    						Value: "abc",
    					},
    					{
    						Type: func() *k8s.AddressType {
    							t := k8s.HostnameAddressType
    							return &t
    						}(),
    						Value: "example.com",
    					},
    					{
    						Type: func() *k8s.AddressType {
    							t := k8s.IPAddressType
    							return &t
    						}(),
    						Value: "1.2.3.4",
    					},
    				},
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 20:24:52 UTC 2024
    - 34.9K bytes
    - Viewed (0)
  8. pkg/kubelet/nodestatus/setters.go

    				{Type: v1.NodeHostName, Address: hostname},
    			}
    		}
    		return nil
    	}
    }
    
    func hasAddressType(addresses []v1.NodeAddress, addressType v1.NodeAddressType) bool {
    	for _, address := range addresses {
    		if address.Type == addressType {
    			return true
    		}
    	}
    	return false
    }
    func hasAddressValue(addresses []v1.NodeAddress, addressValue string) bool {
    	for _, address := range addresses {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 12:12:04 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  9. pkg/proxy/iptables/number_generated_rules_test.go

    	epPort := 8080
    
    	eps := &discovery.EndpointSlice{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "ep",
    			Namespace: "namespace",
    		},
    		AddressType: discovery.AddressTypeIPv4,
    		Endpoints:   []discovery.Endpoint{},
    		Ports: []discovery.EndpointPort{{
    			Name:     ptr.To(fmt.Sprintf("%d", epPort)),
    			Port:     ptr.To(int32(epPort)),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  10. pilot/pkg/config/kube/gateway/deploymentcontroller_test.go

    				},
    				Spec: k8s.GatewaySpec{
    					GatewayClassName: k8s.ObjectName(features.GatewayAPIDefaultGatewayClass),
    					Addresses: []k8s.GatewayAddress{{
    						Type:  func() *k8s.AddressType { x := k8s.IPAddressType; return &x }(),
    						Value: "1.2.3.4",
    					}},
    				},
    			},
    			objects:                  defaultObjects,
    			discoveryNamespaceFilter: discoveryNamespacesFilter,
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 21:43:20 UTC 2024
    - 16.5K bytes
    - Viewed (0)
Back to top