Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for getChannels (0.87 sec)

  1. src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java

        }
    
        @Test
        void testConstructor() {
            assertNotNull(channelManager);
            assertFalse(channelManager.isUseMultiChannel());
            assertEquals(0, channelManager.getChannels().size());
            assertNotNull(channelManager.getLoadBalancer());
        }
    
        @Test
        void testInitializationWithoutMultiChannelSupport() throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/MultiChannelManager.java

            public ChannelGroup(String sessionId) {
                this.sessionId = sessionId;
            }
    
            public String getSessionId() {
                return sessionId;
            }
    
            public List<ChannelInfo> getChannels() {
                return new ArrayList<>(channels);
            }
    
            public void addChannel(ChannelInfo channel) {
                channels.add(channel);
                if (primaryChannel == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java

        }
    
        @Test
        void testMultiChannelInitialization() throws Exception {
            // Test that ChannelManager initializes properly
            assertNotNull(channelManager);
            assertNotNull(channelManager.getChannels());
            // Note: isUseMultiChannel() checks if actual multi-channel is negotiated with server
            // In mock environment, this will be false until we mock successful negotiation
    
    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/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

            return loadBalancer;
        }
    
        /**
         * Get all channels
         *
         * @return collection of all channels
         */
        public Collection<ChannelInfo> getChannels() {
            return channels.values();
        }
    
        /**
         * Get healthy channels only
         *
         * @return collection of healthy channels
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 20K bytes
    - Viewed (0)
  5. docs/smb3-features/03-multi-channel-design.md

        assertEquals(ChannelState.FAILED, channel.getState());
        
        // Verify recovery attempted
        Thread.sleep(2000);
        assertTrue(channel.getState() == ChannelState.ESTABLISHED 
            || manager.getChannels().isEmpty());
    }
    ```
    
    ### 7.2 Integration Tests
    ```java
    @Test
    public void testMultiChannelThroughput() throws Exception {
        // Requires multi-NIC test environment
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache2/FileOperatorTest.kt

          FileOperator(
            randomAccessFile!!.getChannel(),
          )
        val buffer = Buffer()
        operator.read(0, buffer, 5)
        assertThat(buffer.readUtf8()).isEqualTo("Hello")
        operator.read(4, buffer, 5)
        assertThat(buffer.readUtf8()).isEqualTo("o, Wo")
      }
    
      @Test
      fun write() {
        val operator =
          FileOperator(
            randomAccessFile!!.getChannel(),
          )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    tashkent.su
    termez.su
    togliatti.su
    troitsk.su
    tselinograd.su
    tula.su
    tuva.su
    vladikavkaz.su
    vladimir.su
    vologda.su
    
    // Fancy Bits, LLC : http://getchannels.com
    // Submitted by Aman Gupta <aman@getchannels.com>
    channelsdvr.net
    u.channelsdvr.net
    
    // Fastly Inc. : http://www.fastly.com/
    // Submitted by Fastly Security <******@****.***>
    edgecompute.app
    fastly-edge.com
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 309.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/io/FileUtil.java

            assertArgumentNotNull("file", file);
    
            final FileInputStream is = InputStreamUtil.create(file);
            try {
                final FileChannel channel = is.getChannel();
                final ByteBuffer buffer = ByteBuffer.allocate((int) ChannelUtil.size(channel));
                ChannelUtil.read(channel, buffer);
                return buffer.array();
            } finally {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

                FileChannel channel = null;
                FileLock lock = null;
                try {
                    Properties props = new Properties();
    
                    channel = new RandomAccessFile(touchfile, "rw").getChannel();
                    lock = channel.lock();
    
                    if (touchfile.canRead()) {
                        getLogger().debug("Reading resolution-state from: " + touchfile);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Apr 22 22:13:51 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/io/CopyUtil.java

         * @return the number of bytes copied
         */
        protected static int copyInternal(final FileInputStream in, final FileOutputStream out) {
            final FileChannel ic = in.getChannel();
            final FileChannel oc = out.getChannel();
            return (int) ChannelUtil.transfer(ic, oc);
        }
    
        /**
         * Copies the contents of a reader to a writer.
         * <p>
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 45.2K bytes
    - Viewed (0)
Back to top