Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 342 for unixOS (0.18 sec)

  1. cmd/erasure-metadata_test.go

    			fis:            getNFInfo(16, 16, 1603863445, "36a21454-a2ca-11eb-bbaa-93a81c686f21", nil, nil),
    			modTime:        time.Unix(1603863445, 0),
    			expectedErr:    nil,
    			expectedQuorum: 8,
    		},
    		{
    			fis:            getNFInfo(16, 7, 1603863445, "36a21454-a2ca-11eb-bbaa-93a81c686f21", nil, nil),
    			modTime:        time.Unix(1603863445, 0),
    			expectedErr:    InsufficientReadQuorum{},
    			expectedQuorum: 8,
    		},
    		{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 20:57:37 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. src/internal/syscall/unix/constants.go

    // Copyright 2022 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 unix
    
    const (
    	R_OK = 0x4
    	W_OK = 0x2
    	X_OK = 0x1
    
    	// NoFollowErrno is the error returned from open/openat called with
    	// O_NOFOLLOW flag, when the trailing component (basename) of the path
    	// is a symbolic link.
    	NoFollowErrno = noFollowErrno
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:26 UTC 2024
    - 434 bytes
    - Viewed (0)
  3. tools/istio-iptables/pkg/capture/run_linux.go

    			// Route all packets marked in chain ISTIODIVERT using routing table ${INBOUND_TPROXY_ROUTE_TABLE}.
    			// Equivalent to `ip rule add fwmark <tproxyMark> lookup <tproxyTable>`
    			families := []int{unix.AF_INET}
    			if cfg.EnableIPv6 {
    				families = append(families, unix.AF_INET6)
    			}
    			for _, family := range families {
    				r := netlink.NewRule()
    				r.Family = family
    				r.Table = tproxyTable
    				r.Mark = tproxyMark
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. src/vendor/golang.org/x/net/nettest/nettest.go

    // the current platform configuration.
    func TestableAddress(network, address string) bool {
    	switch ss := strings.Split(network, ":"); ss[0] {
    	case "unix", "unixgram", "unixpacket":
    		// Abstract unix domain sockets, a Linux-ism.
    		if address[0] == '@' && runtime.GOOS != "linux" {
    			return false
    		}
    	}
    	return true
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. pkg/kubelet/pod_workers_test.go

    			},
    			expect: hasContext(&podSyncStatus{
    				fullname:           "running-pod_ns",
    				syncedAt:           time.Unix(1, 0),
    				startedAt:          time.Unix(3, 0),
    				terminatingAt:      time.Unix(3, 0),
    				terminatedAt:       time.Unix(6, 0),
    				gracePeriod:        30,
    				startedTerminating: true,
    				restartRequested:   true, // because we received a create during termination
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
  6. pkg/kubelet/kuberuntime/kuberuntime_container_test.go

    			},
    			expected: &kubecontainer.Status{
    				ID:         *cid,
    				Image:      imageSpec.Image,
    				State:      kubecontainer.ContainerStateExited,
    				CreatedAt:  time.Unix(0, createdAt),
    				StartedAt:  time.Unix(0, startedAt),
    				FinishedAt: time.Unix(0, finishedAt),
    				ExitCode:   121,
    				Reason:     "GotKilled",
    				Message:    "The container was killed",
    			},
    		},
    		"unknown container": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 28K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/ztunnelserver.go

    	if err != nil {
    		return nil, fmt.Errorf("failed to resolve unix addr: %w", err)
    	}
    	// remove potentially existing address
    	// Remove unix socket before use, if one is leftover from previous CNI restart
    	if err := os.Remove(addr); err != nil && !os.IsNotExist(err) {
    		// Anything other than "file not found" is an error.
    		return nil, fmt.Errorf("failed to remove unix://%s: %w", addr, err)
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 22:07:03 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  8. src/os/exec.go

    // type, such as [syscall.WaitStatus] on Unix, to access its contents.
    func (p *ProcessState) Sys() any {
    	return p.sys()
    }
    
    // SysUsage returns system-dependent resource usage information about
    // the exited process. Convert it to the appropriate underlying
    // type, such as [*syscall.Rusage] on Unix, to access its contents.
    // (On Unix, *syscall.Rusage matches struct rusage as defined in the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  9. src/time/time_test.go

    // t - 1970 is returned by Unix and Nanosecond.
    // 1970 - 2001 is -(31*365+8)*86400 = -978307200 seconds.
    // 2001 - 1 is 2000*365.2425*86400 = 63113904000 seconds.
    const unixToZero = -978307200 + 63113904000
    
    // abs returns the absolute time stored in t, as seconds and nanoseconds.
    func abs(t Time) (sec, nsec int64) {
    	unix := t.Unix()
    	nano := t.Nanosecond()
    	return unix + unixToZero, int64(nano)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  10. src/os/stat_wasip1.go

    	"syscall"
    	"time"
    )
    
    func fillFileStatFromSys(fs *fileStat, name string) {
    	fs.name = filepathlite.Base(name)
    	fs.size = int64(fs.sys.Size)
    	fs.mode = FileMode(fs.sys.Mode)
    	fs.modTime = time.Unix(0, int64(fs.sys.Mtime))
    
    	switch fs.sys.Filetype {
    	case syscall.FILETYPE_BLOCK_DEVICE:
    		fs.mode |= ModeDevice
    	case syscall.FILETYPE_CHARACTER_DEVICE:
    		fs.mode |= ModeDevice | ModeCharDevice
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 990 bytes
    - Viewed (0)
Back to top