Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1091 - 1100 of 2,048 for size0 (0.03 sec)

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

        Multimap<String, Integer> multimap = Multimaps.forMap(map);
        assertEquals(3, multimap.size());
        assertEquals(emptySet(), multimap.removeAll("dog"));
        assertEquals(3, multimap.size());
        assertTrue(multimap.containsKey("bar"));
        assertEquals(singleton(2), multimap.removeAll("bar"));
        assertEquals(2, multimap.size());
        assertFalse(multimap.containsKey("bar"));
      }
    
      public void testForMapAsMap() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/math/PairedStats.java

          return 1.0;
        }
        if (value <= -1.0) {
          return -1.0;
        }
        return value;
      }
    
      // Serialization helpers
    
      /** The size of byte array representation in bytes. */
      private static final int BYTES = Stats.BYTES * 2 + Double.SIZE / Byte.SIZE;
    
      /**
       * Gets a byte array representation of this instance.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/LayeredMavenOptions.java

            List<MavenOptions> o = options.stream().filter(Objects::nonNull).toList();
            if (o.isEmpty()) {
                throw new IllegalArgumentException("No options specified (or all were null)");
            } else if (o.size() == 1) {
                return o.get(0);
            } else {
                return new LayeredMavenOptions<>(o);
            }
        }
    
        protected LayeredMavenOptions(List<O> options) {
            super(options);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java

                } else {
                    pair.getFirst().put(toLowerCase(entity.getTerm()), entity.getContent());
                }
            });
            this.relatedContentMap = relatedContentMap;
            return relatedContentMap.size();
        }
    
        protected String getHostKey(final RelatedContent entity) {
            final String key = entity.getVirtualHost();
            return StringUtil.isBlank(key) ? StringUtil.EMPTY : key;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/entity/SearchRequestParams.java

            final FacetInfo facetInfo = new FacetInfo();
            facetInfo.field = fields;
            facetInfo.query = queries;
            final String sizeStr = request.getParameter("facet.size");
            if (StringUtil.isNotBlank(sizeStr)) {
                facetInfo.size = Integer.parseInt(sizeStr);
            }
            final String minDocCountStr = request.getParameter("facet.minDocCount");
            if (StringUtil.isNotBlank(minDocCountStr)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/AbstractNonStreamingHashFunctionTest.java

        Random random = new Random(0);
        for (int i = 0; i < 200; i++) {
          RandomHasherAction.pickAtRandom(random).performAction(random, hashers);
        }
        HashCode[] codes = new HashCode[hashers.size()];
        for (int i = 0; i < hashers.size(); i++) {
          codes[i] = hashers.get(i).hash();
        }
        for (int i = 1; i < codes.length; i++) {
          assertEquals(codes[i - 1], codes[i]);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/graph/NetworkMutationTest.java

          assertThat(network.nodes()).isEmpty();
          assertThat(network.edges()).isEmpty();
          AbstractNetworkTest.validateNetwork(network);
    
          while (network.nodes().size() < NUM_NODES) {
            network.addNode(gen.nextInt(NODE_POOL_SIZE));
          }
          ArrayList<Integer> nodeList = new ArrayList<>(network.nodes());
          for (int i = 0; i < NUM_EDGES; ++i) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 10 19:42:18 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_macros.h

    #endif  // SWIG
    
    // TF_Bool is the C API typedef for unsigned char, while TF_BOOL is
    // the datatype for boolean tensors.
    #ifndef TF_Bool
    #define TF_Bool unsigned char
    #endif  // TF_Bool
    
    // Macro used to calculate struct size for maintaining ABI stability across
    // different struct implementations.
    #ifndef TF_OFFSET_OF_END
    #define TF_OFFSET_OF_END(TYPE, MEMBER) \
      (offsetof(TYPE, MEMBER) + sizeof(((TYPE *)0)->MEMBER))
    #endif  // TF_OFFSET_OF_END
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat May 13 04:44:45 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ForwardingMultisetTest.java

        public Iterator<T> iterator() {
          return standardIterator();
        }
    
        @Override
        public boolean isEmpty() {
          return standardIsEmpty();
        }
    
        @Override
        public int size() {
          return standardSize();
        }
      }
    
      public static Test suite() {
        TestSuite suite = new TestSuite();
    
        suite.addTestSuite(ForwardingMultisetTest.class);
        suite.addTest(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

            }
    
            @Override
            public boolean isNull() {
                return (size() == 0);
            }
    
            void normalize() {
                for (int i = size() - 1; i >= 0; i--) {
                    Item lastItem = get(i);
    
                    if (lastItem.isNull()) {
                        if (i == size() - 1 || get(i + 1).getType() == STRING_ITEM) {
                            remove(i);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 26K bytes
    - Viewed (0)
Back to top