- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,770 for source (0.04 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/Source.java
* @see org.apache.maven.api.services.ProjectBuilder#build(Session, Source) */ @Experimental public interface Source { /** * Provides access to the file backing this source, if available. * Not all sources are backed by files - for example, in-memory sources * or database-backed sources will return null. * * @return the underlying {@code Path} if this source is file-backed,
Registered: 2025-05-24 08:56 - Last Modified: 2025-01-29 09:46 - 4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java
public final class Sources { private Sources() {} /** * Creates a new source for the specified path. * * @param path the path to the file * @return a new Source instance * @throws NullPointerException if path is null */ @Nonnull public static Source fromPath(@Nonnull Path path) { return new PathSource(requireNonNull(path, "path")); } /**
Registered: 2025-05-24 08:56 - Last Modified: 2025-02-07 00:45 - 8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache2/RelayTest.kt
val source2 = relay.newSource()!!.buffer() assertThat(source1.readUtf8(5)).isEqualTo("abcde") assertThat(source2.readUtf8(5)).isEqualTo("abcde") assertThat(source2.readUtf8(5)).isEqualTo("fghij") assertThat(source1.readUtf8(5)).isEqualTo("fghij") assertThat(source1.exhausted()).isTrue() assertThat(source2.exhausted()).isTrue() source1.close() source2.close() assertThat(relay.isClosed).isTrue()
Registered: 2025-05-30 11:42 - Last Modified: 2025-03-19 19:25 - 8.1K bytes - Viewed (0) -
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. *
Registered: 2025-05-30 12:43 - Last Modified: 2025-03-20 20:55 - 25.7K bytes - Viewed (0) -
guava/src/com/google/common/io/CharSource.java
Registered: 2025-05-30 12:43 - Last Modified: 2025-05-14 19:40 - 25.3K bytes - Viewed (0) -
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));
Registered: 2025-05-30 12:43 - Last Modified: 2025-05-13 18:46 - 15.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Transport.java
* @throws RuntimeException If failed (and not due source not exists). */ boolean get(@Nonnull URI relativeSource, @Nonnull Path target); /** * GETs the source URI content as byte array. The source MUST BE relative from the {@link RemoteRepository#getUrl()} * root. * * @return the byte array if operation succeeded, {@code null} if source does not exist.
Registered: 2025-05-24 08:56 - Last Modified: 2023-03-23 05:29 - 4.4K bytes - Viewed (0) -
ci/official/utilities/setup.sh
echo 'already sourced a TFCI env file with "set -a; source <path>; set +a".' echo 'If you have not, you will see a lot of undefined variable errors.' else FROM_ENV=$(mktemp) # "export -p" prints a list of environment values in a safe-to-source format, # e.g. `declare -x TFCI_BAZEL_COMMON_ARGS="list of args"` for bash. export -p | grep TFCI > "$FROM_ENV" # Source the default ci values
Registered: 2025-05-27 12:39 - Last Modified: 2025-01-09 18:37 - 6.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderRequest.java
/** * Gets the installation settings source. * * @return the installation settings source or {@code null} if none */ @Nonnull Optional<Source> getInstallationSettingsSource(); /** * Gets the project settings source. * * @return the project settings source or {@code null} if none */ @Nonnull Optional<Source> getProjectSettingsSource(); /**
Registered: 2025-05-24 08:56 - Last Modified: 2025-02-07 00:45 - 9.4K bytes - Viewed (0) -
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()); }
Registered: 2025-05-30 12:43 - Last Modified: 2025-05-13 17:27 - 11.5K bytes - Viewed (0)