- Sort Score
- Result 10 results
- Languages All
Results 921 - 930 of 3,063 for rint (0.02 sec)
-
src/test/java/org/codelibs/core/stream/StreamUtilTest.java
Object[] array = s.toArray(); for (int i = 0; i < 2; i++) { assertEquals(values[i], array[i]); } }); } public void test_ofNull() { assertEquals(0, (int) StreamUtil.stream().get(s -> s.toArray().length)); Object[] o = {}; assertEquals(0, (int) StreamUtil.stream(o).get(s -> s.toArray().length));
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcException.java
/** * */ private static final long serialVersionUID = -6113895861333916945L; static String getMessageByDcerpcError(final int errcode) { int min = 0; int max = DCERPC_FAULT_CODES.length; while (max >= min) { final int mid = (min + max) / 2; if (errcode > DCERPC_FAULT_CODES[mid]) { min = mid + 1;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java
// Verify command is set correctly (SMB2_FLUSH = 0x0007) Field commandField = ServerMessageBlock2.class.getDeclaredField("command"); commandField.setAccessible(true); int command = (int) commandField.get(request); assertEquals(0x0007, command); // SMB2_FLUSH value // Verify file ID is set Field fileIdField = Smb2FlushRequest.class.getDeclaredField("fileId");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/jcifs/pac/Pac.java
} int bufferCount = pacStream.readInt(); int version = pacStream.readInt(); if (version != PacConstants.PAC_VERSION) { throw new PACDecodingException("Unrecognized PAC version " + version); } for (int bufferIndex = 0; bufferIndex < bufferCount; bufferIndex++) { int bufferType = pacStream.readInt();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SortedListsTest.java
case LAST_BEFORE: if (list.contains(key)) { assertEquals(list.indexOf(key) - 1, answer); return; } break; } // key is not present int nextHigherIndex = list.size(); for (int i = list.size() - 1; i >= 0 && list.get(i) > key; i--) { nextHigherIndex = i; } switch (absentBehavior) { case NEXT_LOWER: assertEquals(nextHigherIndex - 1, answer);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4K bytes - Viewed (0) -
src/main/java/jcifs/smb/FileEntry.java
* @return the file name */ String getName(); /** * Gets the file type. * * @return the file type */ int getType(); /** * Gets the file attributes. * * @return the file attributes */ int getAttributes(); /** * Gets the file creation time. * * @return the creation time in milliseconds since epoch */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MapMakerInternalMap.java
E copyEntry(E original, E newNext) { int hash = original.getHash(); return segmentFor(hash).copyEntry(original, newNext); } int hash(Object key) { int h = keyEquivalence.hash(key); return rehash(h); } void reclaimValue(WeakValueReference<K, V, E> valueReference) { E entry = valueReference.getEntry(); int hash = entry.getHash();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 89.9K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/AbstractByteHasher.java
protected void update(byte[] b) { update(b, 0, b.length); } /** Updates this hasher with {@code len} bytes starting at {@code off} in the given buffer. */ protected void update(byte[] b, int off, int len) { for (int i = off; i < off + len; i++) { update(b[i]); } } /** Updates this hasher with bytes from the given buffer. */ protected void update(ByteBuffer b) { if (b.hasArray()) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 12:40:17 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/pac/ASN1UtilTest.java
InputStream s = new ByteArrayInputStream(new byte[] {}); int tagNo = ASN1Util.readTagNumber(s, 0x05); assertEquals(5, tagNo); } @Test void testReadTagNumber_HighTag() throws IOException { // High tag number (31) InputStream s = new ByteArrayInputStream(new byte[] { 0x1F }); int tagNo = ASN1Util.readTagNumber(s, 0x1F); assertEquals(31, tagNo); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java
public Entry<String, Collection<Integer>>[] createArray(int length) { return new Entry[length]; } @Override public Iterable<Entry<String, Collection<Integer>>> order( List<Entry<String, Collection<Integer>>> insertionOrder) { return insertionOrder; } @Override public String[] createKeyArray(int length) { return new String[length]; }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 8.6K bytes - Viewed (0)