Search Options

Results per page
Sort
Preferred Languages
Advance

Results 731 - 740 of 1,362 for Tout (0.04 sec)

  1. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        connection.setDoOutput(true)
        connection.setFixedLengthStreamingMode(1024 * 1024 * 1024) // 1 GB
        connection.connect()
        val out = connection.outputStream
        val data = ByteArray(1024 * 1024)
        var i = 0
        while (i < 1024) {
          try {
            out.write(data)
            out.flush()
            if (i == 513) {
              // pause slightly after halfway to make result more predictable
              Thread.sleep(100)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  2. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

        connection.doOutput = true
        connection.setFixedLengthStreamingMode(1024 * 1024 * 1024) // 1 GB
        connection.connect()
        val out = connection.outputStream
        val data = ByteArray(1024 * 1024)
        var i = 0
        while (i < 1024) {
          try {
            out!!.write(data)
            out.flush()
            if (i == 513) {
              // pause slightly after half way to make result more predictable
              Thread.sleep(100)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/response-model.md

    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="22"
    {!> ../../docs_src/response_model/tutorial003.py!}
    ```
    
    ////
    
    So, **FastAPI** will take care of filtering out all the data that is not declared in the output model (using Pydantic).
    
    ### `response_model` or Return Type
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/generate-clients.md

    ```
    
    </div>
    
    That command will generate code in `./src/client` and will use `axios` (the frontend HTTP library) internally.
    
    ### Try Out the Client Code
    
    Now you can import and use the client code, it could look like this, notice that you get autocompletion for the methods:
    
    <img src="/img/tutorial/generate-clients/image02.png">
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  5. internal/dsync/drwmutex.go

    					// We know that we are not going to get the lock anymore,
    					// so exit out and release any locks that did get acquired
    					done = true
    				}
    			}
    		case <-ctx.Done():
    			// Capture timedout locks as failed or took too long
    			locksFailed++
    			if locksFailed > tolerance {
    				// We know that we are not going to get the lock anymore,
    				// so exit out and release any locks that did get acquired
    				done = true
    			}
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 15:49:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  6. tensorflow/c/checkpoint_reader.cc

              std::unique_ptr<TensorSliceReader::VarToDataTypeMap>>
    CheckpointReader::BuildV2VarMaps() {
      CHECK(v2_reader_ != nullptr);
      CHECK(v2_reader_->status().ok());
    
      // First pass: filters out the entries of the slices.
      std::unordered_set<string> filtered_keys;
      BundleEntryProto entry;
      v2_reader_->Seek(kHeaderEntryKey);
      for (v2_reader_->Next(); v2_reader_->Valid(); v2_reader_->Next()) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. helm/minio/templates/_helper_create_user.txt

      rm -f $MINIO_ACCESSKEY_SECRETKEY_TMP
    
      # set policy for user
      if [ ! -z $POLICY -a $POLICY != " " ] ; then
          echo "Adding policy '$POLICY' for '$USER'"
          set +e ; # policy already attach errors out, allow it.
          ${MC} admin policy attach myminio $POLICY --user=$USER
          set -e
      else
          echo "User '$USER' has no policy attached."
      fi
    }
    
    # Try connecting to MinIO instance
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Dec 12 23:43:32 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

        }
    
        public void test_getUsedMemory() {
            assertTrue(MemoryUtil.getUsedMemory() >= 0);
        }
    
        public void test_sizeOf() throws Exception {
            // System.out.println("size: " + getObjectSize(""));
            assertEquals(24L, MemoryUtil.sizeOf(Integer.MAX_VALUE));
            assertEquals(24L, MemoryUtil.sizeOf(Long.MAX_VALUE));
            assertEquals(24L, MemoryUtil.sizeOf(Short.MAX_VALUE));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/FlushablesTest.java

    import java.io.IOException;
    import junit.framework.TestCase;
    
    /**
     * Unit tests for {@link Flushables}.
     *
     * <p>Checks proper flushing behavior, and ensures that IOExceptions on Flushable.flush() are not
     * propagated out from the {@link Flushables#flush} method if {@code swallowException} is true.
     *
     * @author Michael Lancaster
     */
    public class FlushablesTest extends TestCase {
      private Flushable mockFlushable;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.3K bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorUtils.java

                        new DefaultArtifact(artifact.getGroupId(), artifact.getArtifactId(), "pom", artifact.getVersion());
            }
    
            return pomArtifact;
        }
    
        /**
         * Creates POM artifact out of passed in artifact by dropping classifier (if exists) and rewriting extension to
         * "pom". Unconditionally, unlike {@link #toPomArtifact(Artifact)} that does this only for artifacts without
         * classifiers.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top