Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,802 for unshare (0.17 sec)

  1. internal/lock/lock_windows.go

    	// simplicity it avoids the conversion entirely for relative
    	// paths or paths containing .. elements. For now,
    	// \\server\share paths are not converted to
    	// \\?\UNC\server\share paths because the rules for doing so
    	// are less well-specified.
    	if len(path) >= 2 && path[:2] == `\\` {
    		// Don't canonicalize UNC paths.
    		return path
    	}
    	if !filepath.IsAbs(path) {
    		// Relative path
    		return path
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Oct 18 18:08:15 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  2. src/internal/poll/fd_wasip1.go

    	return sizeOfDirent + namelen, ok
    }
    
    func direntNamlen(buf []byte) (uint64, bool) {
    	return readInt(buf, unsafe.Offsetof(syscall.Dirent{}.Namlen), unsafe.Sizeof(syscall.Dirent{}.Namlen))
    }
    
    func direntNext(buf []byte) (uint64, bool) {
    	return readInt(buf, unsafe.Offsetof(syscall.Dirent{}.Next), unsafe.Sizeof(syscall.Dirent{}.Next))
    }
    
    // readInt returns the size-bytes unsigned integer in native byte order at offset off.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:14:02 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    }
    
    func (sa *SockaddrBth) sockaddr() (unsafe.Pointer, int32, error) {
    	family := AF_BTH
    	sa.raw = RawSockaddrBth{
    		AddressFamily:  *(*[2]byte)(unsafe.Pointer(&family)),
    		BtAddr:         *(*[8]byte)(unsafe.Pointer(&sa.BtAddr)),
    		Port:           *(*[4]byte)(unsafe.Pointer(&sa.Port)),
    		ServiceClassId: *(*[16]byte)(unsafe.Pointer(&sa.ServiceClassId)),
    	}
    	return unsafe.Pointer(&sa.raw), int32(unsafe.Sizeof(sa.raw)), nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    	if r0 != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
  5. misc/cgo/gmp/gmp.go

    	}
    	p := C.CString(s)
    	defer C.free(unsafe.Pointer(p))
    	if C.mpz_set_str(&z.i[0], p, C.int(base)) < 0 {
    		return os.ErrInvalid
    	}
    	return nil
    }
    
    // String returns the decimal representation of z.
    func (z *Int) String() string {
    	if z == nil {
    		return "nil"
    	}
    	z.doinit()
    	p := C.mpz_get_str(nil, 10, &z.i[0])
    	s := C.GoString(p)
    	C.free(unsafe.Pointer(p))
    	return s
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  6. src/runtime/mfinal.go

    				// Check assumptions made in finalizer1 array above.
    				if (unsafe.Sizeof(finalizer{}) != 5*goarch.PtrSize ||
    					unsafe.Offsetof(finalizer{}.fn) != 0 ||
    					unsafe.Offsetof(finalizer{}.arg) != goarch.PtrSize ||
    					unsafe.Offsetof(finalizer{}.nret) != 2*goarch.PtrSize ||
    					unsafe.Offsetof(finalizer{}.fint) != 3*goarch.PtrSize ||
    					unsafe.Offsetof(finalizer{}.ot) != 4*goarch.PtrSize) {
    					throw("finalizer out of sync")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                    this.canon = "/" + this.share + "/" + StringUtil.join("/", remainParts) + ( trailingSlash ? "/" : "" );
                }
                else {
                    this.unc = "\\";
                    if ( this.share != null ) {
                        this.canon = "/" + this.share + ( trailingSlash ? "/" : "" );
                    }
                    else {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sat Jul 20 08:24:53 UTC 2019
    - 23.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/SmbTransportPool.java

    
        /**
         * Get transport connection
         * 
         * @param tc
         *            context to use
         * @param address
         * @param port
         * @param exclusive
         *            whether to acquire an unshared connection
         * @return a transport connection to the target
         */
        SmbTransport getSmbTransport ( CIFSContext tc, Address address, int port, boolean exclusive );
    
    
        /**
         * Get transport connection
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun May 17 09:02:44 UTC 2020
    - 6.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/struct.go

    				case *Basic:
    					if !isValid(t) {
    						// error was reported before
    						return
    					}
    					// unsafe.Pointer is treated like a regular pointer
    					if u.kind == UnsafePointer {
    						check.error(embeddedPos, InvalidPtrEmbed, "embedded field type cannot be unsafe.Pointer")
    					}
    				case *Pointer:
    					check.error(embeddedPos, InvalidPtrEmbed, "embedded field type cannot be a pointer")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. src/runtime/align_runtime_test.go

    	unsafe.Offsetof(heapStatsDelta{}.smallFreeCount),
    	unsafe.Offsetof(heapStatsDelta{}.largeAlloc),
    	unsafe.Offsetof(heapStatsDelta{}.largeAllocCount),
    	unsafe.Offsetof(heapStatsDelta{}.largeFree),
    	unsafe.Offsetof(heapStatsDelta{}.largeFreeCount),
    	unsafe.Offsetof(heapStatsDelta{}.committed),
    	unsafe.Offsetof(heapStatsDelta{}.released),
    	unsafe.Offsetof(heapStatsDelta{}.inHeap),
    	unsafe.Offsetof(heapStatsDelta{}.inStacks),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top