Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,158 for booleans (0.1 sec)

  1. android/guava/src/com/google/common/primitives/Booleans.java

     * @since 1.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class Booleans {
      private Booleans() {}
    
      /** Comparators for {@code Boolean} values. */
      private enum BooleanComparator implements Comparator<Boolean> {
        TRUE_FIRST(1, "Booleans.trueFirst()"),
        FALSE_FIRST(-1, "Booleans.falseFirst()");
    
        private final int trueValue;
        private final String toString;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/Booleans.java

     * @since 1.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class Booleans {
      private Booleans() {}
    
      /** Comparators for {@code Boolean} values. */
      private enum BooleanComparator implements Comparator<Boolean> {
        TRUE_FIRST(1, "Booleans.trueFirst()"),
        FALSE_FIRST(-1, "Booleans.falseFirst()");
    
        private final int trueValue;
        private final String toString;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/BooleansTest.java

        testRotate(new boolean[] {true}, 1, new boolean[] {true});
        testRotate(new boolean[] {true}, 2, new boolean[] {true});
    
        testRotate(new boolean[] {true, false}, -3, new boolean[] {false, true});
        testRotate(new boolean[] {true, false}, -1, new boolean[] {false, true});
        testRotate(new boolean[] {true, false}, -2, new boolean[] {true, false});
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ComparisonChainTest.java

          }
        }
      }
    
      static class Bar {
        private final boolean isBaz;
    
        Bar(boolean isBaz) {
          this.isBaz = isBaz;
        }
    
        boolean isBaz() {
          return isBaz;
        }
      }
    
      /**
       * Validates that {@link Booleans#trueFirst()} and {@link Booleans#falseFirst()} can be used with
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 13:27:08 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/package-info.java

     *   <li>{@link ImmutableIntArray}
     *   <li>{@link ImmutableLongrray}
     *   <li>{@link UnsignedInteger}
     *   <li>{@link UnsignedLong}
     * </ul>
     *
     * <h3>Per-type static utilities</h3>
     *
     * <ul>
     *   <li>{@link Booleans}
     *   <li>{@link Bytes}
     *       <ul>
     *         <li>{@link SignedBytes}
     *         <li>{@link UnsignedBytes}
     *       </ul>
     *   <li>{@link Chars}
     *   <li>{@link Doubles}
     *   <li>{@link Floats}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 26 21:13:41 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/RouteFailureTest.kt

          "ConnectStart",
          "ConnectEnd",
          "ConnectionAcquired",
          "ConnectionReleased",
        )
      }
    
      @ParameterizedTest
      @ValueSource(booleans = [false, true])
      fun proxyMoveTest(cleanShutdown: Boolean) {
        // Define a single Proxy at myproxy:8008 that will artificially move during the test
        val proxySelector = RecordingProxySelector()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue May 14 17:48:07 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/ConnectionListenerTest.kt

        platform.assumeNotOpenJSSE()
        platform.assumeNotBouncyCastle()
        listener.forbidLock(get(client.connectionPool))
        listener.forbidLock(client.dispatcher)
      }
    
      @ParameterizedTest
      @ValueSource(booleans = [true, false])
      fun successfulCallEventSequence() {
        server!!.enqueue(MockResponse(body = "abc"))
        val call =
          client.newCall(
            Request.Builder()
              .url(server!!.url("/"))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/response-model.md

    You can use **type annotations** the same way you would for input data in function **parameters**, you can use Pydantic models, lists, dictionaries, scalar values like integers, booleans, etc.
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="16  21"
    {!> ../../docs_src/response_model/tutorial001_01_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="18  23"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  9. src/builtin/builtin.go

    but their descriptions here allow godoc to present documentation
    for the language's special identifiers.
    */
    package builtin
    
    import "cmp"
    
    // bool is the set of boolean values, true and false.
    type bool bool
    
    // true and false are the two untyped boolean values.
    const (
    	true  = 0 == 0 // Untyped bool.
    	false = 0 != 0 // Untyped bool.
    )
    
    // uint8 is the set of all unsigned 8-bit integers.
    // Range: 0 through 255.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/response-model.md

    Hierbei können Sie **Typannotationen** genauso verwenden, wie Sie es bei Werten von Funktions-**Parametern** machen; verwenden Sie Pydantic-Modelle, Listen, Dicts und skalare Werte wie Nummern, Booleans, usw.
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="16  21"
    {!> ../../docs_src/response_model/tutorial001_01_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="18  23"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 19.8K bytes
    - Viewed (0)
Back to top