Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,161 for statx (0.05 sec)

  1. src/syscall/syscall_linux_loong64.go

    }
    
    func fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) {
    	var r statx_t
    	// Do it the glibc way, add AT_NO_AUTOMOUNT.
    	if err = statx(dirfd, path, _AT_NO_AUTOMOUNT|flags, _STATX_BASIC_STATS, &r); err != nil {
    		return err
    	}
    
    	stat.Dev = makedev(r.Dev_major, r.Dev_minor)
    	stat.Ino = r.Ino
    	stat.Mode = uint32(r.Mode)
    	stat.Nlink = r.Nlink
    	stat.Uid = r.Uid
    	stat.Gid = r.Gid
    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. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_loong64.go

    	}
    }
    
    func Fstatat(fd int, path string, stat *Stat_t, flags int) error {
    	var r Statx_t
    	// Do it the glibc way, add AT_NO_AUTOMOUNT.
    	if err := Statx(fd, path, AT_NO_AUTOMOUNT|flags, STATX_BASIC_STATS, &r); err != nil {
    		return err
    	}
    
    	stat.Dev = Mkdev(r.Dev_major, r.Dev_minor)
    	stat.Ino = r.Ino
    	stat.Mode = uint32(r.Mode)
    	stat.Nlink = r.Nlink
    	stat.Uid = r.Uid
    	stat.Gid = r.Gid
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  3. pilot/cmd/pilot-agent/status/util/stats.go

    		line, _ := input.ReadString('\n')
    		for _, stat := range stats {
    			if e := stat.processLine(line); e != nil {
    				err = multierror.Append(err, e)
    			}
    		}
    	}
    	for _, stat := range stats {
    		if !stat.found {
    			*stat.value = 0
    		}
    	}
    	return
    }
    
    func (s *stat) processLine(line string) error {
    	if !s.found && strings.HasPrefix(line, s.name) {
    		s.found = true
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 21 15:50:49 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  4. src/cmd/go/internal/script/state.go

    // Chdir changes the State's working directory to the given path.
    func (s *State) Chdir(path string) error {
    	dir := s.Path(path)
    	if _, err := os.Stat(dir); err != nil {
    		return &fs.PathError{Op: "Chdir", Path: dir, Err: err}
    	}
    	s.pwd = dir
    	s.Setenv("PWD", dir)
    	return nil
    }
    
    // Context returns the Context with which the State was created.
    func (s *State) Context() context.Context {
    	return s.ctx
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 31 20:33:02 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/cpumanager/state/state.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package state
    
    import (
    	"k8s.io/utils/cpuset"
    )
    
    // ContainerCPUAssignments type used in cpu manager state
    type ContainerCPUAssignments map[string]map[string]cpuset.CPUSet
    
    // Clone returns a copy of ContainerCPUAssignments
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 13 00:59:30 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/memorymanager/state/state.go

    			clone[pod][container] = append([]Block{}, blocks...)
    		}
    	}
    	return clone
    }
    
    // Reader interface used to read current memory/pod assignment state
    type Reader interface {
    	// GetMachineState returns Memory Map stored in the State
    	GetMachineState() NUMANodeMap
    	// GetMemoryBlocks returns memory assignments of a container
    	GetMemoryBlocks(podUID string, containerName string) []Block
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 08 23:10:00 UTC 2021
    - 4.4K bytes
    - Viewed (0)
  7. src/os/stat.go

    // license that can be found in the LICENSE file.
    
    package os
    
    import "internal/testlog"
    
    // Stat returns a [FileInfo] describing the named file.
    // If there is an error, it will be of type [*PathError].
    func Stat(name string) (FileInfo, error) {
    	testlog.Stat(name)
    	return statNolog(name)
    }
    
    // Lstat returns a [FileInfo] describing the named file.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 973 bytes
    - Viewed (0)
  8. src/io/fs/stat.go

    package fs
    
    // A StatFS is a file system with a Stat method.
    type StatFS interface {
    	FS
    
    	// Stat returns a FileInfo describing the file.
    	// If there is an error, it should be of type *PathError.
    	Stat(name string) (FileInfo, error)
    }
    
    // Stat returns a [FileInfo] describing the named file from the file system.
    //
    // If fs implements [StatFS], Stat calls fs.Stat.
    // Otherwise, Stat opens the [File] to stat it.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 11 20:25:50 UTC 2023
    - 803 bytes
    - Viewed (0)
  9. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/Stat.java

     * limitations under the License.
     */
    
    package org.gradle.internal.file;
    
    import java.io.File;
    
    public interface Stat {
        int getUnixMode(File f) throws FileException;
    
        FileMetadata stat(File f) throws FileException;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 803 bytes
    - Viewed (0)
  10. pilot/pkg/status/distribution/state.go

    			delete(fractions, staleReporter)
    		}
    		c.CurrentState[key] = fractions
    	}
    }
    
    func (c *Controller) queueWriteStatus(config status.Resource, state Progress) {
    	c.workers.EnqueueStatusUpdateResource(state, config)
    }
    
    func (c *Controller) configDeleted(res config.Config) {
    	r := status.ResourceFromModelConfig(res)
    	c.workers.Delete(r)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 7.7K bytes
    - Viewed (0)
Back to top