Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 233 for Reads (0.02 sec)

  1. cmd/erasure-metadata-utils.go

    	start := int(keyCrc % uint32(cardinality))
    	for i := 1; i <= cardinality; i++ {
    		nums[i-1] = 1 + ((start + i) % cardinality)
    	}
    	return nums
    }
    
    // Reads all `xl.meta` metadata as a FileInfo slice.
    // Returns error slice indicating the failed metadata reads.
    func readAllFileInfo(ctx context.Context, disks []StorageAPI, origbucket string, bucket, object, versionID string, readData, healing bool) ([]FileInfo, []error) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

            ServerMessageBlock.writeInt2(0, buf, 42);
    
            assertThrows(RuntimeException.class, () -> block.decode(buf, 0));
        }
    
        @Test
        @DisplayName("readAndXWireFormat reads chained plain SMB and marks received")
        void testReadAndXWireFormatWithPlainSMB() {
            DummyPlainSMB next = new DummyPlainSMB();
            // The implementation uses andx.wordCount, which starts at 0 by default
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

            SMBUtil.writeInt2(0, buffer, 2);
    
            // When - simulate multiple concurrent reads on same response object
            int read1 = response.readBytesWireFormat(buffer, 0);
            int read2 = response.readBytesWireFormat(buffer, 0);
            int read3 = response.readBytesWireFormat(buffer, 0);
    
            // Then - all reads should return same result
            assertEquals(4, read1);
            assertEquals(4, read2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/BasePublicSuffixList.kt

          throw IllegalStateException("Unable to load $path resource.").apply {
            initCause(readFailure)
          }
        }
      }
    
      abstract val path: Any
    
      /**
       * Reads the public suffix list treating the operation as uninterruptible. We always want to read
       * the list otherwise we'll be left in a bad state. If the thread was interrupted prior to this
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/CollectionFuture.java

      /*
       * We access this field racily but safely. For discussion of a similar situation, see the comments
       * on the fields of TimeoutFuture. This field is slightly different from the fields discussed
       * there: cancel() never reads this field, only writes to it. That makes the race here completely
       * harmless, rather than just 99.99% harmless.
       */
      @LazyInit private @Nullable List<@Nullable Present<V>> values;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/Files.java

     *
     * @author Chris Nokleberg
     * @author Colin Decker
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class Files {
    
      private Files() {}
    
      /**
       * Returns a buffered reader that reads from a file using the given character set.
       *
       * <p><b>{@link java.nio.file.Path} equivalent:</b> {@link
       * java.nio.file.Files#newBufferedReader(java.nio.file.Path, Charset)}.
       *
       * @param file the file to read from
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/BinaryTransformer.java

     * as a ByteArrayInputStream.
     * </p>
     *
     * <p>
     * The transform method takes a ResponseData object, checks if it has a response body,
     * and then reads the body into a byte array. This byte array is then set as the data
     * in the ResultData object.
     * </p>
     *
     * <p>
     * The getData method takes an AccessResultData object, checks if the transformer name matches,
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  8. cmd/local-locker.go

    	return reply, nil
    }
    
    type lockStats struct {
    	Total          int
    	Writes         int
    	Reads          int
    	LockQueue      int
    	LocksAbandoned int
    	LastCleanup    *time.Time
    }
    
    func (l *localLocker) stats() lockStats {
    	return lockStats{
    		Total:       len(l.lockMap),
    		Reads:       int(l.readers.Load()),
    		Writes:      int(l.writers.Load()),
    		LockQueue:   int(l.waitMutex.Load()),
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12K bytes
    - Viewed (0)
  9. docs/features/connections.md

     5. It sends the HTTP request and reads the response.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Feb 21 03:33:59 UTC 2022
    - 5.4K bytes
    - Viewed (0)
  10. cmd/perf-tests.go

    				r.Close()
    				if err == nil {
    					response := time.Since(t)
    					ttfb := time.Since(*fbr.t)
    					// Only capture success criteria - do not
    					// have to capture failed reads, truncated
    					// reads etc.
    					atomic.AddUint64(&totalBytesRead, uint64(n))
    					mu.Lock()
    					downloadTimes = append(downloadTimes, response)
    					downloadTTFB = append(downloadTTFB, ttfb)
    					mu.Unlock()
    				}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
Back to top