Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 333 for mixed (0.15 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 Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Jul 19 19:14:58 GMT 2021
    - 4K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/MultipartBody.kt

          }
        }
    
      companion object {
        /**
         * The "mixed" subtype of "multipart" is intended for use when the body parts are independent
         * and need to be bundled in a particular order. Any "multipart" subtypes that an implementation
         * does not recognize must be treated as being of subtype "mixed".
         */
        @JvmField
        val MIXED = "multipart/mixed".toMediaType()
    
        /**
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/MultipartBodyTest.kt

            .addPart("Hello, World!".toRequestBody(null))
            .build()
        assertThat(body.boundary).isEqualTo("123")
        assertThat(body.type).isEqualTo(MultipartBody.MIXED)
        assertThat(body.contentType().toString())
          .isEqualTo("multipart/mixed; boundary=123")
        assertThat(body.parts.size).isEqualTo(1)
        assertThat(body.contentLength()).isEqualTo(33L)
        val buffer = Buffer()
        body.writeTo(buffer)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  4. tensorflow/c/eager/parallel_device/parallel_device_lib_test.cc

      std::vector<TensorHandlePtr> mixed_handles;
      mixed_handles.reserve(2);
      mixed_handles.push_back(std::move(scalar));
      mixed_handles.push_back(std::move(two_vector));
      std::unique_ptr<ParallelTensor> unknown_dims_vector =
          ParallelTensor::FromTensorHandles(parallel_device,
                                            std::move(mixed_handles), status.get());
      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 08 23:47:35 GMT 2021
    - 15.3K bytes
    - Viewed (0)
  5. 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 Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/LineBufferTest.java

            "\nempty first line\nno newline at end", "\n", "empty first line\n", "no newline at end");
        bufferHelper("three\rlines\rno newline at end", "three\r", "lines\r", "no newline at end");
        bufferHelper("mixed\nline\rendings\r\n", "mixed\n", "line\r", "endings\r\n");
      }
    
      private static final int[] CHUNK_SIZES = {1, 2, 3, Integer.MAX_VALUE};
    
      private static void bufferHelper(String input, String... expect) throws IOException {
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/LineBufferTest.java

            "\nempty first line\nno newline at end", "\n", "empty first line\n", "no newline at end");
        bufferHelper("three\rlines\rno newline at end", "three\r", "lines\r", "no newline at end");
        bufferHelper("mixed\nline\rendings\r\n", "mixed\n", "line\r", "endings\r\n");
      }
    
      private static final int[] CHUNK_SIZES = {1, 2, 3, Integer.MAX_VALUE};
    
      private static void bufferHelper(String input, String... expect) throws IOException {
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.7K bytes
    - Viewed (0)
  8. 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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri May 26 16:22:12 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

              // 1-byte UTF-8 sequences - "American" ASCII text
              return 0x80;
            } else if (userFriendly.matches("(?i)(?:French|Latin|Western.*European)")) {
              // Mostly 1-byte UTF-8 sequences, mixed with occasional 2-byte
              // sequences - "Western European" text
              return 0x90;
            } else if (userFriendly.matches("(?i)(?:Branch.*Prediction.*Hostile)")) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 5.3K bytes
    - Viewed (0)
  10. 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 Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Dec 24 09:00:26 GMT 2023
    - 8.5K bytes
    - Viewed (0)
Back to top