- Sort Score
- Num 10 results
- Language All
Results 371 - 380 of 1,193 for Unit (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-tests/test/com/google/common/cache/LocalCacheTest.java
assertThat(map.expireAfterAccessNanos).isEqualTo(unit.toNanos(duration)); } public void testSetRefresh() { long duration = 42; TimeUnit unit = SECONDS; LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder().refreshAfterWrite(duration, unit)); assertThat(map.refreshNanos).isEqualTo(unit.toNanos(duration)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 116.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/TypeResolverTest.java
import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; import java.util.List; import java.util.Map; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit tests of {@link TypeResolver}. * * @author Ben Yu */ @AndroidIncompatible // lots of failures, possibly some related to bad equals() implementations? @NullUnmarked public class TypeResolverTest extends TestCase {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 9.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java
import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import jcifs.Configuration; import jcifs.internal.util.SMBUtil; /** * Unit tests for TransTransactNamedPipe class */ @DisplayName("TransTransactNamedPipe Tests") class TransTransactNamedPipeTest { @Mock private Configuration mockConfig;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java
* @throws CancellationException {@inheritDoc} */ @CanIgnoreReturnValue @Override public V get(long timeout, TimeUnit unit) throws InterruptedException, TimeoutException, ExecutionException { return sync.get(unit.toNanos(timeout)); } /* * Improve the documentation of when InterruptedException is thrown. OurCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 13.8K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 10.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/StringsTest.java
import com.google.common.annotations.J2ktIncompatible; import com.google.common.testing.NullPointerTester; import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; /** * Unit test for {@link Strings}. * * @author Kevin Bourrillion */ @NullMarked @GwtCompatible public class StringsTest extends TestCase { public void testNullToEmpty() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 11.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
SMBUtil.writeInt8(1000000, buffer, 20); // Total allocation units SMBUtil.writeInt8(500000, buffer, 28); // Available allocation units SMBUtil.writeInt4(512, buffer, 36); // Sectors per unit SMBUtil.writeInt4(4096, buffer, 40); // Bytes per sector int result = response.readBytesWireFormat(buffer, bufferIndex); assertNotNull(response.getInfo());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.5K bytes - Click Count (0) -
scripts/general-llm-prompt.md
Source (English): ``` <abbr title="Internet of Things">IoT</abbr> <abbr title="Central Processing Unit">CPU</abbr> <abbr title="too long; didn't read"><strong>TL;DR:</strong></abbr> ``` Result (German): ``` <abbr title="Internet of Things - Internet der Dinge">IoT</abbr> <abbr title="Central Processing Unit - Zentrale Verarbeitungseinheit">CPU</abbr>
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Mar 18 10:55:36 GMT 2026 - 14.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
import org.junit.jupiter.params.provider.ValueSource; import jcifs.FileNotifyInformation; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.util.SMBUtil; /** * Unit tests for FileNotifyInformationImpl class */ class FileNotifyInformationImplTest { private FileNotifyInformationImpl notifyInfo; @BeforeEach void setUp() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.1K bytes - Click Count (0) -
src/test/java/jcifs/util/InputValidatorTest.java
import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.CsvSource; import org.junit.jupiter.params.provider.ValueSource; /** * Unit tests for InputValidator */ public class InputValidatorTest { @Test @DisplayName("Test valid buffer size validation") void testValidBufferSize() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 11.9K bytes - Click Count (0)