Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 15 for checkCast (0.07 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/Platform.java

     */
    @GwtCompatible
    final class Platform {
      static <T> T[] clone(T[] array) {
        return array.clone();
      }
    
      // Class.cast is not supported in GWT.  This method is a no-op in GWT.
      static void checkCast(Class<?> clazz, Object obj) {
        Object unused = clazz.cast(obj);
      }
    
      @FormatMethod
      static String format(String template, Object... args) {
        return String.format(Locale.ROOT, template, args);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 29 17:36:00 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/Platform.java

     */
    @GwtCompatible
    final class Platform {
      static <T> T[] clone(T[] array) {
        return array.clone();
      }
    
      // Class.cast is not supported in GWT.  This method is a no-op in GWT.
      static void checkCast(Class<?> clazz, Object obj) {
        Object unused = clazz.cast(obj);
      }
    
      @FormatMethod
      static String format(String template, Object... args) {
        return String.format(Locale.ROOT, template, args);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 29 17:36:00 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java

        return contents.length;
      }
    
      @Override
      public boolean contains(@Nullable Object object) {
        if (!allowNulls) {
          // behave badly
          checkNotNull(object);
        }
        Platform.checkCast(type, object); // behave badly
        return asList(contents).contains(object);
      }
    
      @Override
      public boolean containsAll(Collection<?> collection) {
        if (!allowNulls) {
          for (Object object : collection) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java

        return contents.length;
      }
    
      @Override
      public boolean contains(@Nullable Object object) {
        if (!allowNulls) {
          // behave badly
          checkNotNull(object);
        }
        Platform.checkCast(type, object); // behave badly
        return asList(contents).contains(object);
      }
    
      @Override
      public boolean containsAll(Collection<?> collection) {
        if (!allowNulls) {
          for (Object object : collection) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CheckTest.java

    import static org.mockito.Mockito.when;
    
    /**
     * Unit tests for the {@link Check} goal class.
     * Tests the Check-specific functionality including read-only behavior.
     */
    @DisplayName("Check")
    class CheckTest {
    
        private Check checkGoal;
        private StrategyOrchestrator mockOrchestrator;
    
        @BeforeEach
        void setUp() {
            mockOrchestrator = mock(StrategyOrchestrator.class);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  6. .github/ISSUE_TEMPLATE/bug_report.yaml

          multiple: true
          options:
            - Android
            - GWT
            - Java 8
            - Java 11
            - Java 17
            - Java 21
    
      - type: checkboxes
        attributes:
          label: Checklist
          options:
            - label: >
                I agree to follow the
                [code of conduct](https://github.com/google/.github/blob/master/CODE_OF_CONDUCT.md).
              required: true
            - label: >
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 16 20:08:25 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  7. .github/pull_request_template.md

    Backports are typically handled by maintainers; 
    however, after agreement you may open a separate backport PR to the target maintenance branch.
    -->
    
    Following this checklist to help us incorporate your
    contribution quickly and easily:
    
    - [ ] Your pull request should address just one issue, without pulling in other changes.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Apr 01 17:30:11 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  8. .github/bot_config.yml

    compiler_assignees:
       - joker-eph
       - sanjoy
    # filesystem path
    filesystem_path:
       - tensorflow/c/experimental/filesystem
    # security path
    security_path:
       - tensorflow/security
    # words checklist
    segfault_memory:
       - segfault
       - memory leaks
    # assignees
    filesystem_security_assignee:
       - mihaimaruseac
       
    # Cuda Comment
    cuda_comment: >
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Mon Jun 30 16:38:59 GMT 2025
    - 4K bytes
    - Click Count (1)
  9. MIGRATION.md

    - [Data Import Methods](#data-import-methods)
    - [Configuration Migration](#configuration-migration)
    - [API Reference](#api-reference)
    - [Troubleshooting](#troubleshooting)
    - [Migration Checklist](#migration-checklist)
    
    ---
    
    ## Supported Migration Sources
    
    Fess provides built-in support and compatibility layers for:
    
    - **Google Search Appliance (GSA)** - Configuration import and API compatibility
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 12:40:11 GMT 2025
    - 23.2K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/util/QueryResponseListTest.java

            assertTrue(qrList.contains(doc1));
            assertFalse(qrList.contains(doc2));
    
            List<Map<String, Object>> checkList = Arrays.asList(doc1);
            assertTrue(qrList.containsAll(checkList));
    
            checkList = Arrays.asList(doc1, doc2);
            assertFalse(qrList.containsAll(checkList));
        }
    
        @Test
        public void test_listOperations_indexOperations() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 40.1K bytes
    - Click Count (0)
Back to Top