Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 302 for copy_off (0.05 sec)

  1. guava/src/com/google/common/primitives/Longs.java

        checkArgument(minLength >= 0, "Invalid minLength: %s", minLength);
        checkArgument(padding >= 0, "Invalid padding: %s", padding);
        return (array.length < minLength) ? Arrays.copyOf(array, minLength + padding) : array;
      }
    
      /**
       * Returns a string containing the supplied {@code long} values separated by {@code separator}.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 29K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/BaseEncoding.java

        Alphabet ignoreCase() {
          if (ignoreCase) {
            return this;
          }
    
          // We can't use .clone() because of GWT.
          byte[] newDecodabet = Arrays.copyOf(decodabet, decodabet.length);
          for (int upper = 'A'; upper <= 'Z'; upper++) {
            int lower = upper | 0x20;
            byte decodeUpper = decodabet[upper];
            byte decodeLower = decodabet[lower];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/Files.java

        private final File file;
        private final ImmutableSet<FileWriteMode> modes;
    
        private FileByteSink(File file, FileWriteMode... modes) {
          this.file = checkNotNull(file);
          this.modes = ImmutableSet.copyOf(modes);
        }
    
        @Override
        public FileOutputStream openStream() throws IOException {
          return new FileOutputStream(file, modes.contains(APPEND));
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top