Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 711 for recurse (0.39 sec)

  1. test/fixedbugs/issue23823.go

    package p
    
    type I1 = interface {
    	I2
    }
    
    // BAD: type loop should mention I1; see also #41669
    type I2 interface { // GC_ERROR "invalid recursive type: I2 refers to itself"
    	I1 // GCCGO_ERROR "invalid recursive interface"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 14:21:33 UTC 2022
    - 397 bytes
    - Viewed (0)
  2. test/fixedbugs/issue8507.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // issue 8507
    // used to call algtype on invalid recursive type and get into infinite recursion
    
    package p
    
    type T struct{ T } // ERROR "invalid recursive type.*T"
    
    func f() {
    	println(T{} == T{})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 14:21:33 UTC 2022
    - 374 bytes
    - Viewed (0)
  3. src/internal/types/testdata/check/decls4.go

    func (B1 /* ERRORx "cannot define new methods on non-local type (int|B)" */ ) n() {}
    
    // cycles
    type (
    	C2 /* ERROR "invalid recursive type" */ = C2
    	C3 /* ERROR "invalid recursive type" */ = C4
    	C4 = C3
    	C5 struct {
    		f *C6
    	}
    	C6 = C5
    	C7 /* ERROR "invalid recursive type" */  struct {
    		f C8
    	}
    	C8 = C7
    )
    
    // embedded fields
    var (
    	s0 struct { T0 }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 17:24:42 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. internal/bucket/replication/replication.go

    // HasActiveRules - returns whether replication policy has active rules
    // Optionally a prefix can be supplied.
    // If recursive is specified the function will also return true if any level below the
    // prefix has active rules. If no prefix is specified recursive is effectively true.
    func (c Config) HasActiveRules(prefix string, recursive bool) bool {
    	if len(c.Rules) == 0 {
    		return false
    	}
    	for _, rule := range c.Rules {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 28 17:44:56 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/configurations/spec/ResolvableConfigurationsSpec.java

        private final boolean recursive;
    
        public ResolvableConfigurationsSpec(@Nullable String searchTarget, boolean showLegacy, boolean recursive, boolean showAttributePrecedence) {
            super(searchTarget, showLegacy, showAttributePrecedence);
            this.recursive = recursive;
        }
    
        @Override
        public String getReportedTypeAlias() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 07 20:56:10 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  6. tests/test_validate_response_recursive/app_pv1.py

        name: str
    
    
    RecursiveSubitemInSubmodel.update_forward_refs()
    
    
    @app.get("/items/recursive", response_model=RecursiveItem)
    def get_recursive():
        return {"name": "item", "sub_items": [{"name": "subitem", "sub_items": []}]}
    
    
    @app.get("/items/recursive-submodel", response_model=RecursiveItemViaSubmodel)
    def get_recursive_submodel():
        return {
            "name": "item",
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/cli-runtime/pkg/resource/builder_test.go

    	createTestDir(t, fmt.Sprintf("%s/%s", tmpDir, "recursive/pod/pod_1"))
    	createTestDir(t, fmt.Sprintf("%s/%s", tmpDir, "recursive/rc/rc_1"))
    	createTestDir(t, fmt.Sprintf("%s/%s", tmpDir, "inode/hardlink"))
    	defer os.RemoveAll(tmpDir)
    
    	// create test files
    	writeTestFile(t, fmt.Sprintf("%s/recursive/pod/busybox.json", tmpDir), strings.Replace(aPod, "{id}", "0", -1))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 11:58:41 UTC 2023
    - 56.1K bytes
    - Viewed (0)
  8. cmd/metacache-walk_gen.go

    				return
    			}
    		case "BaseDir":
    			z.BaseDir, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "BaseDir")
    				return
    			}
    		case "Recursive":
    			z.Recursive, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "Recursive")
    				return
    			}
    		case "ReportNotFound":
    			z.ReportNotFound, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "ReportNotFound")
    				return
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 7K bytes
    - Viewed (0)
  9. src/internal/types/testdata/check/decls0.go

    	}
    	S3 struct {
    		x S2
    	}
    	S4/* ERROR "invalid recursive type" */ struct {
    		S4
    	}
    	S5 /* ERROR "invalid recursive type" */ struct {
    		S6
    	}
    	S6 struct {
    		field S7
    	}
    	S7 struct {
    		S5
    	}
    
    	L1 []L1
    	L2 []int
    
    	A1 [10.0]int
    	A2 /* ERROR "invalid recursive type" */ [10]A2
    	A3 /* ERROR "invalid recursive type" */ [10]struct {
    		x A4
    	}
    	A4 [10]A3
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. src/internal/types/testdata/fixedbugs/issue49043.go

    // license that can be found in the LICENSE file.
    
    package p
    
    // The example from the issue.
    type (
    	N[P any] M /* ERROR "invalid recursive type" */ [P]
    	M[P any] N[P]
    )
    
    // A slightly more complicated case.
    type (
    	A[P any] B /* ERROR "invalid recursive type" */ [P]
    	B[P any] C[P]
    	C[P any] A[P]
    )
    
    // Confusing but valid (note that `type T *T` is valid).
    type (
    	N1[P any] *M1[P]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 512 bytes
    - Viewed (0)
Back to top