Search Options

Results per page
Sort
Preferred Languages
Advance

Results 701 - 710 of 857 for Otherwise (0.11 sec)

  1. android/guava/src/com/google/common/collect/MultimapBuilder.java

     * on the receiving instance; you must store and use the new builder instance it returns instead.
     *
     * <p>The generated multimaps are serializable if the key and value types are serializable, unless
     * stated otherwise in one of the configuration methods.
     *
     * @author Louis Wasserman
     * @param <K0> An upper bound on the key type of the generated multimap.
     * @param <V0> An upper bound on the value type of the generated multimap.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/Bytes.java

      /**
       * Returns an array containing the same values as {@code array}, but guaranteed to be of a
       * specified minimum length. If {@code array} already has a length of at least {@code minLength},
       * it is returned directly. Otherwise, a new array of size {@code minLength + padding} is
       * returned, containing the values of {@code array}, and zeroes in the remaining places.
       *
       * @param array the source array
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/InterceptorTest.kt

        if (network) {
          builder.addNetworkInterceptor(interceptor)
        } else {
          builder.addInterceptor(interceptor)
        }
        client = builder.build()
      }
    
      /** Catches exceptions that are otherwise headed for the uncaught exception handler.  */
      private class ExceptionCatchingExecutor :
        ThreadPoolExecutor(1, 1, 0, TimeUnit.SECONDS, SynchronousQueue()) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  4. .bazelrc

    # Don't trigger --config=<host platform> when cross-compiling.
    build:android --noenable_platform_specific_config
    build:ios --noenable_platform_specific_config
    
    # Suppress all C++ compiler warnings, otherwise build logs become 10s of MBs.
    build:android --copt=-w
    build:ios --copt=-w
    build:linux --host_copt=-w
    build:macos --copt=-w
    build:windows --copt=/W0
    build:windows --host_copt=/W0
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 28 22:02:31 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

             * the AbstractIteratorTester<E> part, so it's an unchecked cast. We know, however, that the
             * only possible value for the type parameter is <E>, since otherwise the
             * MultiExceptionListIterator wouldn't be an Iterator<E>. The cast is safe, even though
             * javac can't tell.
             */
            @SuppressWarnings("unchecked")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableCollection.java

     *   <li><b>Deterministic iteration.</b> The iteration order is always well-defined, depending on
     *       how the collection was created. Typically this is insertion order unless an explicit
     *       ordering is otherwise specified (e.g. {@link ImmutableSortedSet#naturalOrder}). See the
     *       appropriate factory method for details. View collections such as {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 12 16:59:15 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/BloomFilterTest.java

        // usually completed in less than 200 iterations
        while (fpp != 1.0) {
          boolean changed = bf.put(new Object());
          double newFpp = bf.expectedFpp();
          // if changed, the new fpp is strictly higher, otherwise it is the same
          assertTrue(changed ? newFpp > fpp : newFpp == fpp);
          fpp = newFpp;
        }
      }
    
      @AndroidIncompatible // slow
      public void testBitSize() {
        double fpp = 0.03;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  8. internal/ringbuffer/ring_buffer.go

    	return r.Write(buf)
    }
    
    // Bytes returns all available read bytes.
    // It does not move the read pointer and only copy the available data.
    // If the dst is big enough it will be used as destination,
    // otherwise a new buffer will be allocated.
    func (r *RingBuffer) Bytes(dst []byte) []byte {
    	r.mu.Lock()
    	defer r.mu.Unlock()
    	getDst := func(n int) []byte {
    		if cap(dst) < n {
    			return make([]byte, n)
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableList.java

      }
    
      /**
       * Returns an immutable list containing the given elements, in order. If {@code elements} is a
       * {@link Collection}, this method behaves exactly as {@link #copyOf(Collection)}; otherwise, it
       * behaves exactly as {@code copyOf(elements.iterator()}.
       *
       * @throws NullPointerException if {@code elements} contains a null element
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        mmHeap.remove(12);
        assertEquals(14, mmHeap.size());
        assertTrue("Heap is not intact after remove()", mmHeap.isIntact());
      }
    
      /** This tests a more obscure special case, but otherwise similar to above. */
      public void testInvalidatingRemove2() {
        MinMaxPriorityQueue<Integer> mmHeap = MinMaxPriorityQueue.create();
        List<Integer> values =
            Lists.newArrayList(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
Back to top