Skip to content

Added volume management functions#481

Merged
dblock merged 1 commit intojava-native-access:masterfrom
lgoldstein:volume-mgmt-funcs
Aug 5, 2015
Merged

Added volume management functions#481
dblock merged 1 commit intojava-native-access:masterfrom
lgoldstein:volume-mgmt-funcs

Conversation

@lgoldstein
Copy link
Copy Markdown
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
Copy Markdown
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