Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 109 for filesystem (0.17 sec)

  1. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

            // Prepare test data
            byte[] buffer = new byte[22];
            int idFileSystem = 0x12345678;
            int sectPerAlloc = 8;
            long alloc = 1000000L;
            long free = 500000L;
            int bytesPerSect = 512;
    
            // Encode test data
            int offset = 0;
            SMBUtil.writeInt4(idFileSystem, buffer, offset); // idFileSystem (skipped)
            offset += 4;
            SMBUtil.writeInt4(sectPerAlloc, buffer, offset);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. cmd/is-dir-empty_linux.go

    package cmd
    
    import (
    	"syscall"
    )
    
    // Returns true if no error and there is no object or prefix inside this directory
    func isDirEmpty(dirname string, legacy bool) bool {
    	if legacy {
    		// On filesystems such as btrfs, nfs this is not true, so fallback
    		// to performing readdir() instead.
    		entries, err := readDirN(dirname, 1)
    		if err != nil {
    			return false
    		}
    		return len(entries) == 0
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 05 15:17:08 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. cmd/os_unix.go

    		if err != nil {
    			return err
    		}
    		boff += consumed
    		if len(name) == 0 || bytes.Equal(name, []byte{'.'}) || bytes.Equal(name, []byte{'.', '.'}) {
    			continue
    		}
    
    		// Fallback for filesystems (like old XFS) that don't
    		// support Dirent.Type and have DT_UNKNOWN (0) there
    		// instead.
    		if typ == unexpectedFileMode || typ&os.ModeSymlink == os.ModeSymlink {
    			fi, err := Stat(pathJoin(dirPath, string(name)))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

            // Prepare buffer with SmbInfoAllocation data
            byte[] buffer = new byte[100];
            int offset = 0;
    
            // idFileSystem (4 bytes) - skipped in decode
            SMBUtil.writeInt4(0, buffer, offset);
            offset += 4;
    
            // sectPerAlloc (4 bytes)
            SMBUtil.writeInt4(8, buffer, offset);
            offset += 4;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  5. cmd/storage-errors.go

    		return errFileNotFound
    	}
    	if isSysErrIO(err) {
    		return errFaultyDisk
    	}
    	if isSysErrInvalidArg(err) {
    		storageLogIf(context.Background(), err)
    		// For some odd calls with O_DIRECT reads
    		// filesystems can return EINVAL, handle
    		// these as FileNotFound instead.
    		return errFileNotFound
    	}
    	if isSysErrNoSpace(err) {
    		return errDiskFull
    	}
    	return err
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/fscc/SmbInfoAllocation.java

         */
        @Override
        public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
            bufferIndex += 4; // skip idFileSystem
    
            this.sectPerAlloc = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            this.alloc = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponse.java

        int readSmbInfoAllocationWireFormat(final byte[] buffer, int bufferIndex) {
            final int start = bufferIndex;
    
            final SmbInfoAllocation info = new SmbInfoAllocation();
    
            bufferIndex += 4; // skip idFileSystem
    
            info.sectPerAlloc = readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            info.alloc = readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.31.md

    - The `KubeletSeparateDiskGC` feature gate is now beta. This split image filesystem feature enables kubelet to perform garbage collection of images (read-only layers) and/or containers (writeable layers) deployed on separate filesystems. gate is now beta. ([#126205](https://github.com/kubernetes/kubernetes/pull/126205), [@kwilczynski](https://github.com/kwilczynski))
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Aug 13 19:49:57 UTC 2025
    - 429.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java

                    new Trans2QueryFSInformationResponse(Trans2QueryFSInformationResponse.SMB_INFO_ALLOCATION);
            byte[] buffer = new byte[20];
            // Mock data for SmbInfoAllocation
            // idFileSystem (4 bytes, skipped)
            writeInt4(100, buffer, 4); // sectPerAlloc
            writeInt4(1000, buffer, 8); // alloc
            writeInt4(500, buffer, 12); // free
            writeInt2(512, buffer, 16); // bytesPerSect
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

            assertTrue(exception.getMessage().contains("FILE_NOT_FOUND"));
            assertTrue(exception.getMessage().contains("test.txt"));
            assertEquals(SmbOperationException.ErrorCategory.FILE_SYSTEM, exception.getErrorCategory());
            assertFalse(exception.isRetryable());
        }
    
        @Test
        @DisplayName("Should create exception with cause")
        void testCreationWithCause() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
Back to top