- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 324 for channel (0.06 sec)
-
src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java
// Make channel2 have pending operations channel2.addPendingOperation(mockMessage); when(mockChannelManager.getHealthyChannels()).thenReturn(Arrays.asList(channel1, channel2)); ChannelInfo selected = loadBalancer.selectChannel(queryInfo); // Should prefer less loaded channel for metadata operations assertEquals(channel1, selected); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java
ChannelInfo channel = new ChannelInfo("test-channel", mockTransport, localNic, remoteNic); channel.setState(ChannelState.ESTABLISHED); // Verify channel properties assertEquals("test-channel", channel.getChannelId()); assertEquals(mockTransport, channel.getTransport()); assertEquals(localNic, channel.getLocalInterface());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 8.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancer.java
long pending = channel.getRequestsPending(); if (pending < minPending) { minPending = pending; leastLoadedChannel = channel; } } return leastLoadedChannel != null ? leastLoadedChannel : channels.iterator().next(); } private ChannelInfo selectWeightedRandom(Collection<ChannelInfo> channels) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java
*/ public static byte SMB2_READFLAG_READ_UNBUFFERED = 0x1; /** * Channel type for standard read without RDMA */ public static int SMB2_CHANNEL_NONE = 0x0; /** * Channel type for RDMA version 1 */ public static int SMB2_CHANNEL_RDMA_V1 = 0x1; /** * Channel type for RDMA version 1 with invalidate */ public static int SMB2_CHANNEL_RDMA_V1_INVALIDATE = 0x2;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/nio/ChannelUtil.java
assertArgumentNotNull("channel", channel); try { return channel.size(); } catch (final IOException e) { throw new IORuntimeException(e); } } /** * Reads the contents of the file channel into a byte buffer. * * @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/internal/smb2/multichannel/ChannelManagerTest.java
// Remove should not throw exception even if channel doesn't exist assertDoesNotThrow(() -> channelManager.removeChannel(channel)); } @Test void testShutdown() { assertDoesNotThrow(() -> channelManager.shutdown()); // Multiple shutdowns should be safe
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.6K bytes - Viewed (0) -
samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/TunnelingUnixSocket.java
private final File path; private InetSocketAddress inetSocketAddress; TunnelingUnixSocket(File path, UnixSocketChannel channel) { super(channel); this.path = path; } TunnelingUnixSocket(File path, UnixSocketChannel channel, InetSocketAddress address) { this(path, channel); this.inetSocketAddress = address; } @Override public void connect(SocketAddress endpoint) throws IOException {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Feb 12 16:33:52 UTC 2019 - 1.9K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/PerformanceTestSpec.kt
model: CIBuildModel, bucket: String, ): String fun channel(): String } interface PerformanceTestProjectSpec { val os: Os val type: PerformanceTestType val failsStage: Boolean fun asConfigurationId(model: CIBuildModel): String fun asName(): String fun channel(): String } data class PerformanceTestPartialTrigger( val triggerName: String,
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Wed Feb 12 09:12:03 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java
} @Test void testFailoverStateCreation() { ChannelFailover.FailoverState state = new ChannelFailover.FailoverState("test-channel"); assertEquals("test-channel", state.getChannelId()); assertEquals(0, state.getRetryCount()); assertTrue(state.shouldRetry()); assertTrue(state.getFailureTime() > 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java
remoteInterface = new NetworkInterfaceInfo(remoteAddr, 1000); channelInfo = new ChannelInfo("test-channel", mockTransport, localInterface, remoteInterface); } @Test void testConstructor() { assertEquals("test-channel", channelInfo.getChannelId()); assertEquals(mockTransport, channelInfo.getTransport());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.4K bytes - Viewed (0)