Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 612 for Murray (0.27 sec)

  1. android/guava-tests/test/com/google/common/collect/UnmodifiableListIteratorTest.java

        final String[] array = {"a", "b", "c"};
    
        return new UnmodifiableListIterator<String>() {
          int i;
    
          @Override
          public boolean hasNext() {
            return i < array.length;
          }
    
          @Override
          public String next() {
            if (!hasNext()) {
              throw new NoSuchElementException();
            }
            return array[i++];
          }
    
          @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureExtendedTrustManager.kt

      override fun getAcceptedIssuers(): Array<X509Certificate> = delegate.acceptedIssuers
    
      override fun checkServerTrusted(
        chain: Array<out X509Certificate>,
        authType: String,
        socket: Socket,
      ) {
        if (socket.peerName() !in insecureHosts) {
          delegate.checkServerTrusted(chain, authType, socket)
        }
      }
    
      override fun checkServerTrusted(
        chain: Array<out X509Certificate>,
        authType: String,
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/FakeSSLSession.kt

      override fun getPeerCertificates(): Array<Certificate> {
        return if (certificates.isEmpty()) {
          throw SSLPeerUnverifiedException("peer not authenticated")
        } else {
          certificates as Array<Certificate>
        }
      }
    
      @Throws(
        SSLPeerUnverifiedException::class,
      )
      override fun getPeerCertificateChain(): Array<X509Certificate> {
        throw UnsupportedOperationException()
      }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/collect/IteratorBenchmark.java

      Object[] array;
      ArrayList<Object> arrayList;
      LinkedList<Object> linkedList;
    
      @BeforeExperiment
      void setUp() {
        array = new Object[size];
        arrayList = Lists.newArrayListWithCapacity(size);
        linkedList = Lists.newLinkedList();
    
        for (int i = 0; i < size; i++) {
          Object value = new Object();
          array[i] = value;
          arrayList.add(value);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.4K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java

        resetContainer();
      }
    
      /** @return an array of the proper size with {@code null} inserted into the middle element. */
      protected E[] createArrayWithNullElement() {
        E[] array = createSamplesArray();
        array[getNullLocation()] = null;
        return array;
      }
    
      protected void initCollectionWithNullElement() {
        E[] array = createArrayWithNullElement();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/ListRetainAllTester.java

      public void testRetainAll_duplicatesKept() {
        E[] array = createSamplesArray();
        array[1] = e0();
        collection = getSubjectGenerator().create(array);
        assertFalse(
            "containsDuplicates.retainAll(superset) should return false",
            collection.retainAll(MinimalCollection.of(createSamplesArray())));
        expectContents(array);
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java

    public class BigIntegerMathBenchmark {
      private static final int[] factorials = new int[ARRAY_SIZE];
      private static final int[] slowFactorials = new int[ARRAY_SIZE];
      private static final int[] binomials = new int[ARRAY_SIZE];
    
      @Param({"50", "1000", "10000"})
      int factorialBound;
    
      @BeforeExperiment
      void setUp() {
        for (int i = 0; i < ARRAY_SIZE; i++) {
          factorials[i] = RANDOM_SOURCE.nextInt(factorialBound);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.3K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java

    public class BigIntegerMathBenchmark {
      private static final int[] factorials = new int[ARRAY_SIZE];
      private static final int[] slowFactorials = new int[ARRAY_SIZE];
      private static final int[] binomials = new int[ARRAY_SIZE];
    
      @Param({"50", "1000", "10000"})
      int factorialBound;
    
      @BeforeExperiment
      void setUp() {
        for (int i = 0; i < ARRAY_SIZE; i++) {
          factorials[i] = RANDOM_SOURCE.nextInt(factorialBound);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/PrimitiveSink.java

       */
      @CanIgnoreReturnValue
      PrimitiveSink putByte(byte b);
    
      /**
       * Puts an array of bytes into this sink.
       *
       * @param bytes a byte array
       * @return this instance
       */
      @CanIgnoreReturnValue
      PrimitiveSink putBytes(byte[] bytes);
    
      /**
       * Puts a chunk of an array of bytes into this sink. {@code bytes[off]} is the first byte written,
       * {@code bytes[off + len - 1]} is the last.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/escape/ArrayBasedEscaperMap.java

      // Creates a replacement array from the given map. The returned array is a
      // linear lookup table of replacement character sequences indexed by the
      // original character value.
      @VisibleForTesting
      static char[][] createReplacementArray(Map<Character, String> map) {
        checkNotNull(map); // GWT specific check (do not optimize)
        if (map.isEmpty()) {
          return EMPTY_REPLACEMENT_ARRAY;
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 3.2K bytes
    - Viewed (0)
Back to top