Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 743 for if (0.14 sec)

  1. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

          boolean completedWithFailure = setException(throwable);
          if (!completedWithFailure) {
            // Go up the causal chain to see if we've already seen this cause; if we have, even if
            // it's wrapped by a different exception, don't log it.
            boolean firstTimeSeeingThisException = addCausalChain(getOrInitSeenExceptions(), throwable);
            if (firstTimeSeeingThisException) {
              log(throwable);
              return;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/CharSource.java

       * text that is terminated by (but does not include) one of {@code \r\n}, {@code \r} or {@code
       * \n}. If the source's content does not end in a line termination sequence, it is treated as if
       * it does.
       *
       * @throws IOException if an I/O error occurs while reading from this source or if {@code
       *     processor} throws an {@code IOException}
       * @since 16.0
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 22.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/PairedStats.java

       * same values in the same order if {@code strictfp} is in effect, or if the system architecture
       * guarantees {@code strictfp}-like semantics.)
       */
      @Override
      public boolean equals(@CheckForNull Object obj) {
        if (obj == null) {
          return false;
        }
        if (getClass() != obj.getClass()) {
          return false;
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/math/IntMath.java

       * RoundingMode}.
       *
       * @throws ArithmeticException if {@code q == 0}, or if {@code mode == UNNECESSARY} and {@code a}
       *     is not an integer multiple of {@code b}
       */
      @SuppressWarnings("fallthrough")
      public static int divide(int p, int q, RoundingMode mode) {
        checkNotNull(mode);
        if (q == 0) {
          throw new ArithmeticException("/ by zero"); // for GWT
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                boolean isBlankVersion = descriptor.getRequiredMavenVersion() == null
                        || descriptor.getRequiredMavenVersion().trim().isEmpty();
    
                if (isBlankVersion) {
                    // only take value from underlying POM if plugin descriptor has no explicit Maven requirement
                    descriptor.setRequiredMavenVersion(artifact.getProperty("requiredMavenVersion", null));
                }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/ByteStreams.java

       * @return the number of bytes read
       * @throws IOException if an I/O error occurs
       * @throws IndexOutOfBoundsException if {@code off} is negative, if {@code len} is negative, or if
       *     {@code off + len} is greater than {@code b.length}
       */
      @CanIgnoreReturnValue
      // Sometimes you don't care how many bytes you actually read, I guess.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/ByteSource.java

       * starting at the given {@code offset}. If {@code offset} is greater than the size of this
       * source, the returned source will be empty. If {@code offset + length} is greater than the size
       * of this source, the returned source will contain the slice starting at {@code offset} and
       * ending at the end of this source.
       *
       * @throws IllegalArgumentException if {@code offset} or {@code length} is negative
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 26.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/Striped64.java

              collide = false;
            } else if (!wasUncontended) // CAS already known to fail
            wasUncontended = true; // Continue after rehash
            else if (a.cas(v = a.value, fn(v, x))) break;
            else if (n >= NCPU || cells != as) collide = false; // At max size or stale
            else if (!collide) collide = true;
            else if (busy == 0 && casBusy()) {
              try {
                if (cells == as) { // Expand table unless stale
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/convert/TimeConversionUtil.java

            if (src == null) {
                return null;
            }
            if (src.getClass() == Date.class) {
                return (Date) src;
            }
            if (src instanceof Date) {
                return new Date(((Date) src).getTime());
            }
            if (src instanceof Calendar) {
                return new Date(((Calendar) src).getTimeInMillis());
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Bytes.java

          // Overridden to prevent a ton of boxing
          if (target instanceof Byte) {
            int i = Bytes.indexOf(array, (Byte) target, start, end);
            if (i >= 0) {
              return i - start;
            }
          }
          return -1;
        }
    
        @Override
        public int lastIndexOf(@CheckForNull Object target) {
          // Overridden to prevent a ton of boxing
          if (target instanceof Byte) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.9K bytes
    - Viewed (0)
Back to top