Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 89 for mixed (2.55 sec)

  1. tests/test_response_model_include_exclude.py

        }
    
    
    @app.get(
        "/mixed",
        response_model=Model3,
        response_model_include={"ref2", "name"},
        response_model_exclude={"ref2": {"baz"}},
    )
    def mixed():
        return Model3(
            name="mixed model3 name",
            age=3,
            ref2=Model2(
                ref=Model1(foo="mixed model foo", bar="mixed model bar"),
                baz="mixed model2 baz",
            ),
        )
    
    
    @app.get(
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jul 19 19:14:58 GMT 2021
    - 4K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/MediaTypeTest.kt

        assertEquals("plain", mediaType.subtype)
        assertNull(mediaType.charsetName())
        assertEquals("text/plain;", mediaType.toString())
      }
    
      @Test fun testParameter() {
        val mediaType = parse("multipart/mixed; boundary=\"abcd\"")
        assertEquals("abcd", mediaType.parameter("boundary"))
        assertEquals("abcd", mediaType.parameter("BOUNDARY"))
      }
    
      @Test fun testMultipleParameters() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/plugin/internal/MavenMixedDependenciesValidator.java

    import org.eclipse.aether.RepositorySystemSession;
    import org.eclipse.aether.artifact.Artifact;
    import org.eclipse.aether.graph.Dependency;
    import org.eclipse.aether.resolution.ArtifactDescriptorResult;
    
    /**
     * Detects mixed Maven versions in plugins.
     *
     * @since 3.9.2
     */
    @Singleton
    @Named
    class MavenMixedDependenciesValidator extends AbstractMavenPluginDependenciesValidator {
    
        @Inject
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 26 16:22:12 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  4. gradlew

    # For Cygwin or MSYS, switch paths to Windows format before running java
    if "$cygwin" || "$msys" ; then
        APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
        CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" )
    
        JAVACMD=$( cygpath --unix "$JAVACMD" )
    
        # Now convert the arguments - kludge to limit ourselves to /bin/sh
        for arg do
            if
    Shell Script
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 24 09:00:26 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  5. okhttp/src/test/resources/web-platform-test-toascii.json

        "input": "xn--tešla",
        "output": null
      },
      {
        "comment": "Valid Punycode",
        "input": "xn--zca.xn--zca",
        "output": "xn--zca.xn--zca"
      },
      {
        "comment": "Mixed",
        "input": "xn--zca.ß",
        "output": "xn--zca.xn--zca"
      },
      {
        "input": "ab--c.xn--zca",
        "output": "ab--c.xn--zca"
      },
      {
        "input": "ab--c.ß",
        "output": "ab--c.xn--zca"
      },
    Json
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 5.2K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/connection/RouteSelector.kt

              }
    
              connectionUser.dnsEnd(socketHost, result)
              result
            }
    
          // Try each address for best behavior in mixed IPv4/IPv6 environments.
          val orderedAddresses =
            when {
              fastFallback -> reorderForHappyEyeballs(addresses)
              else -> addresses
            }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Mar 06 17:33:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  7. cmd/net_test.go

    		{
    			ipList:       []string{"hostname", "127.0.0.1", "192.168.1.106"},
    			sortedIPList: []string{"hostname", "192.168.1.106", "127.0.0.1"},
    		},
    		// Non parsable ip is assumed to be hostname, with a mixed input of ip and hostname.
    		// gets preserved and moved into left most elements, regardless of
    		// IP based sorting.
    		{
    			ipList:       []string{"hostname1", "10.0.0.13", "hostname2", "127.0.0.1", "192.168.1.106"},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 08:43:09 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  8. docs_src/dependencies/tutorial011_an.py

    
    class FixedContentQueryChecker:
        def __init__(self, fixed_content: str):
            self.fixed_content = fixed_content
    
        def __call__(self, q: str = ""):
            if q:
                return self.fixed_content in q
            return False
    
    
    checker = FixedContentQueryChecker("bar")
    
    
    @app.get("/query-checker/")
    async def read_query_check(fixed_content_included: Annotated[bool, Depends(checker)]):
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 554 bytes
    - Viewed (0)
  9. SECURITY.md

    `ModelServer` collates all computation graphs exposed to it (from multiple
    `SavedModel`) and executes them in parallel on available executors. Running
    TensorFlow in a multitenant design mixes the risks described above with the
    inherent ones from multitenant configurations. The primary areas of concern are
    tenant isolation, resource allocation, model sharing and hardware attacks.
    
    ### Tenant isolation
    
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Sun Oct 01 06:06:35 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

        }
        assertHash(expected, murmur3_32_fixed().hashString(string, charset));
        assertHash(expected, murmur3_32().newHasher().putString(string, charset).hash());
        assertHash(expected, murmur3_32_fixed().newHasher().putString(string, charset).hash());
        assertHash(expected, murmur3_32().hashBytes(string.getBytes(charset)));
        assertHash(expected, murmur3_32_fixed().hashBytes(string.getBytes(charset)));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 08 13:56:22 GMT 2021
    - 8.6K bytes
    - Viewed (0)
Back to top