Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 338 for statements (0.06 sec)

  1. docs/en/docs/advanced/custom-response.md

    ```{ .python .annotate hl_lines="2  10-12  14" }
    {!../../docs_src/custom_response/tutorial008.py!}
    ```
    
    1. This is the generator function. It's a "generator function" because it contains `yield` statements inside.
    2. By using a `with` block, we make sure that the file-like object is closed after the generator function is done. So, after it finishes sending the response.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. doc/go_mem.html

    </p>
    
    <p class="rule">
    A receive from an unbuffered channel is synchronized before the completion of
    the corresponding send on that channel.
    </p>
    
    <p>
    This program (as above, but with the send and receive statements swapped and
    using an unbuffered channel):
    </p>
    
    <pre>
    var c = make(chan int)
    var a string
    
    func f() {
    	a = "hello, world"
    	&lt;-c
    }
    
    func main() {
    	go f()
    	c &lt;- 0
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Mar 04 15:54:42 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

       *
       * <p>The use of this class is considered an implementation detail of ServiceManager and as such
       * it is excluded from {@link #servicesByState}, {@link #startupTimes}, {@link #toString} and all
       * logging statements.
       */
      private static final class NoOpService extends AbstractService {
        @Override
        protected void doStart() {
          notifyStarted();
        }
    
        @Override
        protected void doStop() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/ServiceManager.java

       *
       * <p>The use of this class is considered an implementation detail of ServiceManager and as such
       * it is excluded from {@link #servicesByState}, {@link #startupTimes}, {@link #toString} and all
       * logging statements.
       */
      private static final class NoOpService extends AbstractService {
        @Override
        protected void doStart() {
          notifyStarted();
        }
    
        @Override
        protected void doStop() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Throwables.java

       *
       * <p>This method always throws an exception. The {@code RuntimeException} return type allows
       * client code to signal to the compiler that statements after the call are unreachable. Example
       * usage:
       *
       * <pre>
       * T doSomething() {
       *   try {
       *     return someMethodThatCouldThrowAnything();
       *   } catch (IKnowWhatToDoWithThisException e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  6. cmd/iam.go

    	// policy, regardless of whether the number of statements is 0, this
    	// includes `null`, `{}` and `{"Statement": null}`. In fact, MinIO Console
    	// sends `null` when no policy is set and the intended behavior is that the
    	// service account should inherit parent policy.
    	//
    	// However, for a policy like `{"Statement":[]}`, the intention is to not
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  7. tensorflow/BUILD

        define_values = {"no_xla_deps_in_cuda": "true"},
        visibility = ["//visibility:public"],
    )
    
    # Crosses between framework_shared_object and a bunch of other configurations
    # due to limitations in nested select() statements.
    config_setting(
        name = "framework_shared_object",
        define_values = {"framework_shared_object": "true"},
        visibility = ["//visibility:public"],
    )
    
    config_setting(
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 16 05:28:35 UTC 2024
    - 53.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/math/LongMath.java

        long guess = (long) Math.sqrt((double) x);
        // Note: guess is always <= FLOOR_SQRT_MAX_LONG.
        long guessSquared = guess * guess;
        // Note (2013-2-26): benchmarks indicate that, inscrutably enough, using if statements is
        // faster here than using lessThanBranchFree.
        switch (mode) {
          case UNNECESSARY:
            checkRoundingUnnecessary(guessSquared == x);
            return guess;
          case FLOOR:
          case DOWN:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 16:39:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  9. cmd/iam-store.go

    	// at this point.
    	m.Delete(sessionPolicyNameExtracted)
    
    	nosp := opts.sessionPolicy == nil || opts.sessionPolicy.Version == "" && len(opts.sessionPolicy.Statements) == 0
    
    	// sessionPolicy is nil and there is embedded policy attached we remove
    	// embedded policy at that point.
    	if _, ok := m.Lookup(policy.SessionPolicyName); ok && nosp {
    		m.Delete(policy.SessionPolicyName)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  10. cmd/admin-handlers-users.go

    		sp, err = policy.ParseConfig(bytes.NewReader(updateReq.NewPolicy))
    		if err != nil {
    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    			return
    		}
    		if sp.Version == "" && len(sp.Statements) == 0 {
    			sp = nil
    		}
    	}
    	opts := updateServiceAccountOpts{
    		secretKey:     updateReq.NewSecretKey,
    		status:        updateReq.NewStatus,
    		name:          updateReq.NewName,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
Back to top