- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 629 for getInf (0.12 sec)
-
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_collective.cc
return success(); } return op->emitOpError() << "module already contains an attribute " << attr_name << "=" << ex_attr_value.getInt() << ", overwritting to a new value " << attr_value.getInt() << " is not allowed."; } LogicalResult SetCollectiveInfo(IntegerAttr group_size, IntegerAttr group_key, Operation* op) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 16K bytes - Viewed (0) -
testing/internal-testing/src/test/groovy/org/gradle/infra/EnvironmentVariablesPropagationTest.groovy
import spock.lang.Specification class EnvironmentVariablesPropagationTest extends Specification { def "no sensitive env variables #value propagated to test JVMs"() { expect: System.getenv().each { k, v -> assert !k.toLowerCase().contains(value.toLowerCase()) assert !v.toLowerCase().contains(value.toLowerCase()) } where:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.3K bytes - Viewed (0) -
pkg/test/env/variable.go
type Variable string // Name of the environment variable. func (e Variable) Name() string { return string(e) } // Value of the environment variable. func (e Variable) Value() string { return os.Getenv(e.Name()) } // ValueOrDefault returns the value of the environment variable if it is non-empty. Otherwise returns the value provided. func (e Variable) ValueOrDefault(defaultValue string) string {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 29 20:42:01 UTC 2020 - 1.4K bytes - Viewed (0) -
src/os/file.go
switch runtime.GOOS { case "windows": dir = Getenv("LocalAppData") if dir == "" { return "", errors.New("%LocalAppData% is not defined") } case "darwin", "ios": dir = Getenv("HOME") if dir == "" { return "", errors.New("$HOME is not defined") } dir += "/Library/Caches" case "plan9": dir = Getenv("home") if dir == "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 23:07:37 UTC 2024 - 25.4K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/inet/InetAddressFactory.java
} } @Nullable private InetAddress findOpenshiftAddresses() { for (String key : System.getenv().keySet()) { if (key.startsWith("OPENSHIFT_") && key.endsWith("_IP")) { String ipAddress = System.getenv(key); logger.debug("OPENSHIFT IP environment variable {} detected. Using IP address {}.", key, ipAddress); try {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 00:47:05 UTC 2024 - 5.7K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/sink/AnsiConsoleUtil.java
private static boolean environmentVariableStartsWith(String name, String pattern) { return System.getenv(name) != null && System.getenv(name).startsWith(pattern); } private AnsiConsoleUtil() { } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 6K bytes - Viewed (0) -
internal/disk/stat_linux.go
"fmt" "io" "os" "path/filepath" "strconv" "strings" "syscall" "github.com/prometheus/procfs/blockdevice" "golang.org/x/sys/unix" ) // GetInfo returns total and free bytes available in a directory, e.g. `/`. func GetInfo(path string, firstTime bool) (info Info, err error) { s := syscall.Statfs_t{} err = syscall.Statfs(path, &s) if err != nil { return Info{}, err }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Feb 26 19:34:50 UTC 2024 - 4.8K bytes - Viewed (0) -
src/cmd/go/testdata/script/gotoolchain_loop.txt
} -- m.go -- package main import "os" func init() { envs := []string{ "GOTOOLCHAIN_INTERNAL_SWITCH_COUNT", "GOTOOLCHAIN_INTERNAL_SWITCH_VERSION", } for _, e := range envs { if v := os.Getenv(e); v != "" { panic("$"+e+"="+v) } } os.Stdout.WriteString("clean\n") } func main() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 31 15:20:23 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/sources/EnvironmentVariableValueSource.java
@Nullable @Override public String obtain() { @Nullable String variableName = variableNameOrNull(); if (variableName == null) { return null; } return System.getenv(variableName); } @Override public String getDisplayName() { return String.format("environment variable '%s'", variableNameOrNull()); } private String variableNameOrNull() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.6K bytes - Viewed (0) -
test/fixedbugs/issue21317.go
import "fmt" func main() { n, err := fmt.Println(1) } `) f.Close() defer os.RemoveAll(f.Name()) // compile and test output cmd := exec.Command("go", "tool", "compile", "-p=main", "-importcfg="+os.Getenv("STDLIB_IMPORTCFG"), f.Name()) out, err := cmd.CombinedOutput() if err == nil { log.Fatalf("expected cmd/compile to fail") } wantErrs := []string{ "7:9: declared and not used: n",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 1.1K bytes - Viewed (0)