Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 355 for Patterns (0.41 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt

          )
        assertEquals("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=".decodeBase64(), pin.hash)
        assertEquals("sha256", pin.hashAlgorithm)
        assertEquals("**.example.co.uk", pin.pattern)
        assertTrue(pin.matchesHostname("www.example.co.uk"))
        assertTrue(pin.matchesHostname("gopher.example.co.uk"))
        assertFalse(pin.matchesHostname("www.example.com"))
      }
    
      @Test fun testMatchesSha256() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java

         * @param fileIndex
         *            the fileIndex to set
         */
        public void setFileIndex(final int fileIndex) {
            this.fileIndex = fileIndex;
        }
    
        /**
         * Sets the file name pattern for filtering directory results
         *
         * @param fileName
         *            the fileName to set
         */
        public void setFileName(final String fileName) {
            this.fileName = fileName;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

         */
        @Test
        void testConstructorInitializesFields() {
            // Given
            int sid = 0x2222;
            int resumeKey = 0x12345678;
            String filename = "dir\\pattern*";
    
            // When
            Trans2FindNext2 next = new Trans2FindNext2(sid, resumeKey, filename);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/query/QueryProcessor.java

        }
    
        /**
         * Interface for filter chains that process queries through a sequence of filters.
         * This follows the Chain of Responsibility pattern for query processing.
         */
        public interface FilterChain {
            /**
             * Executes the filter chain on the given query.
             *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

         */
        public BaseThumbnailGenerator() {
            // Default constructor
        }
    
        /**
         * Adds a condition for thumbnail generation.
         * @param key The condition key.
         * @param regex The regex pattern for the condition.
         */
        public void addCondition(final String key, final String regex) {
            final String value = conditionMap.get(key);
            if (StringUtil.isBlank(value)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ForwardingMap.java

     * methods to modify the behavior of the backing map as desired per the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>Warning:</b> The methods of {@code ForwardingMap} forward <i>indiscriminately</i> to the
     * methods of the delegate. For example, overriding {@link #put} alone <i>will not</i> change the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

            // Then - always returns 0 as this is a request, not response
            assertEquals(0, emptyRead);
            assertEquals(0, fullRead);
        }
    
        /**
         * Create a test byte array with specified size and pattern
         */
        private byte[] createTestData(int size) {
            byte[] data = new byte[size];
            for (int i = 0; i < size; i++) {
                data[i] = (byte) (i % 256);
            }
            return data;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

        @Test
        @DisplayName("Should not modify buffer during write operation")
        void testWriteDoesNotModifyBuffer() {
            // Given
            byte[] buffer = new byte[256];
            // Fill buffer with test pattern
            for (int i = 0; i < buffer.length; i++) {
                buffer[i] = (byte) (i & 0xFF);
            }
            byte[] originalBuffer = buffer.clone();
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

            querySecurityDesc = new NtTransQuerySecurityDesc(mockConfig, 0x1234, OWNER_SECURITY_INFORMATION);
            byte[] dst = new byte[20];
    
            // Fill buffer with test pattern
            for (int i = 0; i < dst.length; i++) {
                dst[i] = (byte) (i & 0xFF);
            }
    
            int startIndex = 5;
            int bytesWritten = querySecurityDesc.writeParametersWireFormat(dst, startIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/PluginHelper.java

    import java.util.Collections;
    import java.util.Comparator;
    import java.util.List;
    import java.util.Map;
    import java.util.concurrent.TimeUnit;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    import java.util.stream.Collectors;
    
    import javax.xml.XMLConstants;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    
    import org.apache.commons.lang3.StringUtils;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.9K bytes
    - Viewed (0)
Back to top