- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 248 for lutimes (0.23 sec)
-
src/internal/testenv/testenv_notwin.go
import ( "fmt" "os" "path/filepath" "runtime" ) func hasSymlink() (ok bool, reason string) { switch runtime.GOOS { case "plan9": return false, "" case "android", "wasip1": // For wasip1, some runtimes forbid absolute symlinks, // or symlinks that escape the current working directory. // Perform a simple test to see whether the runtime // supports symlinks or not. If we get a permission
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 02 05:22:00 UTC 2023 - 1.1K bytes - Viewed (0) -
pkg/kubelet/stats/host_stats_provider_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 10 11:26:59 UTC 2022 - 1.9K bytes - Viewed (0) -
src/syscall/syscall_linux_loong64.go
if err != nil { return 0, err } if t != nil { *t = Time_t(tv.Sec) } return Time_t(tv.Sec), nil } func Utime(path string, buf *Utimbuf) error { tv := []Timeval{ {Sec: buf.Actime}, {Sec: buf.Modtime}, } return Utimes(path, tv) } func utimes(path string, tv *[2]Timeval) (err error) { if tv == nil { return utimensat(_AT_FDCWD, path, nil, 0) } ts := []Timespec{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 22:23:07 UTC 2023 - 7.1K bytes - Viewed (0) -
pkg/kubelet/images/types.go
// Implementations of this interface are expected to deal with pulling (downloading), // managing, and deleting container images. // Implementations are expected to abstract the underlying runtimes. // Implementations are expected to be thread safe. type ImageManager interface { // EnsureImageExists ensures that image specified in `container` exists.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 22:52:46 UTC 2023 - 2K bytes - Viewed (0) -
pilot/cmd/pilot-agent/app/fds.go
package app // RaiseFileLimits sets the file limit to the maximum allowed, to avoid exhaustion of file descriptors. // This is done by setting soft limit == hard limit. // Typical container runtimes already do this, but on VMs, etc this is generally not the case, and a limit of 1024 is common -- this is quite low! // // Go already sets this (https://github.com/golang/go/issues/46279).
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 06 22:16:26 UTC 2024 - 1.3K bytes - Viewed (0) -
platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/SamplesCodeQualityIntegrationTest.groovy
@Requires([UnitTestPreconditions.StableGroovy, UnitTestPreconditions.Jdk11OrLater, UnitTestPreconditions.Jdk21OrEarlier]) // FIXME KM temporarily disabling while CodeNarc runs in Worker API with multiple Groovy runtimes def "can generate reports with #dsl dsl"() { TestFile projectDir = sample.dir.file(dsl) TestFile buildDir = projectDir.file('build') when: executer
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Apr 06 02:21:33 UTC 2024 - 2.2K bytes - Viewed (0) -
pkg/kubelet/container/testing/os.go
return nil } // Hostname is a fake call that returns nil. func (f *FakeOS) Hostname() (name string, err error) { return f.HostName, nil } // Chtimes is a fake call that returns nil. func (*FakeOS) Chtimes(path string, atime time.Time, mtime time.Time) error { return nil } // Pipe is a fake call that returns nil. func (*FakeOS) Pipe() (r *os.File, w *os.File, err error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 07 13:37:31 UTC 2023 - 3.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_loong64.go
if err != nil { return 0, err } if t != nil { *t = Time_t(tv.Sec) } return Time_t(tv.Sec), nil } func Utime(path string, buf *Utimbuf) error { tv := []Timeval{ {Sec: buf.Actime}, {Sec: buf.Modtime}, } return Utimes(path, tv) } func utimes(path string, tv *[2]Timeval) (err error) { if tv == nil { return utimensat(AT_FDCWD, path, nil, 0) } ts := []Timespec{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 6.7K bytes - Viewed (0) -
pkg/util/filesystem/filesystem.go
type Filesystem interface { // from "os" Stat(name string) (os.FileInfo, error) Create(name string) (File, error) Rename(oldpath, newpath string) error MkdirAll(path string, perm os.FileMode) error Chtimes(name string, atime time.Time, mtime time.Time) error RemoveAll(path string) error Remove(name string) error // from "os" ReadFile(filename string) ([]byte, error) TempDir(dir, prefix string) (string, error)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 13 01:02:46 UTC 2023 - 1.6K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_cache_inputs.txt
# changes to the external inputs to the test. [short] skip [GODEBUG:gocacheverify=1] skip # We're testing cache behavior, so start with a clean GOCACHE. env GOCACHE=$WORK/cache # Build a helper binary to invoke os.Chtimes. go build -o mkold$GOEXE mkold.go # Make test input files appear to be a minute old. exec ./mkold$GOEXE 1m testcache/file.txt exec ./mkold$GOEXE 1m testcache/script.sh
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Mar 09 22:23:53 UTC 2024 - 6.3K bytes - Viewed (0)