Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 821 - 830 of 1,788 for read0 (0.08 seconds)

  1. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/GenerateIdnaMappingTableCode.kt

      file.writeTo(File(args[0]))
    }
    
    fun loadIdnaMappingTableData(): IdnaMappingTableData {
      val path = "/okhttp3/internal/idna/IdnaMappingTable.txt".toPath()
      val table =
        FileSystem.RESOURCES.read(path) {
          readPlainTextIdnaMappingTable()
        }
      return buildIdnaMappingTableData(table)
    }
    
    /**
     * Generate a file containing the mapping table's string literals, like this:
     *
     * ```
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.8K bytes
    - Click Count (1)
  2. src/main/java/org/codelibs/core/io/CloseableUtil.java

         * </p>
         * <pre>
         * InputStream is = ...;
         * try {
         *   is.read(...);
         * } finally {
         *   close(is);
         * }
         * </pre>
         * <p>
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  3. compat/maven-model/src/test/java/org/apache/maven/model/v4/MavenModelVersionTest.java

        @BeforeAll
        static void setup() throws Exception {
            try (InputStream is = MavenModelVersionTest.class.getResourceAsStream("/xml/pom.xml")) {
                model = new MavenStaxReader().read(is);
            }
        }
    
        @Test
        void testV4Model() {
            assertEquals("4.0.0", new MavenModelVersion().getModelVersion(model));
        }
    
        @Test
        void testV4ModelVersion() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  4. .teamcity/src/main/kotlin/promotion/PublishNightlySnapshot.kt

        ) {
        init {
            id(NIGHTLY_SNAPSHOT_BUILD_ID)
            name = "Nightly Snapshot"
            description =
                "Promotes the latest successful changes on '${branch.branchName}' from Ready for Nightly as a new nightly snapshot"
    
            triggers {
                val triggerHour = branch.determineNightlyPromotionTriggerHour() ?: return@triggers
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Dec 29 08:57:18 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  5. docs/ru/docs/tutorial/sql-databases.md

    ### Чтение героев { #read-heroes }
    
    Мы можем **читать** записи `Hero` из базы данных с помощью `select()`. Можно добавить `limit` и `offset` для постраничного вывода результатов.
    
    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[48:55] hl[51:52,54] *}
    
    ### Чтение одного героя { #read-one-hero }
    
    Мы можем **прочитать** одного `Hero`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 23.2K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/UnreadableResponseBody.kt

      private val contentLength: Long,
    ) : ResponseBody(),
      Source {
      override fun contentType() = mediaType
    
      override fun contentLength() = contentLength
    
      override fun source() = buffer()
    
      override fun read(
        sink: Buffer,
        byteCount: Long,
      ): Long =
        throw IllegalStateException(
          """
          |Unreadable ResponseBody! These Response objects have bodies that are stripped:
          | * Response.cacheResponse
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue May 27 15:19:53 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt

          }
        }
      }
    
      private fun acceptCommand(
        fromAddress: InetAddress,
        fromSource: BufferedSource,
        fromSink: BufferedSink,
      ) {
        // Read the command.
        val version = fromSource.readByte() and 0xff
        if (version != VERSION_5) throw ProtocolException("unexpected version: $version")
    
        val command = fromSource.readByte() and 0xff
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  8. docs/ja/docs/tutorial/request-files.md

    `UploadFile` には次の `async` メソッドがあります。いずれも内部で対応するファイルメソッド(内部の `SpooledTemporaryFile`)を呼び出します。
    
    - `write(data)`: `data`(`str` または `bytes`)を書き込みます。
    - `read(size)`: `size`(`int`)バイト/文字を読み込みます。
    - `seek(offset)`: ファイル内のバイト位置 `offset`(`int`)に移動します。
        - 例: `await myfile.seek(0)` はファイルの先頭に移動します。
        - 一度 `await myfile.read()` を実行して、もう一度内容を読みたい場合に特に便利です。
    - `close()`: ファイルを閉じます。
    
    これらはすべて `async` メソッドなので、`await` する必要があります。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  9. CHANGELOG/CHANGELOG-1.18.md

    - Containers which specify a `startupProbe` but not a `readinessProbe` were previously considered "ready" before the `startupProbe` completed, but are now considered "not-ready". ([#92196](https://github.com/kubernetes/kubernetes/pull/92196), [@thockin](https://github.com/thockin)) [SIG Node]
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Wed Jun 16 17:18:28 GMT 2021
    - 373.2K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

            byte[] buffer = new byte[16];
            SMBUtil.writeInt8(expectedValue, buffer, 0);
    
            // Decode
            int bytesRead = fileInfo.decode(buffer, 0, buffer.length);
    
            // Verify bytes read
            assertEquals(8, bytesRead);
    
            // Verify decoded value through toString
            assertTrue(fileInfo.toString().contains("endOfFile=" + expectedValue));
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
Back to Top