Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1041 - 1050 of 1,258 for operator (0.1 sec)

  1. docs/pt/docs/tutorial/first-steps.md

    {!../../docs_src/first_steps/tutorial001.py!}
    ```
    
    O `@app.get("/")` diz ao **FastAPI** que a função logo abaixo é responsável por tratar as requisições que vão para:
    
    * a rota `/`
    * usando o  <abbr title="o método HTTP GET">operador <code>get</code></abbr>
    
    /// info | "`@decorador`"
    
    Essa sintaxe `@alguma_coisa` em Python é chamada de "decorador".
    
    Você o coloca em cima de uma função. Como um chapéu decorativo (acho que é daí que vem o termo).
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. cmd/metacache-set.go

    package cmd
    
    import (
    	"bytes"
    	"context"
    	"encoding/gob"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"io"
    	"math/rand"
    	"strconv"
    	"strings"
    	"sync"
    	"time"
    
    	jsoniter "github.com/json-iterator/go"
    	"github.com/minio/minio/internal/bucket/lifecycle"
    	"github.com/minio/minio/internal/bucket/object/lock"
    	"github.com/minio/minio/internal/bucket/versioning"
    	"github.com/minio/minio/internal/color"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  3. cmd/object-multipart-handlers.go

    	startOffset, length, err := rs.GetOffsetLength(actualPartSize)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	// maximum copy size for multipart objects in a single operation
    	if isMaxObjectSize(length) {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrEntityTooLarge), r.URL)
    		return
    	}
    
    	if isRemoteCopyRequired(ctx, srcBucket, dstBucket, objectAPI) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  4. cmd/tier-handlers.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"encoding/json"
    	"io"
    	"net/http"
    	"strconv"
    
    	jsoniter "github.com/json-iterator/go"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/config/storageclass"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v3/policy"
    )
    
    var (
    	// error returned when remote tier already exists
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:44:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/FauxveridesTest.java

      }
    
      public void testImmutableSortedSetCopyOfIterator() {
        Set<Object> original = ImmutableSet.of(new Object(), new Object());
    
        assertThrows(ClassCastException.class, () -> ImmutableSortedSet.copyOf(original.iterator()));
      }
    
      private void doHasAllFauxveridesTest(Class<?> descendant, Class<?> ancestor) {
        Set<MethodSignature> required = getAllRequiredToFauxveride(ancestor);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

      }
    
      /**
       * Guaranteed to throw an exception and leave the map unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      @CheckForNull
      public <T extends B> T putInstance(Class<T> type, T value) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 10 21:56:03 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/FauxveridesTest.java

      }
    
      public void testImmutableSortedSetCopyOfIterator() {
        Set<Object> original = ImmutableSet.of(new Object(), new Object());
    
        assertThrows(ClassCastException.class, () -> ImmutableSortedSet.copyOf(original.iterator()));
      }
    
      private void doHasAllFauxveridesTest(Class<?> descendant, Class<?> ancestor) {
        Set<MethodSignature> required = getAllRequiredToFauxveride(ancestor);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. src/main/webapp/js/admin/adminlte.min.js.map

    $element.trigger($.Event(EVENT_EXPANDED))\n    }\n  }\n\n  // Static\n\n  static _jQueryInterface(operation) {\n    return this.each(function () {\n      let data = $(this).data(DATA_KEY)\n\n      if (!data) {\n        data = new ExpandableTable($(this))\n        $(this).data(DATA_KEY, data)\n      }\n\n      if (typeof operation === 'string' && /init|toggleRow/.test(operation)) {\n        data[operation]()\n      }\n    })\n  }\n}\n\n/**\n  * Data API\n  * ====================================================\n...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 132.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/Striped64.java

       * which is still better than alternatives.
       *
       * Per-thread hash codes are initialized to random values.
       * Contention and/or table collisions are indicated by failed
       * CASes when performing an update operation (see method
       * retryUpdate). Upon a collision, if the table size is less than
       * the capacity, it is doubled in size unless some other thread
       * holds the lock. If a hashed slot is empty, and lock is
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  10. docs/ja/docs/tutorial/background-tasks.md

    * データ処理:
        * たとえば、時間のかかる処理を必要とするファイル受信時には、「受信済み」(HTTP 202) のレスポンスを返し、バックグラウンドで処理できます。
    
    ## `BackgroundTasks` の使用
    
    まず初めに、`BackgroundTasks` をインポートし、` BackgroundTasks` の型宣言と共に、*path operation 関数* のパラメーターを定義します:
    
    ```Python hl_lines="1  13"
    {!../../docs_src/background_tasks/tutorial001.py!}
    ```
    
    **FastAPI** は、`BackgroundTasks` 型のオブジェクトを作成し、そのパラメーターに渡します。
    
    ## タスク関数の作成
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top