Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 1,987 for dita (0.05 sec)

  1. tests/test_tutorial/test_security/test_tutorial005_an_py39.py

    ):
        data = {"username": username, "password": password}
        if scope:
            data["scope"] = scope
        response = client.post("/token", data=data)
        content = response.json()
        access_token = content.get("access_token")
        return access_token
    
    
    @needs_py39
    def test_login(client: TestClient):
        response = client.post("/token", data={"username": "johndoe", "password": "secret"})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v2_test.go

    	}
    
    	// Remove entry
    	xl2.data.remove(fi.VersionID)
    	failOnErr(xl2.data.validate())
    	if xl2.data.find(fi.VersionID) != nil {
    		t.Fatal("Data was not removed:", xl2.data.find(fi.VersionID))
    	}
    	if xl2.data.entries() != 1 {
    		t.Fatal("want 1 entry, got", xl2.data.entries())
    	}
    	// Re-add
    	xl2.data.replace(fi.VersionID, fi.Data)
    	failOnErr(xl2.data.validate())
    	if xl2.data.entries() != 2 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  3. cmd/config-common.go

    		return errConfigNotFound
    	}
    	return err
    }
    
    func saveConfigWithOpts(ctx context.Context, store objectIO, configFile string, data []byte, opts ObjectOptions) error {
    	hashReader, err := hash.NewReader(ctx, bytes.NewReader(data), int64(len(data)), "", getSHA256Hash(data), int64(len(data)))
    	if err != nil {
    		return err
    	}
    
    	_, err = store.PutObject(ctx, minioMetaBucket, configFile, NewPutObjReader(hashReader), opts)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 18 17:00:54 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/dataclasses.md

    And of course, it supports the same:
    
    * data validation
    * data serialization
    * data documentation, etc.
    
    This works the same way as with Pydantic models. And it is actually achieved in the same way underneath, using Pydantic.
    
    /// info
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:35:06 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. src/main/webapp/WEB-INF/view/admin/crawlinginfo/admin_crawlinginfo.jsp

                                                <c:forEach var="data" varStatus="s"
                                                           items="${crawlingInfoItems}">
                                                    <tr
                                                            data-href="${contextPath}/admin/crawlinginfo/details/4/${f:u(data.id)}">
                                                        <td>${f:h(data.sessionId)}</td>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Feb 12 20:25:27 UTC 2020
    - 11.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

        }
        File file = out.getFile();
        assertNull(file);
    
        // Write data to go over the threshold
        if (chunk2 > 0) {
          if (JAVA_IO_TMPDIR.value().equals("/sdcard")) {
            assertThrows(IOException.class, () -> write(out, data, chunk1, chunk2, singleByte));
            return;
          }
          write(out, data, chunk1, chunk2, singleByte);
          file = out.getFile();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. cmd/object-api-putobject_test.go

    		// With valid md5sum and sha256.
    		20: {bucketName: bucket, objName: object, inputData: data, inputMeta: md5Header(data), inputSHA256: getSHA256Hash(data), inputDataSize: int64(len(data)), expectedMd5: getMD5Hash(data)},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  8. docs/erasure/README.md

    12 drive setup, an object can be sharded to a variable number of data and parity blocks across all the drives - ranging from six data and six parity blocks to ten data and two parity blocks.
    
    By default, MinIO shards the objects across N/2 data and N/2 parity drives. Though, you can use [storage classes](https://github.com/minio/minio/tree/master/docs/erasure/storage-class) to use a custom configuration. We recommend N/2 data and parity blocks, as it ensures the best protection from drive failures....
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  9. src/main/webapp/js/search.js

          type: "get",
          timeoutNumber: 10000,
          url: contextPath + "/api/v1/favorites",
          data: {
            queryId: $queryId.val()
          }
        })
          .done(function(data) {
            var docIds,
                i;
            if (data.record_count > 0) {
              docIds = data.data;
              for (i = 0; i < docIds.length; i++) {
                docIds[i] = "#" + docIds[i].doc_id;
              }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Mar 30 05:45:24 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api_test_util.cc

      tstring* data = static_cast<tstring*>(TF_TensorData(t));
      *data = value;
      TFE_TensorHandle* th = TFE_NewTensorHandleFromTensor(ctx, t, status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TF_DeleteTensor(t);
      TF_DeleteStatus(status);
      return th;
    }
    
    TFE_TensorHandle* TestScalarTensorHandle(TFE_Context* ctx, int value) {
      int data[] = {value};
      TF_Status* status = TF_NewStatus();
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Feb 21 22:37:46 UTC 2024
    - 23.5K bytes
    - Viewed (0)
Back to top