Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 275 for getEnd (0.11 sec)

  1. platforms/jvm/language-java/src/integTest/groovy/org/gradle/language/java/DependencyScope.groovy

                'dependencies {'
            }
    
            @Override
            public String getEnd() {
                '}'
            }
        },
        API {
            @Override
            public String getBegin() {
                'api { dependencies {'
            }
    
            @Override
            public String getEnd() {
                '}}'
            }
        },
        SOURCES {
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/concurrent/NamedOperation.groovy

        String toString() {
            return "[operation $name]"
        }
    
        Instant getEnd() {
            def instant = end.get()
            if (instant == null) {
                throw new IllegalStateException("Operation '$name' has not completed yet.")
            }
            return instant
        }
    
        Duration getDuration() {
            return getEnd() - start
        }
    
        void completed(Instant when) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. samples/bookinfo/src/reviews/reviews-application/src/main/java/application/rest/LibertyRestEndpoint.java

        private final static String star_color = System.getenv("STAR_COLOR") == null ? "black" : System.getenv("STAR_COLOR");
        private final static String services_domain = System.getenv("SERVICES_DOMAIN") == null ? "" : ("." + System.getenv("SERVICES_DOMAIN"));
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 15 22:25:32 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  4. src/syscall/syscall_js.go

    	return "", ENOSYS
    }
    
    const ImplementsGetwd = true
    
    func Getwd() (wd string, err error) {
    	var buf [PathMax]byte
    	n, err := Getcwd(buf[0:])
    	if err != nil {
    		return "", err
    	}
    	return string(buf[:n]), nil
    }
    
    func Getuid() int {
    	return jsProcess.Call("getuid").Int()
    }
    
    func Getgid() int {
    	return jsProcess.Call("getgid").Int()
    }
    
    func Geteuid() int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

        val isCiServer = CI_ENVIRONMENT_VARIABLE in System.getenv()
        val isTravis = "TRAVIS" in System.getenv()
        val isGhActions = "GITHUB_ACTIONS" in System.getenv()
        val isTeamCity = "TEAMCITY_VERSION" in System.getenv()
        val isTeamCityParallelTestsEnabled
            get() = "TEAMCITY_PARALLEL_TESTS_ENABLED" in System.getenv()
        val isCodeQl: Boolean by lazy {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 16:58:31 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. src/os/env.go

    	}
    	return s[:i], i
    }
    
    // Getenv retrieves the value of the environment variable named by the key.
    // It returns the value, which will be empty if the variable is not present.
    // To distinguish between an empty value and an unset value, use [LookupEnv].
    func Getenv(key string) string {
    	testlog.Getenv(key)
    	v, _ := syscall.Getenv(key)
    	return v
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/EnvVariableRead.groovy

    package org.gradle.internal.cc.impl.inputs.undeclared
    
    abstract class EnvVariableRead extends BuildInputRead {
        static EnvVariableRead getEnv(String name) {
            return new EnvVariableRead() {
                @Override
                String getKotlinExpression() {
                    return "System.getenv(\"$name\")"
                }
            }
        }
    
        static EnvVariableRead getEnvGet(String name) {
            return new EnvVariableRead() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. test/env.go

    // package os.
    
    package main
    
    import (
    	"os"
    	"runtime"
    )
    
    func main() {
    	ga := os.Getenv("PATH")
    	if runtime.GOOS == "plan9" {
    		ga = os.Getenv("path")
    	}
    	if ga == "" {
    		print("PATH is empty\n")
    		os.Exit(1)
    	}
    	xxx := os.Getenv("DOES_NOT_EXIST")
    	if xxx != "" {
    		print("$DOES_NOT_EXIST=", xxx, "\n")
    		os.Exit(1)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:34:59 UTC 2023
    - 549 bytes
    - Viewed (0)
  9. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/ReflectiveEnvironment.java

        public void unsetenv(String name) {
            Map<String, String> map = getEnv();
            map.remove(name);
            if (OperatingSystem.current().isWindows()) {
                Map<String, String> env2 = getWindowsEnv();
                env2.remove(name);
            }
        }
    
        public void setenv(String name, String value) {
            Map<String, String> map = getEnv();
            map.put(name, value);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/test_fuzz_setenv.txt

    import (
      "flag"
      "os"
      "testing"
    )
    
    func FuzzA(f *testing.F) {
      if s := os.Getenv("TEST_FUZZ_SETENV_A"); isWorker() && s == "" {
        f.Fatal("environment variable not set")
      } else if !isWorker() && s != "" {
        f.Fatal("environment variable already set")
      }
      f.Setenv("TEST_FUZZ_SETENV_A", "A")
      if os.Getenv("TEST_FUZZ_SETENV_A") == "" {
        f.Fatal("Setenv did not set environment variable")
      }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 943 bytes
    - Viewed (0)
Back to top