Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 55 for intree (0.21 sec)

  1. internal/net/net.go

    func GetInterfaceNetStats(interf string) (procfs.NetDevLine, error) {
    	proc, err := procfs.Self()
    	if err != nil {
    		return procfs.NetDevLine{}, err
    	}
    	netDev, err := proc.NetDev()
    	if err != nil {
    		return procfs.NetDevLine{}, err
    	}
    	ndl, ok := netDev[interf]
    	if !ok {
    		return procfs.NetDevLine{}, fmt.Errorf("%v interface not found", interf)
    	}
    	return ndl, nil
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jul 17 08:14:01 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. src/internal/poll/sockopt_windows.go

    // WSAIoctl wraps the WSAIoctl network call.
    func (fd *FD) WSAIoctl(iocc uint32, inbuf *byte, cbif uint32, outbuf *byte, cbob uint32, cbbr *uint32, overlapped *syscall.Overlapped, completionRoutine uintptr) error {
    	if err := fd.incref(); err != nil {
    		return err
    	}
    	defer fd.decref()
    	return syscall.WSAIoctl(fd.Sysfd, iocc, inbuf, cbif, outbuf, cbob, cbbr, overlapped, completionRoutine)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 30 19:09:46 UTC 2023
    - 586 bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/catalog/parser/StrictVersionParser.java

            }
            if (idx > 0) {
                String strictly = stringInterner.intern(version.substring(0, idx));
                String prefer = stringInterner.intern(version.substring(idx+2));
                return new RichVersion(null, strictly, prefer);
            }
            return new RichVersion(stringInterner.intern(version), null, null);
        }
    
        public static class RichVersion {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 16 14:58:26 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  4. src/internal/poll/fd_fsync_darwin.go

    )
    
    // Fsync invokes SYS_FCNTL with SYS_FULLFSYNC because
    // on OS X, SYS_FSYNC doesn't fully flush contents to disk.
    // See Issue #26650 as well as the man page for fsync on OS X.
    func (fd *FD) Fsync() error {
    	if err := fd.incref(); err != nil {
    		return err
    	}
    	defer fd.decref()
    	return ignoringEINTR(func() error {
    		_, err := unix.Fcntl(fd.Sysfd, syscall.F_FULLFSYNC, 0)
    
    		// There are scenarios such as SMB mounts where fcntl will fail
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:20:48 UTC 2024
    - 850 bytes
    - Viewed (0)
  5. src/internal/poll/sockopt_linux.go

    package poll
    
    import "syscall"
    
    // SetsockoptIPMreqn wraps the setsockopt network call with an IPMreqn argument.
    func (fd *FD) SetsockoptIPMreqn(level, name int, mreq *syscall.IPMreqn) error {
    	if err := fd.incref(); err != nil {
    		return err
    	}
    	defer fd.decref()
    	return syscall.SetsockoptIPMreqn(fd.Sysfd, level, name, mreq)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 13 03:26:58 UTC 2017
    - 490 bytes
    - Viewed (0)
  6. src/internal/poll/fd_fsync_posix.go

    //go:build aix || dragonfly || freebsd || (js && wasm) || linux || netbsd || openbsd || solaris || wasip1
    
    package poll
    
    import "syscall"
    
    // Fsync wraps syscall.Fsync.
    func (fd *FD) Fsync() error {
    	if err := fd.incref(); err != nil {
    		return err
    	}
    	defer fd.decref()
    	return ignoringEINTR(func() error {
    		return syscall.Fsync(fd.Sysfd)
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 23:34:17 UTC 2023
    - 507 bytes
    - Viewed (0)
  7. src/internal/poll/fd_wasip1.go

    func (fd *FD) Fchdir() error {
    	if err := fd.incref(); err != nil {
    		return err
    	}
    	defer fd.decref()
    	return syscall.Chdir(fd.Path)
    }
    
    // ReadDir wraps syscall.ReadDir.
    // We treat this like an ordinary system call rather than a call
    // that tries to fill the buffer.
    func (fd *FD) ReadDir(buf []byte, cookie syscall.Dircookie) (int, error) {
    	if err := fd.incref(); err != nil {
    		return 0, err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:14:02 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. src/runtime/symtab_test.go

    	dummy = 42
    }
    
    // A function with an InlTree. Returns a PC within the function body.
    //
    // No inline to ensure this complete function appears in output.
    //
    //go:noinline
    func tracebackFunc(t *testing.T) uintptr {
    	// This body must be more complex than a single call to inlined to get
    	// an inline tree.
    	inlined()
    	inlined()
    
    	// Acquire a PC in this function.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 17 21:46:33 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/notations/DependencyStringNotationConverter.java

            T moduleDependency = instantiator.newInstance(wantedType,
                stringInterner.intern(parsedNotation.getGroup()), stringInterner.intern(parsedNotation.getName()), stringInterner.intern(version.require));
            maybeEnrichVersion(version, moduleDependency);
            if (moduleDependency instanceof ExternalDependency) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  10. cmd/net.go

    func mustGetLocalIPs() (ipList []net.IP) {
    	ifs, err := net.Interfaces()
    	logger.FatalIf(err, "Unable to get IP addresses of this host")
    
    	for _, interf := range ifs {
    		addrs, err := interf.Addrs()
    		if err != nil {
    			continue
    		}
    		if runtime.GOOS == "windows" && interf.Flags&net.FlagUp == 0 {
    			continue
    		}
    
    		for _, addr := range addrs {
    			var ip net.IP
    			switch v := addr.(type) {
    			case *net.IPNet:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top