Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for plus (0.02 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/AbstractTester.java

     *
     * <p>This class is emulated in GWT.
     *
     * @param <G> the type of the test generator required by this tester. An instance of G should
     *     somehow provide an instance of the class under test, plus any other information required to
     *     parameterize the test.
     * @author George van den Driessche
     */
    @GwtCompatible
    @NullMarked
    public class AbstractTester<G> extends TestCase {
      private G subjectGenerator;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/LongAdder.java

     */
    @GwtCompatible
    final class LongAdder extends Striped64 implements Serializable, LongAddable {
      @GwtIncompatible @J2ktIncompatible   private static final long serialVersionUID = 7249069246863182397L;
    
      /** Version of plus for use in retryUpdate */
      @Override
      final long fn(long v, long x) {
        return v + x;
      }
    
      /** Creates a new adder with initial sum of zero. */
      public LongAdder() {}
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/query/FuzzyQueryCommandTest.java

        public void test_convertFuzzyQuery_withSpecialCharacters() {
            QueryContext context = new QueryContext("test", false);
            String[] specialTexts = { "******@****.***", "test-hyphen", "test_underscore", "test.period", "test+plus" };
    
            for (String text : specialTexts) {
                Term term = new Term("title", text);
                FuzzyQuery fuzzyQuery = new FuzzyQuery(term);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/InternetDomainName.java

       * in <a href="http://www.ietf.org/rfc/rfc2181.txt">RFC 2181</a> part 11 with the fact that the
       * encoding of each part occupies at least two bytes (dot plus label externally, length byte plus
       * label internally). Thus, if all labels have the minimum size of one byte, 127 of them will fit.
       */
      private static final int MAX_PARTS = 127;
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java

            UnsignedInteger bUnsigned = UnsignedInteger.fromIntBits(b);
            int expected = aUnsigned.bigIntegerValue().add(bUnsigned.bigIntegerValue()).intValue();
            UnsignedInteger unsignedSum = aUnsigned.plus(bUnsigned);
            assertThat(unsignedSum.intValue()).isEqualTo(expected);
          }
        }
      }
    
      public void testMinus() {
        for (int a : TEST_INTS) {
          for (int b : TEST_INTS) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/UnsignedInteger.java

      }
    
      /**
       * Returns the result of adding this and {@code val}. If the result would have more than 32 bits,
       * returns the low 32 bits of the result.
       *
       * @since 14.0
       */
      public UnsignedInteger plus(UnsignedInteger val) {
        return fromIntBits(this.value + checkNotNull(val).value);
      }
    
      /**
       * Returns the result of subtracting this and {@code val}. If the result would be negative,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ObjectArrays.java

       *
       * @param array the array of elements to prepend
       * @param element the element to append to the end
       * @return an array whose size is one larger than {@code array}, with the same contents as {@code
       *     array}, plus {@code element} occupying the last position.
       */
      public static <T extends @Nullable Object> T[] concat(T[] array, @ParametricNullness T element) {
        T[] result = Arrays.copyOf(array, array.length + 1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ObjectArrays.java

       *
       * @param array the array of elements to prepend
       * @param element the element to append to the end
       * @return an array whose size is one larger than {@code array}, with the same contents as {@code
       *     array}, plus {@code element} occupying the last position.
       */
      public static <T extends @Nullable Object> T[] concat(T[] array, @ParametricNullness T element) {
        T[] result = Arrays.copyOf(array, array.length + 1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

        // Only report scheduling delay if larger than our spin threshold - otherwise it's just noise
        if (remainingNanos + SPIN_THRESHOLD_NANOS < 0) {
          // We over-waited for our timeout.
          message += " (plus ";
          long overWaitNanos = -remainingNanos;
          long overWaitUnits = unit.convert(overWaitNanos, NANOSECONDS);
          long overWaitLeftoverNanos = overWaitNanos - unit.toNanos(overWaitUnits);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

        // Only report scheduling delay if larger than our spin threshold - otherwise it's just noise
        if (remainingNanos + SPIN_THRESHOLD_NANOS < 0) {
          // We over-waited for our timeout.
          message += " (plus ";
          long overWaitNanos = -remainingNanos;
          long overWaitUnits = unit.convert(overWaitNanos, NANOSECONDS);
          long overWaitLeftoverNanos = overWaitNanos - unit.toNanos(overWaitUnits);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
Back to top