Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 235 for teardown (0.24 sec)

  1. src/test/java/jcifs/util/SecureCredentialStorageTest.java

        public void setUp() throws Exception {
            masterPassword = "MasterPassword123!@#".toCharArray();
            storage = new SecureCredentialStorage(masterPassword.clone());
        }
    
        @AfterEach
        public void tearDown() throws Exception {
            if (storage != null && !storage.isDestroyed()) {
                try {
                    storage.close();
                } catch (Exception e) {
                    // Ignore cleanup exceptions
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

            startJob(NAME_PREFIX);
    
            waitJob(NAME_PREFIX);
            refresh();
        }
    
        @BeforeEach
        protected void init() {
            refresh();
        }
    
        @AfterEach
        protected void tearDown() {
        }
    
        @AfterAll
        protected static void tearDownAll() {
            deleteDocuments("label:" + CRAWL_LABEL);
            deleteLabel(labelId);
            deleteLabel(crawlLabelId);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/Crc32cHashFunction.java

          }
          finished = true;
        }
    
        @Override
        protected HashCode makeHash() {
          if (!finished) {
            // processRemaining does teardown we always want to do -- the folding together of the four
            // rolling CRCs.  So we call it on an empty ByteBuffer if we didn't already.
            processRemaining(EMPTY);
          }
          return HashCode.fromInt(~crc0);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  4. docs/es/docs/tutorial/dependencies/dependencies-with-yield.md

    # Dependencias con yield
    
    FastAPI admite dependencias que realizan algunos <abbr title='sometimes also called "exit code", "cleanup code", "teardown code", "closing code", "context manager exit code", etc.'>pasos adicionales después de finalizar</abbr>.
    
    Para hacer esto, usa `yield` en lugar de `return` y escribe los pasos adicionales (código) después.
    
    /// tip | Consejo
    
    Asegúrate de usar `yield` una sola vez por dependencia.
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 13K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt

      private val addressB = factory.newAddress("b")
      private val routeB1 = factory.newRoute(addressB)
      private val addressC = factory.newAddress("c")
      private val routeC1 = factory.newRoute(addressC)
    
      @AfterEach fun tearDown() {
        factory.close()
        peer.close()
      }
    
      @Test fun connectionsEvictedWhenIdleLongEnough() {
        val pool = factory.newConnectionPool()
        val c1 = factory.newConnection(pool, routeA1, 50L)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

                    @Override
                    public void run() {
                      integer.getAndIncrement();
                    }
                  });
        }
      }
    
      @AfterExperiment
      void tearDown() throws Exception {
        executorService.shutdown();
      }
    
      @Footprint(exclude = {Runnable.class, Executor.class})
      public Object measureSize() {
        list = impl.newExecutionList();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/SecureKeyManagerTest.java

        @BeforeEach
        public void setUp() {
            keyManager = new SecureKeyManager();
            testKey = new byte[16];
            new SecureRandom().nextBytes(testKey);
        }
    
        @AfterEach
        public void tearDown() {
            if (keyManager != null) {
                keyManager.close();
            }
        }
    
        @Test
        public void testStoreAndRetrieveKey() {
            String sessionId = "test-session-1";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt

      private val log = mutableListOf<String>()
      private val redQueue = taskRunner.newQueue()
      private val blueQueue = taskRunner.newQueue()
      private val greenQueue = taskRunner.newQueue()
    
      @AfterEach
      internal fun tearDown() {
        taskFaker.close()
      }
    
      @Test fun executeDelayed() {
        redQueue.execute("task", 100.µs) {
          log += "run@${taskFaker.nanoTime}"
        }
    
        taskFaker.advanceUntil(0.µs)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 23K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/Kerb5ContextTest.java

            // Create Kerb5Context with mocked dependencies
            ctx = new Kerb5Context("host.example", "cifs", null, 0, 0, null);
        }
    
        @AfterEach
        void tearDown() {
            if (mockedStatic != null) {
                mockedStatic.close();
            }
        }
    
        private static void setPrivateField(Object target, String name, Object value) throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/dependencies/dependencies-with-yield.md

    # Abhängigkeiten mit yield
    
    FastAPI unterstützt Abhängigkeiten, die nach Abschluss einige <abbr title="Manchmal auch genannt „Exit Code“, „Cleanup Code“, „Teardown Code“, „Closing Code“, „Kontext Manager Exit Code“, usw.">zusätzliche Schritte ausführen</abbr>.
    
    Verwenden Sie dazu `yield` statt `return` und schreiben Sie die zusätzlichen Schritte / den zusätzlichen Code danach.
    
    /// tip | Tipp
    
    Stellen Sie sicher, dass Sie `yield` nur einmal pro Abhängigkeit verwenden.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top