Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 5,958 for retain (0.06 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt

       */
      val isOpen: Boolean
        get() {
          withLock {
            if (errorCode != null) {
              return false
            }
            if ((source.finished || source.closed) &&
              (sink.finished || sink.closed) &&
              hasResponseHeaders
            ) {
              return false
            }
            return true
          }
        }
    
      /** Returns true if this stream was created by this peer. */
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jul 07 18:57:05 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

        private fun uppercase(original: Source): Source {
          return object : ForwardingSource(original) {
            override fun read(
              sink: Buffer,
              byteCount: Long,
            ): Long {
              val mixedCase = Buffer()
              val count = original.read(mixedCase, byteCount)
              sink.writeUtf8(mixedCase.readUtf8().uppercase())
              return count
            }
          }
        }
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 16:11:23 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  3. guava/src/com/google/common/util/concurrent/Striped.java

       *
       * @param stripes the minimum number of stripes (locks) required
       * @return a new {@code Striped<ReadWriteLock>}
       */
      public static Striped<ReadWriteLock> lazyWeakReadWriteLock(int stripes) {
        return lazyWeakCustom(stripes, WeakSafeReadWriteLock::new);
      }
    
      /**
       * ReadWriteLock implementation whose read and write locks retain a reference back to this lock.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 16 22:01:32 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  4. gradle/wrapper/gradle-wrapper.jar

    a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that...
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Oct 30 01:56:29 GMT 2025
    - 44.6K bytes
    - Click Count (1)
  5. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

                        return mirror;
                    }
                }
    
                for (Mirror mirror : mirrors) {
                    if (matchPattern(repository, mirror.getMirrorOf()) && matchesLayout(repository, mirror)) {
                        return mirror;
                    }
                }
            }
    
            return null;
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 33.5K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/FluentIterable.java

        if (iterable instanceof List) {
          List<E> list = (List<E>) iterable;
          if (list.isEmpty()) {
            return Optional.absent();
          }
          return Optional.of(list.get(list.size() - 1));
        }
        Iterator<E> iterator = iterable.iterator();
        if (!iterator.hasNext()) {
          return Optional.absent();
        }
    
        /*
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 34.7K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/Sets.java

            return set2.containsAll(set1);
          }
    
          @Override
          public boolean contains(@Nullable Object element) {
            return set1.contains(element) && !set2.contains(element);
          }
    
          @Override
          int minSize() {
            return max(minSize(set1) - maxSize(set2), 0);
          }
    
          @Override
          int maxSize() {
            return maxSize(set1);
          }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 81.6K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

                  return@withLock true
                } else {
                  intervalPingsSent++
                  return@withLock false
                }
              }
            if (failDueToMissingPong) {
              failConnection(null)
              return@schedule -1L
            } else {
              writePing(false, INTERVAL_PING, 0)
              return@schedule pingIntervalNanos
            }
          }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 31.8K bytes
    - Click Count (0)
  9. cmd/api-errors.go

    			apiErr.Description = fmt.Sprintf("The authorization header is malformed; the region is wrong; expecting '%s'.", region)
    			return apiErr
    		}
    	}
    	return apiErr
    }
    
    func (e errorCodeMap) ToAPIErr(errCode APIErrorCode) APIError {
    	return e.ToAPIErrWithErr(errCode, nil)
    }
    
    // error code to APIError structure, these fields carry respective
    // descriptions for all the error responses.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 16 07:34:24 GMT 2025
    - 93K bytes
    - Click Count (3)
  10. android/guava/src/com/google/common/collect/Iterables.java

          if (c.isEmpty()) {
            return defaultValue;
          } else if (iterable instanceof List) {
            return getLastInNonemptyList((List<? extends T>) iterable);
          } else if (iterable instanceof SortedSet) {
            return ((SortedSet<? extends T>) iterable).last();
          }
        }
    
        return Iterators.getLast(iterable.iterator(), defaultValue);
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 16 18:35:28 GMT 2025
    - 43.8K bytes
    - Click Count (0)
Back to Top