Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for HasName (0.12 sec)

  1. pilot/pkg/networking/core/envoyfilter/extension_configuration_patch.go

    	if efw == nil {
    		return result
    	}
    	hasName := sets.New(names...)
    	for _, p := range efw.Patches[networking.EnvoyFilter_EXTENSION_CONFIG] {
    		if p.Operation != networking.EnvoyFilter_Patch_ADD {
    			continue
    		}
    		ec, ok := p.Value.(*core.TypedExtensionConfig)
    		if !ok {
    			log.Errorf("extension config patch %+v does not match TypeExtensionConfig type", p.Value)
    			continue
    		}
    		if hasName.Contains(ec.GetName()) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. src/go/types/operand.go

    	}
    	// Vu is typed
    
    	// x's type V and T have identical underlying types
    	// and at least one of V or T is not a named type
    	// and neither V nor T is a type parameter.
    	if Identical(Vu, Tu) && (!hasName(V) || !hasName(T)) && Vp == nil && Tp == nil {
    		return true, 0
    	}
    
    	// T is an interface type, but not a type parameter, and V implements T.
    	// Also handle the case where T is a pointer to an interface so that we get
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/operand.go

    	}
    	// Vu is typed
    
    	// x's type V and T have identical underlying types
    	// and at least one of V or T is not a named type
    	// and neither V nor T is a type parameter.
    	if Identical(Vu, Tu) && (!hasName(V) || !hasName(T)) && Vp == nil && Tp == nil {
    		return true, 0
    	}
    
    	// T is an interface type, but not a type parameter, and V implements T.
    	// Also handle the case where T is a pointer to an interface so that we get
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/extension/wasmplugin.go

    ) []*core.TypedExtensionConfig {
    	result := make([]*core.TypedExtensionConfig, 0)
    	if len(wasmPlugins) == 0 {
    		return result
    	}
    	hasName := sets.New(names...)
    	for _, p := range wasmPlugins {
    		if !hasName.Contains(p.ResourceName) {
    			continue
    		}
    		switch {
    		case p.Type == extensions.PluginType_NETWORK:
    			wasmExtensionConfig := p.BuildNetworkWasmFilter()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. testing/architecture-test/src/test/java/org/gradle/architecture/test/TempDirectoryCreationControlTest.java

    import static com.tngtech.archunit.core.domain.Formatters.ensureSimpleName;
    import static com.tngtech.archunit.core.domain.JavaClass.Predicates.belongToAnyOf;
    import static com.tngtech.archunit.core.domain.properties.HasName.Predicates.name;
    import static com.tngtech.archunit.lang.conditions.ArchConditions.callMethod;
    import static com.tngtech.archunit.lang.conditions.ArchConditions.callMethodWhere;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. src/internal/reflectlite/type.go

    	// x's type V is identical to T?
    	if T == V {
    		return true
    	}
    
    	// Otherwise at least one of T and V must not be defined
    	// and they must have the same kind.
    	if T.HasName() && V.HasName() || T.Kind() != V.Kind() {
    		return false
    	}
    
    	// x's type T and V must  have identical underlying types.
    	return haveIdenticalUnderlyingType(T, V, true)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/predicates.go

    		return tpar.is(func(t *term) bool { return t != nil && isBasic(t.typ, info) })
    	}
    	return isBasic(t, info)
    }
    
    // hasName reports whether t has a name. This includes
    // predeclared types, defined types, and type parameters.
    // hasName may be called with types that are not fully set up.
    func hasName(t Type) bool {
    	switch Unalias(t).(type) {
    	case *Basic, *Named, *TypeParam:
    		return true
    	}
    	return false
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  8. src/go/types/predicates.go

    		return tpar.is(func(t *term) bool { return t != nil && isBasic(t.typ, info) })
    	}
    	return isBasic(t, info)
    }
    
    // hasName reports whether t has a name. This includes
    // predeclared types, defined types, and type parameters.
    // hasName may be called with types that are not fully set up.
    func hasName(t Type) bool {
    	switch Unalias(t).(type) {
    	case *Basic, *Named, *TypeParam:
    		return true
    	}
    	return false
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. testing/architecture-test/src/test/java/org/gradle/architecture/test/ArchUnitFixture.java

    import static com.tngtech.archunit.core.domain.properties.HasModifiers.Predicates.modifier;
    import static com.tngtech.archunit.core.domain.properties.HasName.Functions.GET_NAME;
    import static com.tngtech.archunit.core.domain.properties.HasName.Predicates.nameMatching;
    import static com.tngtech.archunit.core.domain.properties.HasType.Functions.GET_RAW_TYPE;
    import static java.util.stream.Collectors.toSet;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  10. src/internal/abi/type.go

    	// escape types. noescape here help avoid unnecessary escape
    	// of v.
    	return (*Type)(NoEscape(unsafe.Pointer(eface.Type)))
    }
    
    func (t *Type) Kind() Kind { return t.Kind_ & KindMask }
    
    func (t *Type) HasName() bool {
    	return t.TFlag&TFlagNamed != 0
    }
    
    // Pointers reports whether t contains pointers.
    func (t *Type) Pointers() bool { return t.PtrBytes != 0 }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:09:59 UTC 2024
    - 21.8K bytes
    - Viewed (0)
Back to top