Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for metasize (0.05 sec)

  1. cmd/xl-storage.go

    		defer func() {
    			stopFn(res)
    		}()
    
    		doneSz := globalScannerMetrics.timeSize(scannerMetricReadMetadata)
    		buf, err := s.readMetadata(ctx, item.Path)
    		doneSz(len(buf))
    		res["metasize"] = strconv.Itoa(len(buf))
    		if err != nil {
    			res["err"] = err.Error()
    			return sizeSummary{}, errSkipFile
    		}
    
    		// Remove filename which is the meta file.
    		item.transformMetaDir()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndXResponse.java

            return this.fid;
        }
    
    
        /**
         * @return the dataSize
         */
        public final int getDataSize () {
            return this.fileDataSize;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.SmbBasicFileInfo#getSize()
         */
        @Override
        public long getSize () {
            return getDataSize();
        }
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.2K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketWriter.kt

          b0 = b0 or B0_FLAG_RSV1
        }
        val dataSize = messageBuffer.size
        sinkBuffer.writeByte(b0)
    
        var b1 = 0
        if (isClient) {
          b1 = b1 or B1_FLAG_MASK
        }
        when {
          dataSize <= PAYLOAD_BYTE_MAX -> {
            b1 = b1 or dataSize.toInt()
            sinkBuffer.writeByte(b1)
          }
          dataSize <= PAYLOAD_SHORT_MAX -> {
            b1 = b1 or PAYLOAD_SHORT
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComOpenAndXResponse.java

                super.toString() +
                ",fid=" + fid +
                ",fileAttributes=" + fileAttributes +
                ",lastWriteTime=" + lastWriteTime +
                ",dataSize=" + dataSize +
                ",grantedAccess=" + grantedAccess +
                ",fileType=" + fileType +
                ",deviceState=" + deviceState +
                ",action=" + action +
                ",serverFid=" + serverFid + "]" );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

      private void testThreshold(
          int fileThreshold, int dataSize, boolean singleByte, boolean resetOnFinalize)
          throws IOException {
        byte[] data = newPreFilledByteArray(dataSize);
        FileBackedOutputStream out = new FileBackedOutputStream(fileThreshold, resetOnFinalize);
        ByteSource source = out.asByteSource();
        int chunk1 = min(dataSize, fileThreshold);
        int chunk2 = dataSize - chunk1;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. cmd/endpoint-ellipses.go

    			return nil, config.ErrInvalidNumberOfErasureEndpoints(nil).Msg(msg)
    		}
    
    		// Final set size with all the symmetry accounted for.
    		setSize = commonSetDriveCount(commonSize, setCounts)
    	}
    
    	// Check whether setSize is with the supported range.
    	if !isValidSetSize(setSize) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  7. cmd/data-usage_test.go

    		{name: "dir1/dira/dbfile", size: 200000},
    		{name: "dir1/dira/dirasub/dcfile", size: 1000000},
    		{name: "dir1/dira/dirasub/sublevel3/dccccfile", size: 10},
    	}
    	createUsageTestFiles(t, base, bucket, files)
    
    	getSize := func(item scannerItem) (sizeS sizeSummary, err error) {
    		if item.Typ&os.ModeDir == 0 {
    			var s os.FileInfo
    			s, err = os.Stat(item.Path)
    			if err != nil {
    				return
    			}
    			sizeS.totalSize = s.Size()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java

    /**
     * Some microbenchmarks for the {@link MoreObjects.ToStringHelper} class.
     *
     * @author Osvaldo Doederlein
     */
    public class ToStringHelperBenchmark {
    
      @Param({"0", "1", "5"})
      int dataSize;
    
      @Param({"false", "true"})
      boolean omitNulls;
    
      enum Dataset {
        SMALL {
          @Override
          void addEntries(MoreObjects.ToStringHelper helper) {
            helper
                .add(SHORT_NAME, 10)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. docs/debugging/reorder-disks/main.go

    	if err != nil {
    		log.Fatal(err)
    	}
    
    	setSize := len(format.XL.Sets[0])
    
    	expectedDisksName := make(map[string]string)
    	actualDisksName := make(map[string]string)
    
    	// Calculate the set/disk index
    	for _, disk := range localDisks {
    		expectedDisksName[fmt.Sprintf("%d-%d", disk.index/setSize, disk.index%setSize)] = disk.path
    		format, err := getFormatJSON(disk.path)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java

                    ",allocationSize=" + allocationSize +
                    ",extFileAttributes=" + extFileAttributes +
                    ",fileNameLength=" + fileNameLength +
                    ",eaSize=" + eaSize +
                    ",shortNameLength=" + shortNameLength +
                    ",shortName=" + shortName +
                    ",filename=" + filename + "]" );
            }
        }
    
        int sid;
        boolean isEndOfSearch;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 8.5K bytes
    - Viewed (0)
Back to top