- Sort Score
- Num 10 results
- Language All
Results 311 - 320 of 1,678 for samp (0.02 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java
.isEqualTo(defaultThread.getUncaughtExceptionHandler()); assertFalse(completed); thread.start(); thread.join(); assertTrue(completed); // Creating a new thread from the same ThreadFactory will have the same // pool ID but a thread ID of 2. Thread thread2 = threadFactory.newThread(monitoredRunnable); checkThreadPoolName(thread2, 2);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 7.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/SortedSetMultimap.java
* {@link Multimap} interface. */ @CanIgnoreReturnValue @Override SortedSet<V> removeAll(@Nullable Object key); /** * Stores a collection of values with the same key, replacing any existing values for that key. * * <p>Because a {@code SortedSetMultimap} has unique sorted values for a given key, this methodCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 5.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java
* the network with enhanced capabilities compared to the basic Open command. */ public class SmbComOpenAndX extends AndXServerMessageBlock { // flags (not the same as flags constructor argument) static final int FLAGS_RETURN_ADDITIONAL_INFO = 0x01; static final int FLAGS_REQUEST_OPLOCK = 0x02; static final int FLAGS_REQUEST_BATCH_OPLOCK = 0x04;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
assertNotNull(buf, "getBuffer should never return null"); assertEquals(5, buf.length, "Newly allocated buffer length should match config maximum size"); } // Happy path: get -> release -> get returns same instance, zeroed on release @Test @DisplayName("Release stores buffer for reuse and zeroes its contents") void releaseStoresAndZeroesBuffer() { BufferCacheImpl impl = new BufferCacheImpl(2, 10);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers.isNull; import static org.mockito.ArgumentMatchers.same; import static org.mockito.Mockito.doAnswer; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.never; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java
assertEquals("/site1/search", result.getRoutingPath()); // The header remains for subsequent tests due to static request handling // Different matching header added to same request request.addHeader("X-Forwarded-Host", "test.com"); result = virtualHostHelper.getVirtualHostPath(page); assertEquals("/site1/search", result.getRoutingPath()); // Still site1 due to header precedence
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.8K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java
void testValueConsistency() { // Given: Same input value int inputValue = 1000; int expectedMasked = inputValue & 0xFF; // 232 // When: Creating multiple NdrShort instances NdrShort ndrShort1 = new NdrShort(inputValue); NdrShort ndrShort2 = new NdrShort(inputValue); // Then: All should have same masked value
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.2K bytes - Click Count (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt
mergeAdjacentDeltaMappedRanges(sectionList) } return result.toMap() } /** * Modifies [ranges] to combine any adjacent [MappedRange.InlineDelta] of same size to single entry. * @returns same instance of [ranges] for convenience */ internal fun mergeAdjacentDeltaMappedRanges(ranges: MutableList<MappedRange>): MutableList<MappedRange> { var i = 0 while (i < ranges.size) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 8.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java
assertBitEquals(1.0, at.get()); for (double x : VALUES) { at.set(x); assertBitEquals(x, at.get()); } } /** get returns the last value lazySet in same thread */ public void testGetLazySet() { AtomicDouble at = new AtomicDouble(1.0); assertBitEquals(1.0, at.get()); for (double x : VALUES) { at.lazySet(x); assertBitEquals(x, at.get()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 7.3K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java
int referent1 = Encdec.dec_uint32le(buffer, 0); assertTrue(referent1 > 0); // Should be a positive referent ID ndrBuffer.reset(); ndrBuffer.enc_ndr_referent(obj1, 2); // Same object, should get same referent assertEquals(4, ndrBuffer.getIndex()); assertEquals(referent1, Encdec.dec_uint32le(buffer, 0)); ndrBuffer.reset();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.3K bytes - Click Count (0)