Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 1,356 for afterFn (1.57 seconds)

  1. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    Normally the exit code of dependencies with `yield` is executed **after the response** is sent to the client.
    
    But if you know that you won't need to use the dependency after returning from the *path operation function*, you can use `Depends(scope="function")` to tell FastAPI that it should close the dependency after the *path operation function* returns, but **before** the **response is sent**.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 12.9K bytes
    - Click Count (0)
  2. cmd/xl-storage-format-v1_gen_test.go

    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after Skip(): %q", len(left), left)
    	}
    }
    
    func BenchmarkMarshalMsgChecksumInfo(b *testing.B) {
    	v := ChecksumInfo{}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  3. cmd/bucket-replication-metrics_gen_test.go

    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after Skip(): %q", len(left), left)
    	}
    }
    
    func BenchmarkMarshalMsgActiveWorkerStat(b *testing.B) {
    	v := ActiveWorkerStat{}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 17.4K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/PhaseExecutionPoint.java

         * be executed provided at least one {@link #BEFORE} or {@link #AT} dynamic phase has started execution.
         */
        AFTER("after:");
    
        private final String prefix;
    
        PhaseExecutionPoint(String prefix) {
            this.prefix = prefix;
        }
    
        public String prefix() {
            return prefix;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

                task = withLock {
                  afterRun(task, delayNanos, true)
                  awaitTaskToRun()
                } ?: return
              }
            } catch (thrown: Throwable) {
              // A task failed. Update execution state and re-throw the exception.
              withLock {
                afterRun(task, -1L, false)
              }
              if (thrown is InterruptedException) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Aug 30 11:30:11 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  6. cmd/site-replication-metrics_gen_test.go

    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after Skip(): %q", len(left), left)
    	}
    }
    
    func BenchmarkMarshalMsgRStat(b *testing.B) {
    	v := RStat{}
    	b.ReportAllocs()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 12.9K bytes
    - Click Count (0)
  7. internal/grid/msg_gen_test.go

    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after Skip(): %q", len(left), left)
    	}
    }
    
    func BenchmarkMarshalMsgconnectReq(b *testing.B) {
    	v := connectReq{}
    	b.ReportAllocs()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 12.9K bytes
    - Click Count (0)
  8. docs/resiliency/resiliency-tests.sh

    	OUTPUT=$(docker exec resiliency-minio1-1 /bin/sh -c "rm /data$((DATA_DRIVE))/test-bucket/initial-data/$FILE/xl.meta")
    	WANT='{ "before": { "color": "green", "missing": 1, "corrupted": 0 }, "after": { "color": "green", "missing": 0, "corrupted": 0 }, "args": {"file": "'${FILE}'", "dir": "'${DIR}'"} }'
    	verify_resiliency_healing "${FUNCNAME[0]}" "${WANT}"
    
    	# Remove two xl.meta's -- status becomes yellow
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sat Dec 21 04:24:45 GMT 2024
    - 20.5K bytes
    - Click Count (0)
  9. cmd/bucket-replication-utils_gen_test.go

    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after Skip(): %q", len(left), left)
    	}
    }
    
    func BenchmarkMarshalMsgBucketReplicationResyncStatus(b *testing.B) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 23K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetEntrySetTester.java

            Multisets.immutableEntry(e0(), 1),
            iterator.next());
        assertFalse(
            "size 1 multiset.entrySet() iterator.hasNext() returned true after next()",
            iterator.hasNext());
        iterator.remove();
        assertTrue(
            "multiset isn't empty after multiset.entrySet() iterator.remove()",
            getMultiset().isEmpty());
      }
    
      @CollectionSize.Require(absent = ZERO)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 9.6K bytes
    - Click Count (0)
Back to Top