Search Options

Results per page
Sort
Preferred Languages
Advance

Results 721 - 730 of 921 for Streams (0.04 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformerSupport.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.internal.transformation.impl;
    
    import javax.xml.stream.XMLStreamException;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.Writer;
    import java.nio.file.Files;
    import java.nio.file.Path;
    
    import org.apache.maven.api.model.Model;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 06 18:32:25 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  2. docs/smb3-features/03-multi-channel-design.md

            return channels.stream()
                .min(Comparator.comparingLong(ChannelInfo::getRequestsPending))
                .orElseThrow();
        }
        
        private ChannelInfo selectWeightedRandom(Collection<ChannelInfo> channels) {
            // Calculate total weight
            int totalWeight = channels.stream()
                .mapToInt(ChannelInfo::getScore)
                .sum();
            
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/FrameLogTest.kt

    import okhttp3.internal.http2.Http2.formatFlags
    import okhttp3.internal.http2.Http2.frameLog
    import okhttp3.internal.http2.Http2.frameLogWindowUpdate
    import org.junit.jupiter.api.Test
    
    class FrameLogTest {
      /** Real stream traffic applied to the log format.  */
      @Test
      fun exampleStream() {
        assertThat(frameLog(false, 0, 5, TYPE_SETTINGS, FLAG_NONE))
          .isEqualTo(">> 0x00000000     5 SETTINGS      ")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3Reader.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.io.xpp3;
    
    import javax.xml.stream.XMLStreamException;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.Reader;
    
    import org.apache.maven.model.InputSource;
    import org.apache.maven.model.Model;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/PomInlinerTransformer.java

     * under the License.
     */
    package org.apache.maven.internal.transformation.impl;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    import javax.xml.stream.XMLStreamException;
    
    import java.io.IOException;
    import java.io.UncheckedIOException;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.util.ArrayList;
    import java.util.Collection;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 20:01:00 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/hash/MessageDigestHashFunction.java

        private static final long serialVersionUID = 0;
      }
    
      Object writeReplace() {
        return new SerializedForm(prototype.getAlgorithm(), bytes, toString);
      }
    
      private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
      }
    
      /** Hasher that updates a message digest. */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java

                // Verify some expected plugins are included
                boolean hasCompilerPlugin =
                        upgrades.stream().anyMatch(upgrade -> "maven-compiler-plugin".equals(upgrade.artifactId()));
                boolean hasExecPlugin =
                        upgrades.stream().anyMatch(upgrade -> "maven-exec-plugin".equals(upgrade.artifactId()));
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt

          }
        assertFailsWith<IOException> {
          body.bytes()
        }.also { expected ->
          assertThat(expected.message).isEqualTo(
            "Content-Length (10) and stream length (5) disagree",
          )
        }
      }
    
      @Test
      fun bytesThrowsMoreThanIntMaxValue() {
        val body: ResponseBody =
          object : ResponseBody() {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/https/HandlerTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    
    /**
     * Test suite for jcifs.smb1.https.Handler class.
     * Tests HTTPS URL stream handler functionality with NTLM authentication support.
     */
    @DisplayName("SMB1 HTTPS Handler Tests")
    class HandlerTest {
    
        private Handler handler;
    
        @BeforeEach
        void setUp() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenPropertiesLoader.java

                            tokStarted = true;
                            tokBuf.append(tok.trim());
                            break;
                    }
                }
    
                // Handle case where end of token stream and
                // still got data
                if ((!exit) && (tokStarted)) {
                    retVal = tokBuf.toString();
                }
            }
    
            return optional ? "?" + retVal : retVal;
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
Back to top