Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 351 for wraps (0.03 sec)

  1. src/main/java/jcifs/internal/smb2/rdma/RdmaTransport.java

    import jcifs.CIFSException;
    import jcifs.DfsReferralData;
    import jcifs.SmbSession;
    import jcifs.SmbTransport;
    import jcifs.smb.SmbException;
    import jcifs.smb.SmbTransportInternal;
    
    /**
     * RDMA-enabled SMB transport that wraps existing SMB transport
     * and adds RDMA capabilities for direct memory access operations.
     */
    public class RdmaTransport implements SmbTransportInternal {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/CacheLoader.java

          return computingFunction.apply(checkNotNull(key));
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      /**
       * Returns a {@code CacheLoader} which wraps {@code loader}, executing calls to {@link
       * CacheLoader#reload} using {@code executor}.
       *
       * <p>This method is useful only when {@code loader.reload} has a synchronous implementation, such
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java

    import org.apache.maven.artifact.versioning.OverConstrainedVersionException;
    import org.apache.maven.artifact.versioning.VersionRange;
    import org.apache.maven.project.MavenProject;
    
    /**
     * Wraps an active project instance to be able to receive updates from its artifact without affecting the original
     * attributes of this artifact.
     *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/LittleEndianDataInputStream.java

     * @since 8.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class LittleEndianDataInputStream extends FilterInputStream implements DataInput {
    
      /**
       * Creates a {@code LittleEndianDataInputStream} that wraps the given stream.
       *
       * @param in the stream to delegate to
       */
      public LittleEndianDataInputStream(InputStream in) {
        super(Preconditions.checkNotNull(in));
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbCopyUtilTest.java

                when(cfg.isIgnoreCopyToException()).thenReturn(ignore);
                when(ctx.getConfig()).thenReturn(cfg);
                return ctx;
            }
    
            @Test
            @DisplayName("copyFile wraps and throws when ignoreCopyToException=false")
            void copyFile_throwsWhenIgnoreFalse() throws Exception {
                // Arrange
                SmbFile src = mock(SmbFile.class, RETURNS_DEEP_STUBS);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  6. internal/http/transports.go

    }
    
    func (u *uaTransport) RoundTrip(req *http.Request) (*http.Response, error) {
    	req2 := req.Clone(req.Context())
    	req2.Header.Set("User-Agent", u.ua)
    	return u.rt.RoundTrip(req2)
    }
    
    // WithUserAgent wraps an existing transport with custom User-Agent
    func WithUserAgent(rt http.RoundTripper, getUA func() string) http.RoundTripper {
    	return &uaTransport{
    		ua: getUA(),
    		rt: rt,
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 08 17:51:53 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. internal/deadlineconn/deadlineconn.go

    	c.mu.Lock()
    	defer c.mu.Unlock()
    	c.abortWrites.Store(!t.IsZero() && time.Until(t) < 0)
    	c.infWrites.Store(t.IsZero())
    	c.writeSetAt = time.Time{}
    	return c.Conn.SetWriteDeadline(t)
    }
    
    // Close wraps conn.Close and stops sending deadline updates.
    func (c *DeadlineConn) Close() error {
    	c.abortReads.Store(true)
    	c.abortWrites.Store(true)
    	return c.Conn.Close()
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Dec 02 13:21:17 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/http/NtlmHttpURLConnection.java

        private boolean handshakeComplete;
    
        private final CIFSContext transportContext;
    
        /**
         * Creates a new NTLM HTTP URL connection that wraps an existing HTTP connection.
         *
         * @param connection
         *            connection to wrap
         * @param tc
         *            context to use
         */
        public NtlmHttpURLConnection(final HttpURLConnection connection, final CIFSContext tc) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

            // Assert
            assertEquals(HTTP_UNAUTHORIZED, responseCode);
            // Since we don't use NTLM, no reconnection should happen
        }
    
        /**
         * Test that getOutputStream() returns a CacheStream that wraps the underlying stream.
         * @throws IOException
         */
        @Test
        void testGetOutputStreamCachesData() throws IOException {
            // Arrange
            // Enable output mode
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

      /**
       * Version of {@link IteratorTester} that compares an iterator over a given collection of elements
       * (used as the reference iterator) against a {@code PeekingIterator} that *wraps* such an
       * iterator (used as the target iterator).
       *
       * <p>This IteratorTester makes copies of the master so that it can later verify that {@link
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 8.5K bytes
    - Viewed (0)
Back to top