Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 3,735 for Pull (0.03 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

      private var constructed = false
    
      private var peekedHeader: DerHeader? = null
    
      private val bytesLeft: Long
        get() = if (limit == -1L) -1L else (limit - byteCount)
    
      fun hasNext(): Boolean = peekHeader() != null
    
      /**
       * Returns the next header to process unless this scope is exhausted.
       *
       * This returns null if:
       *
       *  * The stream is exhausted.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

                user = userInfo.substring(u, i);
            }
    
            this.domain = dom != null ? dom : defDomain != null ? defDomain : "";
            this.username = user != null ? user : defUser != null ? defUser : "";
            this.password = pass != null ? pass.toCharArray() : defPassword != null ? defPassword.toCharArray() : new char[0];
    
            if (type == null) {
                this.type = guessAuthenticationType();
            } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  3. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

            HttpUrl link = response.request().url().resolve(href);
            if (link == null) continue; // URL is either invalid or its scheme isn't http/https.
            HttpUrl linkWithoutFragment = link.newBuilder().fragment(null).build();
            if (!queue.offer(linkWithoutFragment)) break; // Queue is full.
          }
        }
      }
    
      public static void main(String[] args) throws IOException {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jul 23 00:58:06 UTC 2025
    - 5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

        @DisplayName("Should handle context with null values")
        void testNullContext() {
            // When
            exception = new SmbOperationException(SmbOperationException.ErrorCode.UNKNOWN_ERROR, "Something went wrong", null, null, null);
    
            // Then
            assertNotNull(exception.getContext());
            assertTrue(exception.getContext().isEmpty());
    
            // Adding null context should be safe
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/ServerResponseValidatorTest.java

            });
        }
    
        @Test
        public void testValidString() throws Exception {
            validator.validateString("normal string", 100, "test");
            validator.validateString(null, 100, "test"); // Null should be allowed
            // Should pass without exception
        }
    
        @Test
        public void testStringTooLong() throws Exception {
            String longString = "a".repeat(300);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

         * allowing the CAS below to succeed.
         */
        Thread currentThread = Thread.currentThread();
        if (!compareAndSet(null, currentThread)) {
          return; // someone else has run or is running.
        }
    
        boolean run = !isDone();
        T result = null;
        Throwable error = null;
        try {
          if (run) {
            result = runInterruptibly();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 10K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

        if (expectedSequenceNumber != ANY_SEQUENCE_NUMBER &&
          (entry == null || entry.sequenceNumber != expectedSequenceNumber)
        ) {
          return null // Snapshot is stale.
        }
    
        if (entry?.currentEditor != null) {
          return null // Another edit is in progress.
        }
    
        if (entry != null && entry.lockingSourceCount != 0) {
          return null // We can't write this file because a reader is still reading it.
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

      /** The low-level TCP socket. */
      private var rawSocket: JavaNetSocket? = null
    
      /**
       * The application layer socket. Either an [SSLSocket] layered over [rawSocket], or [rawSocket]
       * itself if this connection does not use SSL.
       */
      internal var javaNetSocket: JavaNetSocket? = null
      private var handshake: Handshake? = null
      private var protocol: Protocol? = null
      private lateinit var socket: BufferedSocket
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/CompactHashMap.java

        if (delegate != null) {
          metadata =
              Ints.constrainToRange(size(), CompactHashing.DEFAULT_SIZE, CompactHashing.MAX_SIZE);
          delegate.clear(); // invalidate any iterators left over!
          table = null;
          size = 0;
        } else {
          Arrays.fill(requireKeys(), 0, size, null);
          Arrays.fill(requireValues(), 0, size, null);
          CompactHashing.tableClear(requireTable());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java

            if (this == obj)
                return true;
            if (obj == null || getClass() != obj.getClass())
                return false;
            NetworkInterfaceInfo that = (NetworkInterfaceInfo) obj;
            return interfaceIndex == that.interfaceIndex && address != null ? address.equals(that.address) : that.address == null;
        }
    
        @Override
        public int hashCode() {
            int result = interfaceIndex;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 9.8K bytes
    - Viewed (0)
Back to top