Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 1,393 for Create (0.03 sec)

  1. src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java

            assert (str.startsWith("TransTransactNamedPipeResponse["));
            assert (str.endsWith("]"));
        }
    }
    
    // We need to add a helper method to TransTransactNamedPipeResponse to make the test more precise
    // Or create a visible subclass for testing.
    // For now, let's assume we can modify the original class slightly for testability,
    // or we accept the less precise testToStringFormat test.
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/MultipleArtifactsNotFoundException.java

                List<Artifact> missingArtifacts,
                List<ArtifactRepository> remoteRepositories) {
            this(originatingArtifact, new ArrayList<>(), missingArtifacts, remoteRepositories);
        }
    
        /**
         * Create an instance of the exception with all required information.
         *
         * @param originatingArtifact the artifact that was being resolved
         * @param resolvedArtifacts   artifacts that could be resolved
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/exception/SuggesterException.java

     */
    package org.codelibs.fess.suggest.exception;
    
    /**
     * This class represents a custom exception for the suggester component.
     * It extends the {@link RuntimeException} class and provides constructors
     * to create an exception instance with a message, a cause, or both.
     *
     * <p>Usage examples:</p>
     * <pre>
     * throw new SuggesterException("An error occurred");
     * throw new SuggesterException(new IOException("IO error"));
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/opensearch/extension/analysis/StopTokenPrefixFilterFactory.java

                for (int i = 0; i < stopwords.length; i++) {
                    stopwords[i] = stopwords[i].toLowerCase(Locale.ROOT);
                }
            }
        }
    
        @Override
        public TokenStream create(final TokenStream tokenStream) {
            return new StopTokenPrefixFilter(tokenStream, stopwords, ignoreCase);
        }
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  5. docs/smb3-features/05-rdma-smb-direct-design.md

         */
        boolean isAvailable();
        
        /**
         * Get supported RDMA capabilities
         */
        Set<RdmaCapability> getSupportedCapabilities();
        
        /**
         * Create RDMA connection to remote endpoint
         */
        RdmaConnection createConnection(InetSocketAddress remote, 
                                       InetSocketAddress local) throws IOException;
        
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/transport/MessageTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    class MessageTest {
    
        private Message message;
    
        @BeforeEach
        void setUp() {
            // Create an anonymous implementation of the Message interface for testing
            message = new Message() {
                private boolean retainPayload = false;
                private byte[] rawPayload;
    
                @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/ShareEnumIteratorTest.java

        @Mock
        ResourceFilter filter;
    
        // Helper to create a parent SmbFile that does not hit the network for simple operations
        private SmbFile newParent() throws MalformedURLException {
            // Valid share URL with trailing slash; constructing does not perform I/O
            return new SmbFile("smb://test-server/share/");
        }
    
        // Helper to create a minimal FileEntry mock
        private FileEntry entry(String name, int type) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/create/Smb2CloseRequest.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.create;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.internal.smb2.RequestWithFileId;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java

    @ExtendWith(MockitoExtension.class)
    class Smb2LogoffResponseTest {
    
        // Helper to create an instance with a mocked Configuration
        private Smb2LogoffResponse newResponse() {
            Configuration cfg = Mockito.mock(Configuration.class);
            return new Smb2LogoffResponse(cfg);
        }
    
        @Test
        @DisplayName("Constructor accepts a Configuration and creates instance")
        void constructor_happyPath() {
            // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

    package jcifs.internal.smb2.create;
    
    import static org.junit.jupiter.api.Assertions.assertArrayEquals;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.ArgumentMatchers.any;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
Back to top