Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 2,250 for contains (0.09 sec)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelVersionParser.java

                }
            }
    
            @Override
            public boolean contains(Version version) {
                if (version instanceof DefaultVersion) {
                    return delegate.containsVersion(((DefaultVersion) version).delegate);
                } else {
                    return contains(new DefaultVersion(versionScheme, version.asString()));
                }
            }
    
            @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/SynchronizedTableTest.java

          assertTrue(Thread.holdsLock(mutex));
          return delegate.columnMap();
        }
    
        @Override
        public boolean contains(Object rowKey, Object columnKey) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.contains(rowKey, columnKey);
        }
    
        @Override
        public boolean containsColumn(Object columnKey) {
          assertTrue(Thread.holdsLock(mutex));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/ntlmssp/av/AvPairs.java

            }
            return pairs;
        }
    
    
        /**
         * 
         * @param pairs
         * @param type
         * @return whether the list contains a pair of that type
         */
        public static boolean contains ( List<AvPair> pairs, int type ) {
            if ( pairs == null ) {
                return false;
            }
            for ( AvPair p : pairs ) {
                if ( p.getType() == type ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.8K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/ReactorManager.java

            return failureBehavior;
        }
    
        public void blackList(MavenProject project) {
            blackList(getProjectKey(project));
        }
    
        private void blackList(String id) {
            if (!blackList.contains(id)) {
                blackList.add(id);
    
                List<String> dependents = sorter.getDependents(id);
    
                if (dependents != null && !dependents.isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. internal/pubsub/mask.go

    	MaskAll Mask = math.MaxUint64
    )
    
    // MaskFromMaskable extracts mask from an interface.
    func MaskFromMaskable(m Maskable) Mask {
    	return Mask(m.Mask())
    }
    
    // Contains returns whether *all* flags in other is present in t.
    func (t Mask) Contains(other Mask) bool {
    	return t&other == other
    }
    
    // Overlaps returns whether *any* flags in t overlaps with other.
    func (t Mask) Overlaps(other Mask) bool {
    	return t&other != 0
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 05 21:45:49 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  6. internal/s3select/jstream/errors.go

    	ErrMaxDepth      = DecoderError{msg: "maximum recursion depth exceeded"}
    )
    
    type errPos [2]int // line number, byte offset where error occurred
    
    // DecoderError contains a detailed decoding error.
    type DecoderError struct {
    	msg       string // description of error
    	context   string // additional error context
    	pos       errPos
    	atChar    byte
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. cmd/storage-datatypes.go

    		DataBlocks:   dataBlocks,
    		ParityBlocks: parityBlocks,
    		BlockSize:    blockSizeV2,
    		Distribution: hashOrder(object, dataBlocks+parityBlocks),
    	}
    	return fi
    }
    
    // ReadMultipleReq contains information of multiple files to read from disk.
    type ReadMultipleReq struct {
    	Bucket       string   `msg:"bk"`           // Bucket. Can be empty if multiple buckets.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

                .add("in", "the", "quick", "jumped", "over", "a")
                .build();
        assertTrue(set.contains("quick"));
        assertTrue(set.contains("google"));
        assertFalse(set.contains(""));
        assertFalse(set.contains("california"));
        assertFalse(set.contains(null));
      }
    
      @SuppressWarnings("CollectionIncompatibleType") // testing incompatible types
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/AbstractBiMap.java

        }
    
        @Override
        public boolean remove(@CheckForNull Object object) {
          /*
           * `o instanceof Entry` is guaranteed by `contains`, but we check it here to satisfy our
           * nullness checker.
           */
          if (!esDelegate.contains(object) || !(object instanceof Entry)) {
            return false;
          }
    
          Entry<?, ?> entry = (Entry<?, ?>) object;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/TreeBasedTableTest.java

        assertTrue(entrySet.contains(immutableEntry(10, 'X')));
        assertTrue(entrySet.contains(immutableEntry(20, 'X')));
        assertFalse(entrySet.contains(immutableEntry(15, 'X')));
        entrySet = row.tailMap(15).entrySet();
        assertFalse(entrySet.contains(immutableEntry(10, 'X')));
        assertTrue(entrySet.contains(immutableEntry(20, 'X')));
        assertFalse(entrySet.contains(immutableEntry(15, 'X')));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top