Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 254 for shares (3.6 sec)

  1. src/test/java/jcifs/smb/SmbNamedPipeTest.java

            }
    
            @ParameterizedTest
            @DisplayName("Rejects non-IPC$ URLs")
            @ValueSource(strings = { "smb://server/C$/foo", "smb://server/public/foo", "smb://server/share/path" })
            void rejectsNonIpcShare(String url) {
                // Arrange & Act & Assert
                MalformedURLException ex =
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/witness/WitnessClient.java

            scheduler.scheduleAtFixedRate(this::monitorRegistrations, 10, 10, TimeUnit.SECONDS);
        }
    
        /**
         * Registers for witness notifications.
         *
         * @param shareName the share name to monitor
         * @param serverAddress the server address
         * @param listener the notification listener
         * @return a future that completes with the registration
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

            // Create a buffer representing a valid DFS referral response
            // Need to include space for actual string data
            int stringDataStart = 28; // After the referral structure
            String testPath = "\\server\\share";
            byte[] pathBytes = testPath.getBytes(java.nio.charset.StandardCharsets.UTF_16LE);
            int bufferSize = stringDataStart + pathBytes.length + 2; // +2 for null terminator
            byte[] buffer = new byte[bufferSize];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

        /**
         * Constructs an SmbRandomAccessFile with the specified URL, mode, and share access flags.
         *
         * @param url the SMB URL of the file to access
         * @param mode the access mode ("r" for read-only, "rw" for read-write)
         * @param shareAccess the share access flags for file sharing
         * @throws SmbException if an SMB error occurs
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  5. LICENSE

     the version number 2.1.)
    
                                Preamble
    
      The licenses for most software are designed to take away your
    freedom to share and change it.  By contrast, the GNU General Public
    Licenses are intended to guarantee your freedom to share and change
    free software--to make sure the software is free for all its users.
    
      This license, the Lesser General Public License, applies to some
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Mon Jan 18 20:25:38 UTC 2016
    - 25.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java

            // Create channels with zero scores (failed state)
            channel1.setState(ChannelState.FAILED);
            channel2.setState(ChannelState.FAILED);
    
            when(mockChannelManager.getHealthyChannels()).thenReturn(Arrays.asList(channel1, channel2));
    
            // Should still select a channel even with zero scores
            ChannelInfo selected = loadBalancer.selectChannel(mockMessage);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java

        /**
         * Constructs an Open AndX request.
         *
         * @param config the configuration
         * @param fileName the name of the file to open
         * @param access the desired access mode
         * @param shareAccess the share access mode
         * @param flags the open flags
         * @param fileAttributes the file attributes
         * @param andx the next command in the chain
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/msrpc/netdfs.java

                        if (this.stores[_i] == null) {
                            this.stores[_i] = new DfsStorageInfo();
                        }
                        this.stores[_i].decode(_src);
                    }
                }
            }
        }
    
        /**
         * Array structure for DFS enumeration containing level 3 information
         */
        public static class DfsEnumArray3 extends NdrObject {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/multichannel/LoadBalancingStrategy.java

         */
        ROUND_ROBIN,
    
        /**
         * Select the least busy channel based on pending operations
         */
        LEAST_LOADED,
    
        /**
         * Weighted random selection based on channel scores
         */
        WEIGHTED_RANDOM,
    
        /**
         * Affinity-based selection for related operations
         */
        AFFINITY_BASED,
    
        /**
         * Adaptive selection based on operation type and performance
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            assertTrue(ex.getMessage().contains("Connection failed"));
        }
    
        @Test
        @DisplayName("Should perform logon to IPC$ share")
        void testLogon() throws Exception {
            // Given: Mock transport, session and tree
            SmbTransportPoolImpl poolSpy = spy(pool);
            when(ctx.getTransportPool()).thenReturn(poolSpy);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
Back to top