Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 370 for inconsistent (0.08 seconds)

  1. src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java

            assertTrue(toStringResult.contains(message));
        }
    
        @Test
        public void test_getMessage_consistency() {
            // Test that getMessage returns the same value consistently
            String message = "Consistent message";
            UnsupportedSearchException exception = new UnsupportedSearchException(message);
    
            String firstCall = exception.getMessage();
            String secondCall = exception.getMessage();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

            assertNotSame(item1.hashCode(), item4.hashCode());
        }
    
        @Test
        public void test_hashCode_withNullOutput() {
            // Test hashCode with null output - should not throw, returns consistent hash for null
            String[] inputs1 = { "a", "b" };
            String[] inputs2 = { "a", "b" };
            CharMappingItem item1 = new CharMappingItem(1L, inputs1, null);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/RepositoryAwareRequest.java

     * <ul>
     *   <li>Preventing duplicate repositories that could cause confusion</li>
     *   <li>Rejecting null repository entries that would cause failures</li>
     *   <li>Maintaining consistent repository ordering for reproducible builds</li>
     * </ul>
     *
     * @since 4.0.0
     * @see RemoteRepository
     * @see Session#getRemoteRepositories()
     */
    @Experimental
    @Immutable
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserTimeZoneProcessProviderTest.java

            assertTrue(result.contains(expectedHashCode));
        }
    
        // Test toString() format consistency
        @Test
        public void test_toString_formatConsistency() {
            // Create multiple instances and verify consistent format
            FessUserTimeZoneProcessProvider provider1 = new FessUserTimeZoneProcessProvider();
            FessUserTimeZoneProcessProvider provider2 = new FessUserTimeZoneProcessProvider();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt

     * it easy to get sample values to use in such tests.
     *
     * This class is pretty fast and loose with default values: it attempts to provide values that are
     * well-formed, but doesn't guarantee values are internally consistent. Callers must take care to
     * configure the factory when sample values impact the correctness of the test.
     */
    class TestValueFactory : Closeable {
      var taskFaker: TaskFaker = TaskFaker()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Jan 11 12:06:21 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

      /**
       * Returns an immutable map containing the same entries as {@code map}. If {@code map} somehow
       * contains entries with duplicate keys (for example, if it is a {@code SortedMap} whose
       * comparator is not <i>consistent with equals</i>), the results of this method are undefined.
       *
       * <p><b>Note:</b> Despite what the method name suggests, if {@code map} is an {@code
       * ImmutableClassToInstanceMap}, no copy will actually be performed.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 7K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/resources/checkstyle.xml

        <!-- Checks that the order of modifiers conforms to the suggestions in the
        Java Language specification, sections 8.1.1, 8.3.1 and 8.4.3. It is not that
        the standard is perfect, but having a consistent order makes the code more
        readable and no other order is compellingly better than the standard.
        The correct order is:
                public
                protected
                private
                abstract
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 13 12:48:46 GMT 2021
    - 6K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/hash/Hashing.java

       *       traffic to {@code charlie}, rather than letting {@code bravo} keep its traffic.
       * </ul>
       *
       * <p>See the <a href="http://en.wikipedia.org/wiki/Consistent_hashing">Wikipedia article on
       * consistent hashing</a> for more information.
       */
      public static int consistentHash(HashCode hashCode, int buckets) {
        return consistentHash(hashCode.padToLong(), buckets);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 29.8K bytes
    - Click Count (0)
  9. cmd/metacache-entries_test.go

    		wantOk       bool
    	}{
    		{
    			name:         "consistent",
    			m:            metaCacheEntries{inputSerialized[0], inputSerialized[0], inputSerialized[0], inputSerialized[0]},
    			r:            metadataResolutionParams{dirQuorum: 4, objQuorum: 4, strict: false},
    			wantSelected: &inputSerialized[0],
    			wantOk:       true,
    		},
    		{
    			name:         "consistent-strict",
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 31.6K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/io/Closeables.java

       *     IOException}.
       */
      /*
       * The proper capitalization would be "swallowIoException." However:
       *
       * - It might be preferable to be consistent with the JDK precedent (which they stuck with even
       *   for "UncheckedIOException").
       *
       * - If we change the name, some of our callers break because our Android Lint ParameterName check
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 5.1K bytes
    - Click Count (0)
Back to Top