Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 169 for 42 (0.05 sec)

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

      }
    
      public void testHashIntReverseBytesVsHashBytesIntsToByteArray() {
        int input = 42;
        assertEquals(
            Hashing.md5().hashBytes(Ints.toByteArray(input)),
            Hashing.md5().hashInt(Integer.reverseBytes(input)));
      }
    
      public void testHashIntVsForLoop() {
        int input = 42;
        HashCode expected = Hashing.md5().hashInt(input);
    
        Hasher hasher = Hashing.md5().newHasher();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (2)
  2. src/test/java/jcifs/dcerpc/rpcTest.java

                verify(mockNdrBuffer).enc_ndr_small((byte) 2); // sub_authority_count
                verify(mockNdrBuffer).advance(6); // identifier_authority advance
                verify(mockNdrBuffer).advance(8); // sub_authority advance (4 * 2)
                verify(mockNdrBuffer, times(2)).derive(anyInt());
    
                // Verify identifier_authority bytes (5 zeros + 1 five)
                verify(mockNdrBuffer, times(5)).enc_ndr_small((byte) 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/HashingTest.java

      }
    
      public void testHashIntReverseBytesVsHashBytesIntsToByteArray() {
        int input = 42;
        assertEquals(
            Hashing.md5().hashBytes(Ints.toByteArray(input)),
            Hashing.md5().hashInt(Integer.reverseBytes(input)));
      }
    
      public void testHashIntVsForLoop() {
        int input = 42;
        HashCode expected = Hashing.md5().hashInt(input);
    
        Hasher hasher = Hashing.md5().newHasher();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  4. docs/ja/docs/tutorial/path-params.md

                "type": "type_error.integer"
            }
        ]
    }
    ```
    
    これは、パスパラメータ `item_id` が `int` ではない値 `"foo"` だからです。
    
    <a href="http://127.0.0.1:8000/items/4.2" class="external-link" target="_blank">http://127.0.0.1:8000/items/4.2</a> で見られるように、intのかわりに `float` が与えられた場合にも同様なエラーが表示されます。
    
    /// check | 確認
    
    したがって、Pythonの型宣言を使用することで、**FastAPI**はデータのバリデーションを行います。
    
    表示されたエラーには問題のある箇所が明確に指摘されていることに注意してください。
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. docs/fr/docs/tutorial/path-params.md

    La même erreur se produira si vous passez un nombre flottant (`float`) et non un entier, comme ici
    <a href="http://127.0.0.1:8000/items/4.2" class="external-link" target="_blank">http://127.0.0.1:8000/items/4.2</a>.
    
    
    /// check | vérifier
    
    Donc, avec ces mêmes déclarations de type Python, **FastAPI** vous fournit de la validation de données.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/score/LtrQueryRescorerTest.java

                    return testWindowSize;
                }
            });
    
            Map<String, Object> params = new HashMap<>();
            params.put("string_param", "test_value");
            params.put("int_param", 42);
            params.put("double_param", 3.14);
            params.put("boolean_param", true);
    
            Map<String, String> nestedMap = new HashMap<>();
            nestedMap.put("nested_key", "nested_value");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        Cache<Integer, Integer> cache =
            CacheBuilder.newBuilder().expireAfterWrite(1000, MILLISECONDS).ticker(fakeTicker).build();
    
        cache.put(10, 100);
        cache.put(20, 200);
        cache.put(4, 2);
    
        fakeTicker.advance(999, MILLISECONDS);
        assertEquals(Integer.valueOf(100), cache.getIfPresent(10));
        assertEquals(Integer.valueOf(200), cache.getIfPresent(20));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            InputStream mockIn = mock(InputStream.class);
            when(mockIn.available()).thenReturn(42);
    
            SocketInputStream sis = new SocketInputStream(mockIn);
    
            // When no message is buffered, should return underlying stream's available
            assertEquals(42, sis.available());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolverTest.java

            // v1-->v3
            graph.addEdge(v1, v3, new MetadataGraphEdge("1.1", true, null, null, 2, 1));
            graph.addEdge(v1, v3, new MetadataGraphEdge("1.2", true, null, null, 4, 2));
    
            // v3-->v4
            graph.addEdge(v3, v4, new MetadataGraphEdge("1.1", true, ArtifactScopeEnum.runtime, null, 2, 1));
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  10. .github/workflows/ci.yml

          - name: 'Set up Gradle'
            if: matrix.java == 11 # used only by the integration tests below
            uses: gradle/actions/setup-gradle@017a9effdb900e5b5b2fddfb590a105619dca3c3 # v4.4.2
          - name: 'Integration Test'
            if: matrix.java == 11
            shell: bash
            run: util/gradle_integration_tests.sh
    
      publish_snapshot:
        name: 'Publish snapshot'
        needs: test
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 19:19:31 UTC 2025
    - 4.7K bytes
    - Viewed (0)
Back to top