Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 239 for Ioperm (0.1 sec)

  1. src/cmd/internal/obj/ppc64/anames.go

    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 18:50:29 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. src/runtime/defs_aix.go

    #include <sys/mman.h>
    #include <sys/thread.h>
    #include <sys/resource.h>
    
    #include <unistd.h>
    #include <fcntl.h>
    #include <pthread.h>
    #include <semaphore.h>
    */
    import "C"
    
    const (
    	_EPERM     = C.EPERM
    	_ENOENT    = C.ENOENT
    	_EINTR     = C.EINTR
    	_EAGAIN    = C.EAGAIN
    	_ENOMEM    = C.ENOMEM
    	_EACCES    = C.EACCES
    	_EFAULT    = C.EFAULT
    	_EINVAL    = C.EINVAL
    	_ETIMEDOUT = C.ETIMEDOUT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 20 21:27:51 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  3. src/net/rawconn_unix_test.go

    func readRawConn(c syscall.RawConn, b []byte) (int, error) {
    	var operr error
    	var n int
    	err := c.Read(func(s uintptr) bool {
    		n, operr = syscall.Read(int(s), b)
    		if operr == syscall.EAGAIN {
    			return false
    		}
    		return true
    	})
    	if err != nil {
    		return n, err
    	}
    	return n, operr
    }
    
    func writeRawConn(c syscall.RawConn, b []byte) error {
    	var operr error
    	err := c.Write(func(s uintptr) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 29 16:24:51 UTC 2022
    - 3K bytes
    - Viewed (0)
  4. src/os/rawconn_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	var operr error
    	err = wconn.Write(func(s uintptr) bool {
    		_, operr = syscall.Write(syscallDescriptor(s), []byte{'b'})
    		return operr != syscall.EAGAIN
    	})
    	if err != nil {
    		t.Fatal(err)
    	}
    	if operr != nil {
    		t.Fatal(err)
    	}
    
    	var n int
    	buf := make([]byte, 1)
    	err = rconn.Read(func(s uintptr) bool {
    		n, operr = syscall.Read(syscallDescriptor(s), buf)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 23:34:21 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  5. src/net/rawconn_windows_test.go

    	var operr error
    	err := c.Write(func(s uintptr) bool {
    		var written uint32
    		var buf syscall.WSABuf
    		buf.Buf = &b[0]
    		buf.Len = uint32(len(b))
    		operr = syscall.WSASend(syscall.Handle(s), &buf, 1, &written, 0, nil, nil)
    		return true
    	})
    	if err != nil {
    		return err
    	}
    	return operr
    }
    
    func controlRawConn(c syscall.RawConn, addr Addr) error {
    	var operr error
    	fn := func(s uintptr) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 18 08:47:18 UTC 2020
    - 3.1K bytes
    - Viewed (0)
  6. src/os/error_unix_test.go

    		isPermissionTest{err: &fs.PathError{Err: syscall.EACCES}, want: true},
    		isPermissionTest{err: &fs.PathError{Err: syscall.EPERM}, want: true},
    		isPermissionTest{err: &fs.PathError{Err: syscall.EEXIST}, want: false},
    
    		isPermissionTest{err: &os.LinkError{Err: syscall.EACCES}, want: true},
    		isPermissionTest{err: &os.LinkError{Err: syscall.EPERM}, want: true},
    		isPermissionTest{err: &os.LinkError{Err: syscall.EEXIST}, want: false},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 23:34:21 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/UserAgentHelper.java

                        } else if (userAgent.indexOf("Safari") >= 0) {
                            uaType = UserAgentType.SAFARI;
                        } else if (userAgent.indexOf("Opera") >= 0) {
                            uaType = UserAgentType.OPERA;
                        }
                    }
                    if (uaType == null) {
                        uaType = UserAgentType.OTHER;
                    }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. src/cmd/go/internal/toolchain/path_unix.go

    	}
    
    	// Mimicking exec.findExecutable here.
    	// ENOSYS means Eaccess is not available or not implemented.
    	// EPERM can be returned by Linux containers employing seccomp.
    	// In both cases, fall back to checking the permission bits.
    	err := unix.Eaccess(filepath.Join(dir, de.Name()), unix.X_OK)
    	if (err == syscall.ENOSYS || err == syscall.EPERM) && info.Mode()&0111 != 0 {
    		err = nil
    	}
    	if err != nil {
    		return "", false
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 31 15:15:19 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. src/internal/poll/copy_file_range_linux.go

    			// See issue #42334.
    			//
    			// If the file is on NFS, we can see EOPNOTSUPP.
    			// See issue #40731.
    			//
    			// If the process is running inside a Docker container,
    			// we might see EPERM instead of ENOSYS. See issue
    			// #40893. Since EPERM might also be a legitimate error,
    			// don't mark copy_file_range(2) as unsupported.
    			return 0, false, nil
    		case nil:
    			if n == 0 {
    				// If we did not read any bytes at all,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 17:40:10 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. src/crypto/x509/root_windows.go

    	if err != nil {
    		return nil, err
    	}
    	defer syscall.CertFreeCertificateChain(topCtx)
    
    	chain, topErr := verifyChain(c, topCtx, opts)
    	if topErr == nil {
    		chains = append(chains, chain)
    	}
    
    	if lqCtxCount := topCtx.LowerQualityChainCount; lqCtxCount > 0 {
    		lqCtxs := unsafe.Slice(topCtx.LowerQualityChains, lqCtxCount)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:41:40 UTC 2023
    - 8.7K bytes
    - Viewed (0)
Back to top