Search Options

Results per page
Sort
Preferred Languages
Advance

Results 771 - 780 of 2,250 for contains (0.05 sec)

  1. android/guava/src/com/google/common/graph/AbstractDirectedNetworkConnections.java

          }
    
          @Override
          public int size() {
            return IntMath.saturatedAdd(inEdgeMap.size(), outEdgeMap.size() - selfLoopCount);
          }
    
          @Override
          public boolean contains(@CheckForNull Object obj) {
            return inEdgeMap.containsKey(obj) || outEdgeMap.containsKey(obj);
          }
        };
      }
    
      @Override
      public Set<E> inEdges() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ForwardingListTest.java

          return standardAddAll(index, elements);
        }
    
        @Override
        public void clear() {
          standardClear();
        }
    
        @Override
        public boolean contains(Object object) {
          return standardContains(object);
        }
    
        @Override
        public boolean containsAll(Collection<?> collection) {
          return standardContainsAll(collection);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

      public void testRemoveUnsupported() {
        Multiset<String> multiset = new NoRemoveMultiset<>();
        multiset.add("a");
        assertThrows(UnsupportedOperationException.class, () -> multiset.remove("a"));
        assertTrue(multiset.contains("a"));
      }
    
      private static class NoRemoveMultiset<E extends @Nullable Object> extends AbstractMultiset<E>
          implements Serializable {
        final Map<E, Integer> backingMap = Maps.newHashMap();
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/ParametricNullness.java

     *       you can set {@code
     *       -XepOpt:NullAway:CustomNullableAnnotations=com.google.common.base.ParametricNullness,...,com.google.common.util.concurrent.ParametricNullness},
     *       where the {@code ...} contains the names of all the other {@code ParametricNullness}
     *       annotations in Guava. Or you might prefer to omit Guava from your {@code AnnotatedPackages}
     *       list.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Aug 10 21:27:51 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/html/ParametricNullness.java

     *       you can set {@code
     *       -XepOpt:NullAway:CustomNullableAnnotations=com.google.common.base.ParametricNullness,...,com.google.common.util.concurrent.ParametricNullness},
     *       where the {@code ...} contains the names of all the other {@code ParametricNullness}
     *       annotations in Guava. Or you might prefer to omit Guava from your {@code AnnotatedPackages}
     *       list.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Aug 10 21:27:51 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/graph/EndpointPairIterator.java

             */
            requireNonNull(visitedNodes);
            while (successorIterator.hasNext()) {
              N otherNode = successorIterator.next();
              if (!visitedNodes.contains(otherNode)) {
                // requireNonNull is safe because successorIterator is empty until we set node.
                return EndpointPair.unordered(requireNonNull(node), otherNode);
              }
            }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 09 17:31:04 UTC 2021
    - 5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/xml/ParametricNullness.java

     *       you can set {@code
     *       -XepOpt:NullAway:CustomNullableAnnotations=com.google.common.base.ParametricNullness,...,com.google.common.util.concurrent.ParametricNullness},
     *       where the {@code ...} contains the names of all the other {@code ParametricNullness}
     *       annotations in Guava. Or you might prefer to omit Guava from your {@code AnnotatedPackages}
     *       list.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Aug 10 21:27:51 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  8. utils/utils.go

    			vv := reflect.ValueOf(v)
    			if vv.IsValid() && !vv.IsZero() {
    				results[idx] = fmt.Sprint(reflect.Indirect(vv).Interface())
    			}
    		}
    	}
    
    	return strings.Join(results, "_")
    }
    
    func Contains(elems []string, elem string) bool {
    	for _, e := range elems {
    		if elem == e {
    			return true
    		}
    	}
    	return false
    }
    
    func AssertEqual(x, y interface{}) bool {
    	if reflect.DeepEqual(x, y) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. tensorflow/c/checkpoint_reader.cc

      }
    }
    
    bool CheckpointReader::HasTensor(const string& name) const {
      if (reader_ != nullptr) {
        return reader_->HasTensor(name, nullptr, nullptr);
      }
      return v2_reader_->Contains(name);
    }
    
    const TensorSliceReader::VarToShapeMap&
    CheckpointReader::GetVariableToShapeMap() const {
      CHECK(var_to_shape_map_);
      return *var_to_shape_map_;
    }
    
    const TensorSliceReader::VarToDataTypeMap&
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/LinkRenderer.java

                Element linkElement = document.createElement("apilink");
                linkElement.setAttribute("class", className);
                return linkElement;
            }
    
            if (primitiveTypes.contains(className)) {
                Element classNameElement = document.createElement("classname");
                classNameElement.appendChild(document.createTextNode(className));
                return classNameElement;
            }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.3K bytes
    - Viewed (0)
Back to top