Search Options

Results per page
Sort
Preferred Languages
Advance

Results 761 - 770 of 1,703 for Fake (0.04 sec)

  1. android-test/build.gradle.kts

    }
    
    val androidBuild = property("androidBuild").toString().toBoolean()
    
    android {
      compileSdk = 34
    
      namespace = "okhttp.android.test"
    
      defaultConfig {
        minSdk = 21
    
        // Make sure to use the AndroidJUnitRunner (or a sub-class) in order to hook in the JUnit 5 Test Builder
        testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
        testInstrumentationRunnerArguments += mapOf(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. docs/distributed/decom.sh

    ./mc admin user add myminio/ minio12345 minio12345
    
    ./mc admin policy create myminio/ rw ./docs/distributed/rw.json
    ./mc admin policy create myminio/ lake ./docs/distributed/rw.json
    
    ./mc admin policy attach myminio/ rw --user=minio123
    ./mc admin policy attach myminio/ lake --user=minio12345
    
    ./mc mb -l myminio/versioned
    
    ./mc mirror internal myminio/versioned/ --quiet >/dev/null
    
    ## Soft delete (creates delete markers)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/websockets.md

    # WebSockets
    
    You can use <a href="https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API" class="external-link" target="_blank">WebSockets</a> with **FastAPI**.
    
    ## Install `WebSockets`
    
    Make sure you create a [virtual environment](../virtual-environments.md){.internal-link target=_blank}, activate it, and install `websockets`:
    
    <div class="termy">
    
    ```console
    $ pip install websockets
    
    ---> 100%
    ```
    
    </div>
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. clause/expression.go

    	Vars []interface{}
    }
    
    // Build build raw expression
    func (expr NamedExpr) Build(builder Builder) {
    	var (
    		idx              int
    		inName           bool
    		afterParenthesis bool
    		namedMap         = make(map[string]interface{}, len(expr.Vars))
    	)
    
    	for _, v := range expr.Vars {
    		switch value := v.(type) {
    		case sql.NamedArg:
    			namedMap[value.Name] = value.Value
    		case map[string]interface{}:
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Oct 10 06:45:48 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  5. cmd/speedtest.go

    	enableMultipart  bool
    	creds            auth.Credentials
    }
    
    // Get the max throughput and iops numbers.
    func objectSpeedTest(ctx context.Context, opts speedTestOpts) chan madmin.SpeedTestResult {
    	ch := make(chan madmin.SpeedTestResult, 1)
    	go func() {
    		defer xioutil.SafeClose(ch)
    
    		concurrency := opts.concurrencyStart
    
    		if opts.autotune {
    			// if we have less drives than concurrency then choose
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon May 06 09:45:10 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. cmd/server-main.go

    		return fmt.Errorf("Unable to initialize sub-systems: %w", err)
    	}
    }
    
    func initConfigSubsystem(ctx context.Context, newObject ObjectLayer) error {
    	// %w is used by all error returns here to make sure
    	// we wrap the underlying error, make sure when you
    	// are modifying this code that you do so, if and when
    	// you want to add extra context to your error. This
    	// ensures top level retry works accordingly.
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (1)
  7. guava-testlib/src/com/google/common/collect/testing/TestMapEntrySetGenerator.java

        return createFromEntries(entries);
      }
    
      public abstract Set<Entry<K, V>> createFromEntries(Entry<K, V>[] entries);
    
      @Override
      @SuppressWarnings("unchecked") // generic arrays make typesafety sad
      public Entry<K, V>[] createArray(int length) {
        return (Entry<K, V>[]) new Entry<?, ?>[length];
      }
    
      /** Returns the original element list, unchanged. */
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/testing.md

    ## Using `TestClient`
    
    /// info
    
    To use `TestClient`, first install <a href="https://www.python-httpx.org" class="external-link" target="_blank">`httpx`</a>.
    
    Make sure you create a [virtual environment](../virtual-environments.md){.internal-link target=_blank}, activate it, and then install it, for example:
    
    ```console
    $ pip install httpx
    ```
    
    ///
    
    Import `TestClient`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. docs/sts/web-identity.go

    	"time"
    
    	"golang.org/x/oauth2"
    
    	"github.com/minio/minio-go/v7"
    	"github.com/minio/minio-go/v7/pkg/credentials"
    )
    
    // Returns a base64 encoded random 32 byte string.
    func randomState() string {
    	b := make([]byte, 32)
    	rand.Read(b)
    	return base64.RawURLEncoding.EncodeToString(b)
    }
    
    var (
    	stsEndpoint    string
    	configEndpoint string
    	clientID       string
    	clientSec      string
    	clientScopes   string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 19 09:13:33 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  10. cmd/site-replication-utils_gen.go

    		case "bkts":
    			var zb0002 uint32
    			zb0002, err = dc.ReadMapHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "BucketStatuses")
    				return
    			}
    			if z.BucketStatuses == nil {
    				z.BucketStatuses = make(map[string]ResyncStatusType, zb0002)
    			} else if len(z.BucketStatuses) > 0 {
    				for key := range z.BucketStatuses {
    					delete(z.BucketStatuses, key)
    				}
    			}
    			for zb0002 > 0 {
    				zb0002--
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Nov 14 15:16:40 UTC 2022
    - 7.2K bytes
    - Viewed (0)
Back to top