Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 92 for recursion (0.33 sec)

  1. src/cmd/compile/internal/types2/decl.go

    		check.decl = d // new package-level var decl
    		check.varDecl(obj, d.lhs, d.vtyp, d.init)
    	case *TypeName:
    		// invalid recursive types are detected via path
    		check.typeDecl(obj, d.tdecl, def)
    		check.collectMethods(obj) // methods can only be added to top-level types
    	case *Func:
    		// functions may be recursive - no need to track dependencies
    		check.funcDecl(obj, d)
    	default:
    		panic("unreachable")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ProblemReportingCrossProjectModelAccess.kt

            }
    
            override fun getAllTasks(recursive: Boolean): MutableMap<Project, MutableSet<Task>> {
                onAccess("allTasks")
                return delegate.getAllTasks(recursive)
            }
    
            override fun getTasksByName(name: String, recursive: Boolean): MutableSet<Task> {
                onAccess("tasksByName")
                return delegate.getTasksByName(name, recursive)
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  3. src/go/types/typexpr.go

    		}
    		assert(x.val != nil)
    		x.mode = constant_
    
    	case *TypeName:
    		if !check.conf._EnableAlias && check.isBrokenAlias(obj) {
    			check.errorf(e, InvalidDeclCycle, "invalid use of type alias %s in recursive type (see go.dev/issue/50729)", obj.name)
    			return
    		}
    		x.mode = typexpr
    
    	case *Var:
    		// It's ok to mark non-local variables, but ignore variables
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  4. cmd/ftp-server-driver.go

    				return err
    			}
    		}
    
    		return nil
    	}
    
    	prefix = retainSlash(prefix)
    
    	for object := range clnt.ListObjects(cctx, bucket, minio.ListObjectsOptions{
    		Prefix:    prefix,
    		Recursive: false,
    	}) {
    		if object.Err != nil {
    			return object.Err
    		}
    
    		if object.Key == prefix {
    			continue
    		}
    
    		isDir := strings.HasSuffix(object.Key, SlashSeparator)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 15:45:54 UTC 2024
    - 14K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/typexpr.go

    		}
    		assert(x.val != nil)
    		x.mode = constant_
    
    	case *TypeName:
    		if !check.conf.EnableAlias && check.isBrokenAlias(obj) {
    			check.errorf(e, InvalidDeclCycle, "invalid use of type alias %s in recursive type (see go.dev/issue/50729)", obj.name)
    			return
    		}
    		x.mode = typexpr
    
    	case *Var:
    		// It's ok to mark non-local variables, but ignore variables
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. src/go/types/decl.go

    		check.decl = d // new package-level var decl
    		check.varDecl(obj, d.lhs, d.vtyp, d.init)
    	case *TypeName:
    		// invalid recursive types are detected via path
    		check.typeDecl(obj, d.tdecl, def)
    		check.collectMethods(obj) // methods can only be added to top-level types
    	case *Func:
    		// functions may be recursive - no need to track dependencies
    		check.funcDecl(obj, d)
    	default:
    		panic("unreachable")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31K bytes
    - Viewed (0)
  7. internal/s3select/select.go

    	return !input.unmarshaled
    }
    
    // UnmarshalXML - decodes XML data.
    func (input *InputSerialization) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
    	// Make subtype to avoid recursive UnmarshalXML().
    	type subInputSerialization InputSerialization
    	parsedInput := subInputSerialization{}
    	if err := d.DecodeElement(&parsedInput, &start); err != nil {
    		return errMalformedXML(err)
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 21K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt

            if (!hasStableName) {
                // Make sure we're not going to expand type argument over and over again.
                // If so, i.e., if there is a recursive type argument, return the current, non-null [type]
                // to prevent the following [substituteTypeOr*] from proceeding to its own (recursive) substitution.
                if (type.hasRecursiveTypeArgument()) return type
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/infer.go

    	// same in self-recursive calls:
    	//
    	//   func f[P constraint](x P) {
    	//           f(x)
    	//   }
    	//
    	// In this example, without type parameter renaming, the P used in the
    	// instantiation f[P] has the same pointer identity as the P we are trying
    	// to solve for through type inference. This causes problems for type
    	// unification. Because any such self-recursive call is equivalent to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 13:54:20 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  10. src/encoding/gob/encode.go

    	ut := userType(rt)
    	// If the type implements GobEncoder, we handle it without further processing.
    	if ut.externalEnc != 0 {
    		return gobEncodeOpFor(ut)
    	}
    	// If this type is already in progress, it's a recursive type (e.g. map[string]*T).
    	// Return the pointer to the op we're already building.
    	if opPtr := inProgress[rt]; opPtr != nil {
    		return opPtr, ut.indir
    	}
    	typ := ut.base
    	indir := ut.indir
    	k := typ.Kind()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top