Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1211 - 1220 of 3,549 for getZ (0.02 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt

                  closed.set(true)
                  super.close()
                }
              }.buffer()
            }
          }
        assertThat(body.string()).isEqualTo("hello")
        assertThat(closed.get()).isTrue()
      }
    
      @Test
      fun readerEmpty() {
        val body = body("")
        assertThat(exhaust(body.charStream())).isEqualTo("")
      }
    
      @Test
      fun readerLooksLikeBomButTooShort() {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/pac/PacSignature.java

                throw new PACDecodingException("Malformed PAC signature", e);
            }
        }
    
        /**
         * Gets the checksum type of this signature.
         *
         * @return the checksum type constant
         */
        public int getType() {
            return this.type;
        }
    
        /**
         * Gets the checksum data.
         *
         * @return the checksum bytes
         */
        public byte[] getChecksum() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. docs_src/metadata/tutorial004_py39.py

                "url": "https://fastapi.tiangolo.com/",
            },
        },
    ]
    
    app = FastAPI(openapi_tags=tags_metadata)
    
    
    @app.get("/users/", tags=["users"])
    async def get_users():
        return [{"name": "Harry"}, {"name": "Ron"}]
    
    
    @app.get("/items/", tags=["items"])
    async def get_items():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 693 bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

        if (entries.size() >= 1) {
          a = Multisets.immutableEntry(entries.get(0), sortedMultiset.count(entries.get(0)));
          if (entries.size() >= 3) {
            b = Multisets.immutableEntry(entries.get(1), sortedMultiset.count(entries.get(1)));
            c = Multisets.immutableEntry(entries.get(2), sortedMultiset.count(entries.get(2)));
          }
        }
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 20:14:36 UTC 2024
    - 26K bytes
    - Viewed (0)
  5. docs/uk/docs/index.md

    * Підтвердить наявність `item_id` у шляху для запитів `GET` та `PUT`.
    * Підтвердить, що `item_id` має тип `int` для запитів `GET` and `PUT`.
        * Якщо це не так, клієнт побачить корисну, зрозумілу помилку.
    * Перевірить, чи є необов'язковий параметр запиту з назвою `q` (а саме `http://127.0.0.1:8000/items/foo?q=somequery`) для запитів `GET`.
        * Оскільки параметр `q` оголошено як `= None`, він необов'язковий.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/response-model.md

    You can use the `response_model` parameter in any of the *path operations*:
    
    * `@app.get()`
    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    * etc.
    
    {* ../../docs_src/response_model/tutorial001_py310.py hl[17,22,24:27] *}
    
    /// note
    
    Notice that `response_model` is a parameter of the "decorator" method (`get`, `post`, etc). Not of your *path operation function*, like all the parameters and body.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

            commandField.setAccessible(true);
            int command = (int) commandField.get(request);
            assertEquals(0x0007, command); // SMB2_FLUSH value
    
            // Verify file ID is set
            Field fileIdField = Smb2FlushRequest.class.getDeclaredField("fileId");
            fileIdField.setAccessible(true);
            byte[] storedFileId = (byte[]) fileIdField.get(request);
            assertArrayEquals(testFileId, storedFileId);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java

            try {
                int index = Integer.parseInt(indexStr);
    
                if (value.getClass().isArray()) {
                    return Array.get(value, index);
                }
    
                if (value instanceof List list) {
                    return list.get(index);
                }
            } catch (NumberFormatException | IndexOutOfBoundsException e) {
                return null;
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  9. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/BuildListCalculatorTest.java

            final ProjectBuildList segments = buildList.getByTaskSegment(taskSegments.get(0));
            assertEquals(3, taskSegments.size(), "Stub data contains 3 segments");
            assertEquals(6, segments.size(), "Stub data contains 6 items");
            final ProjectSegment build = segments.get(0);
            assertNotNull(build);
    
            for (ProjectSegment segment : segments) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. docs_src/path_operation_configuration/tutorial002_py39.py

        tags: set[str] = set()
    
    
    @app.post("/items/", response_model=Item, tags=["items"])
    async def create_item(item: Item):
        return item
    
    
    @app.get("/items/", tags=["items"])
    async def read_items():
        return [{"name": "Foo", "price": 42}]
    
    
    @app.get("/users/", tags=["users"])
    async def read_users():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 575 bytes
    - Viewed (0)
Back to top