Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,287 for FROM (0.01 sec)

  1. src/main/java/org/codelibs/core/io/FileUtil.java

        /**
         * Reads text from a file in UTF-8 encoding.
         *
         * @param file
         *            The file. Must not be {@literal null}.
         * @return The text read from the file.
         */
        public static String readUTF8(final File file) {
            assertArgumentNotNull("file", file);
            return readText(file, UTF8);
        }
    
        /**
         * Returns the contents read from the reader as a string.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/ByteStreams.java

        checkNotNull(from);
        checkNotNull(to);
        if (from instanceof FileChannel) {
          FileChannel sourceChannel = (FileChannel) from;
          long oldPosition = sourceChannel.position();
          long position = oldPosition;
          long copied;
          do {
            copied = sourceChannel.transferTo(position, ZERO_COPY_CHUNK_SIZE, to);
            position += copied;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/RegularImmutableSortedMultiset.java

      }
    
      ImmutableSortedMultiset<E> getSubMultiset(int from, int to) {
        checkPositionIndexes(from, to, length);
        if (from == to) {
          return emptyMultiset(comparator());
        } else if (from == 0 && to == length) {
          return this;
        } else {
          RegularImmutableSortedSet<E> subElementSet = elementSet.getSubSet(from, to);
          return new RegularImmutableSortedMultiset<>(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java

              parentBuilder,
          Bound from,
          Bound to) {
        TestSortedMapGenerator<K, V> delegate =
            (TestSortedMapGenerator<K, V>) parentBuilder.getSubjectGenerator().getInnerGenerator();
    
        List<Feature<?>> features = new ArrayList<>();
        features.add(NoRecurse.SUBMAP);
        features.addAll(parentBuilder.getFeatures());
    
        return newBuilderUsing(delegate, to, from)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Streams.java

              } finally {
                holder = null;
              }
            }
            return false;
          }
    
          @Override
          Splitr createSplit(Spliterator<T> from, long i) {
            return new Splitr(from, i);
          }
        }
        return StreamSupport.stream(new Splitr(fromSpliterator, 0), isParallel).onClose(stream::close);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 37K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt

      ) {
      }
    
      /**
       * Invoked when a response will be served from the network. The Response will be
       * available from normal event sequences.
       *
       * This event will only be received when a Cache is configured for the client.
       */
      open fun cacheMiss(call: Call) {
      }
    
      /**
       * Invoked when a response will be served from the cache or network based on validating the
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

            final List<String> idList = JsonPath.from(response).getList(getResponsePath(namePrefix) + ".id");
            return idList;
        }
    
        protected static String createFileConfig(final Map<String, Object> requestBody) {
            String response = checkMethodBase(requestBody).post("/api/admin/fileconfig/setting").asString();
            JsonPath jsonPath = JsonPath.from(response);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

            return total;
          }
        },
        NEW {
          @Override
          long copy(Readable from, Appendable to) throws IOException {
            return CharStreams.copy(from, to);
          }
        };
    
        abstract long copy(Readable from, Appendable to) throws IOException;
      }
    
      enum TargetSupplier {
        STRING_WRITER {
          @Override
          Appendable get(int sz) {
            return new StringWriter(sz);
          }
        },
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/io/LineIterator.java

         *            The {@link Reader} to read strings from. Must not be {@literal null}.
         */
        public LineIterator(final Reader reader) {
            assertArgumentNotNull("reader", reader);
            this.reader = new BufferedReader(reader);
        }
    
        /**
         * Constructs an instance.
         *
         * @param reader
         *            The {@link BufferedReader} to read strings from. Must not be {@literal null}.
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/stream/StreamUtil.java

         * @return a stream of substrings resulting from splitting the input string, or an empty stream if the input is {@code null}
         */
        public static StreamOf<String> split(final String value, final String regex) {
            return stream(value == null ? null : value.split(regex));
        }
    
        /**
         * Creates a stream of map entries from the given map.
         *
         * @param <K> the type of keys in the map
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top