Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,130 for afterFn (0.07 sec)

  1. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    FastAPI supports dependencies that do some <abbr title='sometimes also called "exit code", "cleanup code", "teardown code", "closing code", "context manager exit code", etc.'>extra steps after finishing</abbr>.
    
    To do this, use `yield` instead of `return`, and write the extra steps (code) after.
    
    /// tip
    
    Make sure to use `yield` one single time per dependency.
    
    ///
    
    /// note | "Technical Details"
    
    Any function that is valid to use with:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14K bytes
    - Viewed (0)
  2. internal/s3select/jstream/decoder.go

    		case '}':
    			goto out
    		case ',':
    			c = d.skipSpaces()
    			goto scan
    		default:
    			err = d.mkError(ErrSyntax, "after object key:value pair")
    			goto out
    		}
    	}
    
    out:
    	d.depth--
    	return obj, err
    }
    
    // returns the next char after white spaces
    func (d *Decoder) skipSpaces() byte {
    	for d.pos < atomic.LoadInt64(&d.end) {
    		switch c := d.next(); c {
    		case '\n':
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  3. cmd/bucket-metadata.go

    	if b.PolicyConfigUpdatedAt.After(t) {
    		t = b.PolicyConfigUpdatedAt
    	}
    	if b.ObjectLockConfigUpdatedAt.After(t) {
    		t = b.ObjectLockConfigUpdatedAt
    	}
    	if b.EncryptionConfigUpdatedAt.After(t) {
    		t = b.EncryptionConfigUpdatedAt
    	}
    	if b.TaggingConfigUpdatedAt.After(t) {
    		t = b.TaggingConfigUpdatedAt
    	}
    	if b.QuotaConfigUpdatedAt.After(t) {
    		t = b.QuotaConfigUpdatedAt
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  4. docs/site-replication/run-multi-site-ldap.sh

    	exit_1
    fi
    
    sleep 10
    
    ./mc admin user svcacct info minio2 testsvc
    if [ $? -eq 0 ]; then
    	echo "svc account found after delete, exiting.."
    	exit_1
    fi
    
    ./mc admin user svcacct info minio3 testsvc
    if [ $? -eq 0 ]; then
    	echo "svc account found after delete, exiting.."
    	exit_1
    fi
    
    ./mc mb minio1/newbucket
    # copy large upload to newbucket on minio1
    truncate -s 17M lrgfile
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  5. cmd/erasure-healing.go

    			merr := storageDisks[i].MakeVol(ctx, pathJoin(bucket, object))
    			switch merr {
    			case nil, errVolumeExists:
    				hr.After.Drives[i].State = madmin.DriveStateOk
    			case errDiskNotFound:
    				hr.After.Drives[i].State = madmin.DriveStateOffline
    			default:
    				hr.After.Drives[i].State = madmin.DriveStateCorrupt
    			}
    		}
    	}
    	return hr, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  6. cmd/batch-handlers_gen_test.go

    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after Skip(): %q", len(left), left)
    	}
    }
    
    func BenchmarkMarshalMsgBatchJobPrefix(b *testing.B) {
    	v := BatchJobPrefix{}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. cmd/local-locker_gen_test.go

    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after Skip(): %q", len(left), left)
    	}
    }
    
    func BenchmarkMarshalMsglocalLockMap(b *testing.B) {
    	v := localLockMap{}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 19 22:54:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

        assertThrows(NullPointerException.class, () -> getMap().putIfAbsent(null, v3()));
        expectUnchanged();
        expectNullKeyMissingWhenNullKeysUnsupported(
            "Should not contain null key after unsupported putIfAbsent(null, value)");
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      public void testPutIfAbsent_nullValueUnsupportedAndKeyAbsent() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. CONTRIBUTING.md

    ...
    ```
    
    ### Create your feature branch
    
    Before making code changes, make sure you create a separate branch for these changes
    
    ```
    git checkout -b my-new-feature
    ```
    
    ### Test MinIO server changes
    
    After your code changes, make sure
    
    - To add test cases for the new code. If you have questions about how to do it, please ask on our [Slack](https://slack.min.io) channel.
    - To run `make verifiers`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Aug 05 18:35:53 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. helm/minio/README.md

    ```
    trustedCertsSecret: "minio-trusted-certs"
    
    or
    
    --set trustedCertsSecret=minio-trusted-certs
    ```
    
    ### Create buckets after install
    
    Install the chart, specifying the buckets you want to create after install:
    
    ```bash
    helm install --set buckets[0].name=bucket1,buckets[0].policy=none,buckets[0].purge=false minio/minio
    ```
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jan 24 07:27:57 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top