Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for initial (0.21 sec)

  1. cni/pkg/nodeagent/server.go

    	log.Info("CNI ambient server kubeclient started")
    	pods := s.handlers.GetAmbientPods()
    	err := s.dataplane.ConstructInitialSnapshot(pods)
    	if err != nil {
    		log.Warnf("failed to construct initial snapshot: %v", err)
    	}
    
    	log.Info("CNI ambient server marking ready")
    	s.Ready()
    	s.dataplane.Start(s.ctx)
    	s.handlers.Start()
    }
    
    func (s *Server) Stop() {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/net.go

    		consErr = append(consErr, err)
    	}
    
    	podsByUID := slices.GroupUnique(ambientPods, (*corev1.Pod).GetUID)
    	if err := s.buildZtunnelSnapshot(podsByUID); err != nil {
    		log.Warnf("failed to construct initial ztunnel snapshot: %v", err)
    		consErr = append(consErr, err)
    	}
    
    	return errors.Join(consErr...)
    }
    
    func (s *NetServer) buildZtunnelSnapshot(ambientPodUIDs map[types.UID]*corev1.Pod) error {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  3. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

          super(true); // doesn't allocate hash table in supertype
          this.comparator = checkNotNull(comparator);
          this.elements = (E[]) new Object[ImmutableCollection.Builder.DEFAULT_INITIAL_CAPACITY];
          this.counts = new int[ImmutableCollection.Builder.DEFAULT_INITIAL_CAPACITY];
        }
    
        /** Check if we need to do deduplication and coalescing, and if so, do it. */
        private void maintenance() {
          if (length == elements.length) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 35.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableBiMap.java

        int estimatedSize =
            (entries instanceof Collection)
                ? ((Collection<?>) entries).size()
                : ImmutableCollection.Builder.DEFAULT_INITIAL_CAPACITY;
        return new Builder<K, V>(estimatedSize).putAll(entries).build();
      }
    
      ImmutableBiMap() {}
    
      /**
       * {@inheritDoc}
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSet.java

        /**
         * Creates a new builder. The returned builder is equivalent to the builder generated by {@link
         * ImmutableSet#builder}.
         */
        public Builder() {
          super(DEFAULT_INITIAL_CAPACITY);
        }
    
        Builder(int capacity) {
          super(capacity);
          this.hashTable = new @Nullable Object[chooseTableSize(capacity)];
        }
    
        /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableMap.java

        /**
         * Creates a new builder. The returned builder is equivalent to the builder generated by {@link
         * ImmutableMap#builder}.
         */
        public Builder() {
          this(ImmutableCollection.Builder.DEFAULT_INITIAL_CAPACITY);
        }
    
        @SuppressWarnings({"unchecked", "rawtypes"})
        Builder(int initialCapacity) {
          this.alternatingKeysAndValues = new @Nullable Object[2 * initialCapacity];
          this.size = 0;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Sets.java

        HashSet<E> set = newHashSet();
        Iterators.addAll(set, elements);
        return set;
      }
    
      /**
       * Returns a new hash set using the smallest initial table size that can hold {@code expectedSize}
       * elements without resizing. Note that this is not what {@link HashSet#HashSet(int)} does, but it
       * is what most users want and expect it to do.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  8. docs/en/docs/release-notes.md

    * ✨ Add additional OpenAPI metadata parameters to `FastAPI` class, shown on the automatic API docs UI. New docs: [Metadata and Docs URLs](https://fastapi.tiangolo.com/tutorial/metadata/). Initial PR [#1812](https://github.com/tiangolo/fastapi/pull/1812) by [@dkreeft](https://github.com/dkreeft)....
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Apr 28 00:28:00 GMT 2024
    - 385.5K bytes
    - Viewed (1)
  9. android/guava/src/com/google/common/collect/ImmutableList.java

        /**
         * Creates a new builder. The returned builder is equivalent to the builder generated by {@link
         * ImmutableList#builder}.
         */
        public Builder() {
          this(DEFAULT_INITIAL_CAPACITY);
        }
    
        Builder(int capacity) {
          super(capacity);
        }
    
        /**
         * Adds {@code element} to the {@code ImmutableList}.
         *
         * @param element the element to add
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Multisets.java

       */
      static int inferDistinctElements(Iterable<?> elements) {
        if (elements instanceof Multiset) {
          return ((Multiset<?>) elements).elementSet().size();
        }
        return 11; // initial capacity will be rounded up to 16
      }
    
      /**
       * Returns an unmodifiable view of the union of two multisets. In the returned multiset, the count
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
Back to top