-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set of offset-based APIs for thread-safe file IO #53669
Commits on May 27, 2021
-
move logic related to opening and initializing handle from FileStream…
…Helpers to SafeFileHandle itself
Configuration menu - View commit details
-
Copy full SHA for d37d1ee - Browse repository at this point
Copy the full SHA d37d1eeView commit details -
move the arguments validation logic common for FileStream ctor and Fi…
…le.OpenHandle to FileStreamHelpers
Configuration menu - View commit details
-
Copy full SHA for 539393d - Browse repository at this point
Copy the full SHA 539393dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b60e876 - Browse repository at this point
Copy the full SHA b60e876View commit details
Commits on May 28, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c61d639 - Browse repository at this point
Copy the full SHA c61d639View commit details -
Configuration menu - View commit details
-
Copy full SHA for ad252de - Browse repository at this point
Copy the full SHA ad252deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1540dba - Browse repository at this point
Copy the full SHA 1540dbaView commit details -
Configuration menu - View commit details
-
Copy full SHA for d8a3113 - Browse repository at this point
Copy the full SHA d8a3113View commit details -
Configuration menu - View commit details
-
Copy full SHA for 02cd564 - Browse repository at this point
Copy the full SHA 02cd564View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1430dd6 - Browse repository at this point
Copy the full SHA 1430dd6View commit details -
Configuration menu - View commit details
-
Copy full SHA for ebaa92a - Browse repository at this point
Copy the full SHA ebaa92aView commit details -
Configuration menu - View commit details
-
Copy full SHA for fbbcd4d - Browse repository at this point
Copy the full SHA fbbcd4dView commit details -
move IsPipe CanSeek to SafeFileHandle as well (the new APIs like Rand…
…omFile.ReadAtOffset are going to need it)
Configuration menu - View commit details
-
Copy full SHA for 7f94f85 - Browse repository at this point
Copy the full SHA 7f94f85View commit details -
Configuration menu - View commit details
-
Copy full SHA for 33ecb8d - Browse repository at this point
Copy the full SHA 33ecb8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f1af8f6 - Browse repository at this point
Copy the full SHA f1af8f6View commit details
Commits on May 31, 2021
-
Configuration menu - View commit details
-
Copy full SHA for a46da91 - Browse repository at this point
Copy the full SHA a46da91View commit details -
don't try to test DeleteOnClose for FileStreams created from handle a…
…s it's a Windows-specific concept
Configuration menu - View commit details
-
Copy full SHA for 9ef23eb - Browse repository at this point
Copy the full SHA 9ef23ebView commit details -
take advantage of knowing the file type and avoid one syscall for Can…
…Seek for regular files
Configuration menu - View commit details
-
Copy full SHA for 485eb93 - Browse repository at this point
Copy the full SHA 485eb93View commit details -
Configuration menu - View commit details
-
Copy full SHA for c8818aa - Browse repository at this point
Copy the full SHA c8818aaView commit details -
Apply suggestions from code review
Co-authored-by: Stephen Toub <stoub@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for dc13de0 - Browse repository at this point
Copy the full SHA dc13de0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c58252 - Browse repository at this point
Copy the full SHA 6c58252View commit details -
simplify Windows implementation:
* with NtCreateFile there is no need for Validation (NtCreateFile returns error and we never create a safe file handle) * unify status codes * complete error mapping
Configuration menu - View commit details
-
Copy full SHA for fb24f5c - Browse repository at this point
Copy the full SHA fb24f5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8baf0bd - Browse repository at this point
Copy the full SHA 8baf0bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 50aba1f - Browse repository at this point
Copy the full SHA 50aba1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 143d31c - Browse repository at this point
Copy the full SHA 143d31cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d41d65 - Browse repository at this point
Copy the full SHA 1d41d65View commit details
Commits on Jun 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 2d8ac90 - Browse repository at this point
Copy the full SHA 2d8ac90View commit details -
Configuration menu - View commit details
-
Copy full SHA for bbbd267 - Browse repository at this point
Copy the full SHA bbbd267View commit details -
Configuration menu - View commit details
-
Copy full SHA for 46d9b6f - Browse repository at this point
Copy the full SHA 46d9b6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a946c5d - Browse repository at this point
Copy the full SHA a946c5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f807ef - Browse repository at this point
Copy the full SHA 4f807efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 638e67a - Browse repository at this point
Copy the full SHA 638e67aView commit details
Commits on Jun 2, 2021
-
Configuration menu - View commit details
-
Copy full SHA for fe8fbd1 - Browse repository at this point
Copy the full SHA fe8fbd1View commit details
Commits on Jun 3, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 381776b - Browse repository at this point
Copy the full SHA 381776bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1febba1 - Browse repository at this point
Copy the full SHA 1febba1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8db3f7a - Browse repository at this point
Copy the full SHA 8db3f7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f33d4ca - Browse repository at this point
Copy the full SHA f33d4caView commit details -
always treat EOF as success with 0 bytes read (read at end of file)
hopefully fix an edge case bug hit in the CI but not reproducible locally
Configuration menu - View commit details
-
Copy full SHA for f8c8423 - Browse repository at this point
Copy the full SHA f8c8423View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2126f15 - Browse repository at this point
Copy the full SHA 2126f15View commit details -
Configuration menu - View commit details
-
Copy full SHA for e613e72 - Browse repository at this point
Copy the full SHA e613e72View commit details -
Configuration menu - View commit details
-
Copy full SHA for 73f0751 - Browse repository at this point
Copy the full SHA 73f0751View commit details
Commits on Jun 7, 2021
-
Apply suggestions from code review
Co-authored-by: Stephen Toub <stoub@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 940609c - Browse repository at this point
Copy the full SHA 940609cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 891c2b3 - Browse repository at this point
Copy the full SHA 891c2b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for e462d49 - Browse repository at this point
Copy the full SHA e462d49View commit details -
Configuration menu - View commit details
-
Copy full SHA for 253faa1 - Browse repository at this point
Copy the full SHA 253faa1View commit details -
remove the invalid assumption that every file file opened from path m…
…ust be a regular file
Configuration menu - View commit details
-
Copy full SHA for fd86735 - Browse repository at this point
Copy the full SHA fd86735View commit details -
support ReadFileScatter and WriteFileGather on 32-bit systems as we d…
…on't support Itanium anymore and don't need to worry about it
Configuration menu - View commit details
-
Copy full SHA for 6241b08 - Browse repository at this point
Copy the full SHA 6241b08View commit details -
Configuration menu - View commit details
-
Copy full SHA for 648ab9b - Browse repository at this point
Copy the full SHA 648ab9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e075441 - Browse repository at this point
Copy the full SHA e075441View commit details -
Configuration menu - View commit details
-
Copy full SHA for b1d3006 - Browse repository at this point
Copy the full SHA b1d3006View commit details -
Configuration menu - View commit details
-
Copy full SHA for 98eaf24 - Browse repository at this point
Copy the full SHA 98eaf24View commit details -
when 0 is allowed, the exception message should ask for non-negative …
…number instead of positive number
Configuration menu - View commit details
-
Copy full SHA for 76a4326 - Browse repository at this point
Copy the full SHA 76a4326View commit details -
Configuration menu - View commit details
-
Copy full SHA for dcd9e12 - Browse repository at this point
Copy the full SHA dcd9e12View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b6a555 - Browse repository at this point
Copy the full SHA 2b6a555View commit details -
move IOVector from pal_networking.h to pal_io.h and use it in pal_io.…
…c to hopefully fix the FreeBSD build issue
Configuration menu - View commit details
-
Copy full SHA for 4a6bb62 - Browse repository at this point
Copy the full SHA 4a6bb62View commit details -
don't use nullable field to store canSeek information. Store the file…
… type instead (int)
Configuration menu - View commit details
-
Copy full SHA for 5ec9e1f - Browse repository at this point
Copy the full SHA 5ec9e1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d002b2 - Browse repository at this point
Copy the full SHA 4d002b2View commit details
Commits on Jun 8, 2021
-
Revert "don't use nullable field to store canSeek information. Store …
…the file type instead (int)" This reverts commit 5ec9e1f.
Configuration menu - View commit details
-
Copy full SHA for d5c9229 - Browse repository at this point
Copy the full SHA d5c9229View commit details -
Configuration menu - View commit details
-
Copy full SHA for 994b112 - Browse repository at this point
Copy the full SHA 994b112View commit details -
add more debug asserts to try to see why two CI legs have failed with…
… mysterious "bad file descriptor" error
Configuration menu - View commit details
-
Copy full SHA for 9405abe - Browse repository at this point
Copy the full SHA 9405abeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 752ff9d - Browse repository at this point
Copy the full SHA 752ff9dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e609c06 - Browse repository at this point
Copy the full SHA e609c06View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ae1dfb - Browse repository at this point
Copy the full SHA 5ae1dfbView commit details
Commits on Jun 9, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d4e5b09 - Browse repository at this point
Copy the full SHA d4e5b09View commit details -
Configuration menu - View commit details
-
Copy full SHA for abc4b14 - Browse repository at this point
Copy the full SHA abc4b14View commit details -
Merge remote-tracking branch 'upstream/main' into randomAcess
# Conflicts: # src/libraries/System.Private.CoreLib/src/System/ThrowHelper.cs
Configuration menu - View commit details
-
Copy full SHA for 043a926 - Browse repository at this point
Copy the full SHA 043a926View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc76167 - Browse repository at this point
Copy the full SHA fc76167View commit details
Commits on Jun 10, 2021
-
Merge remote-tracking branch 'upstream/main' into randomAcess
# Conflicts: # src/libraries/System.Private.CoreLib/src/System/IO/File.netcoreapp.cs # src/libraries/System.Runtime/ref/System.Runtime.cs # src/mono/mono/mini/wasm_m2n_invoke.g.h
Configuration menu - View commit details
-
Copy full SHA for 93db089 - Browse repository at this point
Copy the full SHA 93db089View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1014688 - Browse repository at this point
Copy the full SHA 1014688View commit details -
Merge remote-tracking branch 'upstream/main' into randomAcess
# Conflicts: # src/libraries/System.Private.CoreLib/src/System/IO/Strategies/FileStreamHelpers.cs
Configuration menu - View commit details
-
Copy full SHA for fde8c34 - Browse repository at this point
Copy the full SHA fde8c34View commit details
Commits on Jun 11, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 05327b1 - Browse repository at this point
Copy the full SHA 05327b1View commit details -
Apply suggestions from code review
Co-authored-by: Stephen Toub <stoub@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 05e65eb - Browse repository at this point
Copy the full SHA 05e65ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for c87354c - Browse repository at this point
Copy the full SHA c87354cView commit details
Commits on Jun 15, 2021
-
Apply suggestions from code review
Co-authored-by: Stephen Toub <stoub@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for f80bbb7 - Browse repository at this point
Copy the full SHA f80bbb7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 07051fa - Browse repository at this point
Copy the full SHA 07051faView commit details