- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for node_device (0.26 sec)
-
tensorflow/compiler/mlir/tensorflow/ir/tf_ops.cc
if (!DeviceNameUtils::ParseFullName(caller_device.getValue().str(), &caller_parsed_device)) return; MLIRContext *context = call->getContext(); auto node_device = [&](Operation *n) -> StringAttr { auto device = n->getAttrOfType<StringAttr>(device_id); if (!device || device.getValue().empty()) return caller_device; DeviceNameUtils::ParsedName ndef_parsed_device;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.6K bytes - Viewed (0) -
pkg/volume/util/volumepathhandler/volume_path_handler.go
return fmt.Errorf("failed to close file %s: %v", linkPath, err) } } else { // Check if device file // TODO: Need to check if this device file is actually the expected bind mount if file.Mode()&os.ModeDevice == os.ModeDevice { klog.Warningf("Warning: Map skipped because bind mount already exist on the path: %v", linkPath) return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 20 14:49:03 UTC 2023 - 10.7K bytes - Viewed (0) -
src/archive/tar/common.go
mode |= fs.ModeSymlink case c_ISBLK: mode |= fs.ModeDevice case c_ISCHR: mode |= fs.ModeDevice mode |= fs.ModeCharDevice case c_ISSOCK: mode |= fs.ModeSocket } switch fi.h.Typeflag { case TypeSymlink: mode |= fs.ModeSymlink case TypeChar: mode |= fs.ModeDevice mode |= fs.ModeCharDevice case TypeBlock: mode |= fs.ModeDevice case TypeDir: mode |= fs.ModeDir
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 15 16:01:50 UTC 2024 - 24.7K bytes - Viewed (0) -
src/os/types_windows.go
m |= ModeDir | 0111 } switch fs.filetype { case syscall.FILE_TYPE_PIPE: m |= ModeNamedPipe case syscall.FILE_TYPE_CHAR: m |= ModeDevice | ModeCharDevice } } if fs.FileAttributes&syscall.FILE_ATTRIBUTE_REPARSE_POINT != 0 { switch fs.ReparseTag { case syscall.IO_REPARSE_TAG_SYMLINK: m |= ModeSymlink
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:44:48 UTC 2024 - 11.7K bytes - Viewed (0) -
pkg/volume/util/hostutil/hostutil_linux.go
} // err in call to os.Stat if err != nil { return false, fmt.Errorf( "PathIsDevice failed for path %q: %v", pathname, err) } // path refers to a device if finfo.Mode()&os.ModeDevice != 0 { isDevice = true } if !isDevice { klog.Errorf("Path %q is not referring to a device.", pathname) return false, nil } fd, errno := unix.Open(pathname, unix.O_RDONLY|unix.O_EXCL|unix.O_CLOEXEC, 0)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 23 08:36:44 UTC 2023 - 10K bytes - Viewed (0) -
src/os/os_windows_test.go
t.Fatal(err) } if got, want := fi.Mode(), os.ModeDevice|os.ModeCharDevice|0666; got != want { t.Errorf("Open(%q).Stat().Mode() = %v, want %v", "NUL", got, want) } } func TestStatNUL(t *testing.T) { t.Parallel() fi, err := os.Stat("NUL") if err != nil { t.Fatal(err) } if got, want := fi.Mode(), os.ModeDevice|os.ModeCharDevice|0666; got != want {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 41.8K bytes - Viewed (0) -
api/except.txt
pkg os (linux-arm), const O_SYNC = 4096 pkg os (linux-arm-cgo), const O_SYNC = 1052672 pkg os (linux-arm-cgo), const O_SYNC = 4096 pkg os, const ModeAppend FileMode pkg os, const ModeCharDevice FileMode pkg os, const ModeDevice FileMode pkg os, const ModeDir FileMode pkg os, const ModeExclusive FileMode pkg os, const ModeIrregular FileMode pkg os, const ModeNamedPipe FileMode pkg os, const ModePerm FileMode pkg os, const ModeSetgid FileMode
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 25 00:13:30 UTC 2023 - 34.6K bytes - Viewed (0) -
src/archive/tar/writer_test.go
data, origdata) } } } func TestWriterAddFSNonRegularFiles(t *testing.T) { fsys := fstest.MapFS{ "device": {Data: []byte("hello"), Mode: 0755 | fs.ModeDevice}, "symlink": {Data: []byte("world"), Mode: 0755 | fs.ModeSymlink}, } var buf bytes.Buffer tw := NewWriter(&buf) if err := tw.AddFS(fsys); err == nil { t.Fatal("expected error, got nil") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 38.7K bytes - Viewed (0)