- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 643 for OS (0.01 sec)
-
misc/ios/go_ios_exec.go
if err != nil { log.Fatalf("%v\n", err) } os.Exit(exitCode) } func runMain() (int, error) { var err error tmpdir, err = os.MkdirTemp("", "go_ios_exec_") if err != nil { return 1, err } if !debug { defer os.RemoveAll(tmpdir) } appdir := filepath.Join(tmpdir, "gotest.app") os.RemoveAll(appdir) if err := assembleApp(appdir, os.Args[1]); err != nil { return 1, err }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Jun 18 16:32:49 UTC 2024 - 8.7K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/TestPerformanceTest.kt
import jetbrains.buildServer.configs.kotlin.BuildSteps import model.CIBuildModel import model.Stage class TestPerformanceTest(model: CIBuildModel, stage: Stage) : OsAwareBaseGradleBuildType(os = Os.LINUX, stage, init = { val os = Os.LINUX val buildTypeThis = this val testProject = "smallJavaMultiProject" fun BuildSteps.gradleStep(tasks: List<String>) { gradleWrapper { name = "GRADLE_RUNNER"
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Jul 18 07:02:47 UTC 2024 - 3.1K bytes - Viewed (0) -
docs/pt/docs/tutorial/cors.md
```Python hl_lines="2 6-11 13-19" {!../../docs_src/cors/tutorial001.py!} ``` Os parâmetros padrão usados pela implementação `CORSMiddleware` são restritivos por padrão, então você precisará habilitar explicitamente as origens, métodos ou cabeçalhos específicos para que os navegadores tenham permissão para usá-los em um contexto de domínios diferentes. Os seguintes argumentos são suportados:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.5K bytes - Viewed (0) -
docs/extensions/s3zip/examples/minio-go/main.go
package main import ( "context" "io" "log" "os" "github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7/pkg/credentials" ) func main() { s3Client, err := minio.New("minio-server-address:9000", &minio.Options{ Creds: credentials.NewStaticV4("access-key", "secret-key", ""), }) if err != nil { log.Fatalln(err) } var opts minio.GetObjectOptions // Add extract header to request:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 14 18:04:14 UTC 2021 - 694 bytes - Viewed (0) -
buildscripts/gen-ldflags.go
fmt.Fprintln(os.Stderr, "Error generating git commit-time: ", err) os.Exit(1) } t, err := time.Parse(time.RFC3339, strings.TrimSpace(string(commitUnix))) if err != nil { fmt.Fprintln(os.Stderr, "Error generating git commit-time: ", err) os.Exit(1) } return t.UTC() } func main() { var version string if len(os.Args) > 1 { version = os.Args[1] } else {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jun 16 23:10:48 UTC 2022 - 3.3K bytes - Viewed (0) -
internal/disk/directio_darwin.go
package disk import ( "os" "github.com/ncw/directio" "golang.org/x/sys/unix" ) // ODirectPlatform indicates if the platform supports O_DIRECT const ODirectPlatform = true // OpenFileDirectIO - bypass kernel cache. func OpenFileDirectIO(filePath string, flag int, perm os.FileMode) (*os.File, error) { return directio.OpenFile(filePath, flag, perm) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Jun 17 14:31:36 UTC 2023 - 1.4K bytes - Viewed (0) -
internal/lock/lock_test.go
package lock import ( "os" "testing" "time" ) // Test lock fails. func TestLockFail(t *testing.T) { f, err := os.CreateTemp("", "lock") if err != nil { t.Fatal(err) } f.Close() defer func() { err = os.Remove(f.Name()) if err != nil { t.Fatal(err) } }() _, err = LockedOpenFile(f.Name(), os.O_APPEND, 0o600) if err == nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 3.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java
org.apache.maven.model.ActivationOS os = new org.apache.maven.model.ActivationOS(); os.setArch(profileOs.getArch()); os.setFamily(profileOs.getFamily()); os.setName(profileOs.getName()); os.setVersion(profileOs.getVersion()); activation.setOs(os); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.8K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt
} typealias OperatingSystemToTestProjectPerformanceTestDurations = Map<Os, Map<String, List<PerformanceTestDuration>>> const val MAX_TEST_PROJECTS_PER_BUCKET = 10 data class PerformanceTestSpec(val performanceTestType: PerformanceTestType, val os: Os)
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Feb 19 11:22:56 UTC 2024 - 15.3K bytes - Viewed (0) -
cmd/service.go
// process when successful. func restartProcess() error { if runtime.GOOS == globalWindowsOSName { cmd := exec.Command(os.Args[0], os.Args[1:]...) cmd.Stdout = os.Stdout cmd.Stderr = os.Stderr cmd.Stdin = os.Stdin cmd.Env = os.Environ() err := cmd.Run() if err == nil { os.Exit(0) } return err } // Use the original binary location. This works with symlinks such that if
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Feb 28 07:02:14 UTC 2024 - 3.8K bytes - Viewed (0)