Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 83 for finalize (0.07 sec)

  1. guava/src/com/google/common/base/FinalizableReferenceQueue.java

      /**
       * Iterates through the given loaders until it finds one that can load Finalizer.
       *
       * @return Finalizer.class
       */
      private static Class<?> loadFinalizer(FinalizerLoader... loaders) {
        for (FinalizerLoader loader : loaders) {
          Class<?> finalizer = loader.loadFinalizer();
          if (finalizer != null) {
            return finalizer;
          }
        }
    
        throw new AssertionError();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 11 20:51:36 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. CHANGELOG/CHANGELOG-1.30.md

      
      With this patch, the external provisioner can remove the finalizer in next reconcile loop. Unfortunately if the provious existing pv has the Failed state, this patch won't take effort. It requires users to remove finalizer. ([#126043](https://github.com/kubernetes/kubernetes/pull/126043), [@carlory](https://github.com/carlory)) [SIG Apps and Storage]
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Wed Oct 23 04:40:14 UTC 2024
    - 309.1K bytes
    - Viewed (0)
  3. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      // in this list can only be removed.
      // Finalizers may be processed and removed in any order.  Order is NOT enforced
      // because it introduces significant risk of stuck finalizers.
      // finalizers is a shared field, any actor with permission can reorder it.
      // If the finalizer list is processed in order, then this can lead to a situation
      // in which the component responsible for the first finalizer in the list is
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  4. 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"
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:13:50 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

      public void testGetFinalizerUrl() {
        assertNotNull(getClass().getResource("internal/Finalizer.class"));
      }
    
      public void testFinalizeClassHasNoNestedClasses() throws Exception {
        // Ensure that the Finalizer class has no nested classes.
        // See https://github.com/google/guava/issues/1505
        assertEquals(Collections.emptyList(), Arrays.asList(Finalizer.class.getDeclaredClasses()));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. proguard/base.pro

    # FinalizableReferenceQueue is unused.
    -keepnames class com.google.common.base.internal.Finalizer {
      *** startFinalizer(...);
    }
    # However, it cannot "spot" that this method needs to be kept IF the class is.
    -keepclassmembers class com.google.common.base.internal.Finalizer {
      *** startFinalizer(...);
    }
    -keepnames class com.google.common.base.FinalizableReference {
      void finalizeReferent();
    }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 09 00:29:01 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/batch/v1/generated.proto

      //
      // The job controller creates pods with a finalizer. When a pod terminates
      // (succeeded or failed), the controller does three steps to account for it
      // in the job status:
      //
      // 1. Add the pod UID to the arrays in this field.
      // 2. Remove the pod finalizer.
      // 3. Remove the pod UID from the arrays while increasing the corresponding
      //     counter.
      //
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/dependencies/dependencies-with-yield.md

        contents = f.read()
        print(contents)
    ```
    
    Por baixo dos panos, o código `open("./somefile.txt")` cria um objeto que é chamado de "Gerenciador de Contexto".
    
    Quando o bloco `with` finaliza, ele se certifica de fechar o arquivo, mesmo que tenha ocorrido alguma exceção.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        oos.writeObject(map);
        oos.flush();
    
        int mapSize = bytes.size();
        oos.writeObject(keySet);
        oos.writeObject(values);
        oos.close();
    
        int finalSize = bytes.size();
    
        assertThat(finalSize - mapSize).isLessThan(100);
      }
    
      // TODO: Re-enable this test after moving to new serialization format in ImmutableMap.
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  10. docs/pt/docs/advanced/events.md

    ///
    
    ### `startup` e `shutdown` juntos
    
    Há uma grande chance que a lógica para sua *inicialização* e *encerramento* esteja conectada, você pode querer iniciar alguma coisa e então finalizá-la, adquirir um recurso e então liberá-lo, etc.
    
    Fazendo isso em funções separadas que não compartilham lógica ou variáveis entre elas é mais difícil já que você precisa armazenar os valores em variáveis globais ou truques parecidos.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top