Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for Younis (0.27 sec)

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

    /**
     * An immutable sorted multiset with one or more distinct elements.
     *
     * @author Louis Wasserman
     */
    @SuppressWarnings("serial") // uses writeReplace, not default serialization
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    final class RegularImmutableSortedMultiset<E> extends ImmutableSortedMultiset<E> {
      private static final long[] ZERO_CUMULATIVE_COUNTS = {0};
    
      static final ImmutableSortedMultiset<?> NATURAL_EMPTY_MULTISET =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

        /*
         * We keep an array of elements and counts.  Periodically -- when we need more room in the
         * array, or when we're building, or the like -- we sort, deduplicate, and combine the counts.
         * Negative counts indicate a setCount operation with ~counts[i].
         */
    
        private final Comparator<? super E> comparator;
    
        @VisibleForTesting E[] elements;
        private int[] counts;
    
        /*
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/EnumMultiset.java

        if (occurrences == 0) {
          return count(element);
        }
        int index = e.ordinal();
        int oldCount = counts[index];
        if (oldCount == 0) {
          return 0;
        } else if (oldCount <= occurrences) {
          counts[index] = 0;
          distinctElements--;
          size -= oldCount;
        } else {
          counts[index] = oldCount - occurrences;
          size -= occurrences;
        }
        return oldCount;
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableMultiset.java

        final Object[] elements;
        final int[] counts;
    
        // "extends Object" works around https://github.com/typetools/checker-framework/issues/3013
        SerializedForm(Multiset<? extends Object> multiset) {
          int distinct = multiset.entrySet().size();
          elements = new Object[distinct];
          counts = new int[distinct];
          int i = 0;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

        final Comparator<? super E> comparator;
        final E[] elements;
        final int[] counts;
    
        @SuppressWarnings("unchecked")
        SerializedForm(SortedMultiset<E> multiset) {
          this.comparator = multiset.comparator();
          int n = multiset.entrySet().size();
          elements = (E[]) new Object[n];
          counts = new int[n];
          int i = 0;
          for (Entry<E> entry : multiset.entrySet()) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/EnumMultiset.java

        if (occurrences == 0) {
          return count(element);
        }
        int index = e.ordinal();
        int oldCount = counts[index];
        if (oldCount == 0) {
          return 0;
        } else if (oldCount <= occurrences) {
          counts[index] = 0;
          distinctElements--;
          size -= oldCount;
        } else {
          counts[index] = oldCount - occurrences;
          size -= occurrences;
        }
        return oldCount;
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9K bytes
    - Viewed (0)
  7. common/scripts/setup_env.sh

    for f in $(declare -F -x | cut -d ' ' -f 3);
    do
      unset -f "${f}"
    done
    
    # Set conditional host mounts
    CONDITIONAL_HOST_MOUNTS="${CONDITIONAL_HOST_MOUNTS:-} "
    container_kubeconfig=''
    
    # docker conditional host mount (needed for make docker push)
    if [[ -d "${HOME}/.docker" ]]; then
      CONDITIONAL_HOST_MOUNTS+="--mount type=bind,source=${HOME}/.docker,destination=/config/.docker,readonly "
    fi
    
    Shell Script
    - Registered: Wed Apr 17 22:53:10 GMT 2024
    - Last Modified: Mon Apr 15 18:35:36 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/Types.java

        private final String name;
        private final ImmutableList<Type> bounds;
    
        TypeVariableImpl(D genericDeclaration, String name, Type[] bounds) {
          disallowPrimitiveType(bounds, "bound for type variable");
          this.genericDeclaration = checkNotNull(genericDeclaration);
          this.name = checkNotNull(name);
          this.bounds = ImmutableList.copyOf(bounds);
        }
    
        public Type[] getBounds() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  9. cni/pkg/constants/constants.go

    	HostCNIBinDir      = "/host/opt/cni/bin"
    	ServiceAccountPath = "/var/run/secrets/kubernetes.io/serviceaccount"
    	// Well-known subpath we will mount any needed host-mounts under,
    	// to preclude shadowing or breaking any pod-internal mounts
    	HostMountsPath = "/host"
    Go
    - Registered: Wed Apr 17 22:53:10 GMT 2024
    - Last Modified: Fri Apr 12 01:42:30 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Multisets.java

       * {@code Supplier}, whose elements are the result of applying {@code elementFunction} to the
       * inputs, with counts equal to the result of applying {@code countFunction} to the inputs.
       * Elements are added in encounter order.
       *
       * <p>If the mapped elements contain duplicates (according to {@link Object#equals}), the element
       * will be added more than once, with the count summed over all appearances of the element.
       *
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 41.6K bytes
    - Viewed (0)
Back to top