Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,853 for doen (0.19 sec)

  1. docs/en/docs/advanced/events.md

        await do_stuff()
    ```
    
    When you create a context manager or an async context manager like above, what it does is that, before entering the `with` block, it will execute the code before the `yield`, and after exiting the `with` block, it will execute the code after the `yield`.
    
    In our code example above, we don't use it directly, but we pass it to FastAPI for it to use it.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java

        assertFalse(singleCallListener.wasCalled());
        assertFalse(listenableFuture.isDone());
    
        listenableFuture.addListener(singleCallListener, directExecutor());
        /*
         * Don't shut down until the listenInPoolThread task has been accepted to
         * run. We want to see what happens when it's interrupted, not when it's
         * rejected.
         */
        submitSuccessful.await();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 9.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java

        assertFalse(singleCallListener.wasCalled());
        assertFalse(listenableFuture.isDone());
    
        listenableFuture.addListener(singleCallListener, directExecutor());
        /*
         * Don't shut down until the listenInPoolThread task has been accepted to
         * run. We want to see what happens when it's interrupted, not when it's
         * rejected.
         */
        submitSuccessful.await();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 9.7K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

        do {
          System.runFinalization();
          if (predicate.isDone()) {
            return;
          }
          CountDownLatch done = new CountDownLatch(1);
          createUnreachableLatchFinalizer(done);
          await(done);
          if (predicate.isDone()) {
            return;
          }
        } while (System.nanoTime() - deadline < 0);
        throw formatRuntimeException(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/WebPlatformToAsciiTest.kt

          // OkHttp does not reject invalid Punycode.
          "xn--a",
          "xn--a.ß",
          "xn--a.xn--zca",
          "xn--a-yoc",
          // OkHttp doesn't reject U+FFFD encoded in Punycode.
          "xn--zn7c.com",
          // OkHttp doesn't reject a U+200D. https://www.rfc-editor.org/rfc/rfc5892.html#appendix-A.2
          "xn--1ug.example",
          // OkHttp doesn't implement CheckJoiners.
          "\u200D.example",
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/LongMath.java

          case UNNECESSARY:
            checkRoundingUnnecessary(isPowerOfTwo(x));
            // fall through
          case DOWN:
          case FLOOR:
            return (Long.SIZE - 1) - Long.numberOfLeadingZeros(x);
    
          case UP:
          case CEILING:
            return Long.SIZE - Long.numberOfLeadingZeros(x - 1);
    
          case HALF_DOWN:
          case HALF_UP:
          case HALF_EVEN:
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  7. src/bufio/scan.go

    					}
    				}
    				return true
    			}
    		}
    		// We cannot generate a token with what we are holding.
    		// If we've already hit EOF or an I/O error, we are done.
    		if s.err != nil {
    			// Shut it down.
    			s.start = 0
    			s.end = 0
    			return false
    		}
    		// Must read more data.
    		// First, shift data to beginning of buffer if there's lots of empty space
    		// or space is needed.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc

      if (info->plugin_memory_allocate == nullptr)
        return errors::FailedPrecondition(
            "Cannot load filesystem plugin which does not provide "
            "`plugin_memory_allocate`");
    
      if (info->plugin_memory_free == nullptr)
        return errors::FailedPrecondition(
            "Cannot load filesystem plugin which does not provide "
            "`plugin_memory_free`");
    
      return OkStatus();
    }
    
    namespace filesystem_registration {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 07 22:08:43 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  9. cmd/bucket-replication.go

    	}
    	go func() {
    		<-p.ctx.Done()
    		for i := 0; i < LargeWorkerCount; i++ {
    			xioutil.SafeClose(p.lrgworkers[i])
    		}
    	}()
    }
    
    // AddLargeWorker adds a replication worker to the static pool for large uploads.
    func (p *ReplicationPool) AddLargeWorker(input <-chan ReplicationWorkerOperation) {
    	for {
    		select {
    		case <-p.ctx.Done():
    			return
    		case oi, ok := <-input:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  10. buildscripts/checkdeps.sh

    	esac
    }
    
    ## FIXME:
    ## In OSX, 'readlink -f' option does not exist, hence
    ## we have our own readlink -f behavior here.
    ## Once OSX has the option, below function is good enough.
    ##
    ## readlink() {
    ##     return /bin/readlink -f "$1"
    ## }
    ##
    readlink() {
    	TARGET_FILE=$1
    
    	cd $(dirname $TARGET_FILE)
    	TARGET_FILE=$(basename $TARGET_FILE)
    
    	# Iterate down a (possible) chain of symlinks
    	while [ -L "$TARGET_FILE" ]; do
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 3.4K bytes
    - Viewed (0)
Back to top