Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,106 for jest (0.15 sec)

  1. .github/ISSUE_TEMPLATE/feature_addition_request.yaml

            just a feature that seems like a sensible addition to Guava?
    
    
            Before new features get added to Guava, we really want to be sure that it's for a use case
            that actually comes up in the real world. We want to hear the real-world use case so the
            community can discuss and debate whether this feature is actually the *best* way to address
    Others
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/HashCode.java

      /**
       * Copies bytes from this hash code into {@code dest}.
       *
       * @param dest the byte array into which the hash code will be written
       * @param offset the start offset in the data
       * @param maxLength the maximum number of bytes to write
       * @return the number of bytes written to {@code dest}
       * @throws IndexOutOfBoundsException if there is not enough room in {@code dest}
       */
      @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Ordering.java

       * instead (but note that it does not guarantee which tied minimum element is returned).
       *
       * @param a value to compare, returned if less than or equal to the rest.
       * @param b value to compare
       * @param c value to compare
       * @param rest values to compare
       * @throws ClassCastException if the parameters are not <i>mutually comparable</i> under this
       *     ordering.
       */
      @ParametricNullness
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ListsTest.java

                      @Override
                      protected List<String> create(String[] elements) {
                        String[] rest = new String[elements.length - 2];
                        System.arraycopy(elements, 2, rest, 0, elements.length - 2);
                        return Lists.asList(elements[0], elements[1], rest);
                      }
                    })
                .named("Lists.asList, 3 parameter")
                .withFeatures(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

      public void testIntWriteBytesTo() {
        byte[] dest = new byte[4];
        HashCode.fromInt(42).writeBytesTo(dest, 0, 4);
        assertTrue(Arrays.equals(HashCode.fromInt(42).asBytes(), dest));
      }
    
      public void testLongWriteBytesTo() {
        byte[] dest = new byte[8];
        HashCode.fromLong(42).writeBytesTo(dest, 0, 8);
        assertTrue(Arrays.equals(HashCode.fromLong(42).asBytes(), dest));
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/escape/UnicodeEscaper.java

            if (dest.length < sizeNeeded) {
              int destLength = sizeNeeded + (end - index) + DEST_PAD;
              dest = growBuffer(dest, destIndex, destLength);
            }
            // If we have skipped any characters, we need to copy them now.
            if (charsSkipped > 0) {
              s.getChars(unescapedChunkStart, index, dest, destIndex);
              destIndex += charsSkipped;
            }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 13.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Splitter.java

     *
     * <pre>{@code
     * private static final Splitter MY_SPLITTER = Splitter.on(',')
     *     .trimResults()
     *     .omitEmptyStrings();
     * }</pre>
     *
     * <p>Now {@code MY_SPLITTER.split("foo,,, bar ,")} returns just {@code ["foo", "bar"]}. Note that
     * the order in which these configuration methods are called is never significant.
     *
     * <p><b>Warning:</b> Splitter instances are immutable. Invoking a configuration method has no
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ReverseOrdering.java

        return forwardOrder.max(a, b);
      }
    
      @Override
      public <E extends T> E min(
          @ParametricNullness E a, @ParametricNullness E b, @ParametricNullness E c, E... rest) {
        return forwardOrder.max(a, b, c, rest);
      }
    
      @Override
      public <E extends T> E min(Iterator<E> iterator) {
        return forwardOrder.max(iterator);
      }
    
      @Override
      public <E extends T> E min(Iterable<E> iterable) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sun Jun 20 14:22:42 GMT 2021
    - 3.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ConcurrentHashMultiset.java

              // In the case of a concurrent remove, we might observe a zero value, which means another
              // thread is about to remove (element, existingCounter) from the map. Rather than wait,
              // we can just do that work here.
              AtomicInteger newCounter = new AtomicInteger(occurrences);
              if ((countMap.putIfAbsent(element, newCounter) == null)
                  || countMap.replace(element, existingCounter, newCounter)) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

        }
    
        @Override
        public void run() {
          while (true) {
            try {
              Thread.sleep(everyMillis);
            } catch (InterruptedException e) {
              // ok. just stop sleeping.
            }
            if (shouldStop) {
              break;
            }
            interruptee.interrupt();
          }
        }
    
        void stopInterrupting() {
          shouldStop = true;
        }
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.4K bytes
    - Viewed (1)
Back to top