- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for fillAttributes (0.3 sec)
-
platforms/jvm/platform-jvm/src/main/java/org/gradle/api/java/archives/internal/DefaultManifest.java
java.util.jar.Attributes targetAttributes = new java.util.jar.Attributes(); fillAttributes(entry.getValue(), targetAttributes); javaManifest.getEntries().put(sectionName, targetAttributes); } } private static void fillAttributes(Attributes attributes, java.util.jar.Attributes targetAttributes) { for (Map.Entry<String, Object> entry : attributes.entrySet()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 13.8K bytes - Viewed (0) -
src/syscall/types_windows.go
// ² https://golang.org/issue/42637#issuecomment-760715755 } func copyFindData(dst *Win32finddata, src *win32finddata1) { dst.FileAttributes = src.FileAttributes dst.CreationTime = src.CreationTime dst.LastAccessTime = src.LastAccessTime dst.LastWriteTime = src.LastWriteTime dst.FileSizeHigh = src.FileSizeHigh dst.FileSizeLow = src.FileSizeLow
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 06:04:31 UTC 2024 - 27.8K bytes - Viewed (0) -
src/os/types_windows.go
// The FILE_ID_BOTH_DIR_INFO MSDN documentations isn't completely correct. // FileAttributes can contain any file attributes that is currently set on the file, // not just the ones documented. // EaSize contains the reparse tag if the file is a reparse point. return &fileStat{ FileAttributes: d.FileAttributes, CreationTime: d.CreationTime, LastAccessTime: d.LastAccessTime, LastWriteTime: d.LastWriteTime,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:44:48 UTC 2024 - 11.7K bytes - Viewed (0) -
cmd/os_windows.go
} } name := syscall.UTF16ToString(data.FileName[0:]) if name == "" || name == "." || name == ".." { // Useless names continue } var typ os.FileMode // regular file switch { case data.FileAttributes&syscall.FILE_ATTRIBUTE_REPARSE_POINT != 0: // Reparse point is a symlink fi, err := os.Stat(pathJoin(dirPath, name)) if err != nil { // It got deleted in the meantime, not found
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Oct 18 18:08:15 UTC 2023 - 5.1K bytes - Viewed (0) -
src/internal/syscall/windows/symlink_windows.go
FileIdExtdDirectoryInfo = 0x13 // FILE_ID_EXTD_DIR_INFO FileIdExtdDirectoryRestartInfo = 0x14 // FILE_ID_EXTD_DIR_INFO ) type FILE_ATTRIBUTE_TAG_INFO struct { FileAttributes uint32 ReparseTag uint32 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 19:06:55 UTC 2024 - 1.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/windows/types_windows.go
// ² https://golang.org/issue/42637#issuecomment-760715755. } func copyFindData(dst *Win32finddata, src *win32finddata1) { dst.FileAttributes = src.FileAttributes dst.CreationTime = src.CreationTime dst.LastAccessTime = src.LastAccessTime dst.LastWriteTime = src.LastWriteTime dst.FileSizeHigh = src.FileSizeHigh dst.FileSizeLow = src.FileSizeLow
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 05 22:18:42 UTC 2024 - 104.1K bytes - Viewed (0) -
src/os/stat_windows.go
var fa syscall.Win32FileAttributeData err = syscall.GetFileAttributesEx(namep, syscall.GetFileExInfoStandard, (*byte)(unsafe.Pointer(&fa))) if err == nil && fa.FileAttributes&syscall.FILE_ATTRIBUTE_REPARSE_POINT == 0 { // Not a surrogate for another named entity, because it isn't any kind of reparse point. // The information we got from GetFileAttributesEx is good enough for now.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:44:48 UTC 2024 - 5.2K bytes - Viewed (0) -
src/internal/syscall/windows/syscall_windows.go
SecurityDescriptor uintptr InheritHandle bool } type FILE_BASIC_INFO struct { CreationTime int64 LastAccessTime int64 LastWriteTime int64 ChangedTime int64 FileAttributes uint32 // Pad out to 8-byte alignment. // // Without this padding, TestChmod fails due to an argument validation error // in SetFileInformationByHandle on windows/386. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 22:55:25 UTC 2024 - 15.5K bytes - Viewed (0) -
src/internal/poll/fd_windows.go
} // Fchmod updates syscall.ByHandleFileInformation.Fileattributes when needed. func (fd *FD) Fchmod(mode uint32) error { if err := fd.incref(); err != nil { return err } defer fd.decref() var d syscall.ByHandleFileInformation if err := syscall.GetFileInformationByHandle(fd.Sysfd, &d); err != nil { return err } attrs := d.FileAttributes if mode&syscall.S_IWRITE != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 31 16:50:42 UTC 2024 - 34.1K bytes - Viewed (0) -
src/os/file_windows.go
if e1 == nil { var fa syscall.Win32FileAttributeData e1 = syscall.GetFileAttributesEx(pathp, syscall.GetFileExInfoStandard, (*byte)(unsafe.Pointer(&fa))) if e1 == nil && fa.FileAttributes&syscall.FILE_ATTRIBUTE_DIRECTORY != 0 { e = syscall.EISDIR } } } return nil, &PathError{Op: "open", Path: name, Err: e} } return newFile(r, name, "file"), nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 30 15:38:38 UTC 2024 - 13.4K bytes - Viewed (0)