Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 242 for fooer2 (0.11 sec)

  1. test/typeparam/issue51522b.go

    	switch t {
    	case i:
    		// ok
    	default:
    		println("FAIL: switch t")
    	}
    }
    
    type myint int
    
    func (m myint) foo() {
    }
    
    type fooer interface {
    	foo()
    }
    
    type comparableFoo interface {
    	comparable
    	foo()
    }
    
    func g[T comparableFoo](i fooer) {
    	var t T
    
    	switch i {
    	case t:
    		// ok
    	default:
    		println("FAIL: switch i")
    	}
    
    	switch t {
    	case i:
    		// ok
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 10 19:30:33 UTC 2022
    - 730 bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/issue50182_test.go

    	}
    }
    
    // Test that escape analysis correctly tracks escaping inside of methods
    // called on generic types.
    type fooer interface {
    	foo()
    }
    type P struct {
    	p *int
    	q int
    }
    
    var esc []*int
    
    func (p P) foo() {
    	esc = append(esc, p.p) // foo escapes the pointer from inside of p
    }
    func f[T fooer](t T) {
    	t.foo()
    }
    func TestGenericEscape(t *testing.T) {
    	for i := 0; i < 4; i++ {
    		var x int = 77 + i
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 13 23:35:37 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  3. src/testing/newcover.go

    	if mode == "" {
    		return
    	}
    	cover2.mode = mode
    	cover2.tearDown = tearDown
    	cover2.snapshotcov = snapcov
    }
    
    // coverReport2 invokes a callback in _testmain.go that will
    // emit coverage data at the point where test execution is complete,
    // for "go test -cover" runs.
    func coverReport2() {
    	if !goexperiment.CoverageRedesign {
    		panic("unexpected")
    	}
    	if errmsg, err := cover2.tearDown(*coverProfile, *gocoverdir); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:58:07 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt

            val isBool: Boolean = true
    
            var bazar = "bazar"
    
            var bazool: Boolean = true
    
            var isFool: Boolean = true
    
            fun String.fooExt() {}
    
            fun Int.fooExt() {}
    
            val String.barExt: String
                get() = "bar"
    
            var Int.bazarExt: String
                get() = "bar"
                set(value) = Unit
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jul 11 06:57:51 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  5. fess-crawler/src/test/resources/ajax/js/test.js

      $('#home').click(function(){ openPage("home.html") } );
    }
    
    function openPage(page){
      $('#content').load(page);
      location.hash = page;
    }
    
    function addFooter(msg){
      $('#footer').html($('#footer').html() + "<p>FOOTER: " + msg + "</p>");
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Sun Oct 11 02:16:55 UTC 2015
    - 410 bytes
    - Viewed (0)
  6. platforms/jvm/scala/src/main/java/org/gradle/api/tasks/scala/ScalaDocOptions.java

        }
    
        /**
         * Returns the HTML text to appear in the footer for each page.
         */
        @Nullable @Optional @Input
        public String getFooter() {
            return footer;
        }
    
        /**
         * Sets the HTML text to appear in the footer for each page.
         */
        public void setFooter(@Nullable String footer) {
            this.footer = footer;
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  7. platforms/software/publish/src/main/java/org/gradle/api/publish/internal/validation/PublicationWarningsCollector.java

        private final String footer;
        private final String disableMethod;
        private final Map<String, VariantWarningCollector> variantToWarnings;
    
        public PublicationWarningsCollector(
            Map<String, VariantWarningCollector> variantToWarnings,
            Logger logger,
            String unsupportedFeature,
            String incompatibleFeature,
            String footer,
            String disableMethod
        ) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 22:25:49 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/view/admin/maintenance/admin_maintenance.jsp

                                        </div>
                                    </div>
                                </div>
                                <div class="card-footer">
                                    <button type="submit" class="btn btn-primary ${f:h(editableClass)}"
                                            name="reindexOnly"
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Mon Jan 16 12:54:35 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  9. platforms/jvm/language-groovy/src/main/java/org/gradle/api/tasks/javadoc/Groovydoc.java

        }
    
        /**
         * Returns the HTML footer for each page. Set to {@code null} when there is no footer.
         */
        @Nullable
        @Optional
        @Input
        public String getFooter() {
            return footer;
        }
    
        /**
         * Sets footer text for each page (optional).
         *
         * @param footer the footer as HTML
         */
        public void setFooter(@Nullable String footer) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 14.1K bytes
    - Viewed (0)
  10. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/AbstractProjectBasedReportTask.java

        protected abstract void generateReportFor(ProjectDetails project, T model);
    
        /**
         * Provides a means of printing a customizable footer section below the per-project details body
         * of the report.
         * <p>
         * By default, there is no footer information printed.
         *
         * @param modelsByProjectDetails information about the projects under report
         * @since 8.9
         */
        @Incubating
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 16:02:32 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top