Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 129 for sommes (0.75 sec)

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            // Can still have more elements
            assertTrue(response.hasMoreElements());
        }
    
        @Test
        @DisplayName("Test reset method")
        void testReset() {
            // Set some values
            response.setDataCount(50);
    
            // Call reset
            response.reset();
    
            // After reset, hasMore should be true
            assertTrue(response.hasMoreElements());
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java

            List<AnalyzeToken> tokens = defaultContentsParser.analyzeTextByReading(analyzer, "content", text, null);
    
            assertNotNull(tokens);
            // analyzeAndReading may return null for some analyzers
            // Just verify it doesn't throw an exception
        }
    
        @Test
        public void test_analyzeTextWithLargeContent() throws Exception {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/transport/Transport.java

    import java.io.InputStream;
    import java.util.HashMap;
    
    import jcifs.smb1.util.LogStream;
    
    /**
     * This class simplifies communication for protocols that support
     * multiplexing requests. It encapsulates a stream and some protocol
     * knowledge (provided by a concrete subclass) so that connecting,
     * disconnecting, sending, and receiving can be syncronized
     * properly. Apparatus is provided to send and receive requests
     * concurrently.
     */
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStream.java

         */
        @Override
        public int read(final byte[] b, final int off, final int len) throws IOException {
            return inputStream.read(b, off, len);
        }
    
        /**
         * Reads some number of bytes from the input stream and stores them into the buffer array b.
         *
         * @param b the buffer into which the data is read
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/NbtAddress.java

         *
         * @return the NetBIOS name type code
         */
    
        public int getNameType() {
            return hostName.hexCode;
        }
    
        /**
         * Returns a hashcode for this IP address. The hashcode comes from the IP address
         * and is not generated from the string representation. So because NetBIOS nodes
         * can have many names, all names associated with an IP will have the same
         * hashcode.
         */
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/SmbNegotiationTest.java

        void testWithLargeBuffers() {
            // Test with large byte arrays
            byte[] largeRequestBuffer = new byte[1024];
            byte[] largeResponseBuffer = new byte[2048];
    
            // Fill with some test data
            for (int i = 0; i < largeRequestBuffer.length; i++) {
                largeRequestBuffer[i] = (byte) (i % 256);
            }
            for (int i = 0; i < largeResponseBuffer.length; i++) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java

        @Test
        @DisplayName("handleDFSReferral receives the exact arguments via captor")
        void handleDfsReferralArgumentCapture() {
            when(locator.handleDFSReferral(any(), any())).thenReturn("ok");
            String req = "some/path";
            locator.handleDFSReferral(referral, req);
    
            ArgumentCaptor<DfsReferralData> drCap = ArgumentCaptor.forClass(DfsReferralData.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFileHandleImpl.java

                    // Force close the handle
                    this.open = false;
                    this.usageCount.set(0);
    
                    // Clear mutable references to free memory
                    // Note: Some fields may be final and cannot be nulled
    
                    // Clear any other mutable state would go here
                }
            } catch (Exception e) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.4K bytes
    - Viewed (1)
  9. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

                // Verify that the response inherits from ServerMessageBlock2Response
                assertTrue(response instanceof jcifs.internal.smb2.ServerMessageBlock2Response);
    
                // Test some inherited methods
                assertFalse(response.isReceived());
                assertFalse(response.isError());
                assertNull(response.getExpiration());
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/ServerResponseValidatorTest.java

            ServerResponseValidator.ValidationStats stats = validator.getStats();
            assertEquals(0, stats.getTotalValidations());
            assertEquals(0, stats.getFailedValidations());
    
            // Perform some validations
            try {
                validator.validateBuffer(new byte[100], 50, 200);
            } catch (SmbException e) {
                // Ignore
            }
    
            try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
Back to top