Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 93 for getfile (0.07 sec)

  1. src/test/java/jcifs/tests/persistent/HandleInfoTest.java

            HandleInfo info = new HandleInfo("/test/file.txt", testGuid, testFileId, HandleType.DURABLE_V2, 120000, null);
    
            assertNull(info.getFile());
    
            Object mockFile = new Object();
            info.setFile(mockFile);
            assertEquals(mockFile, info.getFile());
        }
    
        @Test
        public void testToString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java

        }
    
        /**
         * Get the associated file object
         * @return the file object (can be null)
         */
        public Object getFile() {
            return file;
        }
    
        /**
         * Set the associated file object
         * @param file the file object
         */
        public void setFile(Object file) {
            this.file = file;
        }
    
        /**
         * Update the file ID after successful create response
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  3. cmd/ftp-server-driver.go

    	_, err = clnt.PutObject(context.Background(), bucket, dirPath, bytes.NewReader([]byte("")), 0, minio.PutObjectOptions{
    		DisableContentSha256: true,
    	})
    	return err
    }
    
    // GetFile implements ftpDriver
    func (driver *ftpDriver) GetFile(ctx *ftp.Context, objPath string, offset int64) (n int64, rc io.ReadCloser, err error) {
    	stopFn := globalFtpMetrics.log(ctx, objPath)
    	defer stopFn(n, err)
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

            ClassPath.getClassPathEntry(new File("/home/build/outer.jar"), "x/y/z.jar").toURI());
        assertEquals(
            "/home/build/x y.jar",
            ClassPath.getClassPathEntry(new File("/home/build/outer.jar"), "x y.jar").getFile());
      }
    
      public void testGetClassPathFromManifest_nullManifest() {
        assertThat(ClassPath.getClassPathFromManifest(new File("some.jar"), null)).isEmpty();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 20:58:01 UTC 2025
    - 23K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

            void testGetEndOfFile() {
                assertEquals(0, response.getEndOfFile());
            }
    
            @Test
            @DisplayName("getSize should return same as getEndOfFile")
            void testGetSize() {
                assertEquals(response.getEndOfFile(), response.getSize());
            }
    
            @Test
            @DisplayName("getFileAttributes should return initial value of 0")
            void testGetFileAttributes() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/create/Smb2CloseResponse.java

         * @return the fileId
         */
        public byte[] getFileId() {
            return this.fileId;
        }
    
        /**
         * Get the file name
         *
         * @return the fileName
         */
        public String getFileName() {
            return this.fileName;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.SmbBasicFileInfo#getSize()
         */
        @Override
        public long getSize() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbPipeInputStream.java

        /**
         * @param handle
         * @param th
         * @throws SmbException
         */
        SmbPipeInputStream(final SmbPipeHandleImpl handle, final SmbTreeHandleImpl th) throws CIFSException {
            super(handle.getPipe(), th, null);
            this.handle = handle;
        }
    
        /**
         * Ensures that the tree connection is established.
         *
         * @return the tree handle implementation
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

        void close_sharedFile_closesHandle_only() throws Exception {
            SmbRandomAccessFile raf = newInstance("rw", false, true, false);
            SmbFile file = (SmbFile) getField(raf, "file");
            SmbFileHandleImpl handle = (SmbFileHandleImpl) getField(raf, "handle");
    
            // Act
            raf.close();
    
            // Assert interactions
            verify(handle, atLeastOnce()).close();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

                return (T) this;
            }
            throw new ClassCastException();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbPipeHandle#getPipe()
         */
        @Override
        public SmbNamedPipe getPipe() {
            return this.pipe;
        }
    
        @Override
        public SmbTreeHandleImpl ensureTreeConnected() throws CIFSException {
            if (this.treeHandle == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

         */
        public final long getEndOfFile() {
            return this.endOfFile;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.SmbBasicFileInfo#getSize()
         */
        @Override
        public final long getSize() {
            return getEndOfFile();
        }
    
        /**
         * Get the file attributes
         * @return the fileAttributes
         */
        public final int getFileAttributes() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 15.4K bytes
    - Viewed (0)
Back to top