Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 603 for s_orig (0.14 sec)

  1. src/slices/slices.go

    // This algorithm has the desirable property that it moves each element at most twice.
    // The follow-cycles algorithm can be 1-write but it is not very cache friendly.
    
    // rotateLeft rotates s left by r spaces.
    // s_final[i] = s_orig[i+r], wrapping around.
    func rotateLeft[E any](s []E, r int) {
    	Reverse(s[:r])
    	Reverse(s[r:])
    	Reverse(s)
    }
    func rotateRight[E any](s []E, r int) {
    	rotateLeft(s, len(s)-r)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 29 14:01:59 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/inline/inlheur/scoring.go

    )
    
    // These constants enumerate the set of possible ways/scenarios
    // in which we'll adjust the score of a given callsite.
    type scoreAdjustTyp uint
    
    // These constants capture the various ways in which the inliner's
    // scoring phase can adjust a callsite score based on heuristics. They
    // fall broadly into three categories:
    //
    // 1) adjustments based solely on the callsite context (ex: call
    // appears on panic path)
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:42:52 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/podtopologyspread/scoring.go

    	for _, node := range filteredNodes {
    		if requireAllTopologies && !nodeLabelsMatchSpreadConstraints(node.Node().Labels, s.Constraints) {
    			// Nodes which don't have all required topologyKeys present are ignored
    			// when scoring later.
    			s.IgnoredNodes.Insert(node.Node().Name)
    			continue
    		}
    		for i, constraint := range s.Constraints {
    			// per-node counts are calculated during Score.
    			if constraint.TopologyKey == v1.LabelHostname {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/interpodaffinity/scoring.go

    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/labels"
    	"k8s.io/klog/v2"
    	"k8s.io/kubernetes/pkg/scheduler/framework"
    )
    
    // preScoreStateKey is the key in CycleState to InterPodAffinity pre-computed data for Scoring.
    const preScoreStateKey = "PreScore" + Name
    
    type scoreMap map[string]map[string]int64
    
    // preScoreState computed at PreScore and used at Score.
    type preScoreState struct {
    	topologyScore scoreMap
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/arm/anames5.go

    	"LCONADDR",
    	"ZFCON",
    	"SFCON",
    	"LFCON",
    	"RACON",
    	"LACON",
    	"SBRA",
    	"LBRA",
    	"HAUTO",
    	"FAUTO",
    	"HFAUTO",
    	"SAUTO",
    	"LAUTO",
    	"HOREG",
    	"FOREG",
    	"HFOREG",
    	"SOREG",
    	"ROREG",
    	"SROREG",
    	"LOREG",
    	"PC",
    	"SP",
    	"HREG",
    	"ADDR",
    	"C_TLS_LE",
    	"C_TLS_IE",
    	"TEXTSIZE",
    	"GOK",
    	"NCLASS",
    	"SCOND = (1<<4)-1",
    	"SBIT = 1<<4",
    	"PBIT = 1<<5",
    	"WBIT = 1<<6",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 27 19:54:44 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  6. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/java/JavaConfigurationCachePerformanceTest.groovy

            result.assertCurrentVersionHasNotRegressed()
    
            where:
            daemon | action
            hot    | loading
            hot    | storing
            cold   | loading
            cold   | storing
        }
    
        static String loading = "loading"
        static String storing = "storing"
        static String hot = "hot"
        static String cold = "cold"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 14:54:56 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. pkg/scheduler/apis/config/types_pluginargs.go

    type InterPodAffinityArgs struct {
    	metav1.TypeMeta
    
    	// HardPodAffinityWeight is the scoring weight for existing pods with a
    	// matching hard affinity to the incoming pod.
    	HardPodAffinityWeight int32
    
    	// IgnorePreferredTermsOfExistingPods configures the scheduler to ignore existing pods' preferred affinity
    	// rules when scoring candidate nodes, unless the incoming pod has inter-pod affinities.
    	IgnorePreferredTermsOfExistingPods bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 13 23:15:53 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  8. platforms/enterprise/enterprise/src/main/java/org/gradle/internal/enterprise/test/TestTaskPropertiesService.java

     * disabling storing their outputs in the build cache.
     */
    @ServiceScope(Scope.Project.class)
    public interface TestTaskPropertiesService {
    
        /**
         * Collect the configuration of the given task.
         */
        TestTaskProperties collectProperties(Test task);
    
        /**
         * Avoid storing the task's outputs in the build cache.
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. platforms/core-execution/build-cache-local/src/test/groovy/org/gradle/caching/local/internal/DirectoryBuildCacheTest.groovy

            def ex = thrown RuntimeException
            ex.message == "Simulated write error"
            cacheDir.listFiles() as List == []
            0 * fileAccessTracker.markAccessed(_)
        }
    
    
        def "marks file accessed when storing and loading locally"() {
            File cachedFile = null
    
            given:
            def originalFile = temporaryFolder.createFile("foo")
            originalFile.text = "bar"
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 14:32:44 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. platforms/core-execution/build-cache-spi/src/integTest/groovy/org/gradle/caching/BuildCacheServiceExtensibilityIntegrationTest.groovy

                public class Main {}
            """
    
            when:
            withBuildCache().run "assemble"
            then:
            outputContains "Loading "
            outputContains "Storing "
        }
    
        def "produces deprecation message when BuildCacheKey.getDisplayName() is called"() {
            settingsFile << configureCustomBuildCacheService("println \"Dosplay name: \${key.displayName}\"")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:09:36 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top