Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Files (0.15 sec)

  1. src/main/java/jcifs/smb/NtStatus.java

        public static final int NT_STATUS_PATH_NOT_COVERED = 0xC0000257;
        public static final int NT_STATUS_IO_REPARSE_TAG_NOT_HANDLED = 0xC0000279;
        public static final int NT_STATUS_NO_MORE_FILES = 0x80000006;
    
        static final int[] NT_STATUS_CODES = {
            NT_STATUS_OK, NT_STATUS_PENDING, NT_STATUS_NOTIFY_ENUM_DIR, NT_STATUS_BUFFER_OVERFLOW, NT_STATUS_UNSUCCESSFUL, NT_STATUS_NOT_IMPLEMENTED,
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jun 01 10:09:29 GMT 2019
    - 11.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/EnumTest.java

            try ( SmbFile f = createTestDirectory() ) {
                try {
                    SmbFile[] files = f.listFiles(new DosFileFilter("*.txt", 0));
                    assertNotNull(files);
                    assertEquals(0, files.length);
    
                    files = f.listFiles();
                    assertNotNull(files);
                    assertEquals(0, files.length);
                }
                finally {
                    f.delete();
                }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

                    /*
                     * The SMB_COM_NT_CREATE_ANDX response wordCount is wrong. There's an
                     * extra 16 bytes for some "Offline Files (CSC or Client Side Caching)"
                     * junk. We need to bump up the wordCount here so that this method returns
                     * the correct number of bytes for signing purposes. Otherwise we get a
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Nov 28 10:56:27 GMT 2022
    - 14.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/PluginHelper.java

    import java.io.ByteArrayInputStream;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.net.Proxy;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.Comparator;
    import java.util.List;
    import java.util.Map;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFileInputStream.java

                return (int) ( this.fp - start );
            }
        }
    
    
        /**
         * This stream class is unbuffered. Therefore this method will always
         * return 0 for streams connected to regular files. However, a
         * stream created from a Named Pipe this method will query the server using a
         * "peek named pipe" operation and return the number of available bytes
         * on the server.
         */
        @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun May 17 08:55:14 GMT 2020
    - 13.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/PACTest.java

                        cipher: e24ff60648505a37d583d77e20a845158b7cfe8c652ab16d0eeeb4c8700370e5d640bbdd…
    
             */
    
    
            Path krbConfig = Files.createTempFile("krb5", ".conf");
            Files.write(krbConfig,Arrays.asList("[libdefaults]", "allow_weak_crypto=true"));
            System.setProperty("java.security.krb5.conf", krbConfig.toString());
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 22.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                                try {
                                    try {
                                        Files.createDirectories(newPath.getParent());
                                    } catch (final FileAlreadyExistsException e) {
                                        // ignore
                                    }
                                    Files.move(path, newPath);
                                    logger.info("Move {} to {}", path, newPath);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/AllTests.java

     */
    package jcifs.tests;
    
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.nio.channels.Channels;
    import java.nio.channels.FileChannel;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.nio.file.StandardOpenOption;
    import java.util.Arrays;
    import java.util.HashMap;
    import java.util.HashSet;
    import java.util.Iterator;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 14.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/elevateword/AdminElevatewordAction.java

                    }
                    try (InputStream in = Files.newInputStream(tempFile)) {
                        out.write(in);
                    }
                } finally {
                    Files.delete(tempFile);
                }
            });
        }
    
        // -----------------------------------------------------
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

                        try (final InputStream in = Files.newInputStream(fessJsonPath)) {
                            out.write(in);
                        }
                    });
                } else if ("doc.json".equals(id)) {
                    return asStream(id).contentTypeOctetStream().stream(out -> {
                        final Path fessJsonPath = getDocJsonPath();
                        try (final InputStream in = Files.newInputStream(fessJsonPath)) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 25.2K bytes
    - Viewed (0)
Back to top