Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,184 for WRITE (0.28 sec)

  1. android/guava-tests/test/com/google/common/io/FilesTest.java

      public void testWriteString() throws IOException {
        File temp = createTempFile();
        Files.write(I18N, temp, UTF_16LE);
        assertEquals(I18N, Files.toString(temp, UTF_16LE));
      }
    
      public void testWriteBytes() throws IOException {
        File temp = createTempFile();
        byte[] data = newPreFilledByteArray(2000);
        Files.write(data, temp);
        assertTrue(Arrays.equals(data, Files.toByteArray(temp)));
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lease/Smb2LeaseStateTest.java

     * Lesser General Public License for more details.
     *
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.lease;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java

                zos.putNextEntry(viewEntry);
                zos.write("<html>test</html>".getBytes());
                zos.closeEntry();
    
                // Add CSS file
                ZipEntry cssEntry = new ZipEntry("css/style.css");
                zos.putNextEntry(cssEntry);
                zos.write("body { color: red; }".getBytes());
                zos.closeEntry();
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java

        }
    
        @Override
        public Hasher putByte(byte b) {
          stream.write(b);
          return this;
        }
    
        @Override
        public Hasher putBytes(byte[] bytes, int off, int len) {
          stream.write(bytes, off, len);
          return this;
        }
    
        @Override
        public Hasher putBytes(ByteBuffer bytes) {
          stream.write(bytes);
          return this;
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        int FILE_READ_ATTRIBUTES = 0x00000080; // 8
        /** File write attributes access right */
        int FILE_WRITE_ATTRIBUTES = 0x00000100; // 9
        /** Delete access right */
        int DELETE = 0x00010000; // 16
        /** Read control access right */
        int READ_CONTROL = 0x00020000; // 17
        /** Write DAC access right */
        int WRITE_DAC = 0x00040000; // 18
        /** Write owner access right */
        int WRITE_OWNER = 0x00080000; // 19
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java

            assertEquals(off, getFieldValue(write, "off"), "Off should match constructor arg");
            assertEquals(len, getFieldValue(write, "count"), "Count should equal len");
        }
    
        /**
         * Test setParam method updates the write parameters
         */
        @Test
        public void testSetParam() {
            // Arrange
            SmbComWrite write = new SmbComWrite();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProviderTest.java

     * Lesser General Public License for more details.
     *
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.rdma.tcp;
    
    import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/Hexdump.java

         *
         * @param val the integer value to convert to hexadecimal characters
         * @param dst the destination character array to write the hex digits into
         * @param dstIndex the starting index in the destination array
         * @param size the number of hex digits to write (will be left-padded with zeros)
         */
        public static void toHexChars(int val, final char dst[], final int dstIndex, int size) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

        if (JAVA_IO_TMPDIR.value().equals("/sdcard")) {
          assertThrows(IOException.class, () -> out.write(data));
          return;
        }
        out.write(data);
        assertTrue(Arrays.equals(data, source.read()));
    
        out.close();
        assertThrows(IOException.class, () -> out.write(42));
    
        // Verify that write had no effect
        assertTrue(Arrays.equals(data, source.read()));
        out.reset();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/fscc/FileBasicInfo.java

     * Lesser General Public License for more details.
     *
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.fscc;
    
    import java.util.Date;
    
    import jcifs.internal.SMBProtocolDecodingException;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
Back to top