Search Options

Results per page
Sort
Preferred Languages
Advance

Results 571 - 580 of 909 for match2 (4.5 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java

        //                                                                        ============
        /**
         * Verifies that the provided CRUD mode matches the expected mode.
         * Throws a validation error if the modes do not match.
         *
         * @param crudMode the actual CRUD mode
         * @param expectedMode the expected CRUD mode
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java

      public void testFind_nullNotContainedAndUnsupported() {
        try {
          assertEquals(getMethodName() + "(nullNotPresent) should return -1 or throw", -1, find(null));
        } catch (NullPointerException tolerated) {
        }
      }
    
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
      public void testFind_nonNullWhenNullContained() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/artifact/metadata/TestMetadataSource.java

                Artifact a = null;
                try {
                    a = factory.createBuildArtifact("org.apache.maven", "h", "1.0", "jar");
                    dependencies.add(a);
                } catch (Exception e) {
                    throw new ArtifactMetadataRetrievalException("Error retrieving metadata", e, a);
                }
            }
    
            if ("i".equals(artifact.getArtifactId())) {
                Artifact a = null;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/labeltype/ApiAdminLabeltypeAction.java

            body.crudMode = CrudMode.CREATE;
            final LabelType labelType = getLabelType(body).map(entity -> {
                try {
                    labelTypeService.store(entity);
                } catch (final Exception e) {
                    logger.warn("Failed to process a request.", e);
                    throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e)));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/DictionaryManager.java

                            }
                        }
                    } catch (final Exception e) {
                        logger.warn("Failed to load {}", fileMap, e);
                    }
                    return null;
                }).filter(file -> file != null).toArray(n -> new DictionaryFile<?>[n]);
            } catch (final IOException e) {
                throw new DictionaryException("Failed to access dictionaries", e);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/joblog/AdminJoblogAction.java

        //                                                                        Small Helper
        //                                                                        ============
        /**
         * Verifies that the CRUD mode matches the expected mode.
         *
         * @param crudMode the actual CRUD mode
         * @param expectedMode the expected CRUD mode
         */
        protected void verifyCrudMode(final int crudMode, final int expectedMode) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

            SMB1SigningDigest verifyDigest = new SMB1SigningDigest(testMacSigningKey);
    
            // Verify should return false when signature is correct (no error)
            // The code returns true on line 281 when signatures DON'T match
            boolean result = verifyDigest.verify(data, 0, data.length, 0, mockRequest);
    
            // The verification should succeed (return false) since we're using the same key
            assertFalse(result);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

                    try {
                        File tempFile = File.createTempFile(prefix, suffix);
                        tempFile.deleteOnExit();
                        return tempFile;
                    } catch (IOException e) {
                        throw new RuntimeException(e);
                    }
                }
            };
            systemHelper.init();
            ComponentUtil.register(systemHelper, "systemHelper");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableSet.java

    import static com.google.common.math.IntMath.sqrt;
    import static java.lang.Math.max;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.annotations.VisibleForTesting;
    import com.google.common.math.IntMath;
    import com.google.common.primitives.Ints;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/SmbCircuitBreaker.java

                // Calculate 95th percentile
                long[] sortedTimes = responseTimeHistory.stream().mapToLong(Long::longValue).sorted().toArray();
                int p95Index = (int) Math.ceil(0.95 * sortedTimes.length) - 1;
                p95Index = Math.max(0, Math.min(p95Index, sortedTimes.length - 1));
                p95ResponseTime.set(sortedTimes[p95Index]);
            }
        }
    
        /**
         * Exception thrown when circuit breaker is open
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
Back to top