Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 88 for Channels (0.04 sec)

  1. android/guava-tests/test/com/google/common/io/PackageSanityTests.java

     */
    
    package com.google.common.io;
    
    import static java.nio.charset.StandardCharsets.UTF_8;
    
    import com.google.common.testing.AbstractPackageSanityTests;
    import java.lang.reflect.Method;
    import java.nio.channels.FileChannel.MapMode;
    import java.nio.charset.CharsetEncoder;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Basic sanity tests for the entire package.
     *
     * @author Ben Yu
     */
    
    @NullUnmarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/FileOperator.kt

    import java.io.IOException
    import java.nio.channels.FileChannel
    import okio.Buffer
    
    /**
     * Read and write a target file. Unlike Okio's built-in `Okio.source(java.io.File file)` and `Okio.sink(java.io.File file)`
     * this class offers:
     *
     *  * **Read/write:** read and write using the same operator.
     *  * **Random access:** access any position within the file.
     *  * **Shared channels:** read and write a file channel that's shared between
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. 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)
  4. src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java

            when(mockLoadBalancer.selectChannel(mockOperation)).thenThrow(new ChannelLoadBalancer.NoAvailableChannelException("No channels"));
    
            IOException error = new IOException("Connection failed");
    
            // Should not throw exception even if no alternative channels
            assertDoesNotThrow(() -> failover.handleFailure(failedChannel, error));
    
            assertEquals(0, failedChannel.getRequestsPending());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ntlmssp/av/AvChannelBindings.java

     */
    package jcifs.ntlmssp.av;
    
    /**
     * NTLMSSP AV pair representing channel binding information for enhanced security.
     * Used to bind NTLM authentication to specific communication channels.
     *
     * @author mbechler
     */
    public class AvChannelBindings extends AvPair {
    
        /**
         * Constructs an AV channel bindings pair
         * @param channelBindingHash the channel binding hash value
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/multichannel/LoadBalancingStrategy.java

    /**
     * Load balancing strategies for multi-channel connections
     */
    public enum LoadBalancingStrategy {
        /**
         * Round-robin selection through available channels
         */
        ROUND_ROBIN,
    
        /**
         * Select the least busy channel based on pending operations
         */
        LEAST_LOADED,
    
        /**
         * Weighted random selection based on channel scores
         */
        WEIGHTED_RANDOM,
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  7. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainServerSocketFactory.java

          return endpoint;
        }
    
        @Override public Socket accept() throws IOException {
          try {
            UnixSocketChannel channel = serverSocketChannel.accept();
            return new TunnelingUnixSocket(path, channel, endpoint);
          } catch (ClosedChannelException e) {
            SocketException exception = new SocketException();
            exception.initCause(e);
            throw exception;
          }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Feb 12 16:33:52 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java

        private final AtomicLong errors;
    
        // Channel binding
        private byte[] bindingHash;
        private boolean isPrimary;
    
        // Pending operations
        private final List<CommonServerMessageBlock> pendingOperations;
    
        /**
         * Create channel information
         *
         * @param channelId unique channel identifier
         * @param transport SMB transport for this channel
         * @param localInterface local network interface
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/ChannelSocketFactory.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import java.net.InetAddress
    import java.net.Socket
    import java.nio.channels.SocketChannel
    import javax.net.SocketFactory
    
    class ChannelSocketFactory : SocketFactory() {
      override fun createSocket(): Socket = SocketChannel.open().socket()
    
      override fun createSocket(
        host: String,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  10. docs/SMB3_IMPLEMENTATION_PLAN.md

    - [ ] Create channel synchronization mechanism
    - [ ] Implement channel failure detection
    - [ ] Add automatic channel recovery
    - [ ] Create channel performance monitoring
    
    #### 3.3 Integration Points
    - Modify `SmbTransportPool` for multiple connections per session
    - Update `SmbSession` for multi-channel awareness
    - Enhance `SmbTransport` for channel management
    
    ---
    
    ### Phase 4: Directory Leasing
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 10.7K bytes
    - Viewed (0)
Back to top