Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 629 for getInf (0.17 sec)

  1. platforms/documentation/docs/src/snippets/buildCache/integration-tests/kotlin/build.gradle.kts

            }
        )
    }
    // end::ignoreSystemProperties[]
    
    // tag::environment[]
    tasks.integTest {
        inputs.property("langEnvironment") {
            System.getenv("LANG")
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. src/os/user/lookup_plan9.go

    	if err != nil {
    		return nil, fmt.Errorf("user: %s", err)
    	}
    
    	uname := string(ubytes)
    
    	u := &User{
    		Uid:      uname,
    		Gid:      uname,
    		Username: uname,
    		Name:     uname,
    		HomeDir:  os.Getenv("home"),
    	}
    
    	return u, nil
    }
    
    func lookupUser(username string) (*User, error) {
    	return nil, syscall.EPLAN9
    }
    
    func lookupUserId(uid string) (*User, error) {
    	return nil, syscall.EPLAN9
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 07 16:09:09 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  3. src/syscall/exec_linux_test.go

    // has forced / to be shared
    func TestUnshareMountNameSpace(t *testing.T) {
    	const mountNotSupported = "mount is not supported: " // Output prefix indicating a test skip.
    	if os.Getenv("GO_WANT_HELPER_PROCESS") == "1" {
    		dir := flag.Args()[0]
    		err := syscall.Mount("none", dir, "proc", 0, "")
    		if testenv.SyscallIsNotSupported(err) {
    			fmt.Print(mountNotSupported, err)
    		} else if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  4. src/net/mockserver_test.go

    		}
    	}, nil
    }
    
    func init() {
    	if os.Getenv("GO_NET_TEST_TRANSFER") == "" {
    		return
    	}
    	defer os.Exit(0)
    
    	f := os.NewFile(uintptr(3), "splice-test-conn")
    	defer f.Close()
    
    	conn, err := FileConn(f)
    	if err != nil {
    		log.Fatal(err)
    	}
    
    	var chunkSize int
    	if chunkSize, err = strconv.Atoi(os.Getenv("GO_NET_TEST_TRANSFER_CHUNK_SIZE")); err != nil {
    		log.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/EnvVariableInjection.groovy

            // We can't "unset" the variable with the API executer provides, but it isn't necessary, thanks to the filtering in
            // build-logic/jvm/src/main/kotlin/gradlebuild/propagated-env-variables.kt
            if (System.getenv().containsKey(key)) {
                throw new IllegalStateException("Environment variable $key is present for this process and may affect tests")
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/internal/classpath/Instrumented.java

        }
    
        // Called by generated code.
        public static String getenv(String key, String consumer) {
            String value = System.getenv(key);
            envVariableQueried(key, value, consumer);
            return value;
        }
    
        // Called by generated code.
        public static Map<String, String> getenv(String consumer) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 13:46:35 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/test_cache_inputs.txt

    	if err != nil {
    		t.Fatal(err)
    	}
    	if !ps.Success() {
    		t.Fatalf("script failed: %v", err)
    	}
    }
    
    func TestExternalFile(t *testing.T) {
    	os.Open(os.Getenv("TEST_EXTERNAL_FILE"))
    	_, err := os.Stat(os.Getenv("TEST_EXTERNAL_FILE"))
    	if err != nil {
    		t.Fatal(err)
    	}
    }
    
    func TestOSArgs(t *testing.T) {
    	t.Log(os.Args)
    }
    
    func TestBenchtime(t *testing.T) {
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 22:23:53 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. src/runtime/vdso_test.go

    	"path/filepath"
    	"syscall"
    	"testing"
    	"time"
    )
    
    // TestUsingVDSO tests that we are actually using the VDSO to fetch
    // the time.
    func TestUsingVDSO(t *testing.T) {
    	const calls = 100
    
    	if os.Getenv("GO_WANT_HELPER_PROCESS") == "1" {
    		// Fetch the time a lot.
    		var total int64
    		for i := 0; i < calls; i++ {
    			total += time.Now().UnixNano()
    		}
    		os.Exit(0)
    	}
    
    	t.Parallel()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 17 19:47:47 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/sources/process/ProcessOutputValueSourceTest.groovy

            }.get()
    
            then:
            1 * execOperations.exec(_) >> { Action<? super ExecSpec> action -> action.execute(spec) }
            spec.getCommandLine() == ["echo", "hello"]
            spec.environment == System.getenv()
        }
    
        def "full environment is propagated to execOperations"() {
            given:
            def spec = specFactory.newExecAction()
    
            when:
            createProviderOf(ProcessOutputValueSource.class) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  10. pilot/test/xdstest/test.go

    		}
    		return matches
    	case *listener.ListenerFilterChainMatchPredicate_DestinationPortRange:
    		return int32(port) >= r.DestinationPortRange.GetStart() && int32(port) < r.DestinationPortRange.GetEnd()
    	default:
    		panic("unsupported predicate")
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 29 21:47:46 UTC 2022
    - 1.6K bytes
    - Viewed (0)
Back to top