Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3531 - 3540 of 4,666 for inT (0.02 seconds)

  1. internal/config/crypto_test.go

    	if err != nil {
    		b.Fatalf("Failed to decode master key: %v", err)
    	}
    	KMS, err := kms.NewBuiltin("my-key", key)
    	if err != nil {
    		b.Fatalf("Failed to create KMS: %v", err)
    	}
    
    	benchmarkEncrypt := func(size int, b *testing.B) {
    		var (
    			data      = make([]byte, size)
    			plaintext = bytes.NewReader(data)
    			context   = kms.Context{"key": "value"}
    		)
    		b.SetBytes(int64(size))
    		for b.Loop() {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  2. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt

      const val TYPE_A = 0x0001
      const val TYPE_AAAA = 0x001c
      private const val TYPE_PTR = 0x000c
      private val ASCII = Charsets.US_ASCII
    
      fun encodeQuery(
        host: String,
        type: Int,
      ): ByteString =
        Buffer()
          .apply {
            writeShort(0) // query id
            writeShort(256) // flags with recursion
            writeShort(1) // question count
            writeShort(0) // answerCount
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverRequest.java

                            && Objects.equals(coordinates, that.coordinates)
                            && Objects.equals(repositories, that.repositories);
                }
    
                @Override
                public int hashCode() {
                    return Objects.hash(coordinates, repositories);
                }
    
                @Override
                @Nonnull
                public String toString() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  4. docs/zh-hant/docs/tutorial/extra-data-types.md

    # 額外的資料型別 { #extra-data-types }
    
    到目前為止,你一直在使用常見的資料型別,例如:
    
    * `int`
    * `float`
    * `str`
    * `bool`
    
    但你也可以使用更複雜的資料型別。
    
    而且你仍然會擁有目前為止所見的同樣功能:
    
    * 極佳的編輯器支援。
    * 將傳入請求的資料轉換。
    * 回應資料的轉換。
    * 資料驗證。
    * 自動產生註解與文件。
    
    ## 其他資料型別 { #other-data-types }
    
    以下是你可以使用的一些其他資料型別:
    
    * `UUID`:
        * 一種標準的「通用唯一識別碼 (Universally Unique Identifier)」,常見於許多資料庫與系統的 ID。
        * 在請求與回應中會以 `str` 表示。
    * `datetime.datetime`:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  5. docs/zh/docs/tutorial/extra-data-types.md

    # 额外数据类型 { #extra-data-types }
    
    到目前为止,您一直在使用常见的数据类型,如:
    
    * `int`
    * `float`
    * `str`
    * `bool`
    
    但是您也可以使用更复杂的数据类型。
    
    您仍然会拥有现在已经看到的相同的特性:
    
    * 很棒的编辑器支持。
    * 传入请求的数据转换。
    * 响应数据转换。
    * 数据验证。
    * 自动注解和文档。
    
    ## 其他数据类型 { #other-data-types }
    
    下面是一些你可以使用的其他数据类型:
    
    * `UUID`:
        * 一种标准的 "通用唯一标识符" ,在许多数据库和系统中用作ID。
        * 在请求和响应中将以 `str` 表示。
    * `datetime.datetime`:
        * 一个 Python `datetime.datetime`.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  6. tests/test_compat.py

        field = v2.ModelField(name="foo", field_info=field_info)
        assert field.default is Undefined
    
    
    def test_complex():
        app = FastAPI()
    
        @app.post("/")
        def foo(foo: str | list[int]):
            return foo
    
        client = TestClient(app)
    
        response = client.post("/", json="bar")
        assert response.status_code == 200, response.text
        assert response.json() == "bar"
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/FluentIterableTest.java

                  FluentIterable.<Integer>from(asList(1, 2)).append((List<Integer>) null);
            });
      }
    
      /*
       * Tests for partition(int size) method.
       */
    
      /*
       * Tests for partitionWithPadding(int size) method.
       */
    
      public void testFilter() {
        FluentIterable<String> filtered =
            FluentIterable.from(asList("foo", "bar")).filter(equalTo("foo"));
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 31.2K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/base/Absent.java

        checkNotNull(function);
        return Optional.absent();
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        return this == obj;
      }
    
      @Override
      public int hashCode() {
        return 0x79a31aac;
      }
    
      @Override
      public String toString() {
        return "Optional.absent()";
      }
    
      private Object readResolve() {
        return INSTANCE;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Apr 15 22:14:00 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DependencyContext.java

        private final Collection<String> scopesToResolveForAggregatedProjects;
    
        private volatile Collection<?> lastDependencyArtifacts = Collections.emptyList();
    
        private volatile int lastDependencyArtifactCount = -1;
    
        public DependencyContext(
                MavenProject project, Collection<String> scopesToCollect, Collection<String> scopesToResolve) {
            this.project = project;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapKeysTester.java

      }
    
      public void testKeysElementSet() {
        assertEquals(multimap().keySet(), multimap().keys().elementSet());
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testKeysRemove() {
        int original = multimap().keys().remove(k0(), 1);
        assertEquals(max(original - 1, 0), multimap().get(k0()).size());
      }
    
      @CollectionSize.Require(ONE)
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 4.3K bytes
    - Click Count (1)
Back to Top