Search Options

Results per page
Sort
Preferred Languages
Advance

Results 761 - 770 of 1,080 for clause (0.07 sec)

  1. cmd/metrics-v3-types.go

    func (mt MetricType) String() string {
    	switch mt {
    	case CounterMT:
    		return "counter"
    	case GaugeMT:
    		return "gauge"
    	case HistogramMT:
    		return "histogram"
    	default:
    		return "*unknown*"
    	}
    }
    
    func (mt MetricType) toProm() prometheus.ValueType {
    	switch mt {
    	case CounterMT:
    		return prometheus.CounterValue
    	case GaugeMT:
    		return prometheus.GaugeValue
    	case HistogramMT:
    		return prometheus.CounterValue
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Feb 28 19:33:08 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

        @Test(expected = IllegalArgumentException.class)
        public void testGetAsListWithBoolean() {
            // Test with boolean (should throw exception)
            SuggestUtil.getAsList(true);
        }
    
        // Additional tests for createBulkLine validation
        @Test(expected = SuggesterException.class)
        public void testCreateBulkLineWithNullId() {
            // Test that null ID causes exception
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/TypeVisitor.java

     * }
     *
     * <p>One {@code Type} is visited at most once. The second time the same type is visited, it's
     * ignored by {@link #visit}. This avoids infinite recursion caused by recursive type bounds.
     *
     * <p>This class is not thread safe.
     *
     * @author Ben Yu
     */
    abstract class TypeVisitor {
    
      private final Set<Type> visited = new HashSet<>();
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

                        return (int) misses.incrementAndGet();
                      }
                    });
    
        // To start, fill up the cache.
        // Each miss both increments the counter and causes the map to grow by one,
        // so until evictions begin, the size of the map is the greatest return
        // value seen so far
        while (cache.getUnchecked(nextRandomKey()) < maximumSize) {}
    
        requests.set(0);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/extension/internal/CoreExtensionEntry.java

            this.packages = Collections.unmodifiableSet(new HashSet<>(packages));
            this.key = key;
            this.configuration = configuration;
        }
    
        /**
         * Returns ClassLoader used to load extension classes.
         */
        public ClassRealm getClassRealm() {
            return realm;
        }
    
        /**
         * Returns artifacts exported by the extension, identified by groupId:artifactId string key.
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

    import java.lang.annotation.RetentionPolicy;
    import java.util.Collection;
    import java.util.LinkedHashSet;
    import java.util.Set;
    import java.util.SortedSet;
    
    /**
     * Optional features of classes derived from {@code Collection}.
     *
     * @author George van den Driessche
     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepository.java

     * Abstraction of an artifact repository. Artifact repositories can be remote, local, or even build reactor or
     * IDE workspace.
     *
     * @deprecated Avoid use of this type, if you need access to local repository use repository system classes instead.
     */
    @Deprecated
    public interface ArtifactRepository {
        String pathOf(Artifact artifact);
    
        String pathOfRemoteRepositoryMetadata(ArtifactMetadata artifactMetadata);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 4.3K bytes
    - Viewed (1)
  8. compat/maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblem.java

         * @param columnNumber The one-based index of the column containing the problem or {@code -1} if unknown.
         * @param exception The exception that caused this problem, may be {@code null}.
         */
        DefaultProblem(
                String message, Severity severity, String source, int lineNumber, int columnNumber, Exception exception) {
            this.message = message;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java

    import java.nio.charset.StandardCharsets;
    
    import org.junit.Test;
    
    /**
     * Test class for resource loading functionality in Suggester class.
     *
     * Tests cover:
     * - Successful resource loading
     * - Missing resource error handling
     * - Resource content validation
     * - InputStream null safety in try-with-resources
     */
    public class SuggesterResourceLoadingTest {
    
        /**
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ExtractorResourceManagementTest.java

            super.setUp();
            container = new StandardCrawlerContainer().singleton("msWordExtractor", MsWordExtractor.class)
                    .singleton("msExcelExtractor", MsExcelExtractor.class)
                    .singleton("msPowerPointExtractor", MsPowerPointExtractor.class)
                    .singleton("textExtractor", TextExtractor.class);
        }
    
        /**
         * Test that MsWordExtractor properly closes resources on successful extraction.
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 10.4K bytes
    - Viewed (0)
Back to top