Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 531 - 540 of 1,584 for aead (0.02 seconds)

  1. docs/zh/docs/tutorial/request-files.md

    * `write(data)`:将 `data` (`str` 或 `bytes`) 写入文件。
    * `read(size)`:读取文件中 `size` (`int`) 个字节/字符。
    * `seek(offset)`:移动到文件中字节位置 `offset` (`int`)。
        * 例如,`await myfile.seek(0)` 会移动到文件开头。
        * 如果你先运行过 `await myfile.read()`,然后需要再次读取内容时,这尤其有用。
    * `close()`:关闭文件。
    
    由于这些方法都是 `async` 方法,你需要对它们使用 await。
    
    例如,在 `async` *路径操作函数* 内,你可以这样获取内容:
    
    ```Python
    contents = await myfile.read()
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  2. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/tasks/BuildReceipt.kt

                it.parentFile.mkdirs()
            }
            ReproduciblePropertiesWriter.store(
                Properties().apply {
                    put("commitId", commitId.getOrElse("HEAD"))
                    put("scriptTemplateCommitId", scriptTemplateCommitId.getOrElse("HEAD"))
                    put("versionNumber", version.get())
                    put("baseVersion", baseVersion.get())
                    put("isSnapshot", snapshot.get().toString())
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 25 08:51:12 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXResponseTest.java

        }
    
        @Test
        void testReadParameterWordsWireFormat() {
            byte[] buffer = new byte[1024];
            int result = response.readParameterWordsWireFormat(buffer, 0);
    
            // The method should read parameter words
            assertTrue(result >= 0, "readParameterWordsWireFormat should return non-negative value");
        }
    
        @Test
        void testWriteBytesWireFormat() {
            byte[] dst = new byte[1024];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformerSupport.java

        protected static final String SCHEMA_LOCATION_FORMAT = "https://maven.apache.org/xsd/maven-%s.xsd";
    
        protected Model read(Path src) throws IOException, XMLStreamException {
            try (InputStream is = Files.newInputStream(src)) {
                return new MavenStaxReader().read(is, false, null);
            }
        }
    
        protected void write(Model model, Path dest) throws IOException, XMLStreamException {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Nov 06 18:32:25 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/job/HtmlIndexExportFormatter.java

            final StringBuilder html = new StringBuilder();
            html.append("<!DOCTYPE html>\n");
            html.append("<html lang=\"").append(lang).append("\">\n");
            html.append("<head>\n");
            html.append("<meta charset=\"UTF-8\">\n");
            html.append("<title>").append(title).append("</title>\n");
    
            for (final Map.Entry<String, Object> entry : source.entrySet()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Feb 07 10:31:36 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseStateTest.java

            // Should return true when read caching is enabled
            assertTrue(DirectoryLeaseState.canCacheEnumeration(Smb2LeaseState.SMB2_LEASE_READ_CACHING));
            assertTrue(DirectoryLeaseState.canCacheEnumeration(DirectoryLeaseState.DIRECTORY_READ_HANDLE));
            assertTrue(DirectoryLeaseState.canCacheEnumeration(DirectoryLeaseState.DIRECTORY_FULL));
    
            // Should return false when read caching is not enabled
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  7. docs/ru/docs/advanced/security/index.md

    /// tip | Совет
    
    Следующие разделы не обязательно являются «продвинутыми».
    
    И возможно, что решение для вашего варианта использования находится в одном из них.
    
    ///
    
    ## Сначала прочитайте руководство { #read-the-tutorial-first }
    
    В следующих разделах предполагается, что вы уже прочитали основной [Учебник — Руководство пользователя: Безопасность](../../tutorial/security/index.md).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 1.2K bytes
    - Click Count (0)
  8. guava/src/com/google/common/base/Stopwatch.java

     * time while the device is asleep. Instead, create one like this:
     *
     * {@snippet :
     * Stopwatch.createStarted(
     *      new Ticker() {
     *        public long read() {
     *          return android.os.SystemClock.elapsedRealtimeNanos();
     *        }
     *      });
     * }
     *
     * @author Kevin Bourrillion
     * @since 10.0
     */
    @GwtCompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 08 18:55:33 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/resources/forbidden/es-server-signatures.txt

    java.nio.channels.GatheringByteChannel#write(java.nio.ByteBuffer[])
    java.nio.channels.ReadableByteChannel#read(java.nio.ByteBuffer)
    java.nio.channels.ScatteringByteChannel#read(java.nio.ByteBuffer[])
    java.nio.channels.ScatteringByteChannel#read(java.nio.ByteBuffer[], int, int)
    java.nio.channels.FileChannel#read(java.nio.ByteBuffer, long)
    
    @defaultMessage Use Lucene.parseLenient instead it strips off minor version
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 08 16:53:28 GMT 2021
    - 7.6K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/SmbTransportImpl.java

            /*
             * Note the Transport thread isn't running yet so we can
             * read from the socket here.
             */
            try {
                this.socket.setSoTimeout(this.transportContext.getConfig().getConnTimeout());
                if (peekKey() == null) { /* try to read header */
                    throw new IOException("transport closed in negotiate");
                }
            } finally {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 69.8K bytes
    - Click Count (0)
Back to Top