Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 72 for getGoal (0.16 sec)

  1. platforms/core-runtime/process-services/src/main/java/org/gradle/process/internal/health/memory/MemInfoOsMemoryInfo.java

                }
            }
    
            if (meminfo.getAvailable() < 0 || meminfo.getTotal() < 0) {
                throw new UnsupportedOperationException("Unable to read system memory from " + MEMINFO_FILE_PATH);
            }
    
            return new OsMemoryStatusSnapshot(meminfo.getTotal(), meminfo.getAvailable());
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:10:02 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  2. analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/object_unused.txt

    expression: OBJECT_LITERAL
    text: object {
            fun getBool(): Boolean = b
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Oct 05 15:06:52 UTC 2022
    - 109 bytes
    - Viewed (0)
  3. analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/object_used.txt

    expression: OBJECT_LITERAL
    text: object {
            fun getBool(): Boolean = b
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Oct 05 15:06:52 UTC 2022
    - 108 bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testsanitizers/testdata/tsan.go

    #cgo LDFLAGS: -fsanitize=thread
    
    int val;
    
    int getVal() {
    	return val;
    }
    
    void setVal(int i) {
    	val = i;
    }
    */
    import "C"
    
    import (
    	"runtime"
    )
    
    func main() {
    	runtime.LockOSThread()
    	C.setVal(1)
    	c := make(chan bool)
    	go func() {
    		runtime.LockOSThread()
    		C.setVal(2)
    		c <- true
    	}()
    	<-c
    	if v := C.getVal(); v != 2 {
    		panic(v)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 700 bytes
    - Viewed (0)
  5. platforms/core-runtime/process-services/src/test/groovy/org/gradle/process/internal/health/memory/MBeanOsMemoryInfoTest.groovy

            def total = osMemoryInfo.getOsSnapshot().getPhysicalMemory().getTotal()
    
            then:
            total == TEST_TOTAL_MEMORY
        }
    
        def "getTotalPhysicalMemory fails when memory MBeans are #availability"() {
            given:
            def osMemoryInfo = createMemoryInfo(availability)
    
            when:
            osMemoryInfo.getOsSnapshot().getPhysicalMemory().getTotal()
    
            then:
            thrown UnsupportedOperationException
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:56:11 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/object_used.kt

    fun test(b: Boolean) {
        val x = <expr>object {
            fun getBool(): Boolean = b
        }</expr>
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Oct 05 15:06:52 UTC 2022
    - 99 bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/gcc/GccPlatformToolProviderTest.groovy

            1 * metaDataProvider.getCompilerMetaData(_, _) >> {
                arguments[1].execute(assertingCompilerExecSpecArguments(args))
                new ComponentFound(metaData)
            }
            1 * toolRegistry.getTool(toolType) >> new DefaultGccCommandLineToolConfiguration(toolType, 'exe')
            1 * toolSearchPath.locate(toolType, 'exe') >> Mock(CommandLineToolSearchResult)
            _ * metaData.systemLibraries >> libs
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  8. istioctl/pkg/clioptions/central.go

    		"XDS Subject Alternative Name (for example istiod.istio-system.svc)")
    	cmd.PersistentFlags().BoolVar(&o.InsecureSkipVerify, "insecure", viper.GetBool("INSECURE"),
    		"Skip server certificate and domain verification. (NOT SECURE!)")
    	cmd.PersistentFlags().BoolVar(&o.Plaintext, "plaintext", viper.GetBool("PLAINTEXT"),
    		"Use plain-text HTTP/2 when connecting to server (no TLS).")
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 06 03:39:27 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleTaskSegmentCalculator.java

            MavenProject rootProject = session.getTopLevelProject();
    
            List<String> tasks = requireNonNull(session.getGoals()); // session never returns null, but empty list
    
            if (tasks.isEmpty()
                    && (rootProject.getDefaultGoal() != null
                            && !rootProject.getDefaultGoal().isEmpty())) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. operator/pkg/util/progress/progress.go

    	sort.Strings(wait)
    	msg := fmt.Sprintf(`Processing resources for %s.`, strings.Join(comps, ", "))
    	if len(wait) > 0 {
    		msg += fmt.Sprintf(` Waiting for %s`, strings.Join(wait, ", "))
    	}
    	prefix := inProgress
    	if !p.bar.GetBool(pb.Terminal) {
    		// If we aren't a terminal, no need to spam extra lines
    		prefix = `{{ yellow "-" }} `
    	}
    	// reduce by 2 to allow for the "- " that will be added below
    	maxWidth -= 2
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top