Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 293 for wraps (0.01 sec)

  1. tests/test_ws_router.py

    
    def websocket_middleware(middleware_func):
        """
        Helper to create a Starlette pure websocket middleware
        """
    
        def middleware_constructor(app):
            @functools.wraps(app)
            async def wrapped_app(scope, receive, send):
                if scope["type"] != "websocket":
                    return await app(scope, receive, send)  # pragma: no cover
    
                async def call_next():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Jun 11 19:08:14 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/MapIteratorCache.java

    import java.util.AbstractSet;
    import java.util.Iterator;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import javax.annotation.CheckForNull;
    
    /**
     * A map-like data structure that wraps a backing map and caches values while iterating through
     * {@link #unmodifiableKeySet()}. By design, the cache is cleared when this structure is mutated. If
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java

        this.delegate = checkNotNull(delegate);
      }
    
      @Override
      protected Map<Class<? extends @NonNull B>, B> delegate() {
        return delegate;
      }
    
      /**
       * Wraps the {@code setValue} implementation of an {@code Entry} to enforce the class constraint.
       */
      private static <B extends @Nullable Object> Entry<Class<? extends @NonNull B>, B> checkedEntry(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/LittleEndianDataOutputStream.java

    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public final class LittleEndianDataOutputStream extends FilterOutputStream implements DataOutput {
    
      /**
       * Creates a {@code LittleEndianDataOutputStream} that wraps the given stream.
       *
       * @param out the stream to delegate to
       */
      public LittleEndianDataOutputStream(OutputStream out) {
        super(new DataOutputStream(Preconditions.checkNotNull(out)));
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 12:34:49 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. internal/s3select/jstream/decoder.go

    type ValueType int
    
    // Different types of JSON value
    const (
    	Unknown ValueType = iota
    	Null
    	String
    	Number
    	Boolean
    	Array
    	Object
    )
    
    // MetaValue wraps a decoded interface value with the document
    // position and depth at which the value was parsed
    type MetaValue struct {
    	Offset    int
    	Length    int
    	Depth     int
    	Value     interface{}
    	ValueType ValueType
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java

    import org.apache.maven.artifact.versioning.OverConstrainedVersionException;
    import org.apache.maven.artifact.versioning.VersionRange;
    import org.apache.maven.project.MavenProject;
    
    /**
     * Wraps an active project instance to be able to receive updates from its artifact without affecting the original
     * attributes of this artifact.
     *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/compare/sds/util.go

    }
    
    // NewSecretItemBuilder returns a new builder to create a secret item
    func NewSecretItemBuilder() SecretItemBuilder {
    	return &secretItemBuilder{}
    }
    
    // SecretItemBuilder wraps the process of setting fields for the SecretItem
    // and builds the Metadata fields from the cert contents behind the scenes
    type SecretItemBuilder interface {
    	Name(string) SecretItemBuilder
    	Data(string) SecretItemBuilder
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Oct 28 19:52:53 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/TypeResolver.java

        @CheckForNull
        private Type captureNullable(@CheckForNull Type type) {
          if (type == null) {
            return null;
          }
          return capture(type);
        }
      }
    
      /**
       * Wraps around {@code TypeVariable<?>} to ensure that any two type variables are equal as long as
       * they are declared by the same {@link java.lang.reflect.GenericDeclaration} and have the same
       * name, even if their bounds differ.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/LittleEndianDataInputStream.java

    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public final class LittleEndianDataInputStream extends FilterInputStream implements DataInput {
    
      /**
       * Creates a {@code LittleEndianDataInputStream} that wraps the given stream.
       *
       * @param in the stream to delegate to
       */
      public LittleEndianDataInputStream(InputStream in) {
        super(Preconditions.checkNotNull(in));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

      /**
       * Version of {@link IteratorTester} that compares an iterator over a given collection of elements
       * (used as the reference iterator) against a {@code PeekingIterator} that *wraps* such an
       * iterator (used as the target iterator).
       *
       * <p>This IteratorTester makes copies of the master so that it can later verify that {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top