Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 274 for CAmount (0.17 sec)

  1. internal/ioutil/hardlimitreader.go

    func HardLimitReader(r io.Reader, n int64) io.Reader { return &HardLimitedReader{r, n} }
    
    // A HardLimitedReader reads from R but limits the amount of
    // data returned to just N bytes. Each call to Read
    // updates N to reflect the new amount remaining.
    // Read returns EOF when N <= 0 or when the underlying R returns EOF.
    type HardLimitedReader struct {
    	R io.Reader // underlying reader
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat May 06 02:53:12 GMT 2023
    - 2K bytes
    - Viewed (0)
  2. common/scripts/setup_env.sh

    container_kubeconfig=''
    
    # docker conditional host mount (needed for make docker push)
    if [[ -d "${HOME}/.docker" ]]; then
      CONDITIONAL_HOST_MOUNTS+="--mount type=bind,source=${HOME}/.docker,destination=/config/.docker,readonly "
    fi
    
    # gcloud conditional host mount (needed for docker push with the gcloud auth configure-docker)
    if [[ -d "${HOME}/.config/gcloud" ]]; then
    Shell Script
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 19:52:28 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/sub-applications.md

    ```Python hl_lines="11  14-16"
    {!../../../docs_src/sub_applications/tutorial001.py!}
    ```
    
    ### Mount the sub-application
    
    In your top-level application, `app`, mount the sub-application, `subapi`.
    
    In this case, it will be mounted at the path `/subapi`:
    
    ```Python hl_lines="11  19"
    {!../../../docs_src/sub_applications/tutorial001.py!}
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java

        }
        return tmp;
      }
    
      @Benchmark
      long parseUnsignedLong(int reps) {
        long tmp = 0;
        // Given that we make three calls per pass, we scale reps down in order
        // to do a comparable amount of work to other measurements.
        int scaledReps = reps / 3 + 1;
        for (int i = 0; i < scaledReps; i++) {
          int j = i & ARRAY_MASK;
          tmp += UnsignedLongs.parseUnsignedLong(decimalStrings[j]);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/CopyUtil.java

                final byte[] buf = buffer.array();
                int len;
                int amount = 0;
                while ((len = ChannelUtil.read(channel, buffer, amount)) != -1) {
                    out.write(buf, 0, len);
                    buffer.clear();
                    amount += len;
                }
                out.flush();
                return amount;
            } catch (final IOException e) {
                throw new IORuntimeException(e);
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 52.4K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/storage/v1beta1/generated.proto

      // +optional
      optional bool attachRequired = 1;
    
      // podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.)
      // during mount operations, if set to true.
      // If set to false, pod information will not be passed on mount.
      // Default is false.
      //
      // The CSI driver specifies podInfoOnMount as part of driver deployment.
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/wsgi.md

    # Including WSGI - Flask, Django, others
    
    You can mount WSGI applications as you saw with [Sub Applications - Mounts](sub-applications.md){.internal-link target=_blank}, [Behind a Proxy](behind-a-proxy.md){.internal-link target=_blank}.
    
    For that, you can use the `WSGIMiddleware` and use it to wrap your WSGI application, for example, Flask, Django, etc.
    
    ## Using `WSGIMiddleware`
    
    You need to import `WSGIMiddleware`.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  8. docs/chroot/README.md

    ```sh
    mkdir -p /mnt/export/${USER}/bin
    wget https://dl.min.io/server/minio/release/linux-amd64/minio -O /mnt/export/${USER}/bin/minio
    chmod +x /mnt/export/${USER}/bin/minio
    ```
    
    Bind your `proc` mount to the target chroot directory
    
    ```
    sudo mount --bind /proc /mnt/export/${USER}/proc
    ```
    
    ## 3. Run Standalone MinIO in Chroot
    
    ### GNU/Linux
    
    ```sh
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  9. docs/fa/docs/advanced/sub-applications.md

    # زیر برنامه ها - اتصال
    
    اگر نیاز دارید که دو برنامه مستقل FastAPI، با OpenAPI مستقل و رابط‌های کاربری اسناد خود داشته باشید، می‌توانید یک برنامه
    اصلی داشته باشید و یک (یا چند) زیر برنامه را به آن متصل کنید.
    
    ## اتصال (mount) به یک برنامه **FastAPI**
    
    کلمه "Mounting" به معنای افزودن یک برنامه کاملاً مستقل در یک مسیر خاص است، که پس از آن مدیریت همه چیز در آن مسیر، با path operations (عملیات های مسیر) اعلام شده در آن زیر برنامه می باشد.
    
    ### برنامه سطح بالا
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/TestThread.java

      }
    
      /**
       * Sends the given method call to this thread.
       *
       * @throws TimeoutException if this thread does not accept the request within a reasonable amount
       *     of time
       */
      private void sendRequest(String methodName, Object... arguments) throws Exception {
        if (!requestQueue.offer(
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.9K bytes
    - Viewed (0)
Back to top