Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 298 for copyBuf (0.14 sec)

  1. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        INFINITE(Timeout.LARGE, Timeout.MAX);
    
        final ImmutableList<Timeout> timeouts;
    
        TimeoutsToUse(Timeout... timeouts) {
          this.timeouts = ImmutableList.copyOf(timeouts);
        }
      }
    
      /** Possible outcomes of calling any of the methods under test. */
      private enum Outcome {
    
        /** The method returned normally and is either void or returned true. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  2. android/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)
  3. android/guava/src/com/google/common/net/InternetDomainName.java

          name = name.substring(0, name.length() - 1);
        }
    
        checkArgument(name.length() <= MAX_LENGTH, "Domain name too long: '%s':", name);
        this.name = name;
    
        this.parts = ImmutableList.copyOf(DOT_SPLITTER.split(name));
        checkArgument(parts.size() <= MAX_PARTS, "Domain has too many parts: '%s'", name);
        checkArgument(validateSyntax(parts), "Not a valid domain name: '%s'", name);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/Chars.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 char} values separated by {@code separator}.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Iterators.java

       */
      @SafeVarargs
      public static <T extends @Nullable Object> Iterator<T> concat(Iterator<? extends T>... inputs) {
        return concatNoDefensiveCopy(Arrays.copyOf(inputs, inputs.length));
      }
    
      /**
       * Combines multiple iterators into a single iterator. The returned iterator iterates across the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Floats.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 float} values, converted to strings as
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/Doubles.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 double} values, converted to strings as
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/Floats.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 float} values, converted to strings as
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Ints.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 int} values separated by {@code separator}. For
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 31K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Ordering.java

            @SuppressWarnings("unchecked") // c only contains E's and doesn't escape
            E[] array = (E[]) collection.toArray();
            sort(array, this);
            if (array.length > k) {
              array = Arrays.copyOf(array, k);
            }
            return unmodifiableList(asList(array));
          }
        }
        return leastOf(iterable.iterator(), k);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
Back to top