Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 428 for patches (0.04 sec)

  1. src/main/java/org/codelibs/fess/validation/UriTypeValidator.java

        }
    
        /**
         * Checks if the given value matches any of the specified protocols.
         *
         * @param protocols the allowed protocols
         * @param value the URI string to validate
         * @return true if the value matches allowed protocols, false otherwise
         */
        protected static boolean check(final String[] protocols, final String value) {
            final String[] paths = value.split("[\r\n]");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/IdnaMappingTableTest.kt

        assertFailsWith<IllegalArgumentException> {
          table.map(0x110000, Buffer())
        }
      }
    
      @Test fun binarySearchEvenSizedRange() {
        val table = listOf(1, 3, 5, 7, 9, 11)
    
        // Search for matches.
        assertEquals(0, binarySearch(0, 6) { index -> 1.compareTo(table[index]) })
        assertEquals(1, binarySearch(0, 6) { index -> 3.compareTo(table[index]) })
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/SmallCharMatcher.java

    import com.google.common.base.CharMatcher.NamedFastMatcher;
    import java.util.BitSet;
    
    /**
     * An immutable version of CharMatcher for smallish sets of characters that uses a hash table with
     * linear probing to check for matches.
     *
     * @author Christopher Swenson
     */
    @GwtIncompatible // no precomputation is done in GWT
    final class SmallCharMatcher extends NamedFastMatcher {
      static final int MAX_SIZE = 1023;
      private final char[] table;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

       * > GeneralizedTime.
       */
      internal val time: DerAdapter<Long> =
        object : DerAdapter<Long> {
          override fun matches(header: DerHeader): Boolean = Adapters.UTC_TIME.matches(header) || Adapters.GENERALIZED_TIME.matches(header)
    
          override fun fromDer(reader: DerReader): Long {
            val peekHeader =
              reader.peekHeader()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

            }
    
            /**
             * Check if this file info matches the given attributes
             *
             * @param otherSize size to compare
             * @param otherLastModified last modified time to compare
             * @param otherAttributes attributes to compare
             * @return true if attributes match
             */
            public boolean matches(long otherSize, long otherLastModified, long otherAttributes) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. docs/metrics/prometheus/grafana/replication/minio-replication-cluster.json

                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "bytes"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byName",
                  "options": "Replication Errors"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Aug 04 01:46:49 UTC 2025
    - 71.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        testFuture3.setFuture(testFuture2);
        assertThat(testFuture3.toString())
            .matches(
                "[^\\[]+\\[status=PENDING, setFuture=\\[[^\\[]+\\[status=PENDING,"
                    + " info=\\[cause=\\[Someday...]]]]]");
        testFuture2.set("result string");
        assertThat(testFuture3.toString())
            .matches("[^\\[]+\\[status=SUCCESS, result=\\[java.lang.String@\\w+\\]\\]");
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  8. samples/tlssurvey/src/main/kotlin/okhttp3/survey/Iana.kt

    fun parseIanaCsvRow(s: String): SuiteId? {
      if (s.contains("Reserved") || s.contains("Unassigned")) return null
      val matcher = IANA_CSV_PATTERN.matchEntire(s) ?: return null
      val id = (matcher.groupValues[1] + matcher.groupValues[2]).decodeHex()
      return SuiteId(id, matcher.groupValues[3])
    }
    
    class IanaSuites(
      val name: String,
      val suites: List<SuiteId>,
    ) {
      fun fromJavaName(javaName: String): SuiteId =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/internal/Finalizer.java

              break;
            }
          } catch (InterruptedException e) {
            // ignore
          }
        }
      }
    
      /**
       * Cleans up the given reference and any other references already in the queue. Catches and logs
       * all throwables.
       *
       * @return true if the caller should continue to wait for more references to be added to the
       *     queue, false if the associated FinalizableReferenceQueue is no longer referenced.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbTreeImplTest.java

            assertEquals("A:", tree.getService());
        }
    
        // Test case for the matches method
        @Test
        void testMatches() {
            SmbTreeImpl tree = new SmbTreeImpl(session, "SHARE", "A:");
            assertTrue(tree.matches("share", "A:"));
            assertFalse(tree.matches("othershare", "A:"));
        }
    
        // Test case for the equals method
        @Test
        void testEquals() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top