Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 1,614 for contains (0.05 seconds)

  1. impl/maven-core/src/test/java/org/apache/maven/repository/TestRepositoryConnector.java

            this.repository = repository;
            String repositoryUrl = repository.getUrl();
            if (repositoryUrl.contains("${")) {
                // the repository url contains unresolved properties and getting the basedir is not possible
                // in JDK 20+ 'new URL(string)' will fail if the string contains a curly brace
                this.basedir = null;
            } else {
                try {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 11 17:20:46 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java

        public boolean isEmpty() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.isEmpty();
        }
    
        @Override
        public boolean contains(Object object) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.contains(object);
        }
    
        @Override
        public boolean add(E element) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.add(element);
        }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jul 16 17:42:14 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

          for (int i = WARMUP_MIN; i < WARMUP_MAX; i++) {
            Object key = warmed.get(i - WARMUP_MIN).getKey();
            assertThat(keys.contains(key)).isTrue();
            assertThat(keys.remove(key)).isTrue();
            assertThat(keys.remove(key)).isFalse();
            assertThat(keys.contains(key)).isFalse();
          }
          checkEmpty(keys);
          checkEmpty(cache);
        }
      }
    
      public void testValues_populated() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  4. cmd/metacache.go

    	// Enabling this will make cache sharing more likely and cause less IO,
    	// but may cause additional latency to some calls.
    	metacacheSharePrefix = false
    )
    
    //go:generate msgp -file $GOFILE -unexported
    
    // metacache contains a tracked cache entry.
    type metacache struct {
    	// do not re-arrange the struct this struct has been ordered to use less
    	// space - if you do so please run https://github.com/orijtech/structslop
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Jul 12 16:23:16 GMT 2024
    - 6K bytes
    - Click Count (0)
  5. src/bytes/example_test.go

    	if found {
    		// Found it!
    	}
    }
    
    func ExampleContains() {
    	fmt.Println(bytes.Contains([]byte("seafood"), []byte("foo")))
    	fmt.Println(bytes.Contains([]byte("seafood"), []byte("bar")))
    	fmt.Println(bytes.Contains([]byte("seafood"), []byte("")))
    	fmt.Println(bytes.Contains([]byte(""), []byte("")))
    	// Output:
    	// true
    	// false
    	// true
    	// true
    }
    
    func ExampleContainsAny() {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon May 12 16:07:54 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                                    "should use a variable instead of a hard-coded path " + sysPath,
                                    dependency);
                        } else if (sysPath.contains("${basedir}") || sysPath.contains("${project.basedir}")) {
                            addViolation(
                                    problems,
                                    Severity.WARNING,
                                    Version.V20,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 03 15:06:05 GMT 2025
    - 66.8K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/ImmutableEnumSet.java

        delegate.forEach(action);
      }
    
      @Override
      public int size() {
        return delegate.size();
      }
    
      @Override
      public boolean contains(@Nullable Object object) {
        return delegate.contains(object);
      }
    
      @Override
      public boolean containsAll(Collection<?> collection) {
        if (collection instanceof ImmutableEnumSet<?>) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  8. internal/grid/msg.go

    	OpDisconnectServerMux
    
    	// OpMuxClientMsg contains a message to a client Mux
    	OpMuxClientMsg
    
    	// OpMuxServerMsg contains a message to a server Mux
    	OpMuxServerMsg
    
    	// OpUnblockSrvMux contains a message that a server mux is unblocked with one.
    	// Only Stateful streams has flow control.
    	OpUnblockSrvMux
    
    	// OpUnblockClMux contains a message that a client mux is unblocked with one.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Jul 25 21:07:21 GMT 2024
    - 7.6K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/primitives/CharsTest.java

      }
    
      public void testContains() {
        assertThat(Chars.contains(EMPTY, (char) 1)).isFalse();
        assertThat(Chars.contains(ARRAY1, (char) 2)).isFalse();
        assertThat(Chars.contains(ARRAY234, (char) 1)).isFalse();
        assertThat(Chars.contains(new char[] {(char) -1}, (char) -1)).isTrue();
        assertThat(Chars.contains(ARRAY234, (char) 2)).isTrue();
        assertThat(Chars.contains(ARRAY234, (char) 3)).isTrue();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 25.9K bytes
    - Click Count (0)
  10. 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
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Sep 23 19:35:41 GMT 2024
    - 1.3K bytes
    - Click Count (0)
Back to Top