Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 3,179 for code3 (0.04 sec)

  1. guava/src/com/google/common/primitives/UnsignedInts.java

        return (int) value;
      }
    
      /**
       * Returns the {@code int} value that, when treated as unsigned, is nearest in value to {@code
       * value}.
       *
       * @param value any {@code long} value
       * @return {@code 2^32 - 1} if {@code value >= 2^32}, {@code 0} if {@code value <= 0}, and {@code
       *     value} cast to {@code int} otherwise
       * @since 21.0
       */
      public static int saturatedCast(long value) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 21:17:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/EnumBiMap.java

    import java.util.EnumMap;
    import java.util.Map;
    
    /**
     * A {@code BiMap} backed by two {@code EnumMap} instances. Null keys and values are not permitted.
     * An {@code EnumBiMap} and its inverse are both serializable.
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/NewCollectionTypesExplained#bimap">{@code BiMap}</a>.
     *
     * @author Mike Bostock
     * @since 2.0
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/EnumBiMap.java

    import java.util.EnumMap;
    import java.util.Map;
    
    /**
     * A {@code BiMap} backed by two {@code EnumMap} instances. Null keys and values are not permitted.
     * An {@code EnumBiMap} and its inverse are both serializable.
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/NewCollectionTypesExplained#bimap">{@code BiMap}</a>.
     *
     * @author Mike Bostock
     * @since 2.0
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

     *     <li><code>alpha</code> or <code>a</code></li>
     *     <li><code>beta</code> or <code>b</code></li>
     *     <li><code>milestone</code> or <code>m</code></li>
     *     <li><code>rc</code> or <code>cr</code></li>
     *     <li><code>snapshot</code></li>
     *     <li><code>(the empty string)</code> or <code>ga</code> or <code>final</code></li>
     *     <li><code>sp</code></li>
     *     </ul>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 26K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Language.java

    /**
     * Language.
     * <p>
     * This extensible enum has two defined values, {@link #NONE} and {@link #JAVA_FAMILY},
     * but can be extended by registering a {@code org.apache.maven.api.spi.LanguageProvider}.
     * <p>
     * Implementation must have {@code equals()} and {@code hashCode()} implemented, so implementations of this interface
     * can be used as keys.
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Feb 05 09:42:51 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/SettingsValidator.java

         * @param settings The settings to validate, must not be {@code null}.
         * @param problems The container used to collect problems that were encountered, must not be {@code null}.
         */
        void validate(Settings settings, SettingsProblemCollector problems);
    
        /**
         * Validate the specified settings.
         *
         * @param settings The settings to validate, must not be {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/Bytes.java

       * Returns {@code true} if {@code target} is present as an element anywhere in {@code array}.
       *
       * @param array an array of {@code byte} values, possibly empty
       * @param target a primitive {@code byte} value
       * @return {@code true} if {@code array[i] == target} for some value of {@code i}
       */
      public static boolean contains(byte[] array, byte target) {
        for (byte value : array) {
          if (value == target) {
            return true;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  8. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/ContextEnabled.java

    import java.util.Map;
    
    /**
     * Interface to allow <code>Mojos</code> to communicate with each others <code>Mojos</code>, other than
     * project's source root and project's attachment.<br>
     * The plugin manager would pull the context out of the plugin container context, and populate it into the Mojo.
     *
     */
    public interface ContextEnabled {
        /**
         * Set a new shared context <code>Map</code> to a mojo before executing it.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

        /**
         * Checks the acquisition-ordering between {@code this}, which is about to be acquired, and the
         * specified {@code acquiredLock}.
         *
         * <p>When this method returns, the {@code acquiredLock} should be in either the {@code
         * preAcquireLocks} map, for the case in which it is safe to acquire {@code this} after the
         * {@code acquiredLock}, or in the {@code disallowedPriorLocks} map, in which case it is not
         * safe.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

          monitor.leave();
        }
      }
    
      /**
       * Returns {@code true} if this queue contains the specified element. More formally, returns
       * {@code true} if and only if this queue contains at least one element {@code e} such that {@code
       * o.equals(e)}.
       *
       * @param o object to be checked for containment in this queue
       * @return {@code true} if this queue contains the specified element
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 07 21:36:32 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top