- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 377 for 01 (0.01 sec)
-
docs/smb3-features/03-multi-channel-design.md
if (state != ChannelState.ESTABLISHED && state != ChannelState.ACTIVE) return 0; // Adjust based on error rate double errorRate = getErrorRate(); if (errorRate > 0.1) score -= 50; else if (errorRate > 0.01) score -= 20; // Adjust based on interface capabilities score += localInterface.getScore() / 100; score += remoteInterface.getScore() / 100;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 39.6K bytes - Viewed (0) -
src/test/java/jcifs/SidResolverTest.java
.resolveSids(any(CIFSContext.class), anyString(), any(SID[].class), anyInt(), eq(-1)); assertThrows(CIFSException.class, () -> sidResolver.resolveSids(mockContext, testServerName, testSids, 0, -1)); } @Test void testResolveSidsWithOffsetAndLength_OutOfBounds() throws CIFSException { doThrow(new CIFSException("Array index out of bounds")).when(sidResolver)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 15.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java
* * @throws IOException if a network error occurs */ @Override public void write(final int b) throws IOException { tmp[0] = (byte) b; write(tmp, 0, 1); } /** * Writes b.length bytes from the specified byte array to this * file output stream. * * @throws IOException if a network error occurs */ @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11K bytes - Viewed (0) -
docs/de/docs/tutorial/first-steps.md
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
// Verify fail counts incremented assertEquals(1, pool.failCounts.get("10.0.0.1")); assertEquals(1, pool.failCounts.get("10.0.0.2")); } @ParameterizedTest @ValueSource(ints = { 0, -1 }) @DisplayName("Should default to port 445 when port <= 0") void testDefaultPort(int invalidPort) throws Exception { // Given: Create a new pool for this test to ensure isolationRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
src/archive/tar/writer_test.go
testRemaining{1, 0}, }, }, { maker: makeSparse{makeReg{6, "abcde"}, sparseHoles{{2, 3}}, 8}, tests: []testFnc{ testReadFrom{fileOps{"ab", int64(3), "cde"}, 8, errUnrefData}, testRemaining{0, 1}, }, }, { maker: makeSparse{makeReg{4, "abcd"}, sparseHoles{{2, 3}}, 8}, tests: []testFnc{ testWrite{"ab", 2, nil}, testRemaining{6, 2}, testWrite{"\x00\x00\x00", 3, nil},Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Feb 03 16:38:43 UTC 2025 - 39.8K bytes - Viewed (0) -
docs/fr/docs/tutorial/first-steps.md
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 10.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileOutputStreamTest.java
// When & Then - test boundary conditions // Negative length or offset should not cause issues (len <= 0 returns early) assertDoesNotThrow(() -> outputStream.write(data, 0, -1)); // negative length, returns early assertDoesNotThrow(() -> outputStream.write(data, 0, 0)); // zero length, returns early // These should pass through to the underlying implementationRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java
// Write parameters int bytesWritten = netShareEnum.writeParametersWireFormat(dst, 0); // Verify all sections of written data int offset = 0; // 1. NET_SHARE_ENUM command (2 bytes) assertEquals(SmbComTransaction.NET_SHARE_ENUM, SMBUtil.readInt2(dst, offset)); offset += 2; // 2. Descriptor string (13 bytes)Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
CIFSContext ctx = mock(CIFSContext.class); // Null sids array -> NPE assertThrows(NullPointerException.class, () -> cache.resolveSids(ctx, "server", null, 0, 1)); // Bad offset/length leads to ArrayIndexOutOfBoundsException jcifs.SID[] sids = new jcifs.SID[] { sid("S-1-1-0") };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14K bytes - Viewed (0)