Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3701 - 3710 of 3,796 for Get (0.03 sec)

  1. cmd/iam-store.go

    		result[k] = v.Policies
    		return true
    	})
    	cache.iamSTSPolicyMap.Range(func(k string, v MappedPolicy) bool {
    		result[k] = v.Policies
    		return true
    	})
    	return result
    }
    
    // GetUserInfo - get info on a user.
    func (store *IAMStoreSys) GetUserInfo(name string) (u madmin.UserInfo, err error) {
    	if name == "" {
    		return u, errInvalidArgument
    	}
    
    	cache := store.rlock()
    	defer store.runlock()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  2. cmd/format-erasure.go

    			return fmt.Errorf("%s drive is already formatted with %d drives per erasure set. This cannot be changed to %d", disks[i], len(formatErasure.Erasure.Sets[0]), setDriveCount)
    		}
    	}
    	return nil
    }
    
    // Get backend Erasure format in quorum `format.json`.
    func getFormatErasureInQuorum(formats []*formatErasureV3) (*formatErasureV3, error) {
    	formatCountMap := make(map[int]int, len(formats))
    	for _, format := range formats {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

      }
    
      @CanIgnoreReturnValue
      @Override
      @CheckForNull
      public E poll() {
        return isEmpty() ? null : removeAndGet(0);
      }
    
      @SuppressWarnings("unchecked") // we must carefully only allow Es to get in
      E elementData(int index) {
        /*
         * requireNonNull is safe as long as we're careful to call this method only with populated
         * indexes.
         */
        return (E) requireNonNull(queue[index]);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  4. docs/zh/docs/deployment/docker.md

    * 创建一个空文件`__init__.py`。
    * 创建一个 `main.py` 文件:
    
    
    
    ```Python
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    ### Dockerfile
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/batch/v1/generated.proto

      // been .spec.completions successfully completed Pods. Each Pod completion is
      // homologous to each other.
      //
      // `Indexed` means that the Pods of a
      // Job get an associated completion index from 0 to (.spec.completions - 1),
      // available in the annotation batch.kubernetes.io/job-completion-index.
      // The Job is considered complete when there is one successfully completed Pod
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  6. cmd/sts-handlers_test.go

    	time.Sleep(2 * time.Second) // wait for listbuckets cache to be invalidated
    
    	accInfo, err := userAdmClient.AccountInfo(ctx, madmin.AccountOpts{})
    	if err != nil {
    		c.Fatalf("root user STS should be able to get account info: %v", err)
    	}
    
    	gotBuckets := set.NewStringSet()
    	for _, b := range accInfo.Buckets {
    		gotBuckets.Add(b.Name)
    		if !(b.Access.Read && b.Access.Write) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.30.md

    ### Feature
    
    - Add Timezone column in the output of kubectl get cronjob command ([#122231](https://github.com/kubernetes/kubernetes/pull/122231), [@ardaguclu](https://github.com/ardaguclu)) [SIG CLI]
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Wed Oct 23 04:40:14 UTC 2024
    - 309.1K bytes
    - Viewed (0)
  8. README.md

    ```
    
    ### firewall-cmd
    
    For hosts with firewall-cmd enabled (CentOS), you can use `firewall-cmd` command to allow traffic to specific ports. Use below commands to allow access to port 9000
    
    ```sh
    firewall-cmd --get-active-zones
    ```
    
    This command gets the active zone(s). Now, apply port rules to the relevant zones returned above. For example if the zone is `public`, use
    
    ```sh
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:34:11 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  9. docs/zh/docs/contributing.md

    <div class="termy">
    
    ```console
    $ which pip
    
    some/directory/fastapi/env/bin/pip
    ```
    
    </div>
    
    ////
    
    //// tab | Windows PowerShell
    
    <div class="termy">
    
    ```console
    $ Get-Command pip
    
    some/directory/fastapi/env/bin/pip
    ```
    
    </div>
    
    ////
    
    如果显示 `pip` 程序文件位于 `env/bin/pip` 则说明激活成功。 🎉
    
    确保虚拟环境中的 pip 版本是最新的,以避免后续步骤出现错误:
    
    <div class="termy">
    
    ```console
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/ClassPath.java

        int classNameEnd = filename.length() - CLASS_FILE_NAME_EXTENSION.length();
        return filename.substring(0, classNameEnd).replace('/', '.');
      }
    
      // TODO(benyu): Try java.nio.file.Paths#get() when Guava drops JDK 6 support.
      @VisibleForTesting
      static File toFile(URL url) {
        checkArgument(url.getProtocol().equals("file"));
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 24.9K bytes
    - Viewed (0)
Back to top