Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for discriminator (0.17 sec)

  1. pkg/test/framework/suitecontext.go

    	c.contextMu.Lock()
    	defer c.contextMu.Unlock()
    
    	candidate := prefix
    	discriminator := 0
    	for {
    		if !c.contextNames.InsertContains(candidate) {
    			return candidate
    		}
    
    		candidate = fmt.Sprintf("%s-%d", prefix, discriminator)
    		discriminator++
    	}
    }
    
    func (c *suiteContext) allocateResourceID(contextID string, r resource.Resource) string {
    	c.contextMu.Lock()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/binutils/addr2liner.go

    	if funcname == "??" {
    		funcname = ""
    	}
    
    	if fileline == "??:0" {
    		fileline = ""
    	} else {
    		if i := strings.LastIndex(fileline, ":"); i >= 0 {
    			// Remove discriminator, if present
    			if disc := strings.Index(fileline, " (discriminator"); disc > 0 {
    				fileline = fileline[:disc]
    			}
    			// If we cannot parse a number after the last ":", keep it as
    			// part of the filename.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 16:39:48 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  3. platforms/software/platform-base/src/main/java/org/gradle/platform/base/Variant.java

    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * Declares that a property represents a variant dimension. Variants are used in dependency
     * resolution to discriminate between various binaries that may match the requirements (such
     * as a platform, a build type, ...).
     *
     * This annotation must be set on a getter. The return type of the getter must either be
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. pkg/controller/job/util/utils.go

    			return true, c.Type
    		}
    	}
    	return false, ""
    }
    
    // IsJobFinished checks whether the given Job has finished execution.
    // It does not discriminate between successful and failed terminations.
    func IsJobFinished(j *batch.Job) bool {
    	isFinished, _ := FinishedCondition(j)
    	return isFinished
    }
    
    // IsJobSucceeded returns whether a job has completed successfully.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 09:27:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top