- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 629 for getInf (0.13 sec)
-
src/runtime/env_plan9.go
// Subsequent calls to os.Setenv will change this cache, without writing back // to the (possibly shared) Plan 9 environment, so that Setenv and Getenv // conform to the same Posix semantics as on other operating systems. // For Plan 9 shared environment semantics, instead of Getenv(key) and // Setenv(key, value), one can use os.ReadFile("/env/" + key) and // os.WriteFile("/env/" + key, value, 0666) respectively. // //go:nosplit
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 26 02:39:39 UTC 2022 - 3K bytes - Viewed (0) -
testing/smoke-test/build.gradle.kts
maxParallelForks = 1 // those tests are pretty expensive, we shouldn't execute them concurrently inputs.property("androidHomeIsSet", System.getenv("ANDROID_HOME") != null) inputs.property("androidSdkRootIsSet", System.getenv("ANDROID_SDK_ROOT") != null) if (remoteProjectOutputFiles != null) { inputs.files(remoteProjectOutputFiles)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 6.4K bytes - Viewed (0) -
src/os/exec/lp_windows.go
dotf string dotErr error ) if _, found := syscall.Getenv("NoDefaultCurrentDirectoryInExePath"); !found { if f, err := findExecutable(filepath.Join(".", file), exts); err == nil { if execerrdot.Value() == "0" { execerrdot.IncNonDefault() return f, nil } dotf, dotErr = f, &Error{file, ErrDot} } } path := os.Getenv("path") for _, dir := range filepath.SplitList(path) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:33:12 UTC 2024 - 6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/FieldUtilTest.java
FieldUtil.set(field, this, new Integer(testData)); assertThat(FieldUtil.getInt(field, this), is(testData)); } /** * @throws Exception */ @Test public void testGetIntFieldObject() throws Exception { final Field field = getClass().getField("INT_DATA"); assertThat(FieldUtil.getInt(field), is(INT_DATA)); } /** * @throws Exception */ @Test
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 4.1K bytes - Viewed (0) -
src/syscall/env_unix.go
envOnce.Do(copyenv) envLock.Lock() defer envLock.Unlock() if i, ok := env[key]; ok { envs[i] = "" delete(env, key) } runtimeUnsetenv(key) return nil } func Getenv(key string) (value string, found bool) { envOnce.Do(copyenv) if len(key) == 0 { return "", false } envLock.RLock() defer envLock.RUnlock() i, ok := env[key] if !ok { return "", false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 06 20:58:35 UTC 2023 - 2.7K bytes - Viewed (0) -
src/cmd/go/internal/envcmd/env.go
{Name: "GOSUMDB", Value: cfg.GOSUMDB, Changed: cfg.GOSUMDBChanged}, {Name: "GOTMPDIR", Value: cfg.Getenv("GOTMPDIR")}, {Name: "GOTOOLCHAIN"}, {Name: "GOTOOLDIR", Value: build.ToolDir}, {Name: "GOVCS", Value: cfg.GOVCS}, {Name: "GOVERSION", Value: runtime.Version()}, {Name: "GODEBUG", Value: os.Getenv("GODEBUG")}, {Name: "GOTELEMETRY", Value: telemetry.Mode()}, {Name: "GOTELEMETRYDIR", Value: telemetry.Dir()},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 17:13:51 UTC 2024 - 19.6K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/util/internal/MavenUtil.java
public static File getUserMavenDir() { return new File(SystemProperties.getInstance().getUserHome(), ".m2"); } @Nullable public static File getGlobalMavenDir() { String m2Home = System.getenv("M2_HOME"); if (m2Home == null) { return null; } return new File(m2Home); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 24 10:34:35 UTC 2021 - 1.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/etcd3/testing/utils.go
limitations under the License. */ package testing import ( "os" "path" ) // PathPrefix returns the prefix set via the ETCD_PREFIX environment variable (if any). func PathPrefix() string { pref := os.Getenv("ETCD_PREFIX") if pref == "" { pref = "registry" } return path.Join("/", pref) } // AddPrefix adds the ETCD_PREFIX to the provided key func AddPrefix(in string) string {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 01 13:02:49 UTC 2019 - 962 bytes - Viewed (0) -
tests/fuzz/analyzer_fuzzer.go
} // createRandomConfigFiles creates a slice of ReaderSources func createRandomConfigFiles(f *fuzz.ConsumeFuzzer) ([]local.ReaderSource, error) { var files []local.ReaderSource numberOfFiles, err := f.GetInt() if err != nil { return files, err } maxFiles := numberOfFiles % 10 // Gather test files for i := 0; i < maxFiles; i++ { name, err := f.GetString() if err != nil { return files, err }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 4.1K bytes - Viewed (0) -
src/runtime/testdata/testprogcgo/catchpanic.go
void registerAbortHandler() { struct sigaction act; memset(&act, 0, sizeof act); act.sa_handler = abrthandler; sigaction(SIGABRT, &act, NULL); } static void __attribute__ ((constructor)) sigsetup(void) { if (getenv("CGOCATCHPANIC_EARLY_HANDLER") == NULL) return; registerAbortHandler(); } */ import "C" import "os" func init() { register("CgoCatchPanic", CgoCatchPanic) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 993 bytes - Viewed (0)