Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 195 for Ioperm (0.18 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/cmd/vendor/golang.org/x/sys/plan9/zsyscall_plan9_amd64.go

    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func create(path string, mode int, perm uint32) (fd int, err error) {
    	var _p0 *byte
    	_p0, err = BytePtrFromString(path)
    	if err != nil {
    		return
    	}
    	r0, _, e1 := Syscall(SYS_CREATE, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm))
    	fd = int(r0)
    	if int32(r0) == -1 {
    		err = e1
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. pkg/controller/statefulset/stateful_set_utils_test.go

    	pods := make([]*v1.Pod, 10)
    	perm := rand.Perm(10)
    	for i, v := range perm {
    		pods[i] = newStatefulSetPod(set, v)
    	}
    	sort.Sort(ascendingOrdinal(pods))
    	if !sort.IsSorted(ascendingOrdinal(pods)) {
    		t.Error("ascendingOrdinal fails to sort Pods")
    	}
    }
    
    func TestOverlappingStatefulSets(t *testing.T) {
    	sets := make([]*apps.StatefulSet, 10)
    	perm := rand.Perm(10)
    	for i, v := range perm {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 50.9K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_experimental_test.cc

      TF_Output inputs[] = {{feed, 0}};
      TF_Output outputs[] = {{neg, 0}};
      *func = TF_GraphToFunction(func_graph.get(), name, append_hash, -1,
                                 /*opers=*/nullptr, 1, inputs, 1, outputs,
                                 /*output_names=*/nullptr,
                                 /*opts=*/nullptr, description, s.get());
      ASSERT_EQ(TF_OK, TF_GetCode(s.get())) << TF_Message(s.get());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 17 22:27:52 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  8. src/syscall/syscall_wasip1.go

    		if s != "" {
    			return s
    		}
    	}
    	return "errno " + itoa.Itoa(int(e))
    }
    
    func (e Errno) Is(target error) bool {
    	switch target {
    	case oserror.ErrPermission:
    		return e == EACCES || e == EPERM
    	case oserror.ErrExist:
    		return e == EEXIST || e == ENOTEMPTY
    	case oserror.ErrNotExist:
    		return e == ENOENT
    	case errors.ErrUnsupported:
    		return e == ENOSYS
    	}
    	return false
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. src/syscall/syscall_openbsd_libc.go

    //sysnb getentropy(p []byte) (err error)
    //sys   fstatat(fd int, path string, stat *Stat_t, flags int) (err error)
    //sys   unlinkat(fd int, path string, flags int) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. cmd/ftp-server.go

    		Name:           name,
    		WelcomeMessage: fmt.Sprintf("Welcome to '%s' FTP Server Version='%s' License='%s'", MinioStoreName, MinioLicense, Version),
    		Driver:         NewFTPDriver(),
    		Port:           port,
    		Perm:           ftp.NewSimplePerm("nobody", "nobody"),
    		TLS:            tls,
    		KeyFile:        tlsPrivateKey,
    		CertFile:       tlsPublicCert,
    		ExplicitFTPS:   tls,
    		Logger:         &minioLogger{},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Mar 09 03:07:08 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top