Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1121 - 1130 of 2,310 for Contains (0.06 seconds)

  1. android/guava-tests/test/com/google/common/primitives/CharsTest.java

      }
    
      public void testContains() {
        assertThat(Chars.contains(EMPTY, (char) 1)).isFalse();
        assertThat(Chars.contains(ARRAY1, (char) 2)).isFalse();
        assertThat(Chars.contains(ARRAY234, (char) 1)).isFalse();
        assertThat(Chars.contains(new char[] {(char) -1}, (char) -1)).isTrue();
        assertThat(Chars.contains(ARRAY234, (char) 2)).isTrue();
        assertThat(Chars.contains(ARRAY234, (char) 3)).isTrue();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 26K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

            } catch (final FileUploadByteCountLimitException e) { // special handling
                handleSizeLimitExceededException(request, e);
            } catch (final FileUploadException e) { // contains fileCount exceeded
                handleFileUploadException(e);
            }
        }
    
        protected void prepareElementsHash() { // traditional name
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 08:48:41 GMT 2026
    - 18.9K bytes
    - Click Count (1)
  3. docs/en/docs/advanced/advanced-dependencies.md

    But there could be cases where you want to be able to set parameters on the dependency, without having to declare many different functions or classes.
    
    Let's imagine that we want to have a dependency that checks if the query parameter `q` contains some fixed content.
    
    But we want to be able to parameterize that fixed content.
    
    ## A "callable" instance { #a-callable-instance }
    
    In Python there's a way to make an instance of a class a "callable".
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/suggest/util/MapValueExtractor.java

            final Object value = map.get(key);
            if (value instanceof Map) {
                return (Map<String, Object>) value;
            }
            return null;
        }
    
        /**
         * Checks if the map contains the specified key and the value is not null.
         *
         * @param map The source map
         * @param key The key to check
         * @return true if the key exists and its value is not null
         */
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 9.8K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/LinkedListMultimap.java

      @Override
      public boolean containsKey(@Nullable Object key) {
        return keyToKeyList.containsKey(key);
      }
    
      @Override
      public boolean containsValue(@Nullable Object value) {
        return values().contains(value);
      }
    
      // Modification Operations
    
      /**
       * Stores a key-value pair in the multimap.
       *
       * @param key key to store in the multimap
       * @param value value to store in the multimap
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 27K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/Punycode.kt

    import okio.ByteString.Companion.encodeUtf8
    
    /**
     * An [RFC 3492] punycode decoder for converting ASCII to Unicode domain name labels. This is
     * intended for use in Internationalized Domain Names (IDNs).
     *
     * This class contains a Kotlin implementation of the pseudocode specified by RFC 3492. It includes
     * direct translation of the pseudocode presented there.
     *
     * Partner this class with [UTS #46] to implement IDNA2008 [RFC 5890] like most browsers do.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

        TimeoutException e =
            assertThrows(
                TimeoutException.class, () -> service.startAsync().awaitRunning(1, MILLISECONDS));
        assertThat(e).hasMessageThat().contains(Service.State.STARTING.toString());
      }
    
      private static final class TimeoutOnStartUp extends AbstractExecutionThreadService {
        @Override
        protected Executor executor() {
          return new Executor() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

            interpolator.interpolateModel(model, null, request, collector);
    
            assertCollectorState(0, 2, 0, collector);
            assertTrue(collector.getErrors().get(0).contains("Detected the following recursive expression cycle"));
        }
    
        @Test
        public void testRecursiveExpressionCycleBaseDir() throws Exception {
            Map<String, String> props = new HashMap<>();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Mar 30 23:08:36 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/TreeBasedTable.java

       * Ordering#natural()} is returned.
       *
       * @deprecated Store the {@link Comparator} alongside the {@link Table}. Or, if you know that the
       *     {@link Table} contains at least one value, you can retrieve the {@link Comparator} with:
       *     {@code ((SortedMap<C, V>) table.rowMap().values().iterator().next()).comparator();}.
       */
      @Deprecated
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jul 18 15:05:43 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/query/BooleanQueryCommandTest.java

            try {
                booleanQueryCommand.execute(context, termQuery, 1.0f);
                fail("Should throw InvalidQueryException");
            } catch (InvalidQueryException e) {
                assertTrue(e.getMessage().contains("Unknown q:"));
            }
        }
    
        // Test convertBooleanQuery with MUST clause
        @Test
        public void test_convertBooleanQuery_withMustClause() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 14.4K bytes
    - Click Count (0)
Back to Top