Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for OS (0.23 sec)

  1. src/test/java/jcifs/tests/FileOperationsTest.java

                    try {
                        try ( OutputStream os = f.getOutputStream() ) {
                            ReadWriteTest.writeRandom(bufSize, length, os);
                        }
    
                        try ( OutputStream os = t.getOutputStream() ) {
                            ReadWriteTest.writeRandom(bufSize, 2 * length, os);
                        }
    
                        f.copyTo(t);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:17:59 GMT 2023
    - 16.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/ReadWriteTest.java

            try ( SmbFile f = createTestFile() ) {
                try {
                    try ( OutputStream os = f.openOutputStream() ) {
                        writeRandom(4096, 3072, os);
                    }
    
                    // this should truncate
                    try ( OutputStream os = f.openOutputStream() ) {
                        writeRandom(4096, 1024, os);
                    }
    
                    try ( InputStream is = f.getInputStream() ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 13.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/RandomAccessFileTest.java

        }
    
    
        @Test
        public void testReadOnly () throws IOException {
            try ( SmbFile f = createTestFile() ) {
                try {
                    try ( SmbFileOutputStream os = f.openOutputStream() ) {
                        os.write(new byte[] {
                            0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7
                        });
                    }
    
                    byte[] buf = new byte[4];
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 11.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/config/BaseConfiguration.java

                byte[] mid = new byte[32];
                this.random.nextBytes(mid);
                this.machineId = mid;
            }
    
            if ( this.nativeOs == null ) {
                this.nativeOs = System.getProperty("os.name");
            }
    
            if ( this.flags2 == 0 ) {
                this.flags2 = SmbConstants.FLAGS2_LONG_FILENAMES | SmbConstants.FLAGS2_EXTENDED_ATTRIBUTES
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 20.4K bytes
    - Viewed (1)
  5. src/test/java/jcifs/tests/ConcurrencyTest.java

                    try ( SmbResource f = createTestFile() ) {
                        try {
                            // f.exists();
                            // try ( OutputStream os = f.openOutputStream(false, SmbConstants.FILE_NO_SHARE) ) {
                            // os.write(new byte[] {
                            // 1, 2, 3, 4, 5, 6, 7, 8
                            // });
                            // }
                            //
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 17:40:50 GMT 2021
    - 17.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/Configuration.java

         */
        boolean isUseBatching ();
    
    
        /**
         * 
         * Property <tt>jcifs.smb.client.nativeOs</tt> (string, default <tt>os.name</tt>)
         * 
         * @return OS string to report
         */
        String getNativeOs ();
    
    
        /**
         * 
         * Property <tt>jcifs.smb.client.nativeLanMan</tt> (string, default <tt>jCIFS</tt>)
         * 
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 18K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/TimeoutTest.java

                int soTimeout = ctx.getConfig().getSoTimeout();
                f.createNewFile();
                try {
                    try ( OutputStream os = f.getOutputStream() ) {
                        os.write(new byte[] {
                            1, 2, 3, 4, 5, 6, 7, 8
                        });
                    }
    
                    try ( InputStream is = f.getInputStream() ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 12.4K bytes
    - Viewed (0)
Back to top