Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,401 for if (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/main/java/org/codelibs/core/convert/FloatConversionUtil.java

            if (o == null) {
                return null;
            } else if (o instanceof Float) {
                return (Float) o;
            } else if (o instanceof Number) {
                return new Float(((Number) o).floatValue());
            } else if (o instanceof String) {
                return toFloat((String) o);
            } else if (o instanceof java.util.Date) {
                if (pattern != null) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

         * @return The value of found property. (NotNull: if not found, exception)
         * @throws ConfigPropertyNotFoundException When the property is not found.
         */
        String get(String propertyKey);
    
        /**
         * Is the property true?
         * @param propertyKey The key of the property which is boolean type. (NotNull)
         * @return The determination, true or false. (if not found, exception)
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Apr 11 02:34:53 GMT 2024
    - 459.2K bytes
    - Viewed (5)
  7. 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)
  8. 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)
  9. android/guava/src/com/google/common/io/ReaderInputStream.java

              startDraining(true);
              continue DRAINING;
            } else if (result.isUnderflow()) {
              // If encoder underflows, it means either:
              // a) the final flush() succeeded; next drain (then done)
              // b) we encoded all of the input; next flush
              // c) we ran of out input to encode; next read more input
              if (doneEncoding) { // (a)
                doneFlushing = true;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 9.3K 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