Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1721 - 1730 of 2,109 for collect (0.06 sec)

  1. guava/src/com/google/common/base/FinalizableWeakReference.java

    import java.lang.ref.WeakReference;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Weak reference with a {@code finalizeReferent()} method which a background thread invokes after
     * the garbage collector reclaims the referent. This is a simpler alternative to using a {@link
     * ReferenceQueue}.
     *
     * @author Bob Lee
     * @since 2.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

    @ExtendWith(MockitoExtension.class)
    class Smb2TreeDisconnectRequestTest {
    
        private static final short SMB2_TREE_DISCONNECT = 0x0004;
    
        @Test
        @DisplayName("Should create request with correct command type")
        void testConstructorSetsCorrectCommand() throws Exception {
            // Given
            Configuration mockConfig = mock(Configuration.class);
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactCollector.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact.resolver;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    /**
     * Artifact collector - takes a set of original artifacts and resolves the best versions to use
     * along with their metadata. No artifacts are downloaded.
     */
    @Deprecated
    @Named
    @Singleton
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/eventbus/outside/AbstractEventBusTest.java

    import com.google.common.eventbus.EventBus;
    import junit.framework.TestCase;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Abstract base class for tests that EventBus finds the correct subscribers.
     *
     * <p>The actual tests are distributed among the other classes in this package based on whether they
     * are annotated or abstract in the superclass.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java

        @Mock
        DfsReferralData referral;
    
        // Reflection-based API checks ensure the interface contract is as expected
        @Test
        @DisplayName("Type hierarchy and method signatures are correct")
        void typeAndSignatures() throws Exception {
            Class<?> clazz = SmbResourceLocatorInternal.class;
    
            // Assert it's an interface and extends the right superinterface
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

      internal fun connectFailed(
        client: OkHttpClient,
        failedRoute: Route,
        failure: IOException,
      ) {
        // Tell the proxy selector when we fail to connect on a fresh connection.
        if (failedRoute.proxy.type() != Proxy.Type.DIRECT) {
          val address = failedRoute.address
          address.proxySelector.connectFailed(
            address.url.toUri(),
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseStateTest.java

    /**
     * Unit tests for DirectoryLeaseState
     */
    public class DirectoryLeaseStateTest {
    
        @Test
        public void testDirectoryLeaseConstants() {
            // Test that directory lease states use correct base values
            assertEquals(Smb2LeaseState.SMB2_LEASE_READ_CACHING | Smb2LeaseState.SMB2_LEASE_HANDLE_CACHING,
                    DirectoryLeaseState.DIRECTORY_READ_HANDLE);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/FinalizableReference.java

    @DoNotMock("Use an instance of one of the Finalizable*Reference classes")
    @J2ktIncompatible
    @GwtIncompatible
    public interface FinalizableReference {
      /**
       * Invoked on a background thread after the referent has been garbage collected unless security
       * restrictions prevented starting a background thread, in which case this method is invoked when
       * new references are created.
       */
      void finalizeReferent();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/FinalizableSoftReference.java

    import java.lang.ref.SoftReference;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Soft reference with a {@code finalizeReferent()} method which a background thread invokes after
     * the garbage collector reclaims the referent. This is a simpler alternative to using a {@link
     * ReferenceQueue}.
     *
     * @author Bob Lee
     * @since 2.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/NbtAddressTest.java

            assertTrue(nbtAddress.isPermanent(mockContext));
            assertArrayEquals(testMacAddress, nbtAddress.getMacAddress(mockContext));
        }
    
        @Test
        void testUnwrap() {
            // Test unwrap method for correct type casting
            mockName = new Name(mockConfig, "TEST", 0x20, null);
            NbtAddress nbtAddress = new NbtAddress(mockName, testAddressInt, false, NbtAddress.H_NODE);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.4K bytes
    - Viewed (0)
Back to top