Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 122 for gallery (0.18 sec)

  1. internal/http/close.go

    // convenient wrapper to drain any remaining data on response body.
    //
    // Subsequently this allows golang http RoundTripper
    // to reuse the same connection for future requests.
    func DrainBody(respBody io.ReadCloser) {
    	// Callers should close resp.Body when done reading from it.
    	// If resp.Body is not closed, the Client's underlying RoundTripper
    	// (typically Transport) may not be able to reuse a persistent TCP
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/internal/Finalizer.java

            // ignore
          }
        }
      }
    
      /**
       * Cleans up the given reference and any other references already in the queue. Catches and logs
       * all throwables.
       *
       * @return true if the caller should continue to wait for more references to be added to the
       *     queue, false if the associated FinalizableReferenceQueue is no longer referenced.
       */
      private boolean cleanUp(Reference<?> firstReference) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Aug 23 12:54:09 GMT 2023
    - 9.4K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/base/LazyStackTraceBenchmark.java

    import com.google.caliper.Param;
    import com.google.caliper.api.SkipThisScenarioException;
    import java.util.List;
    
    /**
     * Quick and dirty benchmark of {@link Throwables#lazyStackTrace(Throwable)}. We benchmark a "caller
     * finder" implementation that might be used in a logging framework.
     */
    public class LazyStackTraceBenchmark {
      @Param({"20", "200", "2000"})
      int stackDepth;
    
      @Param({"-1", "3", "15"})
      int breakAt;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.5K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/resolver/RepositorySystemSessionFactory.java

    public interface RepositorySystemSessionFactory {
        /**
         * Creates "ready to use" session builder instance. The factory does not set up one thing: the
         * {@link org.eclipse.aether.repository.WorkspaceReader}s, that is caller duty to figure out. Workspace readers
         * should be set up as very last thing before using resolver session, that is built by invoking
         * {@link SessionBuilder#build()} method.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Jan 19 11:00:28 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableEnumSet.java

        int result = hashCode;
        return (result == 0) ? hashCode = delegate.hashCode() : result;
      }
    
      @Override
      public String toString() {
        return delegate.toString();
      }
    
      // All callers of the constructor are restricted to <E extends Enum<E>>.
      @Override
      @J2ktIncompatible // serialization
      Object writeReplace() {
        return new EnumSerializedForm<E>(delegate);
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/NullnessCasts.java

       * code would be responsible for populating a "real" {@code T} (which might still be the value
       * {@code null}!) before returning it to callers. Depending on how the code is structured, a
       * nullness analysis might not understand that the field has been populated. To avoid that problem
       * without having to add {@code @SuppressWarnings}, the code can call this method.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 10 20:36:34 GMT 2022
    - 3.5K bytes
    - Viewed (0)
  7. samples/guide/src/main/java/okhttp3/recipes/PostStreamingWithPipe.java

        thread.start();
      }
    
      /**
       * This request body makes it possible for another thread to stream data to the uploading request.
       * This is potentially useful for posting live event streams like video capture. Callers should
       * write to {@code sink()} and close it to complete the post.
       */
      static final class PipeBody extends RequestBody {
        private final Pipe pipe = new Pipe(8192);
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Jul 06 03:18:15 GMT 2018
    - 3.1K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/admission/v1/generated.proto

      // e.g. `meta.k8s.io/v1.DeleteOptions` or `meta.k8s.io/v1.CreateOptions`. This may be
      // different than the options the caller provided. e.g. for a patch request the performed
      // Operation might be a CREATE, in which case the Options will a
      // `meta.k8s.io/v1.CreateOptions` even though the caller provided `meta.k8s.io/v1.PatchOptions`.
      // +optional
      optional k8s.io.apimachinery.pkg.runtime.RawExtension options = 12;
    }
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/NullnessCasts.java

       * code would be responsible for populating a "real" {@code T} (which might still be the value
       * {@code null}!) before returning it to callers. Depending on how the code is structured, a
       * nullness analysis might not understand that the field has been populated. To avoid that problem
       * without having to add {@code @SuppressWarnings}, the code can call this method.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 12 20:58:36 GMT 2021
    - 3.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableEnumMap.java

      @Override
      public void forEach(BiConsumer<? super K, ? super V> action) {
        delegate.forEach(action);
      }
    
      @Override
      boolean isPartialView() {
        return false;
      }
    
      // All callers of the constructor are restricted to <K extends Enum<K>>.
      @Override
      @J2ktIncompatible // serialization
      Object writeReplace() {
        return new EnumSerializedForm<>(delegate);
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 4.1K bytes
    - Viewed (0)
Back to top