- Sort Score
- Result 10 results
- Languages All
Results 1061 - 1070 of 3,487 for init (0.06 sec)
-
src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java
void testSizeWithVariousLockCounts(int lockCount) { Smb2Lock[] locks = new Smb2Lock[lockCount]; for (int i = 0; i < lockCount; i++) { locks[i] = new Smb2Lock(i * 100L, 100L, Smb2Lock.SMB2_LOCKFLAG_EXCLUSIVE_LOCK); } Smb2LockRequest req = new Smb2LockRequest(mockConfig, testFileId, locks);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.3K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java
@Override Striped<Lock> get(int stripes) { return new Striped.LargeLazyStriped<>(stripes, LOCK_SUPPLIER); } }; abstract Striped<Lock> get(int stripes); } private Striped<Lock> striped; private int[] stripes; private List<Integer> bulkGetSet; @BeforeExperiment void setUp() { this.striped = impl.get(numStripes); stripes = new int[numStripes];Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
} // Test size calculation int size = request.size(); int expectedRawSize = Smb2Constants.SMB2_HEADER_LENGTH + 40 + 64; int expectedSize = (expectedRawSize + 7) & ~7; assertEquals(expectedSize, size); // Test wire format writing byte[] buffer = new byte[512]; int bytesWritten = request.writeBytesWireFormat(buffer, 64);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java
(int) (int) (short) 'd', (int) (int) (short) 'e', (int) (short) 'f', (int) (short) 'g', (int) (short) 'h', (int) (short) 'i', (int) (short) 'j', (int) (short) 'k', (int) (short) 'l', (int) (short) 'm', (int) (short) 'n', (int) (short) 'o', (int) (short) 'p', (int) (short) 'q', (int) (short) 'r');Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 60.8K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
} private void ensureRoomFor(int numberToAdd) { int newCount = count + numberToAdd; // TODO(kevinb): check overflow now? if (newCount > array.length) { array = Arrays.copyOf(array, expandedCapacity(array.length, newCount)); } } // Unfortunately this is pasted from ImmutableCollection.Builder. private static int expandedCapacity(int oldCapacity, int minCapacity) { if (minCapacity < 0) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 22K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/SipHashFunction.java
return false; } @Override public int hashCode() { return (int) (getClass().hashCode() ^ c ^ d ^ k0 ^ k1); } private static final class SipHasher extends AbstractStreamingHasher { private static final int CHUNK_SIZE = 8; // The number of compression rounds. private final int c; // The number of finalization rounds. private final int d; // Four 64-bit words of internal state.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java
private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes(); private Smb2LeaseKey leaseKey; private int leaseState; private int leaseFlags; private Smb2LeaseKey parentLeaseKey; private int epoch; /** * Create a new lease V2 context request */ public LeaseV2CreateContextRequest() { this.leaseKey = new Smb2LeaseKey();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 6.2K bytes - Viewed (0) -
guava/src/com/google/common/primitives/UnsignedInteger.java
* an unsigned {@code int} value in the specified radix. * * @throws NumberFormatException if the string does not contain a parsable unsigned {@code int} * value */ public static UnsignedInteger valueOf(String string, int radix) { return fromIntBits(UnsignedInts.parseUnsignedInt(string, radix)); } /**Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
@CsvSource({ "1024, 0, 1024", "1024, 100, 900", "1024, 500, 524", "2048, 1024, 1024", "4096, 2048, 2048", "65536, 32768, 32768" }) void testVariousOffsetsAndLengths(int dataSize, int offset, int length) { byte[] data = new byte[dataSize]; assertDoesNotThrow(() -> request.setData(data, offset, length)); } } @Nested @DisplayName("Parameter Setting Tests")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.4K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/collect/HashMultisetAddPresentBenchmark.java
@NullUnmarked public class HashMultisetAddPresentBenchmark { private static final int ARRAY_MASK = 0x0ffff; private static final int ARRAY_SIZE = 0x10000; List<Multiset<Integer>> multisets = new ArrayList<>(0x10000); int[] queries = new int[ARRAY_SIZE]; @BeforeExperiment void setUp() { Random random = new Random(); multisets.clear(); for (int i = 0; i < ARRAY_SIZE; i++) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1.7K bytes - Viewed (0)