- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 99 for Lutimes (0.15 sec)
-
src/cmd/go/internal/cache/cache.go
// nearly all of the mtime updates that would otherwise happen, // while still keeping the mtimes useful for cache trimming. func (c *DiskCache) used(file string) { info, err := os.Stat(file) if err == nil && c.now().Sub(info.ModTime()) < mtimeInterval { return } os.Chtimes(file, c.now(), c.now()) } func (c *DiskCache) Close() error { return c.Trim() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Mar 09 14:19:39 UTC 2024 - 20.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go
if e1 != 0 { err = errnoErr(e1) } return } var libc_utimes_trampoline_addr uintptr //go:cgo_import_dynamic libc_utimes utimes "libc.so" // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func futimes(fd int, timeval *[2]Timeval) (err error) { _, _, e1 := syscall_syscall(libc_futimes_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0) if e1 != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 19:00:13 UTC 2024 - 57.5K bytes - Viewed (0) -
src/os/os_test.go
func TestChtimesToUnixZero(t *testing.T) { file := newFile("chtimes-to-unix-zero", t) fn := file.Name() defer Remove(fn) if _, err := file.Write([]byte("hi")); err != nil { t.Fatal(err) } if err := file.Close(); err != nil { t.Fatal(err) } unixZero := time.Unix(0, 0) if err := Chtimes(fn, unixZero, unixZero); err != nil { t.Fatalf("Chtimes failed: %v", err) } st, err := Stat(fn)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 83.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go
} if len(tv) != 2 { return EINVAL } return futimesat(dirfd, path, (*[2]Timeval)(unsafe.Pointer(&tv[0]))) } func Futimes(fd int, tv []Timeval) (err error) { // Believe it or not, this is the best we can do on Linux // (and is what glibc does). return Utimes("/proc/self/fd/"+strconv.Itoa(fd), tv) } const ImplementsGetwd = true //sys Getcwd(buf []byte) (n int, err error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 05:26:45 UTC 2024 - 77.5K bytes - Viewed (0) -
pkg/kubelet/cm/dra/claiminfo.go
func (info *ClaimInfo) setCDIDevices(pluginName string, cdiDevices []string) error { // NOTE: Passing CDI device names as annotations is a temporary solution // It will be removed after all runtimes are updated // to get CDI device names from the ContainerConfig.CDIDevices field annotations, err := cdi.GenerateAnnotations(info.ClaimUID, info.DriverName, cdiDevices) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 03 13:30:31 UTC 2024 - 7.9K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/go.mod
k8s.io/utils v0.0.0-20230726121419-3b25d923346b sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd sigs.k8s.io/structured-merge-diff/v4 v4.4.1 sigs.k8s.io/yaml v1.4.0 ) require ( github.com/NYTimes/gziphandler v1.1.1 // indirect github.com/antlr4-go/antlr/v4 v4.13.0 // indirect github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a // indirect github.com/beorn7/perks v1.0.1 // indirect
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 21:47:11 UTC 2024 - 6K bytes - Viewed (0) -
cmd/kubeadm/app/util/runtime/runtime.go
var defaultKnownCRISockets = []string{ constants.CRISocketContainerd, constants.CRISocketCRIO, constants.CRISocketDocker, } // ContainerRuntime is an interface for working with container runtimes type ContainerRuntime interface { Connect() error SetImpl(impl) IsRunning() error ListKubeContainers() ([]string, error) RemoveContainers(containers []string) error PullImage(image string) error
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 30 06:33:22 UTC 2024 - 8.4K bytes - Viewed (0) -
cni/pkg/nodeagent/podcgroupns.go
`(?:[[:^punct:]]+[[:punct:]])*` + // non-punctuation end of string, i.e., the container ID `(?P<containerid>[[:^punct:]]+)$`), // This regex applies for container runtimes, that won't put the PodUID into // the cgroup name. // Currently only cri-o in combination with kubeedge is known for this abnormally. regexp.MustCompile(`` + // intentionally empty poduid group `(?P<poduid>)` +
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 21:47:31 UTC 2024 - 11K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go
Errcnt int64 Stbcnt int64 Tai int32 _ [44]byte } type Time_t int64 type Tms struct { Utime int64 Stime int64 Cutime int64 Cstime int64 } type Utimbuf struct { Actime int64 Modtime int64 } type Rusage struct { Utime Timeval Stime Timeval Maxrss int64 Ixrss int64 Idrss int64 Isrss int64 Minflt int64 Majflt int64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 12.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go
Errcnt int32 Stbcnt int32 Tai int32 _ [44]byte } type Time_t int32 type Tms struct { Utime int32 Stime int32 Cutime int32 Cstime int32 } type Utimbuf struct { Actime int32 Modtime int32 } type Rusage struct { Utime Timeval Stime Timeval Maxrss int32 Ixrss int32 Idrss int32 Isrss int32 Minflt int32 Majflt int32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 12.3K bytes - Viewed (0)