- Sort Score
- Num 10 results
- Language All
Results 321 - 330 of 602 for upstream (0.08 seconds)
-
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesJsonFileManager.groovy
* See the License for the specific language governing permissions and * limitations under the License. */ package gradlebuild.binarycompatibility import com.google.gson.Gson import com.google.gson.stream.JsonWriter class AcceptedApiChangesJsonFileManager { void emptyAcceptedApiChanges(File jsonFile) { jsonFile.withWriter { fileWriter -> def writer = new JsonWriter(fileWriter)Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 1K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt
} /** * Consume the next header in the stream and return it. If there is no header to read because we * have reached a limit, this returns [END_OF_DATA]. */ internal fun readHeader(): DerHeader { require(peekedHeader == null) // We've hit a local limit. if (byteCount == limit) return END_OF_DATA // We've exhausted the source stream.
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 10.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java
* * @since 4.0.0 */ public Stream<SourceRoot> getEnabledSourceRoots(ProjectScope scope, Language language) { Stream<SourceRoot> stream = sources.stream().filter(SourceRoot::enabled); if (scope != null) { stream = stream.filter(source -> scope.equals(source.scope())); } if (language != null) { stream = stream.filter(source -> language.equals(source.language()));Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Aug 29 12:47:20 GMT 2025 - 67K bytes - Click Count (0) -
okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt
assertThat(buffer.isProbablyUtf8(100L)).isTrue() assertThat(buffer.readUtf8()).isEqualTo("hello ".repeat(1024)) } /** Confirm [isProbablyUtf8] doesn't attempt to read the entire stream. */ @Test fun doesNotReadEntireSource() { val unlimitedSource = object : Source { override fun read( sink: Buffer, byteCount: Long, ): Long {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Oct 06 22:47:06 GMT 2025 - 2.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/HashBiMap.java
private void writeObject(ObjectOutputStream stream) throws IOException { stream.defaultWriteObject(); Serialization.writeMap(this, stream); } @GwtIncompatible @J2ktIncompatible private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { stream.defaultReadObject(); int size = stream.readInt();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Dec 16 14:46:34 GMT 2025 - 37.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/Synchronized.java
synchronized (mutex) { return delegate().spliterator(); } } @Override public Stream<E> stream() { synchronized (mutex) { return delegate().stream(); } } @Override public Stream<E> parallelStream() { synchronized (mutex) { return delegate().parallelStream(); } } @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Aug 08 15:11:10 GMT 2025 - 56.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/graph/DefaultProjectDependencyGraph.java
import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.Set; import java.util.stream.Collectors; import org.apache.maven.execution.ProjectDependencyGraph; import org.apache.maven.project.CycleDetectedException; import org.apache.maven.project.DuplicateProjectException;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.8K bytes - Click Count (0) -
cmd/metacache-walk.go
} // supported FS for Nlink optimization in readdir. const ( xfs = "XFS" ext4 = "EXT4" ) // WalkDir will traverse a directory and return all entries found. // On success a sorted meta cache stream will be returned. // Metadata has data stripped, if any. // The function tries to quit as fast as the context is canceled to avoid further drive IO
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon May 26 07:06:43 GMT 2025 - 12.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java
} @Nonnull @Override public Collection<ToolchainModel> getToolchains() { return getMavenSession().getRequest().getToolchains().values().stream() .flatMap(Collection::stream) .map(org.apache.maven.toolchain.model.ToolchainModel::getDelegate) .toList(); } @Nonnull @OverrideCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 8.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CompactHashMap.java
} @J2ktIncompatible private void writeObject(ObjectOutputStream stream) throws IOException { stream.defaultWriteObject(); stream.writeInt(size()); Iterator<Entry<K, V>> entryIterator = entrySetIterator(); while (entryIterator.hasNext()) { Entry<K, V> e = entryIterator.next(); stream.writeObject(e.getKey()); stream.writeObject(e.getValue()); } }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 35.7K bytes - Click Count (0)