Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1011 - 1020 of 6,596 for _return (0.06 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

              }
            }
          }
    
        return BasicDerAdapter(
          name = name,
          tagClass = DerHeader.TAG_CLASS_UNIVERSAL,
          tag = 16L,
          codec = codec,
        )
      }
    
      /** Returns an adapter that decodes as the first of a list of available types. */
      fun choice(vararg choices: DerAdapter<*>): DerAdapter<Pair<DerAdapter<*>, Any?>> {
        return object : DerAdapter<Pair<DerAdapter<*>, Any?>> {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

        @Override
        public int hashCode() {
          return Objects.hashCode(name, parameterTypes);
        }
    
        @Override
        public boolean equals(@CheckForNull Object o) {
          if (o instanceof MethodIdentifier) {
            MethodIdentifier ident = (MethodIdentifier) o;
            return name.equals(ident.name) && parameterTypes.equals(ident.parameterTypes);
          }
          return false;
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:16:45 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. docs/en/docs/js/termynal.js

                let div = document.createElement('div');
                div.innerHTML = `<span ${this._attributes(line)}>${line.value || ''}</span>`;
    
                return div.firstElementChild;
            });
        }
    
        /**
         * Helper function for generating attributes string.
         *
         * @param {Object} line - Line data object.
         * @returns {string} - String of attributes.
         */
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu May 12 00:06:16 UTC 2022
    - 9.3K bytes
    - Viewed (0)
  4. cmd/api-headers.go

    	if err := xxml.NewEncoder(&buf).Encode(response); err != nil {
    		bugLogIf(GlobalContext, err)
    		return nil
    	}
    	return buf.Bytes()
    }
    
    // Encodes the response headers into JSON format.
    func encodeResponseJSON(response interface{}) []byte {
    	var bytesBuffer bytes.Buffer
    	e := json.NewEncoder(&bytesBuffer)
    	e.Encode(response)
    	return bytesBuffer.Bytes()
    }
    
    // Write parts count
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 04:44:00 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java

        int index = aValidIndex();
        E initialValue = getList().get(index);
        assertEquals(
            "set(i, x) should return the old element at position i.",
            initialValue,
            getList().set(index, newValue));
        assertEquals("After set(i, x), get(i) should return x", newValue, getList().get(index));
        assertEquals("set() should not change the size of a list.", getNumElements(), getList().size());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/connection/RetryTlsHandshake.kt

    import javax.net.ssl.SSLException
    import javax.net.ssl.SSLHandshakeException
    import javax.net.ssl.SSLPeerUnverifiedException
    import okio.IOException
    
    /** Returns true if a TLS connection should be retried after [e]. */
    fun retryTlsHandshake(e: IOException): Boolean {
      return when {
        // If there was a protocol problem, don't recover.
        e is ProtocolException -> false
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 07 16:05:34 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/ListHashCodeTester.java

            getList().hashCode());
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testHashCode()} so that list tests on
       * unhashable objects can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()}.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getHashCodeMethod() {
        return getMethod(ListHashCodeTester.class, "testHashCode");
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. internal/hash/sha256/sh256.go

    package sha256
    
    import (
    	"crypto/sha256"
    	"hash"
    )
    
    // New initializes a new sha256.New()
    func New() hash.Hash { return sha256.New() }
    
    // Sum256 returns the SHA256 checksum of the data.
    func Sum256(data []byte) [sha256.Size]byte { return sha256.Sum256(data) }
    
    // Size is the size of a SHA256 checksum in bytes.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 26 06:31:35 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. internal/grid/grid_test.go

    		return &testRequest{}
    	}, func() *testResponse {
    		return &testResponse{}
    	})
    	// Handles incoming requests, returns a response
    	handler1 := func(req *testRequest) (resp *testResponse, err *RemoteErr) {
    		resp = h1.NewResponse()
    		*resp = testResponse{
    			OrgNum:    req.Num,
    			OrgString: req.String,
    			Embedded:  *req,
    		}
    		return resp, nil
    	}
    	// Return error
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

        @Override
        public boolean set(T t) {
          return super.set(t);
        }
    
        @CanIgnoreReturnValue
        @Override
        public boolean setException(Throwable t) {
          return super.setException(t);
        }
      }
    
      enum Impl {
        NEW {
          @Override
          <T> Facade<T> newFacade() {
            return new NewAbstractFutureFacade<T>();
          }
        },
        OLD {
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 13.6K bytes
    - Viewed (0)
Back to top