- Sort Score
- Num 10 results
- Language All
Results 391 - 400 of 626 for upstream (0.06 seconds)
-
impl/maven-core/src/test/java/org/apache/maven/project/GraphTest.java
* under the License. */ package org.apache.maven.project; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Set; import java.util.stream.Collectors; import org.apache.maven.project.Graph.Vertex; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 8.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt
null } } } /** * Returns a new unbuffered output stream to write the value at [index]. If the underlying * output stream encounters errors when writing to the filesystem, this edit will be aborted * when [commit] is called. The returned output stream does not throw IOExceptions. */ fun newSink(index: Int): Sink { synchronized(this@DiskLruCache) {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed May 28 23:28:25 GMT 2025 - 34.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableAsList.java
} @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0; } @GwtIncompatible @J2ktIncompatible private void readObject(ObjectInputStream stream) throws InvalidObjectException { throw new InvalidObjectException("Use SerializedForm"); } @GwtIncompatible @J2ktIncompatible @Override Object writeReplace() {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 2.5K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/LayeredMavenOptions.java
public class LayeredMavenOptions<O extends MavenOptions> extends LayeredOptions<O> implements MavenOptions { public static MavenOptions layerMavenOptions(Collection<MavenOptions> options) { List<MavenOptions> o = options.stream().filter(Objects::nonNull).toList(); if (o.isEmpty()) { throw new IllegalArgumentException("No options specified (or all were null)"); } else if (o.size() == 1) { return o.get(0);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 5.4K bytes - Click Count (0) -
samples/static-server/src/main/java/okhttp3/sample/SampleServer.java
if (path.endsWith(".gif")) return "image/gif"; if (path.endsWith(".html")) return "text/html; charset=utf-8"; if (path.endsWith(".txt")) return "text/plain; charset=utf-8"; return "application/octet-stream"; } public static void main(String[] args) throws Exception { if (args.length != 4) { System.out.println("Usage: SampleServer <keystore> <password> <root file> <port>"); return; }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Jan 02 02:50:44 GMT 2019 - 4.7K bytes - Click Count (0) -
internal/s3select/jstream/scanner_test.go
package jstream import ( "bufio" "bytes" "fmt" "io" "sync/atomic" "testing" ) var ( smallInput = make([]byte, 1024*12) // 12K mediumInput = make([]byte, 1024*1024*12) // 12MB largeInput = make([]byte, 1024*1024*128) // 128MB ) func TestScanner(t *testing.T) { t.Skip("Unstable test") data := []byte("abcdefghijklmnopqrstuvwxyz0123456789") var i int r := bytes.NewReader(data)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.1K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/SimpleLookup.java
private final List<Object> objects; public SimpleLookup(List<Object> objects) { this.objects = objects; } @Override public <T> T lookup(Class<T> type) { return objects.stream() .filter(type::isInstance) .map(type::cast) .findAny() .orElseThrow(() -> new LookupException("No service of type " + type)); } @Override
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorPathTest.java
* KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.maven.configuration; import javax.xml.stream.XMLStreamException; import java.io.File; import java.io.StringReader; import java.nio.file.Path; import java.nio.file.Paths; import org.apache.maven.api.xml.XmlService;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Mar 25 09:45:07 GMT 2025 - 3.7K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/Funnel.java
* } * } * * @author Dimitris Andreou * @since 11.0 */ @Beta @DoNotMock("Implement with a lambda") public interface Funnel<T extends @Nullable Object> extends Serializable { /** * Sends a stream of data from the {@code from} object into the sink {@code into}. There is no * requirement that this data be complete enough to fully reconstitute the object later. *Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 2.1K bytes - Click Count (0) -
okcurl/src/main/kotlin/okhttp3/curl/internal/-MainCommon.kt
if (showHeaders) { println(StatusLine.get(response)) val headers = response.headers for ((name, value) in headers) { println("$name: $value") } println() } // Stream the response to the System.out as it is returned from the server. val out = System.out.sink() val source = response.body.source() while (!source.exhausted()) { out.write(source.buffer, source.buffer.size)
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2.7K bytes - Click Count (0)