Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,128 for homes (0.04 sec)

  1. platforms/jvm/toolchains-jvm-shared/src/test/groovy/org/gradle/jvm/toolchain/internal/install/DefaultJdkCacheDirectoryTest.groovy

        def "handles non-existing jdk directory when listing java homes"() {
            given:
            def jdkCacheDirectory = new DefaultJdkCacheDirectory(newHomeDirProvider(), Mock(FileOperations), mockLockManager(), mockDetector(), tmpFileProvider())
    
    
            when:
            def homes = jdkCacheDirectory.listJavaHomes()
    
            then:
            homes.isEmpty()
        }
    
        def "list java homes on MacOs"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 06:41:24 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/WindowsInstallationSupplierTest.groovy

            registry.getSubkeys(WindowsRegistry.Key.HKEY_LOCAL_MACHINE, _) >> { throw new MissingRegistryEntryException() }
            def supplier = createSupplier()
    
            when:
            def locations = supplier.get()
    
            then:
            locations*.location.path.containsAll(home + "${File.separator}8.0-home", home + "${File.separator}9.0-home")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 22:14:10 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/jvm/Jvm.java

        }
    
        /**
         * Creates JVM instance for given java home. Attempts to validate if provided javaHome is a valid jdk or jre location.
         * This method is intended to be used for user supplied java homes.
         *
         * @param javaHome - location of your jdk or jre (jdk is safer), cannot be null
         * @return jvm for given java home
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:57:34 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/context/DaemonCompatibilitySpecSpec.groovy

        }
    
        private String getUnsatisfiedReason() {
            new DaemonCompatibilitySpec(request).whyUnsatisfied(candidate)
        }
    
        def "contexts with different java homes are incompatible"() {
            clientWants(Jvm.forHome(javaHome))
    
            def daemonJdkHome = tmp.createDir("daemon-jdk")
            daemonJdkHome.file("bin", OperatingSystem.current().getExecutableName("java")).touch()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 00:09:57 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  5. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/enduser/GradleRunnerMiscEndUserIntegrationTest.groovy

    import org.gradle.testkit.runner.internal.DefaultGradleRunner
    import org.gradle.util.internal.GFileUtils
    import org.intellij.lang.annotations.Language
    
    /**
     * Miscellaneous usage scenarios that don't have more specific homes.
     */
    @Requires(value = IntegTestPreconditions.NotEmbeddedExecutor, reason = NOT_EMBEDDED_REASON)
    class GradleRunnerMiscEndUserIntegrationTest extends BaseTestKitEndUserIntegrationTest implements TestKitDependencyBlock {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. src/net/http/http_test.go

    // Copyright 2014 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Tests of internal functions and things with no better homes.
    
    package http
    
    import (
    	"bytes"
    	"internal/testenv"
    	"io/fs"
    	"net/url"
    	"os"
    	"reflect"
    	"regexp"
    	"strings"
    	"testing"
    )
    
    func TestForeachHeaderElement(t *testing.T) {
    	tests := []struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 18:18:19 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/deadcode.go

    				v.resetArgs()
    				if v.Pos.IsStmt() == src.PosIsStmt && reachable[b.ID] {
    					pendingLines.set(v.Pos, int32(i)) // TODO could be more than one pos for a line
    				}
    			}
    		}
    	}
    
    	// Find new homes for lost lines -- require earliest in data flow with same line that is also in same block
    	for i := len(order) - 1; i >= 0; i-- {
    		w := order[i]
    		if j := pendingLines.get(w.Pos); j > -1 && f.Blocks[j] == w.Block {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 00:29:01 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/branchelim.go

    			postStmt = false
    		}
    
    	}
    	if postStmt {
    		postStmt = !findBlockPos(post)
    	}
    
    	// If simpleStmt and/or postStmt are still true, then try harder
    	// to find the corresponding statement marks new homes.
    
    	// setBlockPos determines if b contains a can-be-statement value
    	// that has the same line number as the Pos for b itself, and
    	// puts a statement mark on it, and returns whether it succeeded
    	// in this operation.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 30 17:46:51 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  9. pkg/ctrlz/home.go

    	errorTmpl := assets.ParseTemplate(template.Must(layout.Clone()), "templates/404.html")
    
    	_ = router.NewRoute().PathPrefix("/").Methods("GET").HandlerFunc(func(w http.ResponseWriter, req *http.Request) {
    		if req.URL.Path == "/" {
    			// home page
    			fw.RenderHTML(w, homeTmpl, getHomeInfo())
    		} else if req.URL.Path == "/homej" || req.URL.Path == "/homej/" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 14:06:41 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  10. pkg/ctrlz/assets/templates/home.html

    {{ template "last-refresh" .}}
    
    <script>
        "use strict"
    
        function refreshHomeInfo() {
            var url = window.location.protocol + "//" + window.location.host + "/homej/";
    
            var ajax = new XMLHttpRequest();
            ajax.onload = onload;
            ajax.onerror = onerror;
            ajax.open("GET", url, true);
            ajax.send();
    
            function onload() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top