- Sort Score
- Result 10 results
- Languages All
Results 401 - 410 of 587 for relative (0.04 sec)
-
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
} @Test @DisplayName("Should handle negative offset") void testNegativeOffset() { request.setOffset(-1L); request.setData(new byte[10], 0, 10); byte[] buffer = new byte[256]; int bytesWritten = request.writeBytesWireFormat(buffer, 0); // Negative value should be written as-is (interpreted as unsigned by receiver)Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.4K bytes - Viewed (0) -
android/guava/src/com/google/common/math/Quantiles.java
// Since index and (dataset.length - 1) are non-negative ints, their product can be expressed // as a long, without risk of overflow: long numerator = (long) index * (dataset.length - 1); // Since scale is a positive int, index is in [0, scale], and (dataset.length - 1) is a // non-negative int, we can do long-arithmetic on index * (dataset.length - 1) / scale to getRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 30.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
} @Test @DisplayName("Should handle negative status codes") void testNegativeStatusCode() throws SMBProtocolDecodingException { byte[] buffer = new byte[256]; System.arraycopy(SMBUtil.SMB2_HEADER, 0, buffer, 0, 4); SMBUtil.writeInt4(-1, buffer, 8); // negative status // Write error response structure at offset 64Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java
return 3600000L; } }; FessTimeResourceProvider positiveProvider = new FessTimeResourceProvider(positiveConfig); assertNotNull(positiveProvider); // Test negative adjustment FessConfig negativeConfig = new FessConfig.SimpleImpl() { private static final long serialVersionUID = 1L; @Override public String getTimeAdjustTimeMillis() {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.4K bytes - Viewed (0) -
docs/distributed/README.md
## Get started
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorTest.java
*/ package org.codelibs.fess.rank.fusion; import java.util.HashMap; import java.util.Locale; import java.util.Map; import org.apache.lucene.search.TotalHits.Relation; import org.codelibs.fess.entity.FacetInfo; import org.codelibs.fess.entity.GeoInfo; import org.codelibs.fess.entity.HighlightInfo; import org.codelibs.fess.entity.SearchRequestParams;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 25.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java
// When assigned to a long field, it gets sign-extended int readLen = response.readParameterWordsWireFormat(bytes, 0); long expectedOffset = expectedInt; // Sign extension happens here for negative values assertEquals(expectedOffset, response.getOffset(), "Offset should match decoded value"); assertEquals(4, readLen, "Byte count returned should be 4"); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/BloomFilterTest.java
// https://github.com/google/guava/issues/1781 public void testOptimalNumOfHashFunctionsRounding() { assertEquals(5, BloomFilter.optimalNumOfHashFunctions(0.03)); } /** Tests that we always get a non-negative optimal size. */ public void testOptimalSize() { for (int n = 1; n < 1000; n++) { for (double fpp = Double.MIN_VALUE; fpp < 1.0; fpp += 0.001) { assertTrue(BloomFilter.optimalNumOfBits(n, fpp) >= 0);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 22K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/SearchRequestParams.java
*/ public abstract class SearchRequestParams { /** * Default constructor. */ protected SearchRequestParams() { // Default constructor } /** The parameter for negative query. */ public static final String AS_NQ = "nq"; /** The parameter for OR query. */ public static final String AS_OQ = "oq"; /** The parameter for exact phrase query. */Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java
} @Test void testReadDataWireFormatWithNegativeLength() { byte[] buffer = new byte[100]; // Negative length should cause ArrayIndexOutOfBoundsException from System.arraycopy assertThrows(ArrayIndexOutOfBoundsException.class, () -> response.readDataWireFormat(buffer, 0, -1)); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0)