Search Options

Results per page
Sort
Preferred Languages
Advance

Results 571 - 580 of 811 for upstream (0.05 sec)

  1. internal/deadlineconn/deadlineconn.go

    // Package deadlineconn implements net.Conn wrapper with configured deadlines.
    package deadlineconn
    
    import (
    	"net"
    	"time"
    )
    
    const updateInterval = 250 * time.Millisecond
    
    // DeadlineConn - is a generic stream-oriented network connection supporting buffered reader and read/write timeout.
    type DeadlineConn struct {
    	net.Conn
    	readDeadline  time.Duration // sets the read deadline on a connection.
    	readSetAt     time.Time
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 17:40:11 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/Funnel.java

     * @since 11.0
     */
    @Beta
    @DoNotMock("Implement with a lambda")
    @ElementTypesAreNonnullByDefault
    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.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  3. 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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/DefaultMetadataReader.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact.repository.metadata.io;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    import javax.xml.stream.XMLStreamException;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.Reader;
    import java.nio.file.Files;
    import java.util.Map;
    import java.util.Objects;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. internal/bucket/lifecycle/tag.go

    )
    
    // UnmarshalXML - decodes XML data.
    func (tag *Tag) UnmarshalXML(d *xml.Decoder, start xml.StartElement) (err error) {
    	var keyAlreadyParsed, valueAlreadyParsed bool
    	for {
    		// Read tokens from the XML document in a stream.
    		t, err := d.Token()
    		if err != nil {
    			if err == io.EOF {
    				break
    			}
    			return err
    		}
    
    		if se, ok := t.(xml.StartElement); ok {
    			var s string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Mar 06 16:56:10 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  6. internal/ringbuffer/README.md

    Writes will block until there is space available and writes bigger than the buffer will wait for reads to make space.
    
    `TryRead` and `TryWrite` are still available for non-blocking reads and writes.
    
    To signify the end of the stream, close the ring buffer from the writer side with `rb.CloseWriter()`
    
    Either side can use `rb.CloseWithError(err error)` to signal an error and close the ring buffer. 
    Any reads or writes will return the error on next call.
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. build-logic/build-init-samples/src/main/kotlin/gradlebuild/samples/SamplesGenerator.kt

    import org.gradle.buildinit.plugins.internal.modifiers.ComponentType
    import org.gradle.buildinit.plugins.internal.modifiers.Language
    import org.gradle.buildinit.plugins.internal.modifiers.ModularizationOption
    
    import java.util.stream.Collectors
    
    
    object SamplesGenerator {
    
        fun generate(type: String, modularization: ModularizationOption, templateFolder: Directory, target: Directory, projectLayoutSetupRegistry: ProjectLayoutSetupRegistry) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Oct 22 11:11:17 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

    import java.io.File;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import java.util.NoSuchElementException;
    import java.util.Set;
    import java.util.function.Function;
    import java.util.stream.Collectors;
    
    import org.apache.maven.RepositoryUtils;
    import org.apache.maven.api.Service;
    import org.apache.maven.api.Session;
    import org.apache.maven.api.cli.extensions.CoreExtension;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  9. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.toolchain.building;
    
    import javax.xml.stream.Location;
    import javax.xml.stream.XMLStreamException;
    
    import java.io.IOException;
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.Map;
    import java.util.Properties;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/curl/CurlRequest.java

            }
            this.body = body;
            return this;
        }
    
        public CurlRequest body(final InputStream stream) {
            if (body != null) {
                throw new CurlException("body method is already called.");
            }
            this.bodyStream = stream;
            return this;
        }
    
        public CurlRequest onConnect(final BiConsumer<CurlRequest, HttpURLConnection> connectionBuilder) {
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Sun Feb 12 12:21:25 UTC 2023
    - 12.3K bytes
    - Viewed (0)
Back to top