- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 401 for negate (1.77 sec)
-
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
@Test @DisplayName("Should encode negative values as unsigned") void testEncodingWithNegativeValues() { long negativeOffset = -1L; long negativeLength = -100L; int negativeFlags = -1; lock = new Smb2Lock(negativeOffset, negativeLength, negativeFlags); lock.encode(buffer, 0); // Negative values should be encoded as unsigned
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/EncodableTest.java
@Test @DisplayName("encode() throws when dstIndex is negative") void encodeThrowsWhenDstIndexNegative() { byte[] src = makeSeq(3); Encodable enc = new ByteEncodable(src, 0, 3); byte[] dst = new byte[3]; assertThrows(ArrayIndexOutOfBoundsException.class, () -> enc.encode(dst, -1), "System.arraycopy should throw for negative dstIndex"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
docs/pt/docs/advanced/using-request-directly.md
{* ../../docs_src/using_request_directly/tutorial001.py hl[1,7:8] *} Ao declarar o parâmetro com o tipo sendo um `Request` em sua *função de operação de rota*, o **FastAPI** saberá como passar o `Request` neste parâmetro. /// tip | Dica Note que neste caso, nós estamos declarando o parâmetro da rota ao lado do parâmetro da requisição. Assim, o parâmetro da rota será extraído, validado, convertido para o tipo especificado e anotado com OpenAPI.
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/smb2/Smb2SigningDigestTest.java
@Test @DisplayName("Should handle negative offset in verify method") void testVerifyNegativeOffset() { byte[] data = new byte[128]; boolean result = digest.verify(data, -1, 100, 0, response); assertFalse(result, "Should return false for negative offset"); } @Test @DisplayName("Should handle negative length in verify method")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskLogger.kt
* it returns is "s". For values in [-499..499] this returns " 0 µs". * * The returned string attempts to be column-aligned to 6 characters. For negative and large values * the returned string may be longer. */ fun formatDuration(ns: Long): String { val s = when { ns <= -999_500_000 -> "${(ns - 500_000_000) / 1_000_000_000} s "
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/pager/JobLogPager.java
public void setExistNextPage(final boolean existNextPage) { this.existNextPage = existNextPage; } /** * Gets the number of items per page. * If the page size is not set or is zero or negative, returns the default page size. * * @return the number of items per page */ public int getPageSize() { if (pageSize <= 0) { pageSize = getDefaultPageSize(); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java
initCollectionWithNullElement(); try { assertSetCount(null, 1); } catch (UnsupportedOperationException tolerated) { } } // Negative count. @CollectionFeature.Require(SUPPORTS_REMOVE) public void testSetCount_negative_removeSupported() { assertThrows(IllegalArgumentException.class, () -> setCountNoCheckReturnValue(e3(), -1)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java
// Test execute method with negative boost - should throw exception QueryContext context = new QueryContext("*:*", false); MatchAllDocsQuery query = new MatchAllDocsQuery(); float boost = -1.0f; try { matchAllQueryCommand.execute(context, query, boost); fail("Should throw IllegalArgumentException for negative boost"); } catch (IllegalArgumentException e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 16.7K bytes - Viewed (0) -
guava/src/com/google/common/math/LongMath.java
default: throw new AssertionError(); } return increment ? div + signum : div; } /** * Returns {@code x mod m}, a non-negative value less than {@code m}. This differs from {@code x % * m}, which might be negative. * * <p>For example: * * {@snippet : * mod(7, 4) == 3 * mod(-7, 4) == 1 * mod(-1, 4) == 3 * mod(-8, 4) == 0 * mod(8, 4) == 0
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Aug 29 16:20:07 UTC 2025 - 46.8K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvTimestampTest.java
AvTimestamp avTimestamp = new AvTimestamp(rawBytes); assertEquals(expectedTimestamp, avTimestamp.getTimestamp()); } /** * Test getTimestamp method with a negative timestamp (though timestamps are usually positive). * This tests the underlying SMBUtil.readInt8 behavior. */ @Test public void testGetTimestampNegative() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.8K bytes - Viewed (0)