Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 721 - 730 of 1,728 for FieldD (0.07 seconds)

  1. guava-tests/test/com/google/common/collect/AndroidIncompatible.java

     */
    
    package com.google.common.collect;
    
    import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
    import static java.lang.annotation.ElementType.CONSTRUCTOR;
    import static java.lang.annotation.ElementType.FIELD;
    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.TYPE;
    import static java.lang.annotation.RetentionPolicy.CLASS;
    
    import com.google.common.annotations.GwtCompatible;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 25 15:54:11 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb2/persistent/DurableHandleResponse.java

        private byte[] reserved = new byte[8];
    
        /**
         * Create a new durable handle response
         */
        public DurableHandleResponse() {
            // Reserved field initialized to zeros
        }
    
        @Override
        public byte[] getName() {
            return CONTEXT_NAME_BYTES;
        }
    
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  3. docs/zh/docs/tutorial/server-sent-events.md

    ///
    
    ## 使用 FastAPI 流式传输 SSE { #stream-sse-with-fastapi }
    
    要在 FastAPI 中流式传输 SSE,在你的*路径操作函数*中使用 `yield`,并设置 `response_class=EventSourceResponse`。
    
    从 `fastapi.sse` 导入 `EventSourceResponse`:
    
    {* ../../docs_src/server_sent_events/tutorial001_py310.py ln[1:25] hl[4,22] *}
    
    每个被 yield 的项会被编码为 JSON,并放入 SSE 事件的 `data:` 字段发送。
    
    如果你将返回类型声明为 `AsyncIterable[Item]`,FastAPI 将使用它通过 Pydantic对数据进行**校验**、**文档化**和**序列化**。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:29:48 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  4. tests/test_dependency_yield_scope_websockets.py

    
    class Session:
        def __init__(self) -> None:
            self.open = True
    
    
    async def dep_session() -> Any:
        s = Session()
        yield s
        s.open = False
        global_state = global_context.get()
        global_state["session_closed"] = True
    
    
    SessionFuncDep = Annotated[Session, Depends(dep_session, scope="function")]
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 6K bytes
    - Click Count (0)
  5. CHANGELOG/CHANGELOG-1.7.md

    API fields previously capable of storing and returning either `[]` and `null` via JSON API requests (for example, the Endpoints `subsets` field)
    can now store only `null` when created using the protobuf content-type or stored in etcd using protobuf serialization (the default in 1.6).
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu May 05 13:44:43 GMT 2022
    - 308.7K bytes
    - Click Count (1)
  6. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

         * purposes, the "count" field, tracking the number of elements, serves as that volatile
         * variable ensuring visibility. This is convenient because this field needs to be read in many
         * read operations anyway:
         *
         * - All (unsynchronized) read operations must first read the "count" field, and should not
         * look at table entries if it is 0.
         *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/JapicmpTaskWithKotlin.java

    import org.gradle.api.artifacts.dsl.DependencyHandler;
    import org.gradle.api.file.ConfigurableFileCollection;
    import org.gradle.api.tasks.CacheableTask;
    
    import java.lang.reflect.Field;
    
    @CacheableTask
    public abstract class JapicmpTaskWithKotlin extends JapicmpTask {
    
        public JapicmpTaskWithKotlin() {
            super();
            addKotlinCompilerToJapicmpClasspath();
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jan 19 11:30:48 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  8. tests/test_arbitrary_types.py

        }
        assert ta.json_schema() == snapshot(
            {
                "properties": {
                    "custom_field": {
                        "items": {"type": "number"},
                        "title": "Custom Field",
                        "type": "array",
                    }
                },
                "required": ["custom_field"],
                "title": "MyModel",
                "type": "object",
            }
        )
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  9. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt

        }
    
    
    private
    fun getSinceJavaFieldVisitorFor(field: JApiField) =
        object : SinceVisitor() {
    
            override fun visit(declaration: FieldDeclaration, arg: Unit?): SinceTagStatus? =
                declaration.takeIf { matchesName(it.fieldName, field.name) }?.getSince()?.let { SinceTagStatus.Present(it) }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jun 06 17:52:09 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/base/Enums.java

    public final class Enums {
    
      private Enums() {}
    
      /**
       * Returns the {@link Field} in which {@code enumValue} is defined. For example, to get the {@code
       * Description} annotation on the {@code GOLF} constant of enum {@code Sport}, use {@code
       * Enums.getField(Sport.GOLF).getAnnotation(Description.class)}.
       *
       * @since 12.0
       */
      public static Field getField(Enum<?> enumValue) {
        Class<?>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 01 13:41:58 GMT 2025
    - 4.8K bytes
    - Click Count (0)
Back to Top