Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 500 for OS (0.02 sec)

  1. cmd/os_unix.go

    			return &buf
    		},
    	}
    )
    
    // unexpectedFileMode is a sentinel (and bogus) os.FileMode
    // value used to represent a syscall.DT_UNKNOWN Dirent.Type.
    const unexpectedFileMode os.FileMode = os.ModeNamedPipe | os.ModeSocket | os.ModeDevice
    
    func parseDirEnt(buf []byte) (consumed int, name []byte, typ os.FileMode, err error) {
    	// golang.org/issue/15653
    	dirent := (*syscall.Dirent)(unsafe.Pointer(&buf[0]))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. src/archive/tar/writer_test.go

    				}
    			}
    		})
    	}
    }
    
    func TestPax(t *testing.T) {
    	// Create an archive with a large name
    	fileinfo, err := os.Stat("testdata/small.txt")
    	if err != nil {
    		t.Fatal(err)
    	}
    	hdr, err := FileInfoHeader(fileinfo, "")
    	if err != nil {
    		t.Fatalf("os.Stat: %v", err)
    	}
    	// Force a PAX long name to be written
    	longName := strings.Repeat("ab", 100)
    	contents := strings.Repeat(" ", int(hdr.Size))
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Feb 03 16:38:43 UTC 2025
    - 39.8K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/configurations/PerformanceTest.kt

                val type = performanceTestBuildSpec.type
                val os = performanceTestBuildSpec.os
                val arch = performanceTestBuildSpec.arch
                val buildTypeThis = this
                val performanceTestTaskNames = getPerformanceTestTaskNames(performanceSubProject, testProjects, performanceTestTaskSuffix)
                applyPerformanceTestSettings(os = os, arch = arch, timeout = type.timeout)
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Feb 12 09:12:03 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/configurations/FlakyTestQuarantine.kt

                .filter { it.os == os }
                .forEach {
                    buildType(FlakyTestQuarantine(model, stage, it))
                }
        })
    
    class FlakyTestQuarantine(
        model: CIBuildModel,
        stage: Stage,
        testCoverage: TestCoverage,
    ) : OsAwareBaseGradleBuildType(os = testCoverage.os, stage = stage, init = {
            val os = testCoverage.os
            val arch = testCoverage.arch
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Tue Jul 29 03:24:58 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/configurations/GradleBuildConfigurationDefaults.kt

        buildType.steps {
            extraSteps()
            killProcessStep(buildType, KILL_PROCESSES_STARTED_BY_GRADLE, os, arch, executionMode = ExecutionMode.ALWAYS)
            checkCleanM2AndAndroidUserHome(os, buildType)
        }
    
        applyDefaultDependencies(model, buildType)
    }
    
    private fun BaseGradleBuildType.addRetrySteps(
        model: CIBuildModel,
        gradleTasks: String,
        os: Os = Os.LINUX,
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Jun 11 12:58:05 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  6. docs/pt/docs/advanced/dataclasses.md

    * validação de dados
    * serialização de dados
    * documentação de dados, etc.
    
    Isso funciona da mesma forma que com os modelos Pydantic. E na verdade é alcançado da mesma maneira por baixo dos panos, usando Pydantic.
    
    /// info | Informação
    
    Lembre-se de que dataclasses não podem fazer tudo o que os modelos Pydantic podem fazer.
    
    Então, você ainda pode precisar usar modelos Pydantic.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. docs/site-replication/gen-oidc-sts-cred.go

    //
    // $ MINIO_ENDPOINT=http://localhost:9000 go run gen-oidc-sts-cred.go
    
    import (
    	"context"
    	"fmt"
    	"log"
    	"net/http"
    	"os"
    
    	cr "github.com/minio/minio-go/v7/pkg/credentials"
    	cmd "github.com/minio/minio/cmd"
    )
    
    func main() {
    	ctx := context.Background()
    
    	endpoint := os.Getenv("MINIO_ENDPOINT")
    	if endpoint == "" {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 29 01:27:09 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  8. .github/workflows/go.yml

        name: Go ${{ matrix.go-version }} on ${{ matrix.os }} - healing
        runs-on: ${{ matrix.os }}
        strategy:
          matrix:
            go-version: [1.24.x]
            os: [ubuntu-latest]
        steps:
          - uses: actions/checkout@v4
          - uses: actions/setup-go@v5
            with:
              go-version: ${{ matrix.go-version }}
              check-latest: true
          - name: Build on ${{ matrix.os }}
            if: matrix.os == 'ubuntu-latest'
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/OperatingSystemProfileActivator.java

            }
            if (result && os.getVersion() != null) {
                result = determineVersionMatch(os.getVersion());
            }
            return result;
        }
    
        private boolean ensureAtLeastOneNonNull(ActivationOS os) {
            return os.getArch() != null || os.getFamily() != null || os.getName() != null || os.getVersion() != null;
        }
    
        private boolean determineVersionMatch(String version) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  10. src/cmd/buildid/buildid.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"flag"
    	"fmt"
    	"log"
    	"os"
    	"strings"
    
    	"cmd/internal/buildid"
    	"cmd/internal/telemetry/counter"
    )
    
    func usage() {
    	fmt.Fprintf(os.Stderr, "usage: go tool buildid [-w] file\n")
    	flag.PrintDefaults()
    	os.Exit(2)
    }
    
    var wflag = flag.Bool("w", false, "write build ID")
    
    func main() {
    	log.SetPrefix("buildid: ")
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Jun 21 19:58:04 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top