- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 304 for waitms (0.07 sec)
-
cmd/erasure-encode.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "fmt" "io" ) // Writes to multiple writers type multiWriter struct { writers []io.Writer writeQuorum int errs []error } // Write writes data to writers. func (p *multiWriter) Write(ctx context.Context, blocks [][]byte) error { for i := range p.writers { if p.errs[i] != nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 2.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java
informationLevelField.setAccessible(true); assertEquals(level, informationLevelField.getInt(cmd), "informationLevel should be persisted"); } @Test @DisplayName("writeSetupWireFormat writes the subCommand and a trailing 0") void testWriteSetupWireFormat() { Trans2QueryFSInformation cmd = new Trans2QueryFSInformation(5); byte[] buf = newBuffer(10);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java
assertEquals(expectedAttributes, searchAttributesField.get(smbComRename)); } /** * Test writeParameterWordsWireFormat method */ @Test @DisplayName("Test writeParameterWordsWireFormat writes search attributes correctly") public void testWriteParameterWordsWireFormat() { // Given byte[] dst = new byte[10]; smbComRename = new SmbComRename(config, "old.txt", "new.txt");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/nio/ChannelUtil.java
try { return channel.read(buffer, position); } catch (final IOException e) { throw new IORuntimeException(e); } } /** * Writes the contents of the byte buffer to the file channel. * * @param channel * The file channel. Must not be {@literal null}. * @param buffer
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java
assertEquals(SMB_COM_WRITE, write.command, "Command should be SMB_COM_WRITE"); } /** * Test writeParameterWordsWireFormat writes correct bytes */ @Test public void testWriteParameterWordsWireFormat() { // Arrange SmbComWrite write = new SmbComWrite(); write.setParam(0x1234, 0x5678L, 100, new byte[10], 0, 10);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java
* * @return average write latency */ public double getAverageWriteLatencyMicros() { long writes = rdmaWrites.get(); if (writes == 0) { return 0.0; } return totalWriteTime.get() / (double) writes / 1000.0; // Convert to microseconds } /** * Calculate average send latency in microseconds *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java
assertThrows(IndexOutOfBoundsException.class, () -\u003e NtlmMessage.readSecurityBuffer(a, 0)); } // ---------------- Static write tests ----------------- @Test @DisplayName("writeULong writes little endian bytes") void testWriteULong() { byte[] dest = new byte[4]; NtlmMessage.writeULong(dest, 0, 0x01020304);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Queues.java
* numElements} elements are not available, it will wait for them up to the specified timeout. * * @param q the blocking queue to be drained * @param buffer where to add the transferred elements * @param numElements the number of elements to be waited for * @param timeout how long to wait before giving up * @return the number of elements transferred
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.3K bytes - Viewed (0)