Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 90 for filesize (0.2 sec)

  1. cmd/tier-last-day-stats_gen.go

    			_ = zb0008
    			s += msgp.StringPrefixSize + len(zb0007) + 1 + 5 + msgp.ArrayHeaderSize
    			for zb0009 := range zb0008.Bins {
    				s += zb0008.Bins[zb0009].Msgsize()
    			}
    			s += 10 + msgp.TimeSize
    		}
    	}
    	return
    }
    
    // DecodeMsg implements msgp.Decodable
    func (z *lastDayTierStats) DecodeMsg(dc *msgp.Reader) (err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_request_files/test_tutorial003.py

                    ("files", ("test.txt", file)),
                    ("files", ("test2.txt", file2)),
                ),
            )
        assert response.status_code == 200, response.text
        assert response.json() == {"file_sizes": [14, 15]}
    
    
    def test_post_upload_file(tmp_path, app: FastAPI):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
        path2 = tmp_path / "test2.txt"
        path2.write_bytes(b"<file content2>")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/ntlmssp/av/AvTimestamp.java

            super(AvPair.MsvAvTimestamp, raw);
        }
    
        /**
         * Constructs an AvTimestamp with the specified timestamp value
         *
         * @param ts the timestamp value in Windows FILETIME format
         */
        public AvTimestamp(final long ts) {
            this(encode(ts));
        }
    
        /**
         * @param ts
         * @return
         */
        private static byte[] encode(final long ts) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_request_files/test_tutorial002.py

                    ("files", ("test.txt", file)),
                    ("files", ("test2.txt", file2)),
                ),
            )
        assert response.status_code == 200, response.text
        assert response.json() == {"file_sizes": [14, 15]}
    
    
    def test_post_upload_file(tmp_path, app: FastAPI):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
        path2 = tmp_path / "test2.txt"
        path2.write_bytes(b"<file content2>")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  5. cmd/data-scanner-metric.go

    		atomic.AddUint64(&p.operations[s], 1)
    		if s < scannerMetricLastRealtime {
    			p.latency[s].add(duration)
    		}
    	}
    }
    
    // timeSize add time and size of a scanner action.
    // Use for s < scannerMetricLastRealtime
    func (p *scannerMetrics) timeSize(s scannerMetric) func(sz int) {
    	startTime := time.Now()
    	return func(sz int) {
    		duration := time.Since(startTime)
    
    		atomic.AddUint64(&p.operations[s], 1)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Oct 01 06:06:01 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. cmd/bucket-stats.go

    	// in Queue stats for bucket - from qCache
    	QStat InQueueMetric `json:"queued"`
    	// Deprecated fields
    	// Pending size in bytes
    	PendingSize int64 `json:"pendingReplicationSize"`
    	// Failed size in bytes
    	FailedSize int64 `json:"failedReplicationSize"`
    	// Total number of pending operations including metadata updates
    	PendingCount int64 `json:"pendingReplicationCount"`
    	// Total number of failed operations including metadata updates
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  7. internal/grid/types.go

    	}
    	return o, nil
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message.
    func (m *MSS) Msgsize() int {
    	if m == nil || *m == nil {
    		return msgp.NilSize
    	}
    	s := msgp.MapHeaderSize
    	for za0001, za0002 := range *m {
    		s += msgp.StringPrefixSize + len(za0001) + msgp.StringPrefixSize + len(za0002)
    	}
    	return s
    }
    
    // NewMSS returns a new MSS.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                int bytesRead = response.readBytesWireFormat(buffer, 0);
    
                // Then
                assertEquals(60, bytesRead);
                assertEquals(0, response.getCloseFlags());
                // Zero Windows FileTime converts to negative Unix time
                long expectedTime = -SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601;
                assertEquals(expectedTime, response.getCreationTime());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  9. cmd/site-replication-metrics_gen.go

    	s = 1 + 15 + msgp.Int64Size + 7 + z.Failed.Msgsize() + 16 + msgp.Int64Size + 8 + z.Latency.Msgsize() + 3
    	if z.XferRateLrg == nil {
    		s += msgp.NilSize
    	} else {
    		s += z.XferRateLrg.Msgsize()
    	}
    	s += 3
    	if z.XferRateSml == nil {
    		s += msgp.NilSize
    	} else {
    		s += z.XferRateSml.Msgsize()
    	}
    	s += 9 + msgp.StringPrefixSize + len(z.Endpoint) + 7 + msgp.BoolSize
    	return
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java

        /**
         * Decodes a resource change notification message.
         */
        private void decodeResourceChangeMessage(NdrBuffer buf, WitnessNotificationMessage message) throws NdrException {
            // Timestamp (FILETIME - 64-bit)
            long timestamp = buf.dec_ndr_hyper();
            message.setTimestamp(timestamp);
    
            // Resource name
            String resourceName = decodeWideStringPointer(buf);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 16.4K bytes
    - Viewed (0)
Back to top