Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 143 for mane (0.97 sec)

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

            verifyNoInteractions(mockDir);
        }
    
        /**
         * Interaction with dependency: implementation can use directory's methods to make decisions.
         * Tests a filter that uses directory path information.
         */
        @Test
        @DisplayName("filter can use SmbFile directory for decision logic")
        void filterCanUseSmbFileForDecision() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/PacTest.java

            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            writeLittleEndianInt(baos, 0); // buffer count = 0
            writeLittleEndianInt(baos, 99); // invalid version
            baos.write(new byte[1]); // Make it > 8 bytes
            byte[] pacData = baos.toByteArray();
    
            PACDecodingException e = assertThrows(PACDecodingException.class, () -> new Pac(pacData, keys));
            // The error could be about version or missing buffers
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EXTRACTOR_TESTS_README.md

    # Extractor Implementation Tests
    
    This directory contains comprehensive tests for the Extractor implementations, focusing on the improvements made to resource management, error handling, and input validation.
    
    ## Test Files Overview
    
    ### 1. ExtractorResourceManagementTest.java
    **Purpose**: Verify proper resource management in Extractor implementations.
    
    **Key Test Areas**:
    - Resource closure on successful extraction (MS Office extractors)
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Nov 19 08:55:01 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/StaticJAASConfigurationTest.java

            AppConfigurationEntry[] entries = cfg.getAppConfigurationEntry("ignored");
            Map<String, ?> returned = entries[0].getOptions();
    
            // Assert: sanity check and verify that no mutating calls were made after construction
            assertEquals("true", returned.get("refreshKrb5Config"));
            verify(spyOpts, never()).put(any(), any());
            verify(spyOpts, never()).remove(any());
            verify(spyOpts, never()).clear();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/UniAddressTest.java

    import jcifs.smb1.netbios.NbtAddress;
    
    /**
     * Unit tests for {@link UniAddress}.  The focus of these tests is on
     * the public API of {@code UniAddress} and its behaviour when provided
     * with different kinds of inputs.  Many static helpers in {@code
     * UniAddress} are network dependent and therefore not exercised here – they
     * would require complex stubbing of static methods.  Instead the tests
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/SmbResource.java

         * character matches any number of characters in part of a name. If
         * the expression begins with one or more '?'s then exactly that
         * many characters will be matched whereas if it ends with '?'s
         * it will match that many characters <i>or less</i>.
         * <p>
         * Wildcard expressions will not filter workgroup names or server names.
         *
         * @param wildcard the wildcard pattern to match
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  7. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

            // Looks like the failure case also is just reflecting back the signature we sent
    
            // with SMB3's negotiation validation it's no longer possible to ignore this (on the validation response)
            // make sure that validation is performed in any case
            final Smb2SigningDigest dgst = getDigest();
            if (dgst != null && !isAsync() && (getConfig().isRequireSecureNegotiate() || getErrorCode() == NtStatus.NT_STATUS_SUCCESS)) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

            @CsvSource({ "'', 4", "'a', 6", "'\\\\', 8", "'\\\\server', 20", "'\\\\server\\share', 32", "'\\\\server\\share\\path', 42",
                    "'\\\\server\\share\\very\\long\\path\\with\\many\\segments', 100" })
            void testSizeCalculation(String path, int expectedSize) {
                buffer = new DfsReferralRequestBuffer(path, 3);
    
                assertEquals(expectedSize, buffer.size());
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerContext.java

        /**
         * Lock object for synchronizing access to active thread count.
         */
        protected Object activeThreadCountLock = new Object();
    
        /**
         * Atomic counter for tracking the number of accesses made.
         */
        protected AtomicLong accessCount = new AtomicLong(0);
    
        /**
         * Current status of the crawler.
         */
        protected volatile CrawlerStatus status = CrawlerStatus.INITIALIZING;
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java

            for (int i = 0; i < buffer.length; i++) {
                buffer[i] = (byte) (i % 256);
            }
    
            // Set structure size to 2
            SMBUtil.writeInt2(2, buffer, bufferIndex);
    
            // Make a copy of the buffer
            byte[] bufferCopy = buffer.clone();
    
            // Call readBytesWireFormat
            response.readBytesWireFormat(buffer, bufferIndex);
    
            // Verify buffer wasn't modified
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top