Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 936 for contains (0.04 seconds)

  1. utils/utils_test.go

    		{"not exists", []string{"1", "2", "3"}, "4", false},
    	}
    	for _, test := range containsTests {
    		t.Run(test.name, func(t *testing.T) {
    			if out := Contains(test.elems, test.elem); test.out != out {
    				t.Errorf("Contains(%v, %s) want: %t, got: %t", test.elems, test.elem, test.out, out)
    			}
    		})
    	}
    }
    
    type ModifyAt sql.NullTime
    
    // Value return a Unix time.
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Sep 19 01:49:06 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  2. docs/en/docs/reference/status.md

    # Status Codes
    
    You can import the `status` module from `fastapi`:
    
    ```python
    from fastapi import status
    ```
    
    `status` is provided directly by Starlette.
    
    It contains a group of named constants (variables) with integer status codes.
    
    For example:
    
    * 200: `status.HTTP_200_OK`
    * 403: `status.HTTP_403_FORBIDDEN`
    * etc.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 871 bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java

         * <li>nested properties should be defined by a dot, i.e. "user.address.street"</li>
         * <li>indexed properties (java.util.List or array instance) should be contains <code>(\\w+)\\[(\\d+)\\]</code>
         * pattern, i.e. "user.addresses[1].street"</li>
         * <li>mapped properties should be contains <code>(\\w+)\\((.+)\\)</code> pattern,
         *  i.e. "user.addresses(myAddress).street"</li>
         * </ul>
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/BinaryBreakingChangesRule.java

                        return null;
                    }
                }
                for (JApiCompatibilityChange change : member.getCompatibilityChanges()) {
                    if (IGNORED_CHANGE_TYPES.contains(change.getType())) {
                        return null;
                    }
                }
                if (member instanceof JApiHasAnnotations) {
                    if (isIncubating((JApiHasAnnotations) member)) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  5. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/merge/MavenSettingsMerger.java

                    dominant.setActiveProfiles(dominantActiveProfiles);
                }
    
                for (String profileId : recessiveActiveProfiles) {
                    if (!dominantActiveProfiles.contains(profileId)) {
                        dominantActiveProfiles.add(profileId);
                    }
                }
            }
    
            List<String> dominantPluginGroupIds = dominant.getPluginGroups();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.5K bytes
    - Click Count (0)
  6. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultModelResolverTest.java

                    () -> newModelResolver().resolveModel(parent),
                    "Expected 'UnresolvableModelException' not thrown.");
            assertNotNull(e.getMessage());
            assertTrue(e.getMessage().contains("Could not find artifact ut.simple:artifact:pom:0 in repo"));
        }
    
        @Test
        public void testResolveParentThrowsUnresolvableModelExceptionWhenNoMatchingVersionFound() throws Exception {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  7. helm/minio/templates/_helpers.tpl

    If release name contains chart name it will be used as a full name.
    */}}
    {{- define "minio.fullname" -}}
      {{- if .Values.fullnameOverride -}}
        {{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
      {{- else -}}
        {{- $name := default .Chart.Name .Values.nameOverride -}}
        {{- if contains $name .Release.Name -}}
          {{- .Release.Name | trunc 63 | trimSuffix "-" -}}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Aug 06 23:48:24 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  8. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/action/AnnotationGeneratorWorkAction.kt

            return receiverType
                .memberFunctions
                .asSequence()
                .mapNotNull { it.javaMethod }
                .filterNot { objectMethods.contains(it) }
                .map { it.toGroovyScriptString() }
                .sorted()
                .joinToString(separator = "\n")
        }
    
        private
        fun Method.toGroovyScriptString(): String {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sun Jul 07 16:02:18 GMT 2024
    - 8.1K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/handling-errors.md

    You can override these exception handlers with your own.
    
    ### Override request validation exceptions { #override-request-validation-exceptions }
    
    When a request contains invalid data, **FastAPI** internally raises a `RequestValidationError`.
    
    And it also includes a default exception handler for it.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 9K bytes
    - Click Count (0)
  10. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts

            .flatMap { listOf(":distributions-full:$it", "distributions-full:$it", it) }
            .any(gradle.startParameter.taskNames::contains)
    
    fun isRunningDocsTestTask() =
        setOf(":docs:docsTest", "docs:docsTest")
            .any(gradle.startParameter.taskNames::contains)
    
    
    /**
     * Returns a new provider that takes its value from at most one
     * of the given providers. If no input provider is present, the output
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 30 16:56:31 GMT 2025
    - 5.9K bytes
    - Click Count (0)
Back to Top