- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 420 for negate (0.05 sec)
-
docs/pt/docs/how-to/extending-openapi.md
### Verificar Uma vez que você acessar <a href="http://127.0.0.1:8000/redoc" class="external-link" target="_blank">http://127.0.0.1:8000/redoc</a>, verá que está usando seu logo personalizado (neste exemplo, o logo do **FastAPI**):
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 3.4K bytes - Viewed (0) -
docs/pt/docs/tutorial/encoder.md
Você pode usar a função `jsonable_encoder` para resolver isso. A função recebe um objeto, como um modelo Pydantic e retorna uma versão compatível com JSON: {* ../../docs_src/encoder/tutorial001_py310.py hl[4,21] *} Neste exemplo, ele converteria o modelo Pydantic em um `dict`, e o `datetime` em um `str`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 1.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/score/LtrQueryRescorerTest.java
assertNotNull(result); assertEquals(0, ((QueryRescorerBuilder) result).windowSize().intValue()); } public void test_evaluate_withNegativeWindowSize() { // Test with negative window size final String testModelName = "test_model"; ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() { @Override public String getLtrModelName() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.5K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/ValueGraphBuilder.java
this.allowsSelfLoops = allowsSelfLoops; return this; } /** * Specifies the expected number of nodes in the graph. * * @throws IllegalArgumentException if {@code expectedNodeCount} is negative */ @CanIgnoreReturnValue public ValueGraphBuilder<N, V> expectedNodeCount(int expectedNodeCount) { this.expectedNodeCount = Optional.of(checkNonNegative(expectedNodeCount)); return this; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 7.9K bytes - Viewed (0) -
guava/src/com/google/common/hash/Fingerprint2011.java
* * <p>Note to maintainers: This implementation relies on signed arithmetic being bit-wise equivalent * to unsigned arithmetic in all cases except: * * <ul> * <li>comparisons (signed values can be negative) * <li>division (avoided here) * <li>shifting (right shift must be unsigned) * </ul> * * @author ******@****.*** (Kyle Maddison) * @author ******@****.*** (Geoff Pike) */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java
assertEquals(newPosition, smbRandomAccessFile.getFilePointer()); } @Test void testSeekNegativePosition() throws SmbException { // seek doesn't throw exception for negative position, it just sets it smbRandomAccessFile.seek(-1); assertEquals(-1, smbRandomAccessFile.getFilePointer()); } @Test void testReadByte() throws SmbException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/util/HexdumpTest.java
// Test boundary values byte[] data = { (byte) 0x00, // min value (byte) 0xFF, // max value (-1 as signed byte) (byte) 0x7F, // max positive (byte) 0x80 // min negative }; String result = Hexdump.toHexString(data); assertEquals("00FF7F80", result); } @Test @DisplayName("Should handle large byte arrays efficiently")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
docs/pt/docs/advanced/testing-dependencies.md
Você provavelmente quer testar o provedor externo uma vez, mas não necessariamente chamá-lo em todos os testes que executarem. Neste caso, você pode sobrepor (*override*) a dependência que chama o provedor, e utilizar uma dependência customizada que retorna um *mock* do usuário, apenas para os seus testes. ### Utilize o atributo `app.dependency_overrides`
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java
setupCountField.setAccessible(true); assertEquals(255, setupCountField.get(response)); } @Test @DisplayName("Test negative values handling (as unsigned)") void testNegativeValuesAsUnsigned() throws Exception { byte[] buffer = new byte[100]; int bufferIndex = 0; // Reserved bytes
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java
readParams.setAccessible(true); assertEquals(0, readParams.invoke(cancel, emptyArray, 0)); } @Test @DisplayName("Should handle negative MID values") void testWithNegativeMid() throws Exception { // Given Configuration config = mock(Configuration.class); when(config.getPid()).thenReturn(12345);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0)