Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 204 for Alternative (0.04 sec)

  1. guava/src/com/google/common/math/LongMath.java

       * method is resilient to overflow.
       *
       * @since 14.0
       */
      public static long mean(long x, long y) {
        // Efficient method for computing the arithmetic mean.
        // The alternative (x + y) / 2 fails for large values.
        // The alternative (x + y) >>> 1 fails for negative values.
        return (x & y) + ((x ^ y) >> 1);
      }
    
      /*
       * This bitmask is used as an optimization for cheaply testing for divisibility by 2, 3, or 5.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Chars.java

       */
      // We don't use Character.BYTES here because it's not available under J2KT.
      public static final int BYTES = Character.SIZE / Byte.SIZE;
    
      /**
       * Returns a hash code for {@code value}; obsolete alternative to {@link
       * Character#hashCode(char)}.
       *
       * @param value a primitive {@code char} value
       * @return a hash code for the value
       */
      @InlineMe(replacement = "Character.hashCode(value)")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Shorts.java

       *
       * @since 10.0
       */
      public static final short MAX_POWER_OF_TWO = 1 << (Short.SIZE - 2);
    
      /**
       * Returns a hash code for {@code value}; obsolete alternative to {@link Short#hashCode(short)}.
       *
       * @param value a primitive {@code short} value
       * @return a hash code for the value
       */
      @InlineMe(replacement = "Short.hashCode(value)")
      @InlineMeValidationDisabled(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/Shorts.java

       *
       * @since 10.0
       */
      public static final short MAX_POWER_OF_TWO = 1 << (Short.SIZE - 2);
    
      /**
       * Returns a hash code for {@code value}; obsolete alternative to {@link Short#hashCode(short)}.
       *
       * @param value a primitive {@code short} value
       * @return a hash code for the value
       */
      @InlineMe(replacement = "Short.hashCode(value)")
      @InlineMeValidationDisabled(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/BaseEncodingTest.java

                assertThat(expected).hasMessageThat().isEqualTo(expectedMessage);
              }
            }
          }
        },
        /*
         * This one comes last to work around b/367716565. (One *possible* alternative would be to not
         * declare any methods in this enum, converting assertFailsToDecode into a static method that is
         * implemented with a `switch`. I haven't tested that.)
         */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                 * because we might close the socket during a
                 * request. However the chances are slim and the
                 * retry code should ensure the overall request
                 * is serviced. The alternative complicates things
                 * more than I think is worth it.
                 */
    
                if (this.socket != null) {
                    this.socket.close();
                    this.socket = null;
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  7. docs/en/docs/help-fastapi.md

    * In many cases the question asked is about an imaginary solution from the user, but there might be a **better** one. If you can understand the problem and use case better, you might be able to suggest a better **alternative solution**.
    
    * If you can't understand the question, ask for more **details**.
    
    ### Reproduce the problem { #reproduce-the-problem }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 14K bytes
    - Viewed (0)
  8. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

          .isEqualTo(bytes)
        assertThat(CertificateAdapters.extension.fromDer(bytes))
          .isEqualTo(extension)
      }
    
      @Test fun `extension with type hint for subject alternative names`() {
        val extension =
          Extension(
            SUBJECT_ALTERNATIVE_NAME,
            false,
            listOf(
              generalNameDnsName to "cash.app",
              generalNameDnsName to "www.cash.app",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  9. README.md

    ## Test using MinIO Client `mc`
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  10. docs/nl/docs/python-types.md

    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="1  4"
    {!> ../../docs_src/python_types/tutorial009.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ alternative
    
    ```Python hl_lines="1  4"
    {!> ../../docs_src/python_types/tutorial009b.py!}
    ```
    
    ////
    
    #### Gebruik van `Union` of `Optional`
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 18.1K bytes
    - Viewed (0)
Back to top