Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for statNolog (0.13 sec)

  1. src/os/getwd.go

    		return syscall.Getwd()
    	}
    
    	// Clumsy but widespread kludge:
    	// if $PWD is set and matches ".", use it.
    	dot, err := statNolog(".")
    	if err != nil {
    		return "", err
    	}
    	dir = Getenv("PWD")
    	if len(dir) > 0 && dir[0] == '/' {
    		d, err := statNolog(dir)
    		if err == nil && SameFile(dot, d) {
    			return dir, nil
    		}
    	}
    
    	// If the operating system provides a Getwd call, use it.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 28 06:28:02 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  2. src/os/stat_plan9.go

    	return nil, &PathError{Op: "stat", Path: name, Err: err}
    }
    
    // statNolog implements Stat for Plan 9.
    func statNolog(name string) (FileInfo, error) {
    	d, err := dirstat(name)
    	if err != nil {
    		return nil, err
    	}
    	return fileInfoFromStat(d), nil
    }
    
    // lstatNolog implements Lstat for Plan 9.
    func lstatNolog(name string) (FileInfo, error) {
    	return statNolog(name)
    }
    
    // For testing.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 08 03:57:40 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  3. src/os/stat_unix.go

    	return &fs, nil
    }
    
    // statNolog stats a file with no test logging.
    func statNolog(name string) (FileInfo, error) {
    	var fs fileStat
    	err := ignoringEINTR(func() error {
    		return syscall.Stat(name, &fs.sys)
    	})
    	if err != nil {
    		return nil, &PathError{Op: "stat", Path: name, Err: err}
    	}
    	fillFileStatFromSys(&fs, name)
    	return &fs, nil
    }
    
    // lstatNolog lstats a file with no test logging.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 22:38:03 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. src/os/stat.go

    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.
    // If the file is a symbolic link, the returned FileInfo
    // describes the symbolic link. Lstat makes no attempt to follow the link.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 973 bytes
    - Viewed (0)
  5. src/os/stat_windows.go

    	if err != nil {
    		return nil, err
    	}
    	fs.filetype = ft
    	return fs, err
    }
    
    // statNolog implements Stat for Windows.
    func statNolog(name string) (FileInfo, error) {
    	return stat("Stat", name, true)
    }
    
    // lstatNolog implements Lstat for Windows.
    func lstatNolog(name string) (FileInfo, error) {
    	followSurrogates := false
    	if name != "" && IsPathSeparator(name[len(name)-1]) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. pilot/pkg/config/kube/ingress/status.go

    	kubelib "istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/kube/controllers"
    	"istio.io/istio/pkg/kube/kclient"
    	"istio.io/istio/pkg/log"
    	netutil "istio.io/istio/pkg/util/net"
    )
    
    var statusLog = log.RegisterScope("ingress status", "")
    
    // StatusSyncer keeps the status IP in each Ingress resource updated
    type StatusSyncer struct {
    	meshConfig mesh.Watcher
    
    	queue          controllers.Queue
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. pilot/pkg/config/kube/ingress/status_test.go

    			if v.IP != "" {
    				res = append(res, v.IP)
    			} else {
    				res = append(res, v.Hostname)
    			}
    		}
    		return res
    	}
    }
    
    func TestStatusController(t *testing.T) {
    	statusLog.SetOutputLevel(istiolog.DebugLevel)
    	c := makeStatusSyncer(t, "istio-ingress")
    	ing := clienttest.Wrap(t, c.ingresses)
    	svc := clienttest.Wrap(t, c.services)
    	ingc := clienttest.Wrap(t, c.ingressClasses)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. src/net/http/serve_test.go

    			c.Write([]byte("HTTP/1.0 200 OK\r\nConnection: close\r\n\r\nHello."))
    			c.Close()
    			panic("intentional panic")
    		},
    	}
    
    	// A stateLog is a log of states over the lifetime of a connection.
    	type stateLog struct {
    		active   net.Conn // The connection for which the log is recorded; set to the first connection seen in StateNew.
    		got      []ConnState
    		want     []ConnState
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
Back to top