Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 262 for Lutimes (0.14 sec)

  1. 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)
  2. pkg/kubelet/stats/host_stats_provider_test.go

    		podUID              types.UID
    		rootFsInfo          *cadvisorapiv2.FsInfo
    		want                *statsapi.FsStats
    		wantErr             bool
    	}{
    		{
    			name: "Should return nil for runtimes that do not support etc host file",
    			podEtcHostsPathFunc: func(podUID types.UID) string {
    				return ""
    			},
    			podUID:     "fake0001",
    			rootFsInfo: nil,
    			want:       nil,
    			wantErr:    false,
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 10 11:26:59 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/runtime/internal/wasitest/tcpecho_test.go

    	// so that it can connect to the WASM module. The WASM module itself
    	// cannot access any information about the socket due to limitations
    	// with WASI preview 1 networking, and the WASM runtimes do not log the
    	// port when you pre-open a socket. So, we probe for a free port here.
    	// Given there's an unavoidable race condition, the test is disabled by
    	// default.
    	if os.Getenv("GOWASIENABLERACYTEST") != "1" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 22:01:11 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top