Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 152 for mytype (0.1 sec)

  1. src/cmd/fix/cftype.go

    	// (*unsafe.Pointer)(x) where x is type *bad -> (*unsafe.Pointer)(unsafe.Pointer(x))
    	// (*bad.type)(x) where x is type *unsafe.Pointer -> (*bad.type)(unsafe.Pointer(x))
    	walk(f, func(n any) {
    		if n == nil {
    			return
    		}
    		// Find pattern like (*a.b)(x)
    		c, ok := n.(*ast.CallExpr)
    		if !ok {
    			return
    		}
    		if len(c.Args) != 1 {
    			return
    		}
    		p, ok := c.Fun.(*ast.ParenExpr)
    		if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 00:25:49 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/types.go

    	// UintType is equivalent to the CEL 'uint' type.
    	UintType = NewSimpleTypeWithMinSize("uint", cel.UintType, types.Uint(0), 1)
    
    	// ListType is equivalent to the CEL 'list' type.
    	ListType = NewListType(AnyType, noMaxLength)
    
    	// MapType is equivalent to the CEL 'map' type.
    	MapType = NewMapType(AnyType, AnyType, noMaxLength)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 08 15:52:31 UTC 2023
    - 18K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/interface.go

    func (v *Variable) GetExpression() string {
    	return v.Expression
    }
    
    func (v *Variable) ReturnTypes() []*celgo.Type {
    	return []*celgo.Type{celgo.AnyType, celgo.DynType}
    }
    
    func (v *Variable) GetName() string {
    	return v.Name
    }
    
    // ValidateResult defines the result of a Validator.Validate operation.
    type ValidateResult struct {
    	// Decisions specifies the outcome of the validation as well as the details about the decision.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 17:47:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/compile.go

    				}
    				if hasAuthorizer {
    					envOpts = append(envOpts,
    						cel.Variable(AuthorizerVarName, library.AuthorizerType),
    						cel.Variable(RequestResourceAuthorizerVarName, library.ResourceCheckType))
    				}
    				envOpts = append(envOpts,
    					cel.Variable(ObjectVarName, cel.DynType),
    					cel.Variable(OldObjectVarName, cel.DynType),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. src/net/rpc/server.go

    	m.Unlock()
    	return n
    }
    
    func (s *service) call(server *Server, sending *sync.Mutex, wg *sync.WaitGroup, mtype *methodType, req *Request, argv, replyv reflect.Value, codec ServerCodec) {
    	if wg != nil {
    		defer wg.Done()
    	}
    	mtype.Lock()
    	mtype.numCalls++
    	mtype.Unlock()
    	function := mtype.method.Func
    	// Invoke the method, providing a new value for the reply.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  6. src/cmd/fix/typecheck.go

    //
    // The strings mostly use gofmt form.
    //
    // A Field or FieldList has as its type a comma-separated list
    // of the types of the fields. For example, the field list
    //	x, y, z int
    // has type "int, int, int".
    
    // The prefix "type " is the type of a type.
    // For example, given
    //	var x int
    //	type T int
    // x's type is "int" but T's type is "type int".
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 16 22:02:42 UTC 2022
    - 20.1K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/NodeBackedModelMapSpec.groovy

        }
    
        def "model rule with by-type dependency on non task related collection element's child that does exist passes validation"() {
            given:
            def mmType = ModelTypes.modelMap(Bean)
    
            registry
                .registerModelMap("beans", Bean) { it.registerFactory(Bean) { new Bean(name: it) } }
                .mutate {
                    it.path "beans" type mmType action { c ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 38.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types/type.go

    }
    
    // Map contains Type fields specific to maps.
    type Map struct {
    	Key  *Type // Key type
    	Elem *Type // Val (elem) type
    
    	Bucket *Type // internal struct type representing a hash bucket
    }
    
    // MapType returns t's extra map-specific fields.
    func (t *Type) MapType() *Map {
    	t.wantEtype(TMAP)
    	return t.extra.(*Map)
    }
    
    // Forward contains Type fields specific to forward types.
    type Forward struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/factories/NormalizingExcludeFactory.java

            }
            Map<UnionOf, List<ExcludeSpec>> byType = flattened.result.stream().collect(Collectors.groupingBy(UnionOf::typeOf));
            List<ModuleIdExclude> moduleIdExcludes = UnionOf.MODULEID.fromMap(byType);
            List<ModuleIdSetExclude> moduleIdSetsExcludes = UnionOf.MODULEID_SET.fromMap(byType);
            List<GroupExclude> groupExcludes = UnionOf.GROUP.fromMap(byType);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 17.4K bytes
    - Viewed (0)
  10. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/types/KtType.kt

    import org.jetbrains.kotlin.name.Name
    
    public sealed interface KaType : KaLifetimeOwner, KaAnnotated {
        public val nullability: KaTypeNullability
    
        /**
         * The abbreviated type for this expanded [KaType], or `null` if this type has not been expanded from an abbreviated type or the
         * abbreviated type cannot be resolved.
         *
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top