Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 160 for simili (1.69 sec)

  1. src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java

                throw new IOException("Connection not established");
            }
    
            try {
                // In real implementation, this would perform RDMA write:
                // Similar to rdmaRead but with IBV_WR_RDMA_WRITE opcode
    
                log.debug("DiSNI RDMA write completed, {} bytes", length);
    
            } catch (Exception e) {
                state = RdmaConnectionState.ERROR;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

                stemmerOverrideItemList = itemList;
            } catch (final IOException e) {
                throw new DictionaryException("Failed to parse " + path, e);
            }
        }
    
        /**
         * Returns the simple name of the dictionary file.
         *
         * @return The file name without the path.
         */
        public String getSimpleName() {
            return new File(path).getName();
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 05:56:45 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

    import jcifs.CIFSException;
    import jcifs.ResourceNameFilter;
    import jcifs.SmbResource;
    
    @ExtendWith(MockitoExtension.class)
    class DirFileEntryEnumIteratorBaseTest {
    
        // Simple FileEntry implementation used for tests
        private static FileEntry entry(String name) {
            return new FileEntry() {
                @Override
                public String getName() {
                    return name;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/BufferCacheImplTest.java

            assertEquals(3, third.length, "Allocated buffer length matches configured maximum size");
        }
    
        // Parameterized: exercise small variations of cache size for a simple reuse cycle
        @ParameterizedTest
        @ValueSource(ints = { 1, 2 })
        @DisplayName("Parameterized: buffer reuse works for various small cache sizes")
        void reuseWorksForVariousCacheSizes(int cacheSize) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/ShareEnumIteratorTest.java

    import jcifs.SmbResource;
    
    @ExtendWith(MockitoExtension.class)
    class ShareEnumIteratorTest {
    
        @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/");
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java

        void testDecodeExact16ByteHeader() throws SMBProtocolDecodingException {
            // Prepare exact 16 byte buffer
            byte[] buffer = new byte[16];
    
            // Set simple values
            SMBUtil.writeInt4(1, buffer, 0);
            SMBUtil.writeInt4(2, buffer, 4);
            SMBUtil.writeInt4(3, buffer, 8);
            SMBUtil.writeInt4(4, buffer, 12);
    
            // Decode
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java

                return rules.remove(rule);
            }
    
            @Override
            public boolean hasRule(Rule rule) {
                return rules.contains(rule);
            }
        }
    
        /**
         * Simple test rule implementation
         */
        public static class TestRule implements Rule {
            private static final long serialVersionUID = 1L;
            private final String ruleId;
            private final boolean matchResult;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/ASN1UtilTest.java

            }, "Should throw IOException for unexpected tag");
        }
    
        // --- readTagNumber ---
    
        @Test
        void testReadTagNumber_Simple() throws IOException {
            // Simple tag 5
            InputStream s = new ByteArrayInputStream(new byte[] {});
            int tagNo = ASN1Util.readTagNumber(s, 0x05);
            assertEquals(5, tagNo);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

            // Exception is thrown, but cause may or may not be set depending on implementation
            assertNotNull(e.getMessage()); // Should have an error message
        }
    
        @Test
        void testGetters() {
            // Simple test for getter methods
            NtlmContext context = new NtlmContext(mockAuth, true);
            assertFalse(context.isEstablished());
            assertNull(context.getServerChallenge());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java

            assertEquals(0, SMBUtil.readInt2(buffer, 2)); // max items
        }
    
        // Helper method to read string from buffer
        private String readStringFromBuffer(byte[] buffer, int offset, int length) {
            // Simple ASCII string reading for test purposes
            StringBuilder sb = new StringBuilder();
            for (int i = offset; i < offset + length && buffer[i] != 0; i++) {
                if (buffer[i] != 0) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
Back to top