Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 218 for Iface1 (0.29 sec)

  1. test/typeparam/eface.go

    Matthew Dempsky <******@****.***> 1646087539 -0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  2. src/go/types/object_test.go

    	pkg := mustTypecheck(src, nil, nil)
    
    	// get original error.Error method
    	eface := Universe.Lookup("error")
    	orig, _, _ := LookupFieldOrMethod(eface.Type(), false, nil, "Error")
    	if orig == nil {
    		t.Fatalf("original error.Error not found")
    	}
    
    	// get embedded error.Error method
    	iface := pkg.Scope().Lookup("I")
    	embed, _, _ := LookupFieldOrMethod(iface.Type(), false, nil, "Error")
    	if embed == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. src/internal/abi/iface.go

    Michael Anthony Knyszek <******@****.***> 1711143722 +0000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:09:59 UTC 2024
    - 895 bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/object_test.go

    	pkg := mustTypecheck(src, nil, nil)
    
    	// get original error.Error method
    	eface := Universe.Lookup("error")
    	orig, _, _ := LookupFieldOrMethod(eface.Type(), false, nil, "Error")
    	if orig == nil {
    		t.Fatalf("original error.Error not found")
    	}
    
    	// get embedded error.Error method
    	iface := pkg.Scope().Lookup("I")
    	embed, _, _ := LookupFieldOrMethod(iface.Type(), false, nil, "Error")
    	if embed == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. src/runtime/alg.go

    	return *(*string)(p) == *(*string)(q)
    }
    func interequal(p, q unsafe.Pointer) bool {
    	x := *(*iface)(p)
    	y := *(*iface)(q)
    	return x.tab == y.tab && ifaceeq(x.tab, x.data, y.data)
    }
    func nilinterequal(p, q unsafe.Pointer) bool {
    	x := *(*eface)(p)
    	y := *(*eface)(q)
    	return x._type == y._type && efaceeq(x._type, x.data, y.data)
    }
    func efaceeq(t *_type, x, y unsafe.Pointer) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  6. pkg/volume/iscsi/iscsi_util.go

    		if !strings.HasPrefix(line, "iface.") || strings.Contains(line, "<empty>") {
    			continue
    		}
    		iface := strings.Fields(line)
    		if len(iface) != 3 || iface[1] != "=" {
    			return nil, fmt.Errorf("error: invalid iface setting: %v", iface)
    		}
    		// iscsi_ifacename is immutable once the iface is created
    		if iface[0] == "iface.iscsi_ifacename" {
    			continue
    		}
    		params[iface[0]] = iface[2]
    	}
    	return params, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 22 12:53:01 UTC 2022
    - 34.1K bytes
    - Viewed (0)
  7. src/runtime/runtime-gdb.py

    		# chop at first space.
    		pc = int(str(pc).split(None, 1)[0], 16)
    	return pc
    
    
    #
    #  For reference, this is what we're trying to do:
    #  eface: p *(*(struct 'runtime.rtype'*)'main.e'->type_->data)->string
    #  iface: p *(*(struct 'runtime.rtype'*)'main.s'->tab->Type->data)->string
    #
    # interface types can't be recognized by their name, instead we check
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 12:59:20 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  8. platforms/ide/ide-plugins/src/test/groovy/org/gradle/plugins/ide/eclipse/EclipseWtpPluginTest.groovy

                    new Facet(FacetType.fixed, "jst.java", null),
                    new Facet(FacetType.fixed, "jst.web", null),
                    new Facet(FacetType.installed, "jst.web", "4.0"),
                    new Facet(FacetType.installed, "jst.java", "1.4")])
        }
    
        @Issue('gradle/gradle#17681')
        def "add 'jst.ejb' facet should remove incompatible 'jst.utility' facet"() {
            when:
            project.apply(plugin: 'java')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 08 10:14:49 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  9. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/model/WtpFacetTest.groovy

            when:
            facet.load(customFacetReader)
            facet.configure(constructorFacets + [CUSTOM_FACETS[0]])
    
            then:
            facet.facets == CUSTOM_FACETS + constructorFacets
        }
    
        def "load defaults"() {
            when:
            facet.loadDefaults()
    
            then:
            facet.xml != null
            facet.facets == []
        }
    
        def "roundtripping the facet file leaves it unchanged"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  10. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/GenerateEclipseWtpFacetTest.groovy

            when:
            eclipseFacet.facet.facet(name: 'fancyProject', version: '1.3')
    
            then:
            eclipseFacet.facet.facets == [new Facet(FacetType.installed, 'fancyProject', '1.3')]
        }
    
        def "can explicitly configure facet type'"() {
            when:
            eclipseFacet.facet.facet type: facetType, name: 'fancyProject'
    
            then:
            eclipseFacet.facet.facets[0].type == FacetType.valueOf(facetType)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top