Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 1,438 for sources (0.07 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/ForwardingResponseBody.kt

      fun delegate(): ResponseBody = delegate
    
      override fun contentType(): MediaType? = delegate.contentType()
    
      override fun contentLength(): Long = delegate.contentLength()
    
      override fun source(): BufferedSource = delegate.source()
    
      override fun toString(): String = javaClass.simpleName + "(" + delegate.toString() + ")"
    
      init {
        requireNotNull(delegate) { "delegate == null" }
        this.delegate = delegate
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Platform.java

       * likewise not type-checked)? Could our single caller do something different?
       */
      @SuppressWarnings({"nullness", "unchecked"})
      static <T extends @Nullable Object> T[] copy(Object[] source, int from, int to, T[] arrayOfType) {
        return Arrays.copyOfRange(source, from, to, (Class<? extends T[]>) arrayOfType.getClass());
      }
    
      /**
       * Configures the given map maker to use weak keys, if possible; does nothing otherwise (i.e., in
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  3. src/archive/zip/example_test.go

    // Copyright 2012 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.
    
    package zip_test
    
    import (
    	"archive/zip"
    	"bytes"
    	"compress/flate"
    	"fmt"
    	"io"
    	"log"
    	"os"
    )
    
    func ExampleWriter() {
    	// Create a buffer to write our archive to.
    	buf := new(bytes.Buffer)
    
    	// Create a new zip archive.
    	w := zip.NewWriter(buf)
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 27 00:22:03 UTC 2016
    - 2K bytes
    - Viewed (0)
  4. mockwebserver/src/main/kotlin/mockwebserver3/internal/ThrottledSink.kt

      private val delegate: Sink,
      private val bytesPerPeriod: Long,
      private val periodDelayNanos: Long,
    ) : Sink by delegate {
      private var bytesWrittenSinceLastDelay = 0L
    
      override fun write(
        source: Buffer,
        byteCount: Long,
      ) {
        var bytesLeft = byteCount
    
        while (bytesLeft > 0) {
          if (bytesWrittenSinceLastDelay == bytesPerPeriod) {
            flush()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 12:43:16 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java

            sessionManager.errors().saveMessages(messages);
        }
    
        /**
         * Copies properties from source bean to destination bean.
         * This is a utility method that wraps BeanUtil.copyBeanToBean with custom options.
         *
         * @param src the source bean object
         * @param dest the destination bean object
         * @param option a consumer function to configure copy options
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractBehavior.java

            final SearchHits searchHits = getSearchHits(response);
            searchHits.forEach(hit -> {
                final Map<String, Object> source = hit.getSourceAsMap();
                final RESULT entity = createEntity(source, entityType);
                final DocMeta docMeta = ((EsAbstractEntity) entity).asDocMeta();
                docMeta.id(hit.getId());
                docMeta.version(hit.getVersion());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jun 21 04:02:44 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt

        call.execute().use { response ->
          val requestBody = (call.request().body as AsyncRequestBody?)!!.takeSink()
          requestBody.writeUtf8("request A\n")
          requestBody.flush()
          val responseBody = response.body.source()
          assertThat(responseBody.readUtf8Line())
            .isEqualTo("response B")
          requestBody.writeUtf8("request C\n")
          requestBody.flush()
          assertThat(responseBody.readUtf8Line())
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Hashing.java

       * http://code.google.com/p/smhasher/source/browse/trunk/MurmurHash3.cpp, which contained the
       * following header:
       *
       * MurmurHash3 was written by Austin Appleby, and is placed in the public domain. The author
       * hereby disclaims copyright to this source code.
       */
      static int smear(int hashCode) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. .teamcity/scripts/update_wrapper_and_create_pr.sh

        if [[ "$TRIGGERED_BY" == *"Release - Final"* ]]; then
            source version-info-final-release/promote-projects/gradle/build/version-info.properties
            export WRAPPER_VERSION="$promotedVersion"
        elif [[ "$TRIGGERED_BY" == *"Release - Release Candidate"* ]]; then
            source version-info-release-candidate/promote-projects/gradle/build/version-info.properties
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Tue Jul 29 03:20:20 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  10. src/bufio/example_test.go

    // Copyright 2013 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.
    
    package bufio_test
    
    import (
    	"bufio"
    	"bytes"
    	"fmt"
    	"os"
    	"strconv"
    	"strings"
    )
    
    func ExampleWriter() {
    	w := bufio.NewWriter(os.Stdout)
    	fmt.Fprint(w, "Hello, ")
    	fmt.Fprint(w, "world!")
    	w.Flush() // Don't forget to flush!
    	// Output: Hello, world!
    }
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top