Search Options

Results per page
Sort
Preferred Languages
Advance

Results 471 - 480 of 2,008 for new (0.01 sec)

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

        @Test
        @Timeout(5)
        public void testSessionLifecycle() throws Exception {
            SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport);
    
            // Test initial state - session starts with usage count > 0 due to transport.acquire()
            assertTrue(session.isInUse(), "New session should be in use due to transport acquisition");
    
            // Test additional acquire
            session.acquire();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/MsPublisherExtractor.java

            if (in == null) {
                throw new CrawlerSystemException("The inputstream is null.");
            }
            try {
                @SuppressWarnings("resource")
                final PublisherTextExtractor publisherTextExtractor = new PublisherTextExtractor(in);
                return new ExtractData(publisherTextExtractor.getText());
            } catch (final IOException e) {
                throw new ExtractException(e);
            }
        }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultClasspathTransformationTestType.java

            // v1-->v2
            graph.addEdge(v1, v2, new MetadataGraphEdge("1.1", true, null, null, 2, 1));
            graph.addEdge(v1, v2, new MetadataGraphEdge("1.2", true, null, null, 2, 2));
    
            // v1-->v3
            graph.addEdge(v1, v3, new MetadataGraphEdge("1.1", true, null, null, 2, 1));
            graph.addEdge(v1, v3, new MetadataGraphEdge("1.2", true, null, null, 4, 2));
    
            // v3-->v4
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractorTest.java

            private Server server;
    
            public TestApiExtractorServer(final int port) {
                server = new Server(port);
    
                final RequestHandlerImpl request_handler = new RequestHandlerImpl();
                final HandlerList handlers = new HandlerList();
                handlers.setHandlers(new Handler[] { request_handler, new DefaultHandler() });
                server.setHandler(handlers);
            }
    
            public void start() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  5. compat/maven-artifact/src/test/java/org/apache/maven/artifact/DefaultArtifactTest.java

        void setUp() throws Exception {
            artifactHandler = new ArtifactHandlerMock();
            versionRange = VersionRange.createFromVersion(version);
            artifact = new DefaultArtifact(groupId, artifactId, versionRange, scope, type, classifier, artifactHandler);
    
            snapshotVersionRange = VersionRange.createFromVersion(snapshotResolvedVersion);
            snapshotArtifact = new DefaultArtifact(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

            void testMultipleSequentialEncodings() {
                // Given
                SrvCopychunk chunk1 = new SrvCopychunk(100, 200, 300);
                SrvCopychunk chunk2 = new SrvCopychunk(400, 500, 600);
                SrvCopychunk chunk3 = new SrvCopychunk(700, 800, 900);
                byte[] buffer = new byte[EXPECTED_SIZE * 3];
    
                // When
                int offset1 = chunk1.encode(buffer, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTreeImpl.java

            }
            final Smb2NegotiateRequest negoReq = new Smb2NegotiateRequest(sess.getConfig(), trans.getRequestSecurityMode(nego));
    
            log.debug("Sending VALIDATE_NEGOTIATE_INFO");
            final Smb2IoctlRequest req = new Smb2IoctlRequest(sess.getConfig(), Smb2IoctlRequest.FSCTL_VALIDATE_NEGOTIATE_INFO);
            req.setFlags(Smb2IoctlRequest.SMB2_O_IOCTL_IS_FSCTL);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SigningDigest.java

                if (LogStream.level > 0) {
                    ex.printStackTrace(log);
                }
                throw new SmbException("MD5", ex);
            }
    
            try {
                switch (LM_COMPATIBILITY) {
                case 0:
                case 1:
                case 2:
                    macSigningKey = new byte[40];
                    auth.getUserSessionKey(transport.server.encryptionKey, macSigningKey, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/DcerpcHandle.java

                si++;
            } while (si < arr.length);
    
            if (binding == null || binding.getEndpoint() == null) {
                throw new DcerpcException("Invalid binding URL: " + str);
            }
    
            return binding;
        }
    
        private static final AtomicInteger call_id = new AtomicInteger(1);
    
        private final DcerpcBinding binding;
        private final int max_xmit = 4280;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java

        private PropertyConfiguration config;
    
        @BeforeEach
        public void setUp() throws CIFSException {
            // Create a mock configuration for testing
            Properties properties = new Properties();
            config = new PropertyConfiguration(properties);
            context = mock(CIFSContext.class);
            when(context.getConfig()).thenReturn(config);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
Back to top