Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 5,188 for Size (0.12 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

      public void testSubList_size() {
        List<E> list = getList();
        int size = getNumElements();
        assertEquals(size, list.subList(0, size).size());
        assertEquals(size - 1, list.subList(0, size - 1).size());
        assertEquals(size - 1, list.subList(1, size).size());
        assertEquals(0, list.subList(size, size).size());
        assertEquals(0, list.subList(0, 0).size());
      }
    
      @CollectionSize.Require(absent = {ZERO})
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. src/runtime/mksizeclasses.go

    			continue
    		}
    		classes = append(classes, class{size: size, npages: npages})
    	}
    
    	// Increase object sizes if we can fit the same number of larger objects
    	// into the same number of pages. For example, we choose size 8448 above
    	// with 6 objects in 7 pages. But we can well use object size 9472,
    	// which is also 6 objects in 7 pages but +1024 bytes (+12.12%).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:27 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. 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: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/autoscaling/v2beta2/generated.pb.go

    	size := m.Size()
    	dAtA = make([]byte, size)
    	n, err := m.MarshalToSizedBuffer(dAtA[:size])
    	if err != nil {
    		return nil, err
    	}
    	return dAtA[:n], nil
    }
    
    func (m *ContainerResourceMetricSource) MarshalTo(dAtA []byte) (int, error) {
    	size := m.Size()
    	return m.MarshalToSizedBuffer(dAtA[:size])
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 163K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/increase_dynamism_for_auto_jit_pass_test.cc

      Output size = ops::Const(root.WithOpName("size"), {-1});
      Output slice = ops::Slice(root.WithOpName("slice"), input, begin, size);
    
      // Add an additional dependency that should still exist in with the new size
      // variables.
      Output dependency = ops::Placeholder(root.WithOpName("dependency"), DT_BOOL);
      root.graph()->AddControlEdge(dependency.node(), size.node());
    
      std::unique_ptr<Graph> result;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/external/model/AbstractMutableModuleComponentResolveMetadataTest.groovy

            def metadata2 = immutable.asMutable()
            metadata2.variants.size() == 2
            metadata2.variants[0].name == "api"
            metadata2.variants[0].files.size() == 2
            metadata2.variants[1].name == "runtime"
            metadata2.variants[1].files.size() == 1
    
            def immutable2 = metadata2.asImmutable()
            immutable2.variants.size() == 2
            immutable2.variants[0].name == "api"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 00:21:07 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapSizeTester.java

        assertEquals(expectedSize, multimap.size());
    
        int size = 0;
        for (Entry<K, V> entry : multimap.entries()) {
          assertTrue(multimap.containsEntry(entry.getKey(), entry.getValue()));
          size++;
        }
        assertEquals(expectedSize, size);
    
        int size2 = 0;
        for (Entry<K, Collection<V>> entry2 : multimap.asMap().entrySet()) {
          size2 += entry2.getValue().size();
        }
        assertEquals(expectedSize, size2);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. src/runtime/mfixalloc.go

    	next *mlink
    }
    
    // Initialize f to allocate objects of the given size,
    // using the allocator to obtain chunks of memory.
    func (f *fixalloc) init(size uintptr, first func(arg, p unsafe.Pointer), arg unsafe.Pointer, stat *sysMemStat) {
    	if size > _FixAllocChunk {
    		throw("runtime: fixalloc size too large")
    	}
    	size = max(size, unsafe.Sizeof(mlink{}))
    
    	f.size = size
    	f.first = first
    	f.arg = arg
    	f.list = nil
    	f.chunk = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 24 20:28:25 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java

            assertEquals(0, roleSet.size());
    
            encrypted = false;
            value = "role1";
            roleSet = decodedRoleList(roleQueryHelperImpl, value, encrypted);
            assertEquals(0, roleSet.size());
    
            encrypted = false;
            value = "role1,role2";
            roleSet = decodedRoleList(roleQueryHelperImpl, value, encrypted);
            assertEquals(0, roleSet.size());
    
            encrypted = false;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.2K bytes
    - Viewed (0)
Back to top