Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 543 for os (0.01 seconds)

  1. pdm_build.py

    import os
    from typing import Any
    
    from pdm.backend.hooks import Context
    
    TIANGOLO_BUILD_PACKAGE = os.getenv("TIANGOLO_BUILD_PACKAGE", "fastapi")
    
    
    def pdm_build_initialize(context: Context) -> None:
        metadata = context.config.metadata
        # Get custom config for the current package, from the env var
        config: dict[str, Any] = context.config.data["tool"]["tiangolo"][
            "_internal-slim-build"
        ]["packages"].get(TIANGOLO_BUILD_PACKAGE)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 691 bytes
    - Click Count (0)
  2. internal/config/subnet/config.go

    func (c *Config) ApplyEnv() {
    	configLock.RLock()
    	defer configLock.RUnlock()
    
    	if c.License != "" {
    		os.Setenv("CONSOLE_SUBNET_LICENSE", c.License)
    	}
    	if c.APIKey != "" {
    		os.Setenv("CONSOLE_SUBNET_API_KEY", c.APIKey)
    	}
    	if c.Proxy != "" {
    		os.Setenv("CONSOLE_SUBNET_PROXY", c.Proxy)
    	}
    	os.Setenv("CONSOLE_SUBNET_URL", c.BaseURL)
    }
    
    // Update - in-place update with new license and registration information.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  3. misc/go_android_exec/main.go

    	// the output and parse it from there.
    	filter, exitStr := newExitCodeFilter(os.Stdout)
    	args += "; echo -n " + exitStr + "$?"
    
    	cmd := adbCmd("exec-out", args)
    	cmd.Stdout = filter
    	// If the adb subprocess somehow hangs, go test will kill this wrapper
    	// and wait for our os.Stderr (and os.Stdout) to close as a result.
    	// However, if the os.Stderr (or os.Stdout) file descriptors are
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Click Count (0)
  4. .teamcity/src/main/kotlin/util/RerunFlakyTest.kt

    import jetbrains.buildServer.configs.kotlin.BuildType
    import jetbrains.buildServer.configs.kotlin.ParameterDisplay
    
    class RerunFlakyTest(
        os: Os,
        arch: Arch = Arch.AMD64,
    ) : BuildType({
            val id = "Util_RerunFlakyTest${os.asName()}${arch.asName()}"
            name = "Rerun Flaky Test - ${os.asName()} ${arch.asName()}"
            description = "Allows you to rerun a selected flaky test 10 times"
            id(id)
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Feb 19 08:02:04 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  5. .teamcity/src/main/kotlin/util/WarmupEc2Agent.kt

    package util
    
    import common.BuildToolBuildJvm
    import common.Os
    import common.VersionedSettingsBranch
    import common.buildToolGradleParameters
    import common.gradleWrapper
    import common.javaHome
    import jetbrains.buildServer.configs.kotlin.BuildType
    import jetbrains.buildServer.configs.kotlin.buildFeatures.freeDiskSpace
    import vcsroots.useAbsoluteVcs
    
    object WarmupEc2Agent : BuildType({
        name = "Warmup EC2 Agent"
        id("Util_WarmupEc2Agent")
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Feb 12 09:12:03 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivatorTest.java

            Activation a = Activation.newBuilder().os(activationBuilder.build()).build();
    
            Profile p = Profile.newBuilder().activation(a).build();
    
            return p;
        }
    
        private Properties newProperties(String osName, String osVersion, String osArch) {
            Properties props = new Properties();
            props.setProperty("os.name", osName);
            props.setProperty("os.version", osVersion);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  7. cmd/update_test.go

    		}
    		os.Unsetenv("MARATHON_APP_LABEL_DCOS_PACKAGE_VERSION")
    		os.Unsetenv(testCase.envName)
    	}
    }
    
    // Tests if the environment we are running is in DCOS.
    func TestIsDCOS(t *testing.T) {
    	t.Setenv("MESOS_CONTAINER_NAME", "mesos-1111")
    	dcos := IsDCOS()
    	if !dcos {
    		t.Fatalf("Expected %t, got %t", true, dcos)
    	}
    	os.Unsetenv("MESOS_CONTAINER_NAME")
    	dcos = IsDCOS()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  8. .teamcity/src/main/kotlin/configurations/BuildDistributions.kt

    package configurations
    
    import common.Os.LINUX
    import common.buildScanTagParam
    import common.getBuildScanCustomValueParam
    import common.setArtifactRules
    import model.CIBuildModel
    import model.Stage
    
    class BuildDistributions(
        model: CIBuildModel,
        stage: Stage,
    ) : OsAwareBaseGradleBuildType(os = LINUX, stage = stage, init = {
            id("${model.projectId}_BuildDistributions")
            name = "Build Distributions"
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Dec 22 07:15:16 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  9. cmd/xl-storage_test.go

    	}
    
    	if err = os.Chmod(slashpath.Join(permDeniedDir, "mybucket"), 0o400); err != nil {
    		t.Fatalf("Unable to change permission to temporary directory %v. %v", slashpath.Join(permDeniedDir, "mybucket"), err)
    	}
    	t.Cleanup(func() {
    		os.Chmod(slashpath.Join(permDeniedDir, "mybucket"), 0o775)
    	})
    
    	if err = os.Chmod(permDeniedDir, 0o400); err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 66K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/FileModelSourceTest.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.building;
    
    import java.io.File;
    import java.io.IOException;
    
    import org.codehaus.plexus.util.Os;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.junit.jupiter.api.Assumptions.assumeTrue;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 2.6K bytes
    - Click Count (0)
Back to Top