Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 216 for growing (0.05 sec)

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

            /*
             * We can't just return the iterator because an immediate call to its
             * remove() method would remove one of the skipped elements instead of
             * throwing an IllegalStateException.
             */
            return new Iterator<T>() {
              boolean atStart = true;
    
              @Override
              public boolean hasNext() {
                return iterator.hasNext();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.8K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

           */
          ignoredMembers.add(Converter.class.getMethod("apply", Object.class));
        } catch (NoSuchMethodException shouldBeImpossible) {
          // OK, fine: If it doesn't exist, then there's chance that we're going to be asked to test it.
        }
      }
    
      /**
       * Sets a default value that can be used for any parameter of type {@code type}. Returns this
       * object.
       */
      @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                    startIndex = i + 1;
                } else if (c == '-') {
                    if (i == startIndex) {
                        list.add(IntItem.ZERO);
                    } else {
                        // X-1 is going to be treated as X1
                        if (!isDigit && i != version.length() - 1) {
                            char c1 = version.charAt(i + 1);
                            if (Character.isDigit(c1)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 26K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

              }
    
              @Override
              public String toString() {
                return function.toString();
              }
            };
        // TODO(dpb): Switch to future.transformSync when that exists (passing a throwing function).
        return derive(future.transformAsync(applyFunction, executor));
      }
    
      /**
       * Returns a new {@code ClosingFuture} pipeline step derived from this one by applying a function
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
  5. doc/go_mem.html

    but the rewritten program would.
    (Moving `*p` ahead would be safe if the compiler can prove `*p` will not panic;
    moving `*q` ahead would also require the compiler proving that no other
    goroutine can access `*q`.)
    </p>
    
    <p>
    Not introducing data races also means not assuming that called functions
    always return or are free of synchronization operations.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Mar 04 15:54:42 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/net/InetAddresses.java

        }
        return (short) hextet;
      }
    
      /**
       * Convert a byte array into an InetAddress.
       *
       * <p>{@link InetAddress#getByAddress} is documented as throwing a checked exception "if IP
       * address is of illegal length." We replace it with an unchecked exception, for use by callers
       * who already know that addr is an array of length 4 or 16.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

      }
    
      public void testPuttingTheSameKeyTwiceThrowsOnBuild() {
        Builder<String, Integer> builder =
            new Builder<String, Integer>()
                .put("one", 1)
                .put("one", 1); // throwing on this line might be better but it's too late to change
    
        assertThrows(IllegalArgumentException.class, () -> builder.buildOrThrow());
      }
    
      public void testBuildKeepingLast_allowsOverwrite() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Floats.java

       * {@code '-'} (<code>'&#92;u002D'</code>) is recognized as the minus sign.
       *
       * <p>Unlike {@link Float#parseFloat(String)}, this method returns {@code null} instead of
       * throwing an exception if parsing fails. Valid inputs are exactly those accepted by {@link
       * Float#valueOf(String)}, except that leading and trailing whitespace is not permitted.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/Doubles.java

       * {@code '-'} (<code>'&#92;u002D'</code>) is recognized as the minus sign.
       *
       * <p>Unlike {@link Double#parseDouble(String)}, this method returns {@code null} instead of
       * throwing an exception if parsing fails. Valid inputs are exactly those accepted by {@link
       * Double#valueOf(String)}, except that leading and trailing whitespace is not permitted.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/primitives/Floats.java

       * {@code '-'} (<code>'&#92;u002D'</code>) is recognized as the minus sign.
       *
       * <p>Unlike {@link Float#parseFloat(String)}, this method returns {@code null} instead of
       * throwing an exception if parsing fails. Valid inputs are exactly those accepted by {@link
       * Float#valueOf(String)}, except that leading and trailing whitespace is not permitted.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 25.8K bytes
    - Viewed (0)
Back to top