Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for getEnd (0.14 sec)

  1. cni/pkg/cmd/root.go

    		KubeconfigMode:        viper.GetInt(constants.KubeconfigMode),
    		KubeCAFile:            viper.GetString(constants.KubeCAFile),
    		SkipTLSVerify:         viper.GetBool(constants.SkipTLSVerify),
    		K8sServiceProtocol:    os.Getenv("KUBERNETES_SERVICE_PROTOCOL"),
    		K8sServiceHost:        os.Getenv("KUBERNETES_SERVICE_HOST"),
    		K8sServicePort:        os.Getenv("KUBERNETES_SERVICE_PORT"),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/EncryptionService.kt

            Base64.getDecoder().decode(getKeyAsBase64()).let { keyAsBytes ->
                SecretKeySpec(keyAsBytes, encryptionAlgorithm)
            }
        }
    
        private
        fun getKeyAsBase64(): String = System.getenv(GRADLE_ENCRYPTION_KEY_ENV_KEY) ?: ""
    
        override fun getKey(): SecretKey = secretKey
    
        override val sourceDescription: String
            get() = "$GRADLE_ENCRYPTION_KEY_ENV_KEY environment variable"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredBuildInputsIntegrationTest.groovy

        }
    
        def "reports build logic reading environment variables with getenv(String) using GString parameters"() {
            // Note that the map returned from System.getenv() doesn't support GStrings as keys, so there is no point in testing it.
            buildFile << '''
                def ci = "ci"
                def value = "value"
                println "CI1 = " + System.getenv("${ci.toUpperCase()}1")
            '''
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 36K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintChecker.kt

                        return "system property '$key' has changed"
                    }
                }
                is ConfigurationCacheFingerprint.UndeclaredEnvironmentVariable -> input.run {
                    if (System.getenv(key) != value) {
                        return "environment variable '$key' has changed"
                    }
                }
                is ConfigurationCacheFingerprint.ChangingDependencyResolutionValue -> input.run {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  5. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/ApiRunner.java

                    Lookup lookup) {
                super(session, repositorySystem, repositories, resolverRepositories, lookup);
                systemProperties = System.getenv().entrySet().stream()
                        .collect(Collectors.toMap(e -> "env." + e.getKey(), e -> e.getValue()));
                System.getProperties().forEach((k, v) -> systemProperties.put(k.toString(), v.toString()));
            }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  6. internal/kms/config.go

    	//
    	// Until the container image changes, this behavior has to be preserved.
    	if isPresent(EnvKMSSecretKey) && os.Getenv(EnvKMSSecretKey) == "" {
    		os.Unsetenv(EnvKMSSecretKey)
    	}
    	if isPresent(EnvKMSSecretKeyFile) {
    		if filename := os.Getenv(EnvKMSSecretKeyFile); filename == "" {
    			os.Unsetenv(EnvKMSSecretKeyFile)
    		} else if _, err := os.Stat(filename); errors.Is(err, os.ErrNotExist) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 12 14:31:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc

      mlir::IntegerAttr num_cores_per_replica_attr =
          cluster->getAttrOfType<mlir::IntegerAttr>(kNumCoresPerReplicaAttr);
      if (num_cores_per_replica_attr) {
        return num_cores_per_replica_attr.getInt();
      } else {
        return 1;
      }
    }
    
    // Get the TPUDevicesAndHosts for a cluster that is not replicated.
    mlir::LogicalResult GetTPUDevicesAndHostsNotReplicated(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 20:10:40 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheEncryptionIntegrationTest.groovy

                        new SensitiveData(sensitiveField: "sensitive_value2"),
                        sensitive_property_name,
                        sensitive_property_name2,
                        System.getenv("SENSITIVE_ENV_VAR_NAME")
                    ]
                    it.sensitiveInput2.set("sensitive_value3")
                }
                tasks.withType(SensitiveTask).configureEach {
                    doLast {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/AbstractUndeclaredBuildInputsIntegrationTest.groovy

            outputContains("apply = $newValue")
            outputContains("task = $newValue")
    
            where:
            envVarRead                                          | value  | newValue
            EnvVariableRead.getEnv("CI")                        | "true" | "false"
            EnvVariableRead.getEnvGet("CI")                     | "true" | "false"
            EnvVariableRead.getEnvGetOrDefault("CI", "default") | "true" | "false"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/InProcessGradleExecuter.java

            originalSysProperties.putAll(System.getProperties());
            File originalUserDir = new File(originalSysProperties.getProperty("user.dir")).getAbsoluteFile();
            Map<String, String> originalEnv = new HashMap<>(System.getenv());
    
            GradleInvocation invocation = buildInvocation();
            Set<String> changedEnvVars = new HashSet<>(invocation.environmentVars.keySet());
    
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 37.1K bytes
    - Viewed (0)
Back to top