Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 1,064 for cannot (0.04 seconds)

  1. guava/src/com/google/common/util/concurrent/AbstractService.java

          // while starting case.
          if (snapshot.state != STARTING) {
            IllegalStateException failure =
                new IllegalStateException(
                    "Cannot notifyStarted() when the service is " + snapshot.state);
            notifyFailed(failure);
            throw failure;
          }
    
          if (snapshot.shutdownWhenStartupFinishes) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 20.7K bytes
    - Click Count (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/DefaultConflictResolverFactory.java

            try {
                return (ConflictResolver) container.lookup(ConflictResolver.ROLE, type);
            } catch (ComponentLookupException exception) {
                throw new ConflictResolverNotFoundException("Cannot find conflict resolver of type: " + type);
            }
        }
    
        // Contextualizable methods -----------------------------------------------
    
        /*
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  3. compat/maven-builder-support/src/main/java/org/apache/maven/building/UrlSource.java

        /**
         * Creates a new source backed by the specified URL.
         *
         * @param url The file, must not be {@code null}.
         */
        public UrlSource(URL url) {
            this.url = Objects.requireNonNull(url, "url cannot be null");
            this.hashCode = Objects.hashCode(url);
        }
    
        @Override
        public InputStream getInputStream() throws IOException {
            return url.openStream();
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 15 18:51:29 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  4. build-logic-commons/code-quality-rules/src/main/java/gradlebuild/codenarc/rules/IntegrationTestFixtureVisitor.java

    import org.codenarc.util.AstUtil;
    
    public class IntegrationTestFixtureVisitor extends AbstractAstVisitor {
    
        /**
         * Determines if the class is an integration test. It's a bit weak, but we cannot
         * rely on the class node analysis since it doesn't give the right superclass because
         * resolution is not complete when this visitor is executed.
         */
        private boolean isIntegrationTest(ClassNode current) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.9K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractService.java

          // while starting case.
          if (snapshot.state != STARTING) {
            IllegalStateException failure =
                new IllegalStateException(
                    "Cannot notifyStarted() when the service is " + snapshot.state);
            notifyFailed(failure);
            throw failure;
          }
    
          if (snapshot.shutdownWhenStartupFinishes) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt

            .Builder()
            .protocols(listOf(Protocol.H2_PRIOR_KNOWLEDGE, Protocol.HTTP_1_1))
        }.also { expected ->
          assertThat(expected.message).isEqualTo(
            "protocols containing h2_prior_knowledge cannot use other protocols: " +
              "[h2_prior_knowledge, http/1.1]",
          )
        }
      }
    
      @Test fun testH2PriorKnowledgeOkHttpClientConstructionDuplicates() {
        assertFailsWith<IllegalArgumentException> {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 13.4K bytes
    - Click Count (1)
  7. internal/s3select/unused-errors.go

    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errParseCannotMixSqbAndWildcardInSelectList(err error) *s3Error {
    	return &s3Error{
    		code:       "ParseCannotMixSqbAndWildcardInSelectList",
    		message:    "Cannot mix [] and * in the same expression in a SELECT list in SQL expression.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    // ////////////////////////////////////////////////////////////////////////////////////
    //
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 17.5K bytes
    - Click Count (0)
  8. cmd/sts-handlers_test.go

    		})
    		if err != nil {
    			c.Fatalf("Case %d: unexpected error: %v", i+1, err)
    		}
    
    		// Validate that the client cannot access the bucket after revocation.
    		c.mustNotListObjects(ctx, minioClient, bucket)
    	}
    }
    
    // SetUpLDAP - expects to setup an LDAP test server using the test LDAP
    // container and canned data from https://github.com/minio/minio-ldap-testing
    func (s *TestSuiteIAM) SetUpLDAP(c *check, serverAddr string) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 103.4K bytes
    - Click Count (1)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

       * the internal list.
       */
      @JvmStatic
      fun fragmentBuffer(buffer: Buffer): Buffer {
        // Write each byte into a new buffer, then clone it so that the segments are shared.
        // Shared segments cannot be compacted so we'll get a long chain of short segments.
        val result = Buffer()
        while (!buffer.exhausted()) {
          val box = Buffer()
          box.write(buffer, 1)
          result.write(box.copy(), 1)
        }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/base/Absent.java

      }
    
      private Absent() {}
    
      @Override
      public boolean isPresent() {
        return false;
      }
    
      @Override
      public T get() {
        throw new IllegalStateException("Optional.get() cannot be called on an absent value");
      }
    
      @Override
      public T or(T defaultValue) {
        return checkNotNull(defaultValue, "use Optional.orNull() instead of Optional.or(null)");
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Apr 15 22:14:00 GMT 2025
    - 2.6K bytes
    - Click Count (0)
Back to Top