- Sort Score
- Num 10 results
- Language All
Results 841 - 850 of 3,128 for rint (0.18 seconds)
-
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java
// Test size calculation int size = request.size(); int expectedRawSize = Smb2Constants.SMB2_HEADER_LENGTH + 32 + 64; int expectedSize = (expectedRawSize + 7) & ~7; assertEquals(expectedSize, size); // Test wire format writing byte[] buffer = new byte[512]; int bytesWritten = request.writeBytesWireFormat(buffer, 64);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java
import jcifs.internal.util.SMBUtil; /** * Information about a network interface for SMB3 Multi-Channel */ public class NetworkInterfaceInfo { private int interfaceIndex; private int capability; private int linkSpeed; // In units of 1 Mbps private byte[] sockaddrStorage; private InetAddress address; private boolean ipv6; private boolean rssCapable; // Receive Side ScalingCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 9.8K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java
public Object measureSize() { list = impl.newExecutionList(); for (int i = 0; i < numListeners; i++) { list.add(listener, directExecutor()); } return list.getImpl(); } @Benchmark int addThenExecute_singleThreaded(int reps) { int returnValue = 0; for (int i = 0; i < reps; i++) { list = impl.newExecutionList();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 15.8K bytes - Click Count (0) -
src/main/java/jcifs/pac/PacLogonInfo.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 14.3K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/MessageDigestHashFunction.java
private final int bytes; private boolean done; private MessageDigestHasher(MessageDigest digest, int bytes) { this.digest = digest; this.bytes = bytes; } @Override protected void update(byte b) { checkNotDone(); digest.update(b); } @Override protected void update(byte[] b, int off, int len) { checkNotDone();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 4.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java
/** * Tests for {@link AtomicLongMap}. * * @author mike nonemacher */ @GwtCompatible @NullUnmarked public class AtomicLongMapTest extends TestCase { private static final int ITERATIONS = 100; private static final int MAX_ADDEND = 100; private final Random random = new Random(301); @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNulls() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 17.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/session/Smb2LogoffResponse.java
*/ @Override protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) { return 0; } /** * {@inheritDoc} * * @throws SMBProtocolDecodingException if the response structure is invalid * * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int) */ @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
} @Override public int read() throws SmbException { if (read(this.tmp, 0, 1) == -1) { return -1; } return this.tmp[0] & 0xFF; } @Override public int read(final byte b[]) throws SmbException { return read(b, 0, b.length); } @Override public int read(final byte b[], int off, int len) throws SmbException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 18.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
void testDeriveKeys_DifferentSessionKeySizes() { // Test with various session key sizes int[] keySizes = { 8, 16, 24, 32, 64, 128 }; int dialect = Smb2Constants.SMB2_DIALECT_0311; for (int size : keySizes) { // Given byte[] testKey = new byte[size]; new SecureRandom().nextBytes(testKey); // When
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/util/RC4.java
* @param dst the destination array for the result * @param doff the offset in the destination array */ public void update(final byte[] src, int soff, final int slen, final byte[] dst, int doff) { int slim = soff + slen; while (soff < slim) { i = i + 1 & 0xff; j = j + s[i] & 0xff; final byte t = s[i]; s[i] = s[j];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.8K bytes - Click Count (0)