Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 74 for Ioperm (0.09 sec)

  1. src/net/net_windows_test.go

    	"io"
    	"os"
    	"os/exec"
    	"regexp"
    	"slices"
    	"strings"
    	"syscall"
    	"testing"
    	"time"
    )
    
    func toErrno(err error) (syscall.Errno, bool) {
    	operr, ok := err.(*OpError)
    	if !ok {
    		return 0, false
    	}
    	syserr, ok := operr.Err.(*os.SyscallError)
    	if !ok {
    		return 0, false
    	}
    	errno, ok := syserr.Err.(syscall.Errno)
    	if !ok {
    		return 0, false
    	}
    	return errno, true
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  2. src/os/file_plan9.go

    func syscallMode(i FileMode) (o uint32) {
    	o |= uint32(i.Perm())
    	if i&ModeAppend != 0 {
    		o |= syscall.DMAPPEND
    	}
    	if i&ModeExclusive != 0 {
    		o |= syscall.DMEXCL
    	}
    	if i&ModeTemporary != 0 {
    		o |= syscall.DMTMP
    	}
    	return
    }
    
    // openFileNolog is the Plan 9 implementation of OpenFile.
    func openFileNolog(name string, flag int, perm FileMode) (*File, error) {
    	var (
    		fd     int
    		e      error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:35:30 UTC 2024
    - 16K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                }
                break;
            case OPERA:
                if (isLocalFile) {
                    url = url.replaceFirst("file:/+", systemProperties.getProperty("file.protocol.winlocal.opera", "file://"));
                } else {
                    url = url.replaceFirst("file:/+", systemProperties.getProperty("file.protocol.opera", "file://"));
                }
                break;
            default:
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu May 30 06:58:45 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Collections2.java

       * <pre>{@code
       * for (List<String> perm : orderedPermutations(asList("b", "c", "a"))) {
       *   println(perm);
       * }
       * // -> ["a", "b", "c"]
       * // -> ["a", "c", "b"]
       * // -> ["b", "a", "c"]
       * // -> ["b", "c", "a"]
       * // -> ["c", "a", "b"]
       * // -> ["c", "b", "a"]
       *
       * for (List<Integer> perm : orderedPermutations(asList(1, 2, 2, 1))) {
       *   println(perm);
       * }
       * // -> [1, 1, 2, 2]
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  5. src/go/types/issues_test.go

    	}
    
    	// run the test for all order permutations of the incoming files
    	for _, perm := range [][len(sources)]int{
    		{0, 1, 2},
    		{0, 2, 1},
    		{1, 0, 2},
    		{1, 2, 0},
    		{2, 0, 1},
    		{2, 1, 0},
    	} {
    		// create file order permutation
    		files := make([]*ast.File, len(sources))
    		for i := range perm {
    			files[i] = orig[perm[i]]
    		}
    
    		// type-check package with given file order permutation
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitTestExecutionIntegrationTest.groovy

                        System.setSecurityManager(new SecurityManager() {
                            @Override
                            public void checkPermission(Permission perm) {
                                if ("setSecurityManager".equals(perm.getName())) {
                                    throw new SecurityException("You cannot replace this security manager!");
                                }
                            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  7. src/syscall/syscall_darwin.go

    //sys	Mprotect(b []byte, prot int) (err error)
    //sys	msync(b []byte, flags int) (err error)
    //sys	Munlock(b []byte) (err error)
    //sys	Munlockall() (err error)
    //sys	Open(path string, mode int, perm uint32) (fd int, err error)
    //sys	Pathconf(path string, name int) (val int, err error)
    //sys	pread(fd int, p []byte, offset int64) (n int, err error)
    //sys	pwrite(fd int, p []byte, offset int64) (n int, err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/syscall_netbsd.go

    //sys	Mknodat(dirfd int, path string, mode uint32, dev int) (err error)
    //sys	Nanosleep(time *Timespec, leftover *Timespec) (err error)
    //sys	Open(path string, mode int, perm uint32) (fd int, err error)
    //sys	Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error)
    //sys	Pathconf(path string, name int) (val int, err error)
    //sys	pread(fd int, p []byte, offset int64) (n int, err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/README

    
    cc args...
    	run the platform C compiler
    
    
    cd dir
    	change the working directory
    
    
    chmod perm paths...
    	change file mode bits
    
    	Changes the permissions of the named files or directories to
    	be equal to perm.
    	Only numerical permissions are supported.
    
    cmp [-q] file1 file2
    	compare files for differences
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  10. src/runtime/os3_solaris.go

    	sysvicall2(&libc_clock_gettime, _CLOCK_MONOTONIC, uintptr(unsafe.Pointer(&ts)))
    	return ts.tv_sec*1e9 + ts.tv_nsec
    }
    
    //go:nosplit
    func open(path *byte, mode, perm int32) int32 {
    	return int32(sysvicall3(&libc_open, uintptr(unsafe.Pointer(path)), uintptr(mode), uintptr(perm)))
    }
    
    func pthread_attr_destroy(attr *pthreadattr) int32 {
    	return int32(sysvicall1(&libc_pthread_attr_destroy, uintptr(unsafe.Pointer(attr))))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top