Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2101 - 2110 of 2,445 for checks (0.1 seconds)

  1. docs/zh/docs/tutorial/dependencies/index.md

    common_parameters(["common_parameters"])
    read_items["/items/"]
    read_users["/users/"]
    
    common_parameters --> read_items
    common_parameters --> read_users
    ```
    
    这样,你只需编写一次共享代码,**FastAPI** 会在你的*路径操作*中为你调用它。
    
    /// check | 检查
    
    注意,无需创建专门的类并传给 **FastAPI** 去“注册”之类的操作。
    
    只要把它传给 `Depends`,**FastAPI** 就知道该怎么做了。
    
    ///
    
    ## 共享 `Annotated` 依赖项 { #share-annotated-dependencies }
    
    在上面的示例中,你会发现这里有一点点**代码重复**。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  2. misc/cgo/gmp/gmp.go

    func GcdInt(d, x, y, a, b *Int) {
    	d.doinit()
    	x.doinit()
    	y.doinit()
    	a.doinit()
    	b.doinit()
    	C.mpz_gcdext(&d.i[0], &x.i[0], &y.i[0], &a.i[0], &b.i[0])
    }
    
    // ProbablyPrime performs n Miller-Rabin tests to check whether z is prime.
    // If it returns true, z is prime with probability 1 - 1/4^n.
    // If it returns false, z is not prime.
    func (z *Int) ProbablyPrime(n int) bool {
    	z.doinit()
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/ImmutableSortedMap.java

          default:
            Object[] keys = new Object[size];
            Object[] values = new Object[size];
            if (sameComparator) {
              // Need to check for nulls, but don't need to sort or validate.
              for (int i = 0; i < size; i++) {
                // requireNonNull is safe because the first `size` elements have been filled in.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 52.1K bytes
    - Click Count (0)
  4. cmd/metacache-stream.go

    		return false
    	}
    	// We have checked if prefix matches, so we can do direct compare.
    	return b.First > prefix
    }
    
    // endedPrefix returns true if the given prefix ends within the block.
    func (b metacacheBlock) endedPrefix(prefix string) bool {
    	if prefix == "" || strings.HasPrefix(b.Last, prefix) {
    		return false
    	}
    
    	// We have checked if prefix matches, so we can do direct compare.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed May 07 15:37:12 GMT 2025
    - 19.5K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/MutableClassToInstanceMap.java

             */
            @SuppressWarnings("nullness")
            Object[] result = standardToArray();
            return result;
          }
    
          @Override
          @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
          public <T extends @Nullable Object> T[] toArray(T[] array) {
            return standardToArray(array);
          }
        };
      }
    
      @Override
      @CanIgnoreReturnValue
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

            void testReadSizeProperty() {
                testMessage.setReadSize(1024);
                // No getter for readSize, but it's used internally in decode
            }
    
            @Test
            @DisplayName("Should check if async")
            void testAsyncProperty() {
                assertFalse(testMessage.isAsync());
            }
        }
    
        @Nested
        @DisplayName("Flag Operations Tests")
        class FlagOperationsTests {
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 39.5K bytes
    - Click Count (0)
  7. CHANGELOG/CHANGELOG-1.3.md

    * Increase request timeout based on termination grace period ([#31275](https://github.com/kubernetes/kubernetes/pull/31275), [@dims](https://github.com/dims))
    * Skip safe to detach check if node API object no longer exists ([#30737](https://github.com/kubernetes/kubernetes/pull/30737), [@saad-ali](https://github.com/saad-ali))
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Dec 24 02:28:26 GMT 2020
    - 84K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

        }
        return ~crc;
      }
    
      /**
       * Verifies that the crc of an array of byte data matches the expected value.
       *
       * @param expectedCrc the expected crc value.
       * @param data the data to run the checksum on.
       */
      private static void assertCrc(int expectedCrc, byte[] data) {
        int actualCrc = crc32c().hashBytes(data).asInt();
        assertEquals(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  9. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

                            new String(Arrays.copyOfRange(targetInfo, 4, 4 + TEST_DOMAIN.getBytes(Type2Message.UNI_ENCODING).length),
                                    Type2Message.UNI_ENCODING));
    
                    // Verify server part - check if it exists
                    int serverOffset = 4 + TEST_DOMAIN.getBytes(Type2Message.UNI_ENCODING).length;
                    if (serverOffset + 4 <= targetInfo.length) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 38.9K bytes
    - Click Count (0)
  10. .teamcity/src/main/kotlin/common/CommonExtensions.kt

    }
    
    fun Dependencies.compileAllDependency(compileAllId: String) {
        // Compile All has to succeed before anything else is started
        dependsOn(RelativeId(compileAllId))
        // Get the build receipt from sanity check to reuse the timestamp
        artifacts(RelativeId(compileAllId)) {
            id = "ARTIFACT_DEPENDENCY_$compileAllId"
            cleanDestination = true
            artifactRules = "build-receipt.properties => incoming-distributions"
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 13 05:03:56 GMT 2026
    - 14.8K bytes
    - Click Count (0)
Back to Top