Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 12 for checkCast (0.06 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. .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)
  6. .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)
  7. 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)
  8. 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)
  9. ADDING_NEW_LANGUAGE.md

    - DBFlute FreeGen Configuration: `dbflute_fess/dfprop/lastafluteMap.dfprop`
    - OpenSearch Analysis: `src/main/resources/fess_indices/fess.json`
    - LastaFlute Documentation: https://lastaflute.org/
    
    ## Summary Checklist
    
    - [ ] Create `fess_label_[locale].properties` with ~1,056 translated entries
    - [ ] Create `fess_message_[locale].properties` with ~200 translated entries
    - [ ] Add locale to `supported.languages` in `fess_config.properties`
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 11:36:30 GMT 2025
    - 10.4K bytes
    - Click Count (1)
  10. cmd/xl-storage.go

    		return err
    	}
    
    	if n != len(buf) {
    		return io.ErrShortWrite
    	}
    
    	return nil
    }
    
    // checkPart is a light check of an existing and size of a part, without doing a bitrot operation
    // For any unexpected error, return checkPartUnknown (zero)
    func (s *xlStorage) checkPart(volumeDir, path, dataDir string, partNum int, expectedSize int64, skipAccessCheck bool) (resp int) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 91.7K bytes
    - Click Count (0)
Back to Top