Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 660 for sources (0.17 sec)

  1. android/guava/src/com/google/common/io/CharSource.java

            if (!source.isEmpty()) {
              return false;
            }
          }
          return true;
        }
    
        @Override
        public Optional<Long> lengthIfKnown() {
          long result = 0L;
          for (CharSource source : sources) {
            Optional<Long> lengthIfKnown = source.lengthIfKnown();
            if (!lengthIfKnown.isPresent()) {
              return Optional.absent();
            }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 22.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/ByteSource.java

       * Returns a view of a slice of this byte source that is at most {@code length} bytes long
       * starting at the given {@code offset}. If {@code offset} is greater than the size of this
       * source, the returned source will be empty. If {@code offset + length} is greater than the size
       * of this source, the returned source will contain the slice starting at {@code offset} and
       * ending at the end of this source.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 26.2K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/LifecyclePhase.java

        INITIALIZE("initialize"),
        GENERATE_SOURCES("generate-sources"),
        PROCESS_SOURCES("process-sources"),
        GENERATE_RESOURCES("generate-resources"),
        PROCESS_RESOURCES("process-resources"),
        COMPILE("compile"),
        PROCESS_CLASSES("process-classes"),
        GENERATE_TEST_SOURCES("generate-test-sources"),
        PROCESS_TEST_SOURCES("process-test-sources"),
        GENERATE_TEST_RESOURCES("generate-test-resources"),
    Java
    - Registered: Sun Apr 07 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/lifecycle/providers/DefaultLifecycleProvider.java

            "validate",
            "initialize",
            "generate-sources",
            "process-sources",
            "generate-resources",
            "process-resources",
            "compile",
            "process-classes",
            "generate-test-sources",
            "process-test-sources",
            "generate-test-resources",
            "process-test-resources",
            "test-compile",
            "process-test-classes",
            "test",
    Java
    - Registered: Sun Apr 07 03:35:11 GMT 2024
    - Last Modified: Mon Jan 16 13:30:48 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/CharSourceTest.java

        assertEquals(STRING.length(), source.copyTo(sink));
        assertTrue(source.wasStreamOpened() && source.wasStreamClosed());
        assertTrue(sink.wasStreamOpened() && sink.wasStreamClosed());
    
        assertEquals(STRING, sink.getString());
      }
    
      public void testRead_toString() throws IOException {
        assertEquals(STRING, source.read());
        assertTrue(source.wasStreamOpened() && source.wasStreamClosed());
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13K bytes
    - Viewed (0)
  6. api/maven-api-model/src/main/java/org/apache/maven/api/model/InputSource.java

            }
            return getModelId() + " " + getLocation();
        }
    
        public static InputSource merge(InputSource src1, InputSource src2) {
            return new InputSource(Stream.concat(src1.sources(), src2.sources()).collect(Collectors.toSet()));
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Sep 05 16:06:44 GMT 2023
    - 3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

      }
    
      public void testContentEquals() throws IOException {
        assertTrue(source.contentEquals(source));
        assertTrue(source.wasStreamOpened() && source.wasStreamClosed());
    
        ByteSource equalSource = new TestByteSource(bytes);
        assertTrue(source.contentEquals(equalSource));
        assertTrue(new TestByteSource(bytes).contentEquals(source));
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/SourceSinkFactory.java

    import java.io.File;
    import java.io.IOException;
    
    /**
     * A test factory for byte or char sources or sinks. In addition to creating sources or sinks, the
     * factory specifies what content should be expected to be read from a source or contained in a sink
     * given the content data that was used to create the source or that was written to the sink.
     *
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/AbstractIterator.java

     * interface easier to implement for certain types of data sources.
     *
     * <p>{@code Iterator} requires its implementations to support querying the end-of-data status
     * without changing the iterator's state, using the {@link #hasNext} method. But many data sources,
     * such as {@link java.io.Reader#read()}, do not expose this information; the only way to discover
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Mar 18 02:04:10 GMT 2022
    - 6.4K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/api/services/model/DependencyManagementImporter.java

         * Imports the specified dependency management sections into the given target model.
         *
         * @param target The model into which to import the dependency management section, must not be <code>null</code>.
         * @param sources The dependency management sections to import, may be <code>null</code>.
         * @param request The model building request that holds further settings, must not be {@code null}.
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.9K bytes
    - Viewed (0)
Back to top