Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for callsite (0.2 sec)

  1. src/cmd/compile/internal/inline/inlheur/testdata/dumpscores.go

    }
    
    func tooLargeToInline(x int) int {
    	if x > 101 {
    		// Drive up the cost of inlining this func over the
    		// regular threshold.
    		return big(big(big(big(big(G + x)))))
    	}
    	if x < 100 {
    		// make sure this callsite is scored properly
    		G += inlinable(101, inlinable2)
    		if G == 101 {
    			return 0
    		}
    		panic(inlinable2(3))
    	}
    	return G
    }
    
    func big(q int) int {
    	return noninl(q) + noninl(-q)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 15 14:26:26 UTC 2023
    - 794 bytes
    - Viewed (0)
  2. src/cmd/compile/internal/inline/inlheur/testdata/props/funcflags.go

    func T_callsexit(x int) {
    	if x < 0 {
    		os.Exit(1)
    	}
    	os.Exit(2)
    }
    
    // funcflags.go T_exitinexpr 281 0 1
    // <endpropsdump>
    // {"Flags":0,"ParamFlags":[0],"ResultFlags":null}
    // callsite: funcflags.go:286:18|0 flagstr "CallSiteOnPanicPath" flagval 2 score 102 mask 1 maskstr "panicPathAdj"
    // <endcallsites>
    // <endfuncpreamble>
    func T_exitinexpr(x int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:01 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/AbstractProcessInstrumentationInDynamicGroovyIntegrationTest.groovy

     * There are many different ways to run a process in Groovy, and all are producing different byte code.
     * The class supports compiling Groovy code in both indy and old-school CallSite modes.
     */
    abstract class AbstractProcessInstrumentationInDynamicGroovyIntegrationTest extends AbstractProcessInstrumentationIntegrationTest implements DynamicGroovyPluginMixin {
        @Shared
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. src/cmd/internal/pgo/pprof.go

    		return emptyProfile(), nil // accept but ignore profile with no samples.
    	}
    
    	return &Profile{
    		TotalWeight:  totalWeight,
    		NamedEdgeMap: namedEdgeMap,
    	}, nil
    }
    
    // createNamedEdgeMap builds a map of callsite-callee edge weights from the
    // profile-graph.
    //
    // Caller should ignore the profile if totalWeight == 0.
    func createNamedEdgeMap(g *profile.Graph) (edgeMap NamedEdgeMap, totalWeight int64, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/providers/propertyConventionCallsites/groovy/build.gradle

    // tag::convention-callsites-from-plugin[]
    // setting convention when registering a task from plugin
    class GreetingPlugin implements Plugin<Project> {
        void apply(Project project) {
            project.getTasks().register("hello", GreetingTask) {
                greeter.convention("Greeter")
            }
        }
    }
    // end::convention-callsites-from-plugin[]
    
    apply plugin: GreetingPlugin
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 16:56:11 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/providers/propertyConventionCallsites/kotlin/build.gradle.kts

    // tag::convention-callsites[]
    
    // tag::convention-callsites-from-plugin[]
    // setting convention when registering a task from plugin
    class GreetingPlugin : Plugin<Project> {
        override fun apply(project: Project) {
            project.getTasks().register<GreetingTask>("hello") {
                greeter.convention("Greeter")
            }
        }
    }
    // end::convention-callsites-from-plugin[]
    
    // tag::convention-callsites-from-buildscript[]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 16:56:10 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/providers/propertyConventionCallsites/kotlin/settings.gradle.kts

    rootProject.name = "property-convention-callsites"...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 16:56:09 UTC 2024
    - 51 bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/providers/propertyConventionCallsites/groovy/settings.gradle

    rootProject.name = 'property-convention-callsites'...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 16:56:09 UTC 2024
    - 51 bytes
    - Viewed (0)
  9. src/cmd/compile/internal/pkginit/initAsanGlobals.go

    		nfield(nxp, fname("sourceLocation"), up),
    		nfield(nxp, fname("odrIndicator"), up),
    	})
    	types.CalcSize(asanGlobal)
    
    	asanLocation := types.NewStruct([]*types.Field{
    		nfield(nxp, fname("filename"), up),
    		nfield(nxp, fname("line"), i32),
    		nfield(nxp, fname("column"), i32),
    	})
    	types.CalcSize(asanLocation)
    
    	defString := types.NewStruct([]*types.Field{
    		types.NewField(nxp, fname("data"), up),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 19:36:24 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/test/abiutilsaux_test.go

    	}
    	return ""
    }
    
    func nrtest(t *testing.T, ft *types.Type, expected int) {
    	types.CalcSize(ft)
    	got := configAMD64.NumParamRegs(ft)
    	if got != expected {
    		t.Errorf("]\nexpected num regs = %d, got %d, type %v", expected, got, ft)
    	}
    }
    
    func abitest(t *testing.T, ft *types.Type, exp expectedDump) {
    
    	types.CalcSize(ft)
    
    	// Analyze with full set of registers.
    	regRes := configAMD64.ABIAnalyze(ft, false)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 18:34:00 UTC 2023
    - 3.2K bytes
    - Viewed (0)
Back to top