Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 381 - 390 of 1,758 for read0 (0.02 seconds)

  1. .github/workflows/labeler.yml

    on:
      pull_request_target:
        types:
          - opened
          - synchronize
          - reopened
          # For label-checker
          - labeled
          - unlabeled
    
    jobs:
      labeler:
        permissions:
          contents: read
          pull-requests: write
        runs-on: ubuntu-latest
        steps:
        - uses: actions/labeler@v6
          if: ${{ github.event.action != 'labeled' && github.event.action != 'unlabeled' }}
        - run: echo "Done adding labels"
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Sep 09 09:11:44 GMT 2025
    - 828 bytes
    - Click Count (1)
  2. guava-tests/test/com/google/common/io/LineBufferTest.java

          @Override
          public int read(CharBuffer cbuf) throws IOException {
            return reader.read(cbuf);
          }
        };
      }
    
      private static Reader getChunkedReader(String input, int chunk) {
        return new FilterReader(new StringReader(input)) {
          @Override
          public int read(char[] cbuf, int off, int len) throws IOException {
            return super.read(cbuf, off, min(chunk, len));
          }
        };
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  3. cmd/local-locker_test.go

    				}
    				if testing.Short() && readers > 10 {
    					continue
    				}
    				t.Run(fmt.Sprintf("%d-read", readers), func(t *testing.T) {
    					l := newLocker()
    					for range locks {
    						var tmp [16]byte
    						rng.Read(tmp[:])
    						res := []string{hex.EncodeToString(tmp[:])}
    
    						for range readers {
    							rng.Read(tmp[:])
    							ok, err := l.RLock(t.Context(), dsync.LockArgs{
    								UID:       uuid.NewString(),
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/fscc/FileFsFullSizeInformation.java

        public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
    
            // Read total allocation units.
            this.alloc = SMBUtil.readInt8(buffer, bufferIndex);
            bufferIndex += 8;
    
            // read caller available allocation units
            this.free = SMBUtil.readInt8(buffer, bufferIndex);
            bufferIndex += 8;
    
            // skip actual free units
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  5. .github/workflows/scorecards-analysis.yml

      # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained
      schedule:
        - cron: '26 3 * * 2'
      push:
        branches: [ "master" ]
    
    # Declare default permissions as read only.
    permissions: read-all
    
    jobs:
      analysis:
        if: github.repository == 'tensorflow/tensorflow' # Don't do this in forks
        name: Scorecards analysis
        runs-on: ubuntu-latest
        permissions:
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Jan 01 08:09:03 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  6. docs/zh-hant/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()
    ```
    
    若是在一般的 `def` 路徑操作函式中,你可以直接存取 `UploadFile.file`,例如:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  7. docs/distributed/distributed-from-config-file.sh

    site4_pid=$!
    
    export MC_HOST_minio1=http://minr0otUS2r:pBU94AGAY85e@localhost:9001
    export MC_HOST_minio3=http://minr0otUS2r:pBU94AGAY85e@localhost:9003
    
    ./mc ready minio1
    ./mc ready minio3
    
    ./mc mb minio1/testbucket
    # copy large upload to newbucket on minio1
    truncate -s 17M lrgfile
    expected_checksum=$(cat ./lrgfile | md5sum)
    
    ./mc cp ./lrgfile minio1/testbucket
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jun 28 09:06:49 GMT 2024
    - 3.3K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

                    try {
                        // Invalidate any cached read data
                        // This would typically clear file's internal read buffers
                        // For now, we log the action as the actual implementation
                        // depends on SmbFile's internal caching mechanism
                        log.info("Invalidated read cache for: {}", path);
                    } catch (Exception e) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  9. src/main/java/jcifs/ACE.java

        /**
         * Permission to read file attributes
         */
        int FILE_READ_ATTRIBUTES = 0x00000080; // 8
        /**
         * Permission to write file attributes
         */
        int FILE_WRITE_ATTRIBUTES = 0x00000100; // 9
        /**
         * Standard delete permission
         */
        int DELETE = 0x00010000; // 16
        /**
         * Permission to read the security descriptor
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

        }
    
        private String getError(File touchFile, String key) {
            Properties props = read(touchFile);
            if (props != null) {
                return props.getProperty(key + ERROR_KEY_SUFFIX);
            }
            return null;
        }
    
        private Properties read(File touchfile) {
            return trackingFileManager.read(touchfile);
        }
    
        File getTouchfile(Artifact artifact) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 9.4K bytes
    - Click Count (0)
Back to Top