Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,247 for testInt (0.21 sec)

  1. guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java

        hasher.assertBytes(expected);
      }
    
      public void testShort() {
        TestHasher hasher = new TestHasher();
        hasher.putShort((short) 0x0201);
        hasher.assertBytes(new byte[] {1, 2});
      }
    
      public void testInt() {
        TestHasher hasher = new TestHasher();
        hasher.putInt(0x04030201);
        hasher.assertBytes(new byte[] {1, 2, 3, 4});
      }
    
      public void testLong() {
        TestHasher hasher = new TestHasher();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java

        hasher.assertBytes(expected);
      }
    
      public void testShort() {
        TestHasher hasher = new TestHasher();
        hasher.putShort((short) 0x0201);
        hasher.assertBytes(new byte[] {1, 2});
      }
    
      public void testInt() {
        TestHasher hasher = new TestHasher();
        hasher.putInt(0x04030201);
        hasher.assertBytes(new byte[] {1, 2, 3, 4});
      }
    
      public void testLong() {
        TestHasher hasher = new TestHasher();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

        Sink sink = new Sink(4);
        sink.putShort((short) 0x0201);
        HashCode unused = sink.hash();
        sink.assertInvariants(2);
        sink.assertBytes(new byte[] {1, 2, 0, 0}); // padded with zeros
      }
    
      public void testInt() {
        Sink sink = new Sink(4);
        sink.putInt(0x04030201);
        HashCode unused = sink.hash();
        sink.assertInvariants(4);
        sink.assertBytes(new byte[] {1, 2, 3, 4});
      }
    
      public void testLong() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

        Sink sink = new Sink(4);
        sink.putShort((short) 0x0201);
        HashCode unused = sink.hash();
        sink.assertInvariants(2);
        sink.assertBytes(new byte[] {1, 2, 0, 0}); // padded with zeros
      }
    
      public void testInt() {
        Sink sink = new Sink(4);
        sink.putInt(0x04030201);
        HashCode unused = sink.hash();
        sink.assertInvariants(4);
        sink.assertBytes(new byte[] {1, 2, 3, 4});
      }
    
      public void testLong() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/testing.md

    === "Python 3.10+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_an_py310/main.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_an_py39/main.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_an/main.py!}
        ```
    
    === "Python 3.10+ nicht annotiert"
    
        !!! tip "Tipp"
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:20:01 GMT 2024
    - 7K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/testing.md

    === "Python 3.10+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_an_py310/main.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_an_py39/main.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_an/main.py!}
        ```
    
    === "Python 3.10+ без Annotated"
    
        !!! tip "Подсказка"
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  7. docs/zh/docs/tutorial/testing.md

    所有*路径操作* 都需要一个`X-Token` 头。
    
    === "Python 3.10+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_an_py310/main.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_an_py39/main.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_an/main.py!}
        ```
    
    === "Python 3.10+ non-Annotated"
    
        !!! tip "提示"
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6K bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/testing.md

    === "🐍 3️⃣.6️⃣ & 🔛"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b/main.py!}
        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ & 🔛"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_py310/main.py!}
        ```
    
    ### ↔ 🔬 📁
    
    👆 💪 ⤴️ ℹ `test_main.py` ⏮️ ↔ 💯:
    
    ```Python
    {!> ../../../docs_src/app_testing/app_b/test_main.py!}
    ```
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  9. docs/ja/docs/tutorial/testing.md

    === "Python 3.10+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_py310/main.py!}
        ```
    
    === "Python 3.6+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b/main.py!}
        ```
    
    ### 拡張版テストファイル
    
    次に、先程のものに拡張版のテストを加えた、`test_main_b.py` を作成します。
    
    ```Python
    {!> ../../../docs_src/app_testing/app_b/test_main.py!}
    ```
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Mar 18 16:16:02 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/testing.md

    === "Python 3.10+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_an_py310/main.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_an_py39/main.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_an/main.py!}
        ```
    
    === "Python 3.10+ non-Annotated"
    
        !!! tip
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6.2K bytes
    - Viewed (0)
Back to top