- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 531 for relative (1.87 sec)
-
android/guava/src/com/google/common/math/DoubleUtils.java
* Double.POSITIVE_INFINITY. */ bits |= x.signum() & SIGN_MASK; return longBitsToDouble(bits); } /** Returns its argument if it is non-negative, zero if it is negative. */ static double ensureNonNegative(double value) { checkArgument(!isNaN(value)); return max(value, 0.0); } @VisibleForTesting static final long ONE_BITS = 0x3ff0000000000000L;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceTest.java
assertEquals(expectedFreeSpace, freeSpace, "Should return correct free space"); assertTrue(length >= 0, "Length should be non-negative"); assertTrue(freeSpace >= 0, "Free space should be non-negative"); } @Test @DisplayName("fileIndex should return valid index") void testFileIndex() throws CIFSException { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
assertEquals(1024L * 4 * 4096, fileFsSizeInfo.getFree()); } @Test @DisplayName("Should handle negative values in buffer") void shouldHandleNegativeValuesInBuffer() throws SMBProtocolDecodingException { // Given - negative values (treated as unsigned in protocol) ByteBuffer buffer = ByteBuffer.allocate(24); buffer.order(ByteOrder.LITTLE_ENDIAN);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.9K bytes - Viewed (0) -
src/test/java/jcifs/config/MultiChannelConfigurationTest.java
assertEquals(1, config.getChannelBindingPolicy()); } @Test void testEdgeCaseValues() throws CIFSException { Properties props = new Properties(); // Test zero and negative values props.setProperty("jcifs.smb.client.maxChannels", "0"); PropertyConfiguration config = new PropertyConfiguration(props); assertEquals(4, config.getMaxChannels()); // Should use default when 0
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 8.3K bytes - Viewed (0) -
samples/slack/src/main/java/okhttp3/slack/RtmSession.java
*/ package okhttp3.slack; import java.io.Closeable; import java.io.IOException; import okhttp3.WebSocket; import okhttp3.Response; import okhttp3.WebSocketListener; /** A realtime messaging session. */ public final class RtmSession extends WebSocketListener implements Closeable { private final SlackApi slackApi; /** Guarded by this. */ private WebSocket webSocket;
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Nov 19 20:16:58 UTC 2016 - 2.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/PrefixQueryCommandTest.java
return new BigDecimal("0.05"); } @Override public BigDecimal getQueryBoostImportantContentAsDecimal() { return new BigDecimal("-1.0"); // Negative boost } @Override public BigDecimal getQueryBoostTitleLangAsDecimal() { return new BigDecimal("1.0"); } @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
assertNotNull(response); assertEquals(ServerMessageBlock.SMB_COM_QUERY_INFORMATION, getCommand(response)); } @Test void testConstructorWithNegativeTimezone() { // Test constructor with negative timezone offset long serverTimeZoneOffset = -7200000L; // -2 hours in milliseconds response = new SmbComQueryInformationResponse(mockConfig, serverTimeZoneOffset); assertNotNull(response);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
pom.xml
<include>**/*TestSuite.java</include> </includes> <systemPropertyVariables> <networkaddress.cache.ttl>-1</networkaddress.cache.ttl> <networkaddress.cache.negative.ttl>-1</networkaddress.cache.negative.ttl> </systemPropertyVariables> <useSystemClassLoader>false</useSystemClassLoader> <useModulePath>false</useModulePath> <forkCount>1</forkCount> <reuseForks>true</reuseForks>
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Mon Aug 25 14:34:10 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
} @Test @DisplayName("Should throw exception on negative index") void testEncodeWithNegativeIndex() { assertThrows(IllegalArgumentException.class, () -> testRequest.encode(testBuffer, -1), "Should throw exception for negative index"); } @Test @DisplayName("Should throw exception on buffer overflow")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
class EdgeCasesTests { @Test @DisplayName("Should handle negative time values") void testNegativeTimeValues() throws SMBProtocolDecodingException { // Given byte[] buffer = new byte[60]; SMBUtil.writeInt2(60, buffer, 0); // Write negative times (as they would appear in the buffer) SMBUtil.writeInt8(-1L, buffer, 8);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0)