Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for setDelegates (0.24 sec)

  1. android/guava/src/com/google/common/collect/AbstractBiMap.java

      @RetainedWith
      transient AbstractBiMap<V, K> inverse;
    
      /** Package-private constructor for creating a map-backed bimap. */
      AbstractBiMap(Map<K, V> forward, Map<V, K> backward) {
        setDelegates(forward, backward);
      }
    
      /** Private constructor for inverse bimap. */
      private AbstractBiMap(Map<K, V> backward, AbstractBiMap<V, K> forward) {
        delegate = backward;
        inverse = forward;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/EnumHashBiMap.java

         * the number of entries in the map, as that makes it easy for hostile inputs to trigger lots of
         * allocation—not that any program should be deserializing hostile inputs to begin with!)
         */
        setDelegates(new EnumMap<K, V>(keyTypeOrObjectUnderJ2cl), new HashMap<V, K>());
        Serialization.populateMap(this, stream);
      }
    
      @GwtIncompatible // only needed in emulated source.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/AbstractBiMap.java

      @RetainedWith
      transient AbstractBiMap<V, K> inverse;
    
      /** Package-private constructor for creating a map-backed bimap. */
      AbstractBiMap(Map<K, V> forward, Map<V, K> backward) {
        setDelegates(forward, backward);
      }
    
      /** Private constructor for inverse bimap. */
      private AbstractBiMap(Map<K, V> backward, AbstractBiMap<V, K> forward) {
        delegate = backward;
        inverse = forward;
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 14.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/EnumBiMap.java

        stream.defaultReadObject();
        keyTypeOrObjectUnderJ2cl = (Class<K>) requireNonNull(stream.readObject());
        valueTypeOrObjectUnderJ2cl = (Class<V>) requireNonNull(stream.readObject());
        setDelegates(
            new EnumMap<K, V>(keyTypeOrObjectUnderJ2cl), new EnumMap<V, K>(valueTypeOrObjectUnderJ2cl));
        Serialization.populateMap(this, stream);
      }
    
      @GwtIncompatible // not needed in emulated source.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/EnumHashBiMap.java

         * the number of entries in the map, as that makes it easy for hostile inputs to trigger lots of
         * allocation—not that any program should be deserializing hostile inputs to begin with!)
         */
        setDelegates(new EnumMap<K, V>(keyTypeOrObjectUnderJ2cl), new HashMap<V, K>());
        Serialization.populateMap(this, stream);
      }
    
      @GwtIncompatible // only needed in emulated source.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/EnumBiMap.java

        stream.defaultReadObject();
        keyTypeOrObjectUnderJ2cl = (Class<K>) requireNonNull(stream.readObject());
        valueTypeOrObjectUnderJ2cl = (Class<V>) requireNonNull(stream.readObject());
        setDelegates(
            new EnumMap<K, V>(keyTypeOrObjectUnderJ2cl), new EnumMap<V, K>(valueTypeOrObjectUnderJ2cl));
        Serialization.populateMap(this, stream);
      }
    
      @GwtIncompatible // not needed in emulated source.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/artifact/metadata/SwitchableMetadataSource.java

        private ArtifactMetadataSource delegate;
    
        @Inject
        public SwitchableMetadataSource(@Named("test") ArtifactMetadataSource delegate) {
            this.delegate = delegate;
        }
    
        public void setDelegate(ArtifactMetadataSource delegate) {
            this.delegate = delegate;
        }
    
        @Override
        public ResolutionGroup retrieve(MetadataResolutionRequest request) throws ArtifactMetadataRetrievalException {
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 3K bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

        @Inject
        SwitchableMetadataSource switchableMetadataSource;
    
        @BeforeEach
        void setup() throws CycleDetectedInComponentGraphException {
            switchableMetadataSource.setDelegate(defaultMetadataSource);
        }
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

       * connections.
       */
      private fun detachTimeout(timeout: ForwardingTimeout) {
        val oldDelegate = timeout.delegate
        timeout.setDelegate(Timeout.NONE)
        oldDelegate.clearDeadline()
        oldDelegate.clearTimeout()
      }
    
      /**
       * The response body from a CONNECT should be empty, but if it is not then we should consume it
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  10. RELEASE.md

            and
            [Build TensorFlow Lite for ARM boards](https://www.tensorflow.org/lite/guide/build_arm)
            for the migration.
        *   Deprecate `tflite::OpResolver::GetDelegates`. The list returned by
            TfLite's `BuiltinOpResolver::GetDelegates` is now always empty. Instead,
            recommend using new method `tflite::OpResolver::GetDelegateCreators` in
            order to achieve lazy initialization on TfLite delegate instances.
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Apr 03 20:27:38 GMT 2024
    - 727.4K bytes
    - Viewed (8)
Back to top