Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 858 for element1 (0.06 sec)

  1. guava-tests/test/com/google/common/collect/EnumMultisetTest.java

        return new TestEnumMultisetGenerator() {
          @Override
          protected Multiset<AnEnum> create(AnEnum[] elements) {
            return (elements.length == 0)
                ? EnumMultiset.create(AnEnum.class)
                : EnumMultiset.create(asList(elements));
          }
        };
      }
    
      private enum Color {
        BLUE,
        RED,
        YELLOW,
        GREEN,
        WHITE
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/TestEnumSetGenerator.java

        return new Enums();
      }
    
      @Override
      public Set<AnEnum> create(Object... elements) {
        AnEnum[] array = new AnEnum[elements.length];
        int i = 0;
        for (Object e : elements) {
          array[i++] = (AnEnum) e;
        }
        return create(array);
      }
    
      protected abstract Set<AnEnum> create(AnEnum[] elements);
    
      @Override
      public AnEnum[] createArray(int length) {
        return new AnEnum[length];
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/SetMultimapTestSuiteBuilder.java

            OneSizeTestContainerGenerator<SetMultimap<K, V>, Entry<K, V>> multimapGenerator) {
          super(multimapGenerator);
        }
    
        @Override
        public Set<Entry<K, V>> create(Object... elements) {
          return (Set<Entry<K, V>>) super.create(elements);
        }
      }
    
      static class MultimapGetGenerator<K, V>
          extends MultimapTestSuiteBuilder.MultimapGetGenerator<K, V, SetMultimap<K, V>>
          implements TestSetGenerator<V> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableMultimap.java

          // at least one element.
          this.expectedValuesPerKey = max(expectedValuesPerKey, 1);
    
          return this;
        }
    
        /**
         * By default, if we are handed a value collection bigger than expectedValuesPerKey, presize to
         * accept that many elements.
         *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  5. cmd/metacache-bucket_test.go

    	bm := newBucketMetacache("", false)
    	const elements = 50000
    	const paths = 100
    	if elements%paths != 0 {
    		b.Fatal("elements must be divisible by the number of paths")
    	}
    	var pathNames [paths]string
    	for i := range pathNames[:] {
    		pathNames[i] = fmt.Sprintf("prefix/%d", i)
    	}
    	for i := 0; i < elements; i++ {
    		bm.findCache(listPathOptions{
    			ID:           mustGetUUID(),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 25 23:29:45 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetFeature.java

     *
     * @author Louis Wasserman
     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    public enum MultisetFeature implements Feature<Multiset> {
      /**
       * Indicates that elements from {@code Multiset.entrySet()} update to reflect changes in the
       * backing multiset.
       */
      ENTRIES_ARE_VIEWS;
    
      @Override
      public Set<Feature<? super Multiset>> getImpliedFeatures() {
        return emptySet();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. src/main/webapp/js/admin/plugins/daterangepicker/daterangepicker.js

        }
    }(typeof window !== 'undefined' ? window : this, function(moment, $) {
        var DateRangePicker = function(element, options, cb) {
    
            //default settings for options
            this.parentEl = 'body';
            this.element = $(element);
            this.startDate = moment().startOf('day');
            this.endDate = moment().endOf('day');
            this.minDate = false;
            this.maxDate = false;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 64.8K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/TestEnumMultisetGenerator.java

        return new Enums();
      }
    
      @Override
      public Multiset<AnEnum> create(Object... elements) {
        AnEnum[] array = new AnEnum[elements.length];
        int i = 0;
        for (Object e : elements) {
          array[i++] = (AnEnum) e;
        }
        return create(array);
      }
    
      protected abstract Multiset<AnEnum> create(AnEnum[] elements);
    
      @Override
      public AnEnum[] createArray(int length) {
        return new AnEnum[length];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ForwardingQueue.java

        }
      }
    
      /**
       * A sensible definition of {@link #peek} in terms of {@link #element}. If you override {@link
       * #element}, you may wish to override {@link #peek} to forward to this implementation.
       *
       * @since 7.0
       */
      @CheckForNull
      protected E standardPeek() {
        try {
          return element();
        } catch (NoSuchElementException caught) {
          return null;
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 4.1K bytes
    - Viewed (0)
  10. cmd/object-api-utils.go

    		case path[r] == '/':
    			// multiple / elements
    			return true
    		case path[r] == '.' && (r+1 == n || path[r+1] == '/'):
    			// . element - assume it has to be cleaned.
    			return true
    		case path[r] == '.' && path[r+1] == '.' && (r+2 == n || path[r+2] == '/'):
    			// .. element: remove to last / - assume it has to be cleaned.
    			return true
    		default:
    			// real path element.
    			// add slash if needed
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
Back to top