- Sort Score
- Result 10 results
- Languages All
Results 281 - 290 of 2,732 for rint (0.01 sec)
-
guava-tests/benchmark/com/google/common/math/BigIntegerMathRoundingBenchmark.java
} return tmp; } @Benchmark int log10(int reps) { int tmp = 0; for (int i = 0; i < reps; i++) { int j = i & ARRAY_MASK; tmp += BigIntegerMath.log10(positive[j], mode); } return tmp; } @Benchmark int sqrt(int reps) { int tmp = 0; for (int i = 0; i < reps; i++) { int j = i & ARRAY_MASK; tmp += BigIntegerMath.sqrt(positive[j], mode).intValue();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeMultiset.java
return 0; } int[] result = new int[1]; // used as a mutable int reference to hold result AvlNode<E> newRoot = root.add(comparator(), element, occurrences, result); rootReference.checkAndSet(root, newRoot); return result[0]; } @CanIgnoreReturnValue @Override public int remove(@Nullable Object element, int occurrences) { checkNonnegative(occurrences, "occurrences");Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Dec 09 15:58:48 UTC 2025 - 33.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaChannelInfo.java
* * @param remoteKey remote memory key for RDMA access (token) * @param address remote memory address (offset) * @param length length of the memory region */ public RdmaChannelInfo(int remoteKey, long address, int length) { // Create SMB2_RDMA_TRANSFORM structure this.transform = new Smb2RdmaTransform(address, remoteKey, length); } /** * Create from SMB2 RDMA Transform *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java
int readSetupWireFormat(byte[] buffer, int bufferIndex, int len) { return 0; } @Override int readParametersWireFormat(byte[] buffer, int bufferIndex, int len) { return 0; } @Override int readDataWireFormat(byte[] buffer, int bufferIndex, int len) { return 0; }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.6K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedInts.java
* * @param dividend the dividend (numerator) * @param divisor the divisor (denominator) * @throws ArithmeticException if divisor is 0 */ public static int remainder(int dividend, int divisor) { return (int) (toLong(dividend) % toLong(divisor)); } /** * Returns the unsigned {@code int} value represented by the given string. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Feb 09 16:22:33 UTC 2025 - 13.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java
/** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int) */ @Override protected int readBytesWireFormat(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException { final int start = bufferIndex; final int structureSize = SMBUtil.readInt2(buffer, bufferIndex); if (structureSize == 9) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponse.java
// Default constructor } private int capabilities; private final byte[] serverGuid = new byte[16]; private int securityMode; private int dialect; /** * Gets the server capabilities * * @return the capabilities flags from the server */ public int getCapabilities() { return this.capabilities; } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
byte flags; int flags2; int maxMpxCount; int maxBufferSize; int sessionKey; int capabilities; String oemDomainName; int securityMode; int security; boolean encryptedPasswords; boolean signaturesEnabled; boolean signaturesRequired; int maxNumberVcs; int maxRawSize; long serverTime;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/AbstractCacheTest.java
StatsCounter counter = new SimpleStatsCounter(); for (int i = 0; i < 11; i++) { counter.recordHits(1); } for (int i = 0; i < 13; i++) { counter.recordLoadSuccess(i); } for (int i = 0; i < 17; i++) { counter.recordLoadException(i); } for (int i = 0; i < 23; i++) { counter.recordMisses(1); } for (int i = 0; i < 27; i++) { counter.recordEviction();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
private static class TestSessionServicePacket extends SessionServicePacket { int trailerLength = 10; // Default trailer length for testing int trailerBytesRead = 0; @Override int writeTrailerWireFormat(byte[] dst, int dstIndex) { // Simple mock implementation for (int i = 0; i < trailerLength && dstIndex + i < dst.length; i++) { dst[dstIndex + i] = (byte) i;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0)