Skip to content
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

Added volume management functions #481

Merged
merged 1 commit into from
Aug 5, 2015

Conversation

lgoldstein
Copy link
Contributor

  • Added (almost) all the functions under Volume Management Functions including tests - except for the functions that might affect the host running the test (e.g., SetVolumeLabel)
  • Improved efficiency of Native#toString(...) to avoid creation of extra strings by pre-detecting the NULL terminator position
  • Added Native#toStringList() since it is very common to find double-null terminated string buffers. I used it also in Kernel32Util#getLogicalDrives and changed its return type from and array to a list accordingly.

@lgoldstein lgoldstein force-pushed the volume-mgmt-funcs branch 3 times, most recently from 0153b6f to 2d8f6d2 Compare August 5, 2015 11:07
@dblock
Copy link
Member

dblock commented Aug 5, 2015

Nice work, merging as is.

dblock added a commit that referenced this pull request Aug 5, 2015
Added volume management functions
@dblock dblock merged commit ab7eea6 into java-native-access:master Aug 5, 2015
@lgoldstein lgoldstein deleted the volume-mgmt-funcs branch August 6, 2015 07:31
mstyura pushed a commit to mstyura/jna that referenced this pull request Sep 9, 2024
…s#481)


Motivation:

Quiche provides a way to retrieve the send_quantum per connection, so we should use it to reduce packet-drop.

Modifications:

Use the send_quantum to decide how much data to send per connection before flushing

Result:

Less packet loss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants