Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2211 - 2220 of 6,702 for If (0.02 seconds)

  1. internal/crypto/header.go

    type ssecCopy struct{}
    
    // IsRequested returns true if the HTTP headers contains
    // at least one SSE-C copy header. Regular SSE-C headers
    // are ignored.
    func (ssecCopy) IsRequested(h http.Header) bool {
    	if _, ok := h[xhttp.AmzServerSideEncryptionCopyCustomerAlgorithm]; ok {
    		return true
    	}
    	if _, ok := h[xhttp.AmzServerSideEncryptionCopyCustomerKey]; ok {
    		return true
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/xml/XmlEscapersTest.java

          if (ch == '&') {
            assertEscaping(xmlEscaper, "&", ch);
          } else if (ch == '<') {
            assertEscaping(xmlEscaper, "&lt;", ch);
          } else if (ch == '>') {
            assertEscaping(xmlEscaper, "&gt;", ch);
          } else if (shouldEscapeQuotes && ch == '\'') {
            assertEscaping(xmlEscaper, "&apos;", ch);
          } else if (shouldEscapeQuotes && ch == '"') {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 5K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java

            String version = null;
            Snapshot snapshot = versioning.getSnapshot();
            if (snapshot != null) {
                if (snapshot.getTimestamp() != null && snapshot.getBuildNumber() > 0) {
                    String newVersion = snapshot.getTimestamp() + "-" + snapshot.getBuildNumber();
                    version = baseVersion.replace(Artifact.SNAPSHOT_VERSION, newVersion);
                } else {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildStep.java

            if (preds.add(this)) {
                this.predecessors.forEach(n -> n.preds(preds));
            }
            return preds;
        }
    
        public boolean isSuccessorOf(BuildStep step) {
            return isSuccessorOf(new HashSet<>(), step);
        }
    
        private boolean isSuccessorOf(Set<BuildStep> visited, BuildStep step) {
            if (this == step) {
                return true;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Apr 30 16:21:08 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  5. build-tools-internal/src/integTest/java/org/elasticsearch/gradle/internal/SymbolicLinkPreservingTarIT.java

                while (entry != null) {
                    if (entry.getName().equals("real-folder/")) {
                        assertTrue(entry.isDirectory());
                        realFolderEntry = true;
                    } else if (entry.getName().equals("real-folder/file")) {
                        assertTrue(entry.isFile());
                        fileEntry = true;
                    } else if (entry.getName().equals("real-folder/link-to-file")) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 6.6K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/extra-models.md

    So, if we create a Pydantic object `user_in` like:
    
    ```Python
    user_in = UserIn(username="john", password="secret", email="******@****.***")
    ```
    
    and then we call:
    
    ```Python
    user_dict = user_in.model_dump()
    ```
    
    we now have a `dict` with the data in the variable `user_dict` (it's a `dict` instead of a Pydantic model object).
    
    And if we call:
    
    ```Python
    print(user_dict)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RoutePlanner.kt

        fun cancel()
    
        /**
         * Returns a plan to attempt if canceling this plan was a mistake! The returned plan is not
         * canceled, even if this plan is canceled.
         */
        fun retry(): Plan?
      }
    
      /**
       * What to do once a plan has executed.
       *
       * If [nextPlan] is not-null, another attempt should be made by following it. If [throwable] is
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue May 27 14:58:02 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanLogger.java

        private final Logger logger = LoggerFactory.getLogger(getClass());
    
        public void writePlan(BuildPlan plan) {
            if (logger.isDebugEnabled()) {
                writePlan(logger::debug, plan);
            }
        }
    
        public void writePlan(BuildPlan plan, MavenProject project) {
            if (logger.isDebugEnabled()) {
                writePlan(logger::debug, plan, project);
            }
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Mar 30 23:08:36 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/DosFileFilterTest.java

         * @param filterAttributes The attributes set for the filter.
         * @param fileAttributes The attributes of the mock file.
         * @param expectedResult The expected outcome of the accept method.
         * @throws SmbException If an SMB error occurs.
         */
        @ParameterizedTest(name = "Filter: {0}, File: {1}, Expected: {2}")
        @CsvSource({
                // Positive cases (should be accepted)
                "1, 1, true", // ATTR_READONLY
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  10. .teamcity/src/main/kotlin/configurations/SmokeTests.kt

            val suffix = if (flakyTestStrategy == FlakyTestStrategy.ONLY)"_FlakyTestQuarantine" else ""
            id("${model.projectId}_SmokeTest_$id$suffix")
            name = "Smoke Tests with 3rd Party Plugins ($task) - ${testJava.version.toCapitalized()} Linux$suffix"
            description = "Smoke tests against third party plugins to see if they still work with the current Gradle version"
    
            if (flakyTestStrategy != FlakyTestStrategy.ONLY) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 30 04:44:29 GMT 2026
    - 1.6K bytes
    - Click Count (0)
Back to Top