Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 521 - 530 of 1,758 for read0 (0.03 seconds)

  1. cmd/os_other.go

    	d, err := Open(dirPath)
    	if err != nil {
    		if osErrToFileErr(err) == errFileNotFound {
    			return nil
    		}
    		return osErrToFileErr(err)
    	}
    	defer d.Close()
    
    	maxEntries := 1000
    	for {
    		// Read up to max number of entries.
    		fis, err := d.Readdir(maxEntries)
    		if err != nil {
    			if err == io.EOF {
    				break
    			}
    			err = osErrToFileErr(err)
    			if err == errFileNotFound {
    				return nil
    			}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Sep 13 15:14:36 GMT 2023
    - 4K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/ToolchainsXmlFactory.java

     * under the License.
     */
    package org.apache.maven.api.services.xml;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.toolchain.PersistedToolchains;
    
    /**
     * Reads and writes a {@link PersistedToolchains} object to/from XML.
     *
     * @since 4.0.0
     */
    @Experimental
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 1.1K bytes
    - Click Count (0)
  3. 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)
  4. .github/CODE_OF_CONDUCT.md

    # Code of Conduct
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Nov 13 16:48:04 GMT 2017
    - 95 bytes
    - Click Count (0)
  5. tests/test_tutorial/test_behind_a_proxy/test_tutorial001.py

            {
                "openapi": "3.1.0",
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "paths": {
                    "/app": {
                        "get": {
                            "summary": "Read Main",
                            "operationId": "read_main_app_get",
                            "responses": {
                                "200": {
                                    "description": "Successful Response",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 1.2K bytes
    - Click Count (0)
  6. .github/workflows/vulncheck.yml

    name: VulnCheck
    on:
      pull_request:
        branches:
          - master
    
      push:
        branches:
          - master
    
    permissions:
      contents: read # to fetch code (actions/checkout)
    
    jobs:
      vulncheck:
        name: Analysis
        runs-on: ubuntu-latest
        steps:
          - name: Check out code into the Go module directory
            uses: actions/checkout@v4
          - name: Set up Go
            uses: actions/setup-go@v5
            with:
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Apr 24 23:34:11 GMT 2025
    - 682 bytes
    - Click Count (0)
  7. 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)
  8. 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)
  9. 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)
  10. internal/config/identity/ldap/help.go

    		},
    		config.HelpKV{
    			Key:         LookupBindDN,
    			Description: `DN for LDAP read-only service account used to perform DN and group lookups` + defaultHelpPostfix(LookupBindDN),
    			Optional:    true,
    			Type:        "string",
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         LookupBindPassword,
    			Description: `Password for LDAP read-only service account used to perform DN and group lookups` + defaultHelpPostfix(LookupBindPassword),
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 24 23:05:23 GMT 2024
    - 3.8K bytes
    - Click Count (0)
Back to Top