- Sort Score
- Result 10 results
- Languages All
Results 1401 - 1410 of 2,937 for rint (0.06 sec)
-
src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java
smbRandomAccessFile.setLength(newLength); // Verify length was set (actual behavior depends on implementation) } @Test void testSkipBytes() throws SmbException { int skipAmount = 100; int result = smbRandomAccessFile.skipBytes(skipAmount); assertEquals(skipAmount, result); assertEquals(skipAmount, smbRandomAccessFile.getFilePointer()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
tests/serializer_test.go
CreatedTime int64 `gorm:"serializer:unixtime;type:datetime"` // store time in db, use int as field type UpdatedTime *int64 `gorm:"serializer:unixtime;type:datetime"` // store time in db, use int as field type CustomSerializerString string `gorm:"serializer:custom"` EncryptedString EncryptedString }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 7.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/CompactHashMapTest.java
CompactHashMap<Integer, String> map = CompactHashMap.createWithExpectedSize(100); for (int i = 0; i < 10; i++) { map.put(i, Integer.toString(i)); } map.trimToSize(); assertThat(map.entries).hasLength(10); assertThat(map.keys).hasLength(10); assertThat(map.values).hasLength(10); assertEquals(10, map.size()); for (int i = 0; i < 10; i++) { assertEquals(Integer.toString(i), map.get(i)); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 25 16:19:30 UTC 2025 - 5.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java
@Override public Entry<String, Integer>[] createArray(int length) { return (Entry<String, Integer>[]) new Entry<?, ?>[length]; } @Override public Iterable<Entry<String, Integer>> order(List<Entry<String, Integer>> insertionOrder) { return new Ordering<Entry<String, Integer>>() { @Override public int compare(Entry<String, Integer> left, Entry<String, Integer> right) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 4.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/CaseInsensitiveSet.java
public CaseInsensitiveSet(final Collection<String> c) { map = new CaseInsensitiveMap<>(Math.max((int) (c.size() / .75f) + 1, 16)); addAll(c); } /** * Creates a {@link CaseInsensitiveSet}. * * @param initialCapacity the initial capacity */ public CaseInsensitiveSet(final int initialCapacity) { map = new CaseInsensitiveMap<>(initialCapacity); } @Override
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/Location.java
* returns -1 if none is available. * @return the current line number */ int getLineNumber(); /** * Return the column number where the current event ends, * returns -1 if none is available. * @return the current column number */ int getColumnNumber(); /** * Return the byte or character offset into the input source this locationRegistered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Mon Mar 25 10:50:01 UTC 2024 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java
} @ParameterizedTest @ValueSource(ints = { 1, 5, 10, 20, 50 }) void constructor_shouldHandleVariousSidArraySizes(int size) { // Arrange testSids = new jcifs.SID[size]; for (int i = 0; i < size; i++) { testSids[i] = mock(jcifs.SID.class); when(testSids[i].unwrap(sid_t.class)).thenReturn(mockSidT); } // ActRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FilteredEntryMultimap.java
return new Keys(); } @WeakOuter final class Keys extends Multimaps.Keys<K, V> { Keys() { super(FilteredEntryMultimap.this); } @Override public int remove(@Nullable Object key, int occurrences) { checkNonnegative(occurrences, "occurrences"); if (occurrences == 0) { return count(key); } Collection<V> collection = unfiltered.asMap().get(key);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashCodeTest.java
int totalBytes = hashCode.bits() / 8; for (int bytes = 0; bytes < totalBytes; bytes++) { byte[] bb = new byte[bytes]; hashCode.writeBytesTo(bb, 0, bb.length); assertTrue(Arrays.equals(Arrays.copyOf(hashBytes, bytes), bb)); } } private static class ExpectedHashCode { final byte[] bytes; final int asInt;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 13.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java
data.putValue(key, ((Integer) value).toString()); } else if (value instanceof Address[]) { final int size = ((Address[]) value).length; final String[] values = new String[size]; for (int i = 0; i < size; i++) { final Address address = ((Address[]) value)[i]; values[i] = getDecodeText(address.toString());
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 12.6K bytes - Viewed (0)