Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,029 for Size (0.02 sec)

  1. guava-tests/benchmark/com/google/common/collect/MultisetIteratorBenchmark.java

      @Param({"0", "1", "16", "256", "4096", "65536"})
      int size;
    
      LinkedHashMultiset<Object> linkedHashMultiset;
      HashMultiset<Object> hashMultiset;
    
      // TreeMultiset requires a Comparable element.
      TreeMultiset<Integer> treeMultiset;
    
      @BeforeExperiment
      void setUp() {
        hashMultiset = HashMultiset.create(size);
        linkedHashMultiset = LinkedHashMultiset.create(size);
        treeMultiset = TreeMultiset.create();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/MemoryUtil.java

            return byteCountToDisplaySize(BigInteger.valueOf(size));
        }
    
        private static String byteCountToDisplaySize(final BigInteger size) {
            Objects.requireNonNull(size, "size");
            final String displaySize;
    
            if (size.divide(ONE_EB_BI).compareTo(BigInteger.ZERO) > 0) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/Hexdump.java

            char[] c = new char[size];
            toHexChars(val, c, 0, size);
            return new String(c);
        }
    
    
        /**
         * 
         * @param src
         * @param srcIndex
         * @param size
         * @return hex string
         */
        public static String toHexString ( byte[] src, int srcIndex, int size ) {
            char[] c = new char[2 * size];
            for ( int i = 0, j = 0; i < size; i++ ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/collect/IteratorBenchmark.java

      @Param({"0", "1", "16", "256", "4096", "65536"})
      int size;
    
      // use concrete classes to remove any possible polymorphic overhead?
      Object[] array;
      ArrayList<Object> arrayList;
      LinkedList<Object> linkedList;
    
      @BeforeExperiment
      void setUp() {
        array = new Object[size];
        arrayList = Lists.newArrayListWithCapacity(size);
        linkedList = Lists.newLinkedList();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.1K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_extra_models/test_tutorial003.py

                    "PlaneItem": {
                        "title": "PlaneItem",
                        "required": IsOneOf(
                            ["description", "type", "size"],
                            # TODO: remove when deprecating Pydantic v1
                            ["description", "size"],
                        ),
                        "type": "object",
                        "properties": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 04 20:47:07 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/impl/CustomUrlFilterImplTest.java

        public void test_include_processUrl() {
            assertEquals(0, includeFilter.cachedIncludeSet.size());
            assertEquals(0, includeFilter.cachedExcludeSet.size());
    
            includeFilter.processUrl("http://example.com/");
    
            assertEquals(1, includeFilter.cachedIncludeSet.size());
            assertEquals(0, includeFilter.cachedExcludeSet.size());
            assertEquals("http://example.com/.*", includeFilter.cachedIncludeSet.toArray()[0]);
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/RegularImmutableBiMap.java

      RegularImmutableBiMap(@Nullable Object[] alternatingKeysAndValues, int size) {
        this.alternatingKeysAndValues = alternatingKeysAndValues;
        this.size = size;
        this.keyOffset = 0;
        int tableSize = (size >= 2) ? ImmutableSet.chooseTableSize(size) : 0;
        this.keyHashTable =
            RegularImmutableMap.createHashTableOrThrow(alternatingKeysAndValues, size, tableSize, 0);
        Object valueHashTable =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

        new NullPointerTester().testAllPublicInstanceMethods(new AtomicDoubleArray(1));
      }
    
      /** constructor creates array of given size with all elements zero */
      public void testConstructor() {
        AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int i = 0; i < SIZE; i++) {
          assertBitEquals(0.0, aa.get(i));
        }
      }
    
      /** constructor with null array throws NPE */
      public void testConstructor2NPE() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/crawlinginfo/EditForm.java

    import jakarta.validation.constraints.Size;
    
    /**
     * @author shinsuke
     * @author Shunji Makino
     */
    public class EditForm {
    
        @ValidateTypeFailure
        public int crudMode;
    
        @Required
        @Size(max = 1000)
        public String id;
    
        @Required
        @Size(max = 20)
        public String sessionId;
    
        @Size(max = 20)
        public String name;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. cmd/data-usage-cache.go

    		}
    		root.merge(e)
    	}
    	root.Children = nil
    	return root
    }
    
    // add a size to the histogram.
    func (h *sizeHistogram) add(size int64) {
    	// Fetch the histogram interval corresponding
    	// to the passed object size.
    	for i, interval := range ObjectsHistogramIntervals[:] {
    		if size >= interval.start && size <= interval.end {
    			h[i]++
    			break
    		}
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
Back to top