Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,084 for source_ (0.04 sec)

  1. mockwebserver/src/main/kotlin/mockwebserver3/internal/TriggerSink.kt

      override fun write(
        source: Buffer,
        byteCount: Long,
      ) {
        if (byteCount == 0L) return // Avoid double-triggering.
    
        if (bytesWritten == triggerByteCount) {
          source.skip(byteCount)
          return
        }
    
        val toWrite = minOf(byteCount, triggerByteCount - bytesWritten)
        bytesWritten += toWrite
    
        delegate.write(source, toWrite)
    
        if (bytesWritten == triggerByteCount) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt

          object : RequestBody() {
            override fun contentType() = contentType
    
            override fun contentLength() = length()
    
            override fun writeTo(sink: BufferedSink) {
              source().use { source -> sink.writeAll(source) }
            }
          }
    
        /** Returns a new request body that transmits the content of this. */
        @JvmStatic
        @JvmName("create")
        fun Path.asRequestBody(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 04 17:43:43 UTC 2025
    - 9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

            return invalidIndexDateFields(source).isEmpty();
        }
    
        default List<String> invalidIndexDateFields(final Map<String, Object> source) {
            return split(getIndexAdminDateFields(), ",").get(
                    stream -> stream.filter(StringUtil::isNotBlank).map(String::trim).filter(s -> isNonEmptyValue(source.get(s))).filter(s -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 86.5K bytes
    - Viewed (0)
  4. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt

              """
              |data: hey
              |
              |
              """.trimMargin(),
            ).setHeader("content-type", "text/event-stream")
            .build(),
        )
        val source = newEventSource()
        assertThat(source.request().url.encodedPath).isEqualTo("/")
        listener.assertOpen()
        listener.assertEvent(null, null, "hey")
        listener.assertClose()
      }
    
      @RetryingTest(5)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                    }
                    throw new UnknownHostException(addr.toString());
                }
                if (response.received && response.resultCode == 0) {
    
                    /* For name queries resolved by different sources (e.g. WINS,
                     * BCAST, Node Status) we need to augment the hashcode generated
                     * for the addresses hostname or failed lookups for one type will
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  6. src/cmd/asm/doc.go

    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    /*
    Asm, typically invoked as “go tool asm”, assembles the source file into an object
    file named for the basename of the argument source file with a .o suffix. The
    object file can then be combined with other objects into a package archive.
    
    # Command Line
    
    Usage:
    
    	go tool asm [flags] file
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 22 20:46:45 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsCrawlingInfoBhv.java

            try {
                final RESULT result = entityType.newInstance();
                result.setCreatedTime(DfTypeUtil.toLong(source.get("createdTime")));
                result.setExpiredTime(DfTypeUtil.toLong(source.get("expiredTime")));
                result.setName(DfTypeUtil.toString(source.get("name")));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  8. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt

      @Throws(EOFException::class)
      private fun skipName(source: Buffer) {
        // 0 - 63 bytes
        var length = source.readByte().toInt()
    
        if (length < 0) {
          // compressed name pointer, first two bits are 1
          // drop second byte of compression offset
          source.skip(1)
        } else {
          while (length > 0) {
            // skip each part of the domain name
            source.skip(length.toLong())
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/PushObserver.kt

       *
       * @param streamId server-initiated stream ID: an even number.
       * @param source location of data corresponding with this stream ID.
       * @param byteCount number of bytes to read or skip from the source.
       * @param last when true, there are no data frames to follow.
       */
      @Throws(IOException::class)
      fun onData(
        streamId: Int,
        source: BufferedSource,
        byteCount: Int,
        last: Boolean,
      ): Boolean
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/MojoException.java

    @Experimental
    public class MojoException extends MavenException {
    
        protected Object source;
    
        protected String longMessage;
    
        /**
         * Constructs a new {@code MojoException} providing the source and a short and long message.
         * These messages are used to improve the message written at the end of Maven build.
         */
        public MojoException(Object source, String shortMessage, String longMessage) {
            super(shortMessage);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top