- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 2,464 for method (0.04 sec)
-
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java
@Test void testGetInformationLevel() { // Test getInformationLevel method response = new Trans2QueryFSInformationResponse(config, FileSystemInformation.FS_SIZE_INFO); assertEquals(FileSystemInformation.FS_SIZE_INFO, response.getInformationLevel()); } @Test void testGetInfo() { // Test getInfo method when info is nullRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFilenameFilterTest.java
import org.junit.jupiter.api.Test; import org.mockito.Mockito; /** * Tests for {@link SmbFilenameFilter}. Since the interface only defines * a single method, the tests simply ensure that the lambda expression * correctly implements the method and that any exception is propagated. */ class SmbFilenameFilterTest { @Test void acceptReturnsTrueWhenNameMatches() throws Exception {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/IgnoreJRERequirement.java
import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.ElementType.TYPE; import java.lang.annotation.Target; import org.jspecify.annotations.NullMarked; /** * Disables Animal Sniffer's checking of compatibility with older versions of Java/Android. * * <p>Each package's copy of this annotation needs to be listed in our {@code pom.xml}. */ @Target({METHOD, CONSTRUCTOR, TYPE, FIELD}) @NullMarked
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jul 02 18:21:28 UTC 2025 - 1.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/DosFileFilterTest.java
* This test covers various combinations of file attributes and filter attributes * to ensure the bitwise logic is correctly implemented. * * @param filterAttributes The attributes set for the filter. * @param fileAttributes The attributes of the mock file. * @param expectedResult The expected outcome of the accept method. * @throws SmbException If an SMB error occurs.Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/GcFinalization.java
/** * Tries to perform a "full" garbage collection cycle (including processing of weak references and * invocation of finalize methods) and waits for it to complete. Ensures that at least one weak * reference has been cleared and one {@code finalize} method has been run before this method * returns. This method may be useful when testing the garbage collection mechanism itself, or * inhibiting a spontaneous GC initiation in subsequent code.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 11.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
* ordering of the keys. * * <p>Despite the method name, this method attempts to avoid actually copying the data when it is * safe to do so. The exact circumstances under which a copy will or will not be performed are * undocumented and subject to change. * * <p>This method is not type-safe, as it may be called on a map with keys that are not mutually * comparable. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 52.9K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/MoreExecutors.java
} /** * Creates an {@link ExecutorService} whose {@code submit} and {@code invokeAll} methods submit * {@link ListenableFutureTask} instances to the given delegate executor. Those methods, as well * as {@code execute} and {@code invokeAny}, are implemented in terms of calls to {@code * delegate.execute}. All other methods are forwarded unchanged to the delegate. This implies thatRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 08 18:55:33 UTC 2025 - 45.2K bytes - Viewed (0) -
build-logic/documentation/src/test/resources/org/gradle/test/JavaClassWithMethods.java
public JavaClassWithMethods(String value) { } /** * A method that returns String. */ String stringMethod(String stringParam) { return "value"; } /** * A method that returns void. */ void voidMethod() { } /** * A method that returns a reference type. */
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 717 bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesTest.groovy
}, { "type": "other.Type", "member": "Method other.Type.someMethod", "changes": ["Method has been removed"], "acceptation": "I really want to do this" } ] } """]) then:Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Jun 04 14:00:46 UTC 2024 - 3.8K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheBuilder.java
/* * We avoid using a method reference or lambda here for now: * * - method reference: Inside Google, CacheBuilder is used from the implementation of a custom * ClassLoader that is sometimes used as a system classloader. That's a problem because * method-reference linking tries to look up the system classloader, and it fails because there * isn't one yet.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 08 18:55:33 UTC 2025 - 51.9K bytes - Viewed (0)