Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for HasName (0.13 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/cgo/internal/testplugin/testdata/checkdwarf/main.go

    	for {
    		e, err := rdr.Next()
    		if err != nil {
    			fmt.Fprintf(os.Stderr, "%s: error reading DWARF: %v\n", exePath, err)
    			os.Exit(1)
    		}
    		if e == nil {
    			break
    		}
    		name, hasname := e.Val(dwarf.AttrName).(string)
    		if !hasname {
    			continue
    		}
    		if strings.HasSuffix(name, dieSuffix) {
    			// found
    			os.Exit(0)
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/get.go

    			scope.err(err, w, req)
    			return
    		}
    
    		// Watches for single objects are routed to this function.
    		// Treat a name parameter the same as a field selector entry.
    		hasName := true
    		_, name, err := scope.Namer.Name(req)
    		if err != nil {
    			hasName = false
    		}
    
    		ctx = request.WithNamespace(ctx, namespace)
    
    		outputMediaType, _, err := negotiation.NegotiateOutputMediaType(req, scope.Serializer, scope)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 10:22:16 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/base-services-groovy/src/main/java/org/gradle/groovy/scripts/internal/AstUtils.java

    public abstract class AstUtils {
    
        private AstUtils() {
        }
    
        public static boolean isMethodOnThis(MethodCallExpression call, String name) {
            boolean hasName = call.getMethod() instanceof ConstantExpression && call.getMethod().getText().equals(name);
            return hasName && targetIsThis(call);
        }
    
        public static boolean targetIsThis(MethodCallExpression call) {
            Expression target = call.getObjectExpression();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:00:26 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top