Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for Wrap (0.17 sec)

  1. android/guava/src/com/google/common/base/Equivalence.java

       * that tests equivalence using their lengths:
       *
       * <pre>{@code
       * equiv.wrap("a").equals(equiv.wrap("b")) // true
       * equiv.wrap("a").equals(equiv.wrap("hello")) // false
       * }</pre>
       *
       * <p>Note in particular that an equivalence wrapper is never equal to the object it wraps.
       *
       * <pre>{@code
       * equiv.wrap(obj).equals(obj) // always false
       * }</pre>
       *
       * @since 10.0
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/wsgi.md

    For that, you can use the `WSGIMiddleware` and use it to wrap your WSGI application, for example, Flask, Django, etc.
    
    ## Using `WSGIMiddleware`
    
    You need to import `WSGIMiddleware`.
    
    Then wrap the WSGI (e.g. Flask) app with the middleware.
    
    And then mount that under a path.
    
    ```Python hl_lines="2-3  23"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

                this.lifecycles = lifecycles;
            }
    
            @Override
            public Collection<Lifecycle> provides() {
                return lifecycles.values().stream().map(this::wrap).collect(Collectors.toList());
            }
    
            private Lifecycle wrap(org.apache.maven.lifecycle.Lifecycle lifecycle) {
                return new Lifecycle() {
                    @Override
                    public String id() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

       * the request completes normally or when it fails due to an exception, in which case [e] should
       * be non-null.
       *
       * If the exchange was canceled or timed out, this will wrap [e] in an exception that provides
       * that additional context. Otherwise [e] is returned as-is.
       */
      internal fun <E : IOException?> messageDone(
        exchange: Exchange,
        requestDone: Boolean,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 17.9K bytes
    - Viewed (2)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java

         * this class delegates all of its calls.
         */
        public static class PrefixedObjectValueSource extends AbstractDelegatingValueSource
                implements QueryEnabledValueSource {
    
            /**
             * Wrap the specified root object, allowing the specified expression prefix.
             * @param prefix the prefix.
             * @param root the root of the graph.
             */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java

                } else {
                    inSection.add(next);
                }
                next = next.nextElementSibling();
            }
        }
    
        private void wrapContentInContainer(Document document) {
            // Wrap the page in a text container to get the margins
            Elements bodyContent = document.body().children().remove();
            document.body().prepend("<div class='container'/>");
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Apr 25 04:49:56 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_experimental.cc

    }
    
    void TFE_ContextOptionsSetTfrt(TFE_ContextOptions* options, bool use_tfrt) {
      options->use_tfrt = use_tfrt;
    }
    
    TFE_CancellationManager* TFE_NewCancellationManager() {
      return tensorflow::wrap(new tensorflow::CancellationManager);
    }
    
    void TFE_CancellationManagerStartCancel(
        TFE_CancellationManager* cancellation_manager) {
      tensorflow::unwrap(cancellation_manager)->StartCancel();
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  8. cmd/xl-storage-disk-id-check.go

    func diskHealthReader(ctx context.Context, r io.Reader) io.Reader {
    	// Check if context has a disk health check.
    	tracker, ok := ctx.Value(healthDiskCtxKey{}).(*healthDiskCtxValue)
    	if !ok {
    		// No need to wrap
    		return r
    	}
    	return &diskHealthWrapper{r: r, tracker: tracker}
    }
    
    // diskHealthWriter provides a wrapper that will update disk health on
    // ctx, on every successful write.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Multimaps.java

       * {@code map} and the instances generated by {@code factory} are. Concurrent read operations will
       * work correctly. To allow concurrent update operations, wrap the multimap with a call to {@link
       * #synchronizedMultimap}.
       *
       * <p>Call this method only when the simpler methods {@link ArrayListMultimap#create()}, {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  10. cmd/metrics-v3-types.go

    	// and the Metrics API handler returns a 500 HTTP status code. This should
    	// normally not happen, and usually indicates a bug.
    	logger.CriticalIf(GlobalContext, errors.Wrap(err, "failed to get metrics"))
    
    	promMetrics := metricValues.ToPromMetrics(mg.CollectorPath.metricPrefix(),
    		mg.ExtraLabels)
    	for _, metric := range promMetrics {
    		ch <- metric
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:05:22 GMT 2024
    - 14.7K bytes
    - Viewed (0)
Back to top