Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 638 for necessary (1.68 sec)

  1. src/main/java/jcifs/CIFSContext.java

     *
     * Usually you will want to create one context per client configuration and then
     * multiple sub-contexts using different credentials (if necessary).
     *
     * {@link #withDefaultCredentials()}, {@link #withAnonymousCredentials()}, {@link #withCredentials(Credentials)}
     * allow to create such sub-contexts.
     *
     *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java

            String path = System.getProperty(altLocationSysProp);
    
            if (path == null || path.isEmpty()) {
                // TODO This replacing shouldn't be necessary as user.home should be in the
                // context of the container and thus the value would be interpolated by Plexus
                String basedir = System.getProperty(basedirSysProp);
                if (basedir == null) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java

        ByteBuffer buffer;
    
        ByteBufferHasher(int expectedInputSize) {
          this.buffer = ByteBuffer.allocate(expectedInputSize).order(ByteOrder.LITTLE_ENDIAN);
        }
    
        /**
         * Resizes the buffer if necessary. Guaranteed to leave `buffer` in Write Mode ready for new
         * data.
         */
        private void ensureCapacity(int needed) {
          if (buffer.remaining() >= needed) {
            return;
          }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 04 15:39:10 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java

    import java.io.Serializable;
    import java.util.Arrays;
    
    import jcifs.internal.smb2.lease.Smb2LeaseKey;
    
    /**
     * Information about a durable or persistent SMB handle.
     * This class holds all the necessary information to reconnect
     * a handle after network failures or server reboots.
     */
    public class HandleInfo implements Serializable {
    
        private static final long serialVersionUID = 1L;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/LittleEndianDataOutputStream.java

      // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior:
      // it silently ignores any exception thrown by flush(). Instead, just close the delegate stream.
      // It should flush itself if necessary.
      @Override
      public void close() throws IOException {
        out.close();
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/Striped.java

          this.supplier = supplier;
        }
    
        @Override
        public L getAt(int index) {
          if (size != Integer.MAX_VALUE) {
            Preconditions.checkElementIndex(index, size());
          } // else no check necessary, all index values are valid
          ArrayReference<? extends L> existingRef = locks.get(index);
          L existing = existingRef == null ? null : existingRef.get();
          if (existing != null) {
            return existing;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 16 22:01:32 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  7. docs/features/calls.md

    With rewrites, redirects, follow-ups and retries, your simple request may yield many requests and responses. OkHttp uses `Call` to model the task of satisfying your request through however many intermediate requests and responses are necessary. Typically this isn’t many! But it’s comforting to know that your code will continue to work if your URLs are redirected or if you failover to an alternate IP address.
    
    Calls are executed in one of two ways:
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/UnsignedLongs.java

        // Optimization - use signed division if dividend < 2^63
        if (dividend >= 0) {
          return dividend / divisor;
        }
    
        /*
         * Otherwise, approximate the quotient, check, and correct if necessary. Our approximation is
         * guaranteed to be either exact or one less than the correct value. This follows from fact that
         * floor(floor(x)/i) == floor(x/i) for any real x and integer i != 0. The proof is not quite
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/UniAddress.java

    import java.util.StringTokenizer;
    
    import jcifs.smb1.netbios.Lmhosts;
    import jcifs.smb1.netbios.NbtAddress;
    import jcifs.smb1.util.LogStream;
    
    /**
     * <p>Under normal conditions it is not necessary to use
     * this class to use jCIFS properly. Name resolusion is
     * handled internally to the <code>jcifs.smb1.smb1</code> package.
     * <p>
     * This class is a wrapper for both {@link jcifs.smb1.netbios.NbtAddress}
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt

        assertThat(pool.closeConnections(150L)).isEqualTo(0)
        assertThat(pool.connectionCount()).isEqualTo(0)
        assertThat(c1.socket().isClosed).isTrue()
    
        // Running again, the pool reports that no further runs are necessary.
        assertThat(pool.closeConnections(150L)).isEqualTo(-1)
        assertThat(pool.connectionCount()).isEqualTo(0)
        assertThat(c1.socket().isClosed).isTrue()
      }
    
      @Test fun inUseConnectionsNotEvicted() {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:55:03 UTC 2025
    - 8.2K bytes
    - Viewed (0)
Back to top