- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 57 for Ioperm (0.1 sec)
-
internal/lock/lock_nix.go
// flags and shouldn't be considered as replacement // for os.OpenFile(). func LockedOpenFile(path string, flag int, perm os.FileMode) (*LockedFile, error) { return lockedOpenFile(path, flag, perm, 0) } // Open - Call os.OpenFile func Open(path string, flag int, perm os.FileMode) (*os.File, error) { return os.OpenFile(path, flag, perm)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Aug 19 01:35:22 UTC 2021 - 2.8K bytes - Viewed (0) -
src/runtime/defs_aix_ppc64.go
// Copyright 2018 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build aix package runtime const ( _EPERM = 0x1 _ENOENT = 0x2 _EINTR = 0x4 _EAGAIN = 0xb _ENOMEM = 0xc _EACCES = 0xd _EFAULT = 0xe _EINVAL = 0x16 _ETIMEDOUT = 0x4e _PROT_NONE = 0x0 _PROT_READ = 0x1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 20 21:27:51 UTC 2023 - 3.6K bytes - Viewed (0) -
src/compress/gzip/example_test.go
"strings" "time" ) func Example_writerReader() { var buf bytes.Buffer zw := gzip.NewWriter(&buf) // Setting the Header fields is optional. zw.Name = "a-new-hope.txt" zw.Comment = "an epic space opera by George Lucas" zw.ModTime = time.Date(1977, time.May, 25, 0, 0, 0, 0, time.UTC) _, err := zw.Write([]byte("A long time ago in a galaxy far, far away...")) if err != nil { log.Fatal(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 22 16:24:14 UTC 2022 - 4.8K bytes - Viewed (0) -
src/vendor/golang.org/x/crypto/chacha20/chacha_s390x.s
VX d3, d1, d1 \ VERLLF $7, a1, a1 \ VERLLF $7, b1, b1 \ VERLLF $7, c1, c1 \ VERLLF $7, d1, d1 #define PERMUTE(mask, v0, v1, v2, v3) \ VPERM v0, v0, mask, v0 \ VPERM v1, v1, mask, v1 \ VPERM v2, v2, mask, v2 \ VPERM v3, v3, mask, v3 #define ADDV(x, v0, v1, v2, v3) \ VAF x, v0, v0 \ VAF x, v1, v1 \ VAF x, v2, v2 \ VAF x, v3, v3
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 5.3K bytes - Viewed (0) -
src/os/removeall_at.go
} // EISDIR means that we have a directory, and we need to // remove its contents. // EPERM or EACCES means that we don't have write permission on // the parent directory, but this entry might still be a directory // whose contents need to be removed. // Otherwise just return the error. if err != syscall.EISDIR && err != syscall.EPERM && err != syscall.EACCES { return &PathError{Op: "unlinkat", Path: base, Err: err} } uErr := err
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:09:26 UTC 2024 - 4.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/xattr_bsd.go
* * Linux will still error if we ask for user attributes on a file that * we don't have read permissions on, so don't ignore those errors */ if e != nil { if e == EPERM && nsid != EXTATTR_NAMESPACE_USER { continue } return s, e } s += stmp pos = s if pos > destsiz { pos = destsiz } } return s, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 5.7K bytes - Viewed (0) -
src/syscall/creds_test.go
if op, ok := err.(*net.OpError); ok { err = op.Err } if sys, ok := err.(*os.SyscallError); ok { err = sys.Err } switch err { case syscall.EPERM, syscall.EINVAL: default: t.Fatalf("WriteMsgUnix failed with %v, want EPERM or EINVAL", err) } } ucred.Pid = int32(os.Getpid()) ucred.Uid = uint32(os.Getuid()) ucred.Gid = uint32(os.Getgid()) oob := syscall.UnixCredentials(&ucred)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 17 02:43:05 UTC 2022 - 3.4K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/rand/rand_test.go
} } } func TestPerm(t *testing.T) { Seed(5) rand.Seed(5) for i := 1; i < 20; i++ { actual := Perm(i) expected := rand.Perm(i) for j := 0; j < i; j++ { if actual[j] != expected[j] { t.Errorf("Perm call result is unexpected") } } } } func TestIntnRange(t *testing.T) { // 0 is invalid.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 07 13:45:36 UTC 2021 - 2.5K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/common/view_util.h
namespace tensorflow { namespace generator { string Call(const string &function, std::vector<string> arguments); string Call(const string &object, const string &method, std::vector<string> arguments, const char *oper = "->"); string Quoted(const string &s); } // namespace generator } // namespace tensorflow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 01 21:05:56 UTC 2021 - 1.2K bytes - Viewed (0) -
src/syscall/tables_wasip1.go
ENOTRECOVERABLE Errno = 56 ENOTSOCK Errno = 57 ENOTSUP Errno = 58 ENOTTY Errno = 59 ENXIO Errno = 60 EOVERFLOW Errno = 61 EOWNERDEAD Errno = 62 EPERM Errno = 63 EPIPE Errno = 64 EPROTO Errno = 65 EPROTONOSUPPORT Errno = 66 EPROTOTYPE Errno = 67 ERANGE Errno = 68 EROFS Errno = 69 ESPIPE Errno = 70
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 06 20:58:35 UTC 2023 - 6.5K bytes - Viewed (0)