- Sort Score
- Num 10 results
- Language All
Results 241 - 250 of 724 for uniq (0.05 seconds)
-
src/test/java/jcifs/smb1/smb1/SmbFileTest.java
import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; /** * Unit tests for the SmbFile class. * This class focuses on testing the logic of SmbFile without actual network communication, * using mocks where necessary. */ @ExtendWith(MockitoExtension.class) public class SmbFileTest {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java
import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; import org.mockito.junit.jupiter.MockitoExtension; /** * Unit tests for {@link NdrShort}. The tests cover construction, * encoding and decoding logic, masking behaviour, alignment handling and * interaction with {@link NdrBuffer}. All public behaviour is exercised. */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.1K bytes - Click Count (0) -
mockwebserver/src/main/kotlin/mockwebserver3/internal/TriggerSink.kt
* subsequent bytes. */ internal class TriggerSink( private val delegate: Sink, private val triggerByteCount: Long, private val trigger: () -> Unit, ) : Sink by delegate { private var bytesWritten = 0L override fun write( source: Buffer, byteCount: Long, ) { if (byteCount == 0L) return // Avoid double-triggering.
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.4K bytes - Click Count (0) -
src/archive/zip/struct.go
zip64ExtraID = 0x0001 // Zip64 extended information ntfsExtraID = 0x000a // NTFS unixExtraID = 0x000d // UNIX extTimeExtraID = 0x5455 // Extended timestamp infoZipUnixExtraID = 0x5855 // Info-ZIP Unix extension ) // FileHeader describes a file within a ZIP file. // See the [ZIP specification] for details. //
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue May 28 21:41:09 GMT 2024 - 12.1K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Lifecycle.java
/** * Collection of main phases for this lifecycle used with the Maven 3 builders. * Those builders do not operate on a graph, but on the list and expect a slightly * different ordering (mainly unit test being executed before packaging). * * @return the collection of phases in Maven 3 compatible ordering */ default Collection<Phase> v3phases() { return phases(); } /**Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 7.9K bytes - Click Count (0) -
samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainSocketFactory.java
import java.net.InetAddress; import java.net.InetSocketAddress; import java.net.Socket; import javax.net.SocketFactory; import jnr.unixsocket.UnixSocketChannel; /** Impersonate TCP-style SocketFactory over UNIX domain sockets. */ public final class UnixDomainSocketFactory extends SocketFactory { private final File path; public UnixDomainSocketFactory(File path) { this.path = path; }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Dec 03 21:33:52 GMT 2023 - 2.1K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java
ListenableFuture<V> delegate, long time, TimeUnit unit, ScheduledExecutorService scheduledExecutor) { TimeoutFuture<V> result = new TimeoutFuture<>(delegate); Fire<V> fire = new Fire<>(result); result.timer = scheduledExecutor.schedule(fire, time, unit); delegate.addListener(fire, directExecutor()); return result; } /*
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/FaultHidingSink.kt
import okio.ForwardingSink import okio.Sink /** A sink that never throws IOExceptions, even if the underlying sink does. */ internal open class FaultHidingSink( delegate: Sink, val onException: (IOException) -> Unit, ) : ForwardingSink(delegate) { private var hasErrors = false override fun write( source: Buffer, byteCount: Long, ) { if (hasErrors) { source.skip(byteCount) return }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 1.5K bytes - Click Count (0) -
android-test/src/test/kotlin/okhttp/android/test/NonRobolectricOkHttpClientTest.kt
hasMessage("Unable to load PublicSuffixDatabase.list resource.") cause().isNotNull().all { hasMessage( "Platform applicationContext not initialized. " + "Possibly running Android unit test without Robolectric. " + "Android tests should run with Robolectric " + "and call OkHttp.initialize before test", ) hasClass<IOException>() } } }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jul 28 07:33:49 GMT 2025 - 1.6K bytes - Click Count (0) -
guava-testlib/README.md
# Guava Testlib: Google Testing Libraries for Java Guava testlib is a set of Java classes for more convenient unit testing. ## Adding Guava Testlib to your build Guava testlib's Maven group ID is `com.google.guava` and its artifact ID is `guava-testlib`. To add a dependency on Guava testlib using Maven, use the following: ```xml <dependency> <groupId>com.google.guava</groupId> <artifactId>guava-testlib</artifactId>
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 16 22:01:32 GMT 2025 - 1.7K bytes - Click Count (0)