Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for getEnd (0.18 sec)

  1. 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)
  2. 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)
  3. platforms/enterprise/enterprise-plugin-performance/build.gradle.kts

    }
    
    tasks.withType<gradlebuild.performance.tasks.PerformanceTest>().configureEach {
        environment("GRADLE_INTERNAL_REPO_URL", System.getenv("GRADLE_INTERNAL_REPO_URL"))
        environment("GRADLE_INTERNAL_REPO_USERNAME", System.getenv("GRADLE_INTERNAL_REPO_USERNAME"))
        environment("GRADLE_INTERNAL_REPO_PASSWORD", System.getenv("GRADLE_INTERNAL_REPO_PASSWORD"))
    
        reportGeneratorClass = "org.gradle.performance.results.BuildScanReportGenerator"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 23:14:25 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. src/net/http/cgi/cgi_main.go

    package cgi
    
    import (
    	"fmt"
    	"io"
    	"net/http"
    	"os"
    	"path"
    	"slices"
    	"strings"
    	"time"
    )
    
    func cgiMain() {
    	switch path.Join(os.Getenv("SCRIPT_NAME"), os.Getenv("PATH_INFO")) {
    	case "/bar", "/test.cgi", "/myscript/bar", "/test.cgi/extrapath":
    		testCGI()
    		return
    	}
    	childCGIProcess()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/services/Environment.kt

                listener.systemPropertiesPrefixedBy(prefix, snapshot)
            }
    
        override fun getVariables(): Environment.Properties =
            TrackingProperties(System.getenv()) { prefix, snapshot ->
                listener.envVariablesPrefixedBy(prefix, snapshot)
            }
    
        private
        class TrackingProperties(
            map: Map<String, String>,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r35/BuildEnvironmentCrossVersionSpec.groovy

            given:
            toolingApi.requireDaemons() //cannot be run in embedded mode
    
            buildFile << """
                task printEnv() {
                    doLast {
                        println "<" + System.getenv() + ">"
                    }
                }"""
    
            when:
            ByteArrayOutputStream out = new ByteArrayOutputStream()
            withConnection { ProjectConnection connection ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. src/runtime/debug/stack_test.go

    	"runtime"
    	"runtime/debug"
    	. "runtime/debug"
    	"strings"
    	"testing"
    )
    
    func TestMain(m *testing.M) {
    	switch os.Getenv("GO_RUNTIME_DEBUG_TEST_ENTRYPOINT") {
    	case "dumpgoroot":
    		fmt.Println(runtime.GOROOT())
    		os.Exit(0)
    
    	case "setcrashoutput":
    		f, err := os.Create(os.Getenv("CRASHOUTPUT"))
    		if err != nil {
    			log.Fatal(err)
    		}
    		if err := SetCrashOutput(f, debug.CrashOptions{}); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. security/pkg/util/jwtutil.go

    	case float64:
    		expiration = time.Unix(int64(exp), 0)
    	case json.Number:
    		v, _ := exp.Int64()
    		expiration = time.Unix(v, 0)
    	}
    	return expiration, nil
    }
    
    // GetAud returns the claim `aud` from the token. Returns nil if not found.
    func GetAud(token string) ([]string, error) {
    	claims, err := parseJwtClaims(token)
    	if err != nil {
    		return nil, err
    	}
    
    	rawAud := claims["aud"]
    	if rawAud == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 16:07:11 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. src/cmd/go/internal/cache/default.go

    		os.WriteFile(filepath.Join(dir, "README"), []byte(cacheREADME), 0666)
    	}
    
    	diskCache, err := Open(dir)
    	if err != nil {
    		base.Fatalf("failed to initialize build cache at %s: %s\n", dir, err)
    	}
    
    	if v := cfg.Getenv("GOCACHEPROG"); v != "" && goexperiment.CacheProg {
    		defaultCache = startCacheProg(v, diskCache)
    	} else {
    		defaultCache = diskCache
    	}
    }
    
    var (
    	defaultDirOnce    sync.Once
    	defaultDir        string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. security/pkg/util/jwtutil_test.go

    		},
    		"two audiences list": {
    			jwt: twoAudList,
    			aud: []string{"abc", "xyz"},
    		},
    	}
    
    	for id, tc := range testCases {
    		t.Run(id, func(t *testing.T) {
    			if got, _ := GetAud(tc.jwt); !reflect.DeepEqual(tc.aud, got) {
    				t.Errorf("want audience %v but got %v", tc.aud, got)
    			}
    		})
    	}
    }
    
    func TestBase64UrlPartDecoding(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 16:07:11 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top