Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for Filesystem (0.2 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

      directory: Path,
      maxSize: Long,
      fileSystem: FileSystem,
      taskRunner: TaskRunner,
    ) : Closeable,
      Flushable {
      /** Create a cache of at most [maxSize] bytes in [directory]. */
      constructor(
        fileSystem: FileSystem,
        directory: Path,
        maxSize: Long,
      ) : this(
        directory,
        maxSize,
        fileSystem,
        TaskRunner.INSTANCE,
      )
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

        }
    
        @Test
        @DisplayName("Test readBytesWireFormat with unknown filesystem info class throws exception")
        void testReadBytesWireFormatUnknownFilesystemInfoClass() {
            response = new Smb2QueryInfoResponse(mockConfig, Smb2Constants.SMB2_0_INFO_FILESYSTEM, (byte) 99); // Unknown filesystem info class
    
            byte[] buffer = new byte[1024];
            int bufferIndex = 0;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

                assertEquals(1, Smb2Constants.SMB2_0_INFO_FILE, "File info level must be 1");
            }
    
            @Test
            @DisplayName("Filesystem info level should be 2")
            void testInfoFilesystem() {
                assertEquals(2, Smb2Constants.SMB2_0_INFO_FILESYSTEM, "Filesystem info level must be 2");
            }
    
            @Test
            @DisplayName("Security info level should be 3")
            void testInfoSecurity() {
    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. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponse.java

         */
        public int getInformationLevel() {
            return this.informationLevel;
        }
    
        /**
         * Gets the file system information from the response.
         *
         * @return the filesystem info
         */
        public FileSystemInformation getInfo() {
            return this.info;
        }
    
        /**
         * Gets the file system information from the response cast to the specified type.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/Smb2Constants.java

         */
        public static final int SMB2_GLOBAL_CAP_ENCRYPTION = 0x40;
    
        /**
         * File information class
         */
        public static final byte SMB2_0_INFO_FILE = 1;
    
        /**
         * Filesystem information class
         */
        public static final byte SMB2_0_INFO_FILESYSTEM = 2;
    
        /**
         * Security information class
         */
        public static final byte SMB2_0_INFO_SECURITY = 3;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

      }
    
      @Test
      fun testPublicPathConstructor() {
        val events: MutableList<String> = ArrayList()
        fileSystem.createDirectories(cache.directoryPath)
        fileSystem.createDirectories(cache.directoryPath)
        val loggingFileSystem: FileSystem =
          object : ForwardingFileSystem(fileSystem) {
            override fun onPathParameter(
              path: Path,
              functionName: String,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 113.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoRequest.java

         */
        public final void setFileInfoClass(final byte fileInfoClass) {
            setInfoType(Smb2Constants.SMB2_0_INFO_FILE);
            this.fileInfoClass = fileInfoClass;
        }
    
        /**
         * Sets the filesystem information class for the query
         *
         * @param fileInfoClass
         *            the fileInfoClass to set
         */
        public final void setFilesystemInfoClass(final byte fileInfoClass) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java

            case FileSystemInformation.FS_SIZE_INFO -> new FileFsSizeInformation();
            default -> throw new SMBProtocolDecodingException("Unknown filesystem info class " + infoClass);
            };
        }
    
        /**
         * @param infoClass
         * @return
         * @throws SMBProtocolDecodingException
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            assertFalse(locator("smb://server/share/").isIPC());
        }
    
        @Test
        @DisplayName("Type detection covers filesystem/share/IPC/workgroup/server")
        void testGetType() throws Exception {
            // Filesystem when there is a path beyond share
            assertEquals(SmbConstants.TYPE_FILESYSTEM, locator("smb://server/share/path").getType());
    
            // Named pipe for IPC$ root
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  10. okhttp/api/jvm/okhttp.api

    	public static final field Companion Lokhttp3/Cache$Companion;
    	public final fun -deprecated_directory ()Ljava/io/File;
    	public fun <init> (Ljava/io/File;J)V
    	public fun <init> (Lokio/FileSystem;Lokio/Path;J)V
    	public fun close ()V
    	public final fun delete ()V
    	public final fun directory ()Ljava/io/File;
    	public final fun directoryPath ()Lokio/Path;
    	public final fun evictAll ()V
    	public fun flush ()V
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
Back to top