Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 298 of 298 for copyBuf (0.06 sec)

  1. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        }
      }
    
      // For Guava bug https://github.com/google/guava/issues/1025
      public void testDespiteGenericSignatureFormatError() {
        ImmutableSet<?> unused =
            ImmutableSet.copyOf(
                TypeToken.of(ToReproduceGenericSignatureFormatError.SubOuter.SubInner.class)
                    .getTypes()
                    .rawTypes());
      }
    
      private abstract static class Entry<K, V> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/MoreFiles.java

       */
      public static ImmutableList<Path> listFiles(Path dir) throws IOException {
        try (DirectoryStream<Path> stream = Files.newDirectoryStream(dir)) {
          return ImmutableList.copyOf(stream);
        } catch (DirectoryIteratorException e) {
          throw e.getCause();
        }
      }
    
      /**
       * Returns a {@link Traverser} instance for the file and directory tree. The returned traverser
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/MoreFiles.java

       */
      public static ImmutableList<Path> listFiles(Path dir) throws IOException {
        try (DirectoryStream<Path> stream = Files.newDirectoryStream(dir)) {
          return ImmutableList.copyOf(stream);
        } catch (DirectoryIteratorException e) {
          throw e.getCause();
        }
      }
    
      /**
       * Returns a {@link Traverser} instance for the file and directory tree. The returned traverser
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/collection/ArrayUtil.java

                return false;
            }
            if (array1.length != array2.length) {
                return false;
            }
            final T[] copyOfArray2 = Arrays.copyOf(array2, array2.length);
            for (int i = 0; i < array1.length; i++) {
                final T o1 = array1[i];
                final int j = indexOf(copyOfArray2, o1, i);
                if (j == -1) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Maps.java

      }
    
      /**
       * Creates a <i>mutable</i> {@code HashMap} instance with the same mappings as the specified map.
       *
       * <p><b>Note:</b> if mutability is not required, use {@link ImmutableMap#copyOf(Map)} instead.
       *
       * <p><b>Note:</b> if {@code K} is an {@link Enum} type, use {@link #newEnumMap} instead.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Maps.java

      }
    
      /**
       * Creates a <i>mutable</i> {@code HashMap} instance with the same mappings as the specified map.
       *
       * <p><b>Note:</b> if mutability is not required, use {@link ImmutableMap#copyOf(Map)} instead.
       *
       * <p><b>Note:</b> if {@code K} is an {@link Enum} type, use {@link #newEnumMap} instead.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

        private Combiner(boolean allMustSucceed, Iterable<? extends ClosingFuture<?>> inputs) {
          this.allMustSucceed = allMustSucceed;
          this.inputs = ImmutableList.copyOf(inputs);
          for (ClosingFuture<?> input : inputs) {
            input.becomeSubsumedInto(closeables);
          }
        }
    
        /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/LocalCache.java

              for (K key : keysToLoad) {
                misses--; // get will count this miss
                result.put(key, get(key, defaultLoader));
              }
            }
          }
          return ImmutableMap.copyOf(result);
        } finally {
          globalStatsCounter.recordHits(hits);
          globalStatsCounter.recordMisses(misses);
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
Back to top