Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 91 for finalized (0.25 sec)

  1. tests/test_dependency_contextmanager.py

            state["/async_raise"] = "asyncgen raise finalized"
    
    
    def generator_state_try(state: Dict[str, str] = Depends(get_state)):
        state["/sync_raise"] = "generator raise started"
        try:
            yield state["/sync_raise"]
        except SyncDependencyError:
            errors.append("/sync_raise")
            raise
        finally:
            state["/sync_raise"] = "generator raise finalized"
    
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/FileBackedOutputStream.java

       * the {@link ByteSource} returned by {@link #asByteSource} is finalized.
       *
       * @param fileThreshold the number of bytes before the stream should switch to buffering to a file
       * @param resetOnFinalize if true, the {@link #reset} method will be called when the {@link
       *     ByteSource} returned by {@link #asByteSource} is finalized.
       * @throws IllegalArgumentException if {@code fileThreshold} is negative
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

        GcFinalization.awaitClear(finalizableWeakReference);
    
        Field sepFrqUserFinalizedF = sepFrqUserC.getField("finalized");
        Semaphore finalizeCount = (Semaphore) sepFrqUserFinalizedF.get(null);
        boolean finalized = finalizeCount.tryAcquire(5, TimeUnit.SECONDS);
        assertTrue(finalized);
    
        Field sepFrqUserFrqF = sepFrqUserC.getField("frq");
        Closeable frq = (Closeable) sepFrqUserFrqF.get(null);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 13.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

        GcFinalization.awaitClear(finalizableWeakReference);
    
        Field sepFrqUserFinalizedF = sepFrqUserC.getField("finalized");
        Semaphore finalizeCount = (Semaphore) sepFrqUserFinalizedF.get(null);
        boolean finalized = finalizeCount.tryAcquire(5, TimeUnit.SECONDS);
        assertTrue(finalized);
    
        Field sepFrqUserFrqF = sepFrqUserC.getField("frq");
        Closeable frq = (Closeable) sepFrqUserFrqF.get(null);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 13.3K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/GcFinalization.java

       * separate method to make it somewhat more likely to be unreachable.
       */
      private static void createUnreachableLatchFinalizer(CountDownLatch latch) {
        Object unused =
            new Object() {
              @SuppressWarnings("removal") // b/260137033
              @Override
              protected void finalize() {
                latch.countDown();
              }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/FinalizableReferenceQueue.java

      private static final String FINALIZER_CLASS_NAME = "com.google.common.base.internal.Finalizer";
    
      /** Reference to Finalizer.startFinalizer(). */
      private static final Method startFinalizer;
    
      static {
        Class<?> finalizer =
            loadFinalizer(new SystemLoader(), new DecoupledLoader(), new DirectLoader());
        startFinalizer = getStartFinalizer(finalizer);
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/FinalizableReferenceQueue.java

      private static final String FINALIZER_CLASS_NAME = "com.google.common.base.internal.Finalizer";
    
      /** Reference to Finalizer.startFinalizer(). */
      private static final Method startFinalizer;
    
      static {
        Class<?> finalizer =
            loadFinalizer(new SystemLoader(), new DecoupledLoader(), new DirectLoader());
        startFinalizer = getStartFinalizer(finalizer);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

       * separate method to make it somewhat more likely to be unreachable.
       */
      private static void createUnreachableLatchFinalizer(CountDownLatch latch) {
        Object unused =
            new Object() {
              @SuppressWarnings("removal") // b/260137033
              @Override
              protected void finalize() {
                latch.countDown();
              }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java

         * from the configuration that are not applicable to the mojo and injects the default values for any missing
         * parameters.
         *
         * @param mojoExecution The mojo execution whose configuration should be finalized, must not be {@code null}.
         */
        private void finalizeMojoConfiguration(MojoExecution mojoExecution) {
            MojoDescriptor mojoDescriptor = mojoExecution.getMojoDescriptor();
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 26.3K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api.h

    //
    // Does not use the operation's definition to determine how many inputs should
    // be attached. It is intended for use with TFE_OpGetFlatInput to inspect an
    // already-finalized operation.
    //
    // Note that TFE_OpGetFlatInputCount and TFE_OpGetFlatInput operate on a flat
    // sequence of inputs, unlike TFE_OpGetInputLength (for getting the length of a
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
Back to top