Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 910 for unmix (0.22 sec)

  1. cmd/erasure-healing-common_test.go

    			[]time.Time{
    				time.Unix(0, 1).UTC(),
    				time.Unix(0, 2).UTC(),
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 2).UTC(),
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 1).UTC(),
    			},
    			time.Unix(0, 3).UTC(),
    			3,
    		},
    		{
    			// 2. Tests common time obtained when all elements are equal.
    			[]time.Time{
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 3).UTC(),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 23K bytes
    - Viewed (0)
  2. src/archive/tar/stat_unix.go

    		case "linux":
    			// Copied from golang.org/x/sys/unix/dev_linux.go.
    			major := uint32((dev & 0x00000000000fff00) >> 8)
    			major |= uint32((dev & 0xfffff00000000000) >> 32)
    			minor := uint32((dev & 0x00000000000000ff) >> 0)
    			minor |= uint32((dev & 0x00000ffffff00000) >> 12)
    			h.Devmajor, h.Devminor = int64(major), int64(minor)
    		case "darwin", "ios":
    			// Copied from golang.org/x/sys/unix/dev_darwin.go.
    			major := uint32((dev >> 24) & 0xff)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 16:01:50 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc_test.go

    	// Use {{.Expired}} to handle the token expiry date string with correct timezone handling.
    	v := struct {
    		URL     string
    		Expired string
    	}{
    		URL:     ts.URL,
    		Expired: fmt.Sprintf("%v", time.Unix(expired.Unix(), 0)),
    	}
    	c.claims = replace(c.claims, &v)
    	c.openIDConfig = replace(c.openIDConfig, &v)
    	c.options.JWTAuthenticator.Issuer.URL = replace(c.options.JWTAuthenticator.Issuer.URL, &v)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 97.7K bytes
    - Viewed (0)
  4. platforms/core-runtime/native/src/test/groovy/org/gradle/internal/nativeintegration/filesystem/CommonFileSystemTest.groovy

        def fs = NativeServicesTestFixture.instance.get(FileSystem)
    
        def "unix permissions cannot be read on non existing file"() {
            def file = tmpDir.file("someFile")
    
            when:
            fs.getUnixMode(file)
    
            then:
            FileException e = thrown()
            e.message == "Could not get file mode for '$file'."
        }
    
        def "unix permissions cannot be set on non existing file"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  5. src/os/stat_darwin.go

    package os
    
    import (
    	"internal/filepathlite"
    	"syscall"
    	"time"
    )
    
    func fillFileStatFromSys(fs *fileStat, name string) {
    	fs.name = filepathlite.Base(name)
    	fs.size = fs.sys.Size
    	fs.modTime = time.Unix(fs.sys.Mtimespec.Unix())
    	fs.mode = FileMode(fs.sys.Mode & 0777)
    	switch fs.sys.Mode & syscall.S_IFMT {
    	case syscall.S_IFBLK, syscall.S_IFWHT:
    		fs.mode |= ModeDevice
    	case syscall.S_IFCHR:
    		fs.mode |= ModeDevice | ModeCharDevice
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. src/os/stat_dragonfly.go

    package os
    
    import (
    	"internal/filepathlite"
    	"syscall"
    	"time"
    )
    
    func fillFileStatFromSys(fs *fileStat, name string) {
    	fs.name = filepathlite.Base(name)
    	fs.size = fs.sys.Size
    	fs.modTime = time.Unix(fs.sys.Mtim.Unix())
    	fs.mode = FileMode(fs.sys.Mode & 0777)
    	switch fs.sys.Mode & syscall.S_IFMT {
    	case syscall.S_IFBLK:
    		fs.mode |= ModeDevice
    	case syscall.S_IFCHR:
    		fs.mode |= ModeDevice | ModeCharDevice
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. src/os/removeall_at.go

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build unix
    
    package os
    
    import (
    	"internal/syscall/unix"
    	"io"
    	"syscall"
    )
    
    func removeAll(path string) error {
    	if path == "" {
    		// fail silently to retain compatibility with previous behavior
    		// of RemoveAll. See issue 28830.
    		return nil
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:26 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/netns_linux.go

    }
    
    func (n *NetnsWrapper) Fd() uintptr {
    	return n.innerNetns.Fd()
    }
    
    func inodeForFd(n NetnsFd) (uint64, error) {
    	stats := &unix.Stat_t{}
    	err := unix.Fstat(int(n.Fd()), stats)
    	return stats.Ino, err
    }
    
    func OpenNetns(nspath string) (NetnsCloser, error) {
    	n, err := netns.GetNS(nspath)
    	if err != nil {
    		return nil, err
    	}
    	i, err := inodeForFd(n)
    	if err != nil {
    		n.Close()
    		return nil, err
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 31 10:05:36 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. src/os/pidfd_linux.go

    //  v5.3: pidfd_open syscall, clone3 syscall;
    //  v5.4: P_PIDFD idtype support for waitid syscall;
    //  v5.6: pidfd_getfd syscall.
    
    package os
    
    import (
    	"errors"
    	"internal/syscall/unix"
    	"sync"
    	"syscall"
    	"unsafe"
    )
    
    func ensurePidfd(sysAttr *syscall.SysProcAttr) *syscall.SysProcAttr {
    	if !pidfdWorks() {
    		return sysAttr
    	}
    
    	var pidfd int
    
    	if sysAttr == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. src/net/splice_linux_test.go

    	if !testableNetwork("unixgram") {
    		t.Skip("skipping unix-to-tcp tests")
    	}
    	t.Run("unix-to-tcp", func(t *testing.T) { testSplice(t, "unix", "tcp") })
    	t.Run("tcp-to-unix", func(t *testing.T) { testSplice(t, "tcp", "unix") })
    	t.Run("tcp-to-file", func(t *testing.T) { testSpliceToFile(t, "tcp", "file") })
    	t.Run("unix-to-file", func(t *testing.T) { testSpliceToFile(t, "unix", "file") })
    	t.Run("no-unixpacket", testSpliceNoUnixpacket)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:49:26 UTC 2024
    - 14.5K bytes
    - Viewed (0)
Back to top