- Sort Score
- Result 10 results
- Languages All
Results 1501 - 1510 of 2,802 for inst (0.01 sec)
-
src/test/java/jcifs/internal/util/SMBUtilTest.java
// Test with max value SMBUtil.writeInt8(0xFFFFFFFFFFFFFFFFL, dst, 8); for (int i = 8; i < 16; i++) { assertEquals((byte) 0xFF, dst[i]); } // Test with zero SMBUtil.writeInt8(0L, dst, 16); for (int i = 16; i < 24; i++) { assertEquals((byte) 0x00, dst[i]); } } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/jcifs/util/SimpleCircuitBreaker.java
private final AtomicLong totalSuccesses = new AtomicLong(0); private final AtomicLong rejectedCalls = new AtomicLong(0); // Configuration private final int failureThreshold; private final int successThreshold; private final long timeoutMillis; /** * Creates a simple circuit breaker with default settings * * @param name the circuit breaker name */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/RequestTest.java
MockitoAnnotations.openMocks(this); } @Test void testGetCreditCost() { // Test case for getCreditCost method int expectedCreditCost = 10; when(mockRequest.getCreditCost()).thenReturn(expectedCreditCost); int actualCreditCost = mockRequest.getCreditCost(); assertEquals(expectedCreditCost, actualCreditCost, "Credit cost should match the mocked value.");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
return transferElement(nextElements, previousElements); } @Override public int nextIndex() { return previousElements.size(); } @Override public E previous() { return transferElement(previousElements, nextElements); } @Override public int previousIndex() { return nextIndex() - 1; } @Override public void remove() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 21.4K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlRequest.java
private final String encoding; private int threshold; /** * Constructs a new RequestProcessor with the specified encoding and threshold. * * @param encoding the character encoding * @param threshold the threshold size */ public RequestProcessor(final String encoding, final int threshold) { this.encoding = encoding;Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Mon Nov 24 03:10:07 UTC 2025 - 18.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
boolean supportsValuesHashCode = supportsValuesHashCode(map); if (supportsValuesHashCode) { int expectedEntrySetHash = 0; for (Entry<K, V> entry : entrySet) { assertTrue(map.containsKey(entry.getKey())); assertTrue(map.containsValue(entry.getValue())); int expectedHash = (entry.getKey() == null ? 0 : entry.getKey().hashCode())Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 43.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java
* though we also allow it to "succeed" if neither is permitted. */ private void assertSetCount(E element, int count) { setCountCheckReturnValue(element, count); assertEquals( "multiset.count() should return the value passed to setCount()", count, getMultiset().count(element)); int size = 0; for (Multiset.Entry<E> entry : getMultiset().entrySet()) { size += entry.getCount(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 13K bytes - Viewed (0) -
guava/src/com/google/common/collect/ContiguousSet.java
* Returns a nonempty contiguous set containing all {@code int} values from {@code lower} * (inclusive) to {@code upper} (inclusive). (These are the same values contained in {@code * Range.closed(lower, upper)}.) * * @throws IllegalArgumentException if {@code lower} is greater than {@code upper} * @since 23.0 */ public static ContiguousSet<Integer> closed(int lower, int upper) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.9K bytes - Viewed (0) -
guava/src/com/google/common/primitives/UnsignedLong.java
return fromLongBits(UnsignedLongs.remainder(value, checkNotNull(val).value)); } /** Returns the value of this {@code UnsignedLong} as an {@code int}. */ @Override public int intValue() { return (int) value; } /** * Returns the value of this {@code UnsignedLong} as a {@code long}. This is an inverse operation * to {@link #fromLongBits}. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jun 04 13:03:16 UTC 2025 - 8.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MultimapBuilder.java
} }; } private static final class ArrayListSupplier<V extends @Nullable Object> implements Supplier<List<V>>, Serializable { private final int expectedValuesPerKey; ArrayListSupplier(int expectedValuesPerKey) { this.expectedValuesPerKey = checkNonnegative(expectedValuesPerKey, "expectedValuesPerKey"); } @Override public List<V> get() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 18K bytes - Viewed (0)