- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 78 for IsSpace (0.16 sec)
-
src/bytes/iter.go
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Sep 03 14:04:47 UTC 2025 - 3.6K bytes - Viewed (0) -
src/bytes/bytes.go
setBits := uint8(0) for i := 0; i < len(s); i++ { r := s[i] setBits |= r isSpace := int(asciiSpace[r]) n += wasSpace & ^isSpace wasSpace = isSpace } if setBits >= utf8.RuneSelf { // Some runes in the input slice are not ASCII. return FieldsFunc(s, unicode.IsSpace) } // ASCII fast path a := make([][]byte, n) na := 0 fieldStart := 0 i := 0
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Sep 03 14:04:47 UTC 2025 - 35.5K bytes - Viewed (0) -
cmd/generic-handlers.go
i++ } // Trim whitespace of segment segmentStart, segmentEnd := start, i for segmentStart < segmentEnd && unicode.IsSpace(rune(path[segmentStart])) { segmentStart++ } for segmentEnd > segmentStart && unicode.IsSpace(rune(path[segmentEnd-1])) { segmentEnd-- } // Check for ".." or "." switch {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 20.7K bytes - Viewed (1) -
src/test/java/jcifs/dcerpc/msrpc/netdfsTest.java
netdfs.DfsInfo1 info1 = new netdfs.DfsInfo1(); info1.entry_path = "test_path"; ByteArrayOutputStream bos = new ByteArrayOutputStream(); // Create buffer for encoding - initially allocate some space byte[] encodeBuffer = new byte[1024]; NdrBuffer dst = new NdrBuffer(encodeBuffer, 0); info1.encode(dst); ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.9K bytes - Viewed (0) -
docs/erasure/storage-class/README.md
redundancy or better drive space utilization. To get an idea of how various combinations of data and parity drives affect the storage usage, let’s take an example of a 100 MiB file stored on 16 drive MinIO deployment. If you use eight data and eight parity drives, the file space usage will be approximately twice, i.e. 100 MiB
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
@ParameterizedTest @DisplayName("Should handle various capacity and free space values") @CsvSource({ "0, 0", "1024, 512", "1048576, 524288", "1073741824, 536870912", "9223372036854775807, 4611686018427387903", // Long.MAX_VALUE and half "-1, -1", // Negative values (edge case) "100, 200" // Free space greater than capacity (edge case) })
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/AllocInfo.java
*/ package jcifs.internal; import jcifs.internal.fscc.FileSystemInformation; /** * Interface for file system allocation information providing capacity and free space details. * Used in SMB protocol operations to query disk space information from remote SMB shares. * * @author mbechler */ public interface AllocInfo extends FileSystemInformation { /** * Gets the total capacity of the allocation.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java
public void testEncodeRoundTrip() throws NdrException { final long original = 0x1122334455667788L; NdrHyper hyper = new NdrHyper(original); // Create buffer with extra space for alignment NdrBuffer buf = new NdrBuffer(new byte[16], 0); hyper.encode(buf); // Reset buffer position for decoding buf.reset(); NdrHyper decoded = new NdrHyper(0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
cmd/rebalance-admin.go
} if !ps.Participating { continue } // for participating pools, total bytes to be rebalanced by this pool is given by, // pf_c = (f_i + x)/c_i, // pf_c - percentage free space across pools, f_i - ith pool's free space, c_i - ith pool's capacity // i.e. x = c_i*pfc -f_i totalBytesToRebal := float64(ps.InitCapacity)*meta.PercentFreeGoal - float64(ps.InitFreeSpace) elapsed := time.Since(ps.Info.StartTime)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
"1000, 500, 8, 4096", // 4K sectors "1000, 500, 16, 4096", // Large sectors and allocation "1000, 0, 8, 512", // No free space "1000, 1000, 8, 512" // All space free }) void shouldDecodeVariousSectorConfigurations(long alloc, long free, int sectPerAlloc, int bytesPerSect) throws SMBProtocolDecodingException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.9K bytes - Viewed (0)